Mitsubishi Electric MELSEC iQ-R Series User Manual page 73

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 when sending Layer 2 message data
using CIF.
The following table shows the transmit message assignment.
Address
Description
Transmit message
Un\G1000
Command code
• 000CH: Layer 2 message transmission
Un\G1001
CAN-ID (low word)
Un\G1002
CAN-ID (high word)
Un\G1003
Set the transmission type.
• 0: Data transmission
• 1: RTR transmission
Un\G1004
Set the data length (bytes).
• 0 to 8
Un\G1005 to Un\G1008
Set data to transmit.
• Un\G1005: The lower byte in first, the upper byte in second
• Un\G1008: The lower byte in seventh, the upper byte in eighth
Un\G1009 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
• 000DH: Layer 2 message
transmission succeeded
Un\G1001
System area
Un\G1002
System area
Un\G1003
System area
Un\G1004
System area
Un\G1005 to Un\G1008
System area
Un\G1009 to Un\G1066
System area
Input error
Command execution result code
• F00CH: Input error
CAN-ID input error description
• 0000H: No error
• Other than 0000H: Input value that
caused an error
CAN-ID input error description
• 0000H: No error
• Other than 0000H: Input value that
caused an error
RTR input error description
• 0000H: No error
Data length error description
• 0000H: No error
• Other than 0000H: Input value that
caused an error
1.11 Layer 2 Message Transmission and Receive
Completed with an error
Command execution result code
• 000FH: Error
Page 162 Command interface (CIF)
(Un\G1000 to Un\G1066)
1 FUNCTIONS
1
71

Advertisement

Table of Contents
loading

Table of Contents