
CANopen Communication Module DVPCOPM-SL
MOV
H0101
D6250
M0
MOV
H0004
D6251
MOV
H0102
D6252
MOV
H2021
D6253
MOV
H0004
D6254
END
ReqID = 01, Command = 01
Size = 04
Type = 01, MAC ID = 02
Index = 2021
Sub index = 04
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.
Example
II
Target:
When M0 turns OFF to 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.
DVP-PLC Operation Manual
35