Sdo Write - Mitsubishi Electric MELSEC iQ-R Series User Manual

Canopen module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

SDO write

The following is the procedure for executing the SDO write.
RCPU
Un\G1000
Set
Read
Un\G1066
Control by the program
'Command execution request' (Y17)
'Command execution completed' (X17)
Un\G1000
(Command code/
Command execution
'Command interface
result code)
(CIF)' (Un\G1000 to
Un\G1066)
Area other than
Un\G1000
 Set the transmit message in 'Command interface (CIF)' (Un\G1000 to Un\G1066) via the program. ( Page 36 Buffer memory area assignment)
 Turn on 'Command execution request' (Y17) via the program.
 FFFFH (CIF busy) is stored in Un\G1000 while the command is being processed.
 When the command execution is finished, 'Command execution completed' (X17) turns on.
 When the process is completed successfully, 0003H (SDO write succeeded) is stored in Un\G1000.
The receive message is stored in an area other than Un\G1000 of 'Command interface (CIF)' (Un\G1000 to Un\G1066). ( Page 36 Buffer memory area
assignment)
 When the process is completed with an error, 000FH (Error) is stored in Un\G1000.
The error message is stored in an area other than Un\G1000 of 'Command interface (CIF)' (Un\G1000 to Un\G1066). ( Page 162 Command interface (CIF)
(Un\G1000 to Un\G1066))
 After the SDO write is completed, turn off 'Command execution request' (Y17) via the program. When 'Command execution request' (Y17) is turned off,
'Command execution completed' (X17) is also turned off.
RJ71CN91
CIF
Transmit/Receive
message
SET
Ò
Ó
instruction
MOV/TO
instruction
ON
OFF
OFF
0002H (SDO write)
Transmit message
CANopen node
Object dictionary
Object entry
Ö ×
MOV/FROM
instruction
Õ
ON
Execution started
Execution
Ô
completed
FFFFH (CIF busy)
RST
Ø
instruction
OFF
OFF
Ö
0003H (SDO write succeeded)
×
000FH (Error)
Ö
Receive message
×
Error message
1 FUNCTIONS
1.3 SDO
1
35

Advertisement

Table of Contents
loading

Table of Contents