CANopen Communication Module DVPCOPM-SL PLC program Reset response message editing area and request message editing area. ReqID = 01, Command = 01 Size = 06 Type = 02, MAC ID = 02 Index = 2047H Sub index = 02 Target temperature for DTA: 0104H 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 write 0104Hex into index 2047, sub index 2 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 ~ D6004. 6 Network Node Status Display All slave state of CANopen network can be read through reading 5002/1 (index/subindex) value by sending SDO via ladder diagram; master state of CANopen network can be read through reading 5003/1 (index/subindex) value by by sending SDO via ladder diagram.
sending SDO via ladder diagram; CANopen network state can be read through reading 5004/1 (index/subindex) value 6.1 Slave State of CANopen Network User can read the content value for H’5002>>H’01 to acquire the slave status message of CANopen network by sending SDO .
DVP-PLC Operation Manual 39 M1002 ZRST D6000 D6031 ZRST D6250 D6281 M0 MOV H0101 D6250 R MOV H0006 D6251 Si MOV H0202 D6252 Ty MOV H2047 D6253 In MOV H0002 D6254 S MOV H0401 D6255 Ta END END ZRST D6000 D6031 ZRST D6250 D6281 MOV H0101 D6250 MOV H0006 D6251 MOV H0202 D6252 MOV H2047 D6253 MOV H0002 D6254 MOV H0401 D6255 Index Subindex Object Name Data Type Access Permission Default H’5002 H’00 Entry Unsigned 16 bits RO --- H’01 Status word for node 1 ~ node 127 Unsigned 128 bits RO ---