CANopen Communication Module DVPCOPM-SL M0 ReqID = 01, Command = 01 Size = 04 Type = 01, MAC ID = 02 Index = 2021 Sub index = 04 END l Program explanation 1. The program first reset the SDO request message editing area and SDO response message editing area to 0. 2. When M0 = On, CANopen master will send out SDO request message and read the contents in index 2021, sub index 4 of the target equipment (at node address 02). If the communication is successful, the slave will return with the response message. 3. When M0 = On, CANopen master will send out request message only once. If you would like it to send out messages again, you will have to change the ReqID. 4.
The messages returned from the target equipment are stored in D6000 ~ D6005. n Example II l Target: When M0 = On, set the content in index 2047, sub index 2 (i.e. the control word of the target temperature) in IFD9503 to 0104Hex (i.e. 26.0 ° C). Please note that you have to write 0401Hex into D6255 of the PLC. CANopen Node 2 PV °C ° F SV AT OUT ALM1 ALM2 SET RS-485 DTA4848 IFD9503 DTA DVP-PLC Application Manual 25 MOV H0101 D6 MOV H0004 D6 MOV H0102 D6 MOV H2021 D6 MOV H0004 D6 DVPCOPM Node 1 DVPCOPM CAN+ SHLD CAN- GND DVP28SV RUN STOP