Delta Electronics DVPCOPM-SL Manuel D’Utilisation

Page de 32
CANopen Communication Module DVPCOPM-SL
 
DVP-PLC Application Manual 
27
z PLC 
program 
MOV
H0101
D6250
M1002
ZRST
D6250
D6281
M0
MOV
H0006
D6251
MOV
H0202
D6252
MOV
H2047
D6253
MOV
H0002
D6254
ZRST
D6000
D6031
END
MOV
H0401
D6255
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
 
z 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. 
LED Indicator & Trouble-shooting 
DVPCOPM-SL has three LED indicators and a digital display on it. POWER LED displays whether the power 
supply of DVPCOPM-SL is normal. RUN LED and ERR LED display the current operational status. The digital 
display shows the node address of DVPCOPM-SL and error messages from the slave. 
DVPCOPM
POWER
RUN
ERR