Mitsubishi Electric MELSEC iQ-R Series User Manual page 33

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

Advertisement

Buffer memory area assignment
This section describes 'Command interface (CIF)' (Un\G1000 to Un\G1066) assignment for SDO read.
The following table shows the transmit message assignment.
Address
Description
Transmit message
Un\G1000
Command code
• 0004H: SDO read
Un\G1001
Set the node ID.
• 0000H: Access the own node.
• 0001H to 007FH: Access the specified node.
Un\G1002
Set the index.
• 0000H to FFFFH: Configurable indexes of the object dictionary ( Page 186 Object Dictionary)
Un\G1003
Upper byte: Reserved
Lower byte: Set the subindex.
• 00H to FFH: Configurable subindexes of the object dictionary ( Page 186 Object Dictionary)
Un\G1004 to Un\G1066
System area
The following table shows memory assignment for a receive message.
Address
Description
Receive message
Completed successfully
Un\G1000
Command execution result code
• 0005H: SDO read succeeded
Un\G1001
Node ID (value set by the transmit message)
Un\G1002
Index (value set by the transmit message)
Un\G1003
Sub-index (value set by the transmit message)
Un\G1004
The data length (bytes) is stored.
• 1 to 124
Un\G1005 to Un\G1066
Result data is stored.
• Un\G1005: The lower byte in first, the upper byte in second
• Un\G1066: The lower byte in 123rd, the upper byte in 124th
Completed with an error
Command execution result code
• 000FH: Error
Page 162 Command interface (CIF) (Un\G1000 to
Un\G1066)
1
1 FUNCTIONS
31
1.3 SDO

Advertisement

Table of Contents
loading

Table of Contents