Mitsubishi Electric MELSEC iQ-R Series User Manual page 179

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

Advertisement

• Pre-defined Layer 2 transmit messages
The meaning of the parameters A to D for a transmit message is as follows.
Set Layer 2 message n parameter A to FFFFH, and set Layer 2 message n parameter B to 7FFFH, 6FFFH or 5FFFH to
assign the buffer of this area to the transmit message.
Parameter
*2
Layer 2 message n parameter A
*2
Layer 2 message n parameter B
Layer 2 message n parameter C
Layer 2 message n parameter D
*1 Initial value when the CPU module is powered off and on or reset
*2 To disable the message slot, set Layer 2 message n parameters A and B to FFFFH.
Setting data
■Layer 2 message n parameter A, B
• When this is set to Auto RTR response, the RJ71CN91 will automatically respond to an RTR if the 11-bit CAN-ID and 29-bit
CAN-ID set in 'Receive/Transmit process data' (Un\G10000 to Un\G10293) match the CAN-ID of the RTR message. The
result of RTR message reception is not stored in 'Layer 2 RTR flags' (Un\G8350 to Un\G8352).
• When this is set to Manual RTR response, the RJ71CN91 does not respond to RTR automatically. The result of RTR
message reception is stored in 'Layer 2 RTR flags' (Un\G8350 to Un\G8352).
• If this is set to RTR handling disabled, the RJ71CN91 does not receive all RTR messages that match the CAN-ID of a
message slot where RTR handling is disabled.
Up to 28 message slots can be set to Auto RTR response or Manual RTR response (parameter B = 7FFFH or
6FFFH).
The 29th message slot and message slots thereafter are forcibly set as RTR handling disabled (parameter B
= 5FFFH). In addition, 'Error status' (Un\G29.6) is turned on.
■Layer 2 message n parameter C
The transmission type defines under which conditions a transmit message is sent.
Setting value
0000H
0001H
0002H
0003H
0004H
*1 Regardless of the send message transmission type setting, 'Data exchange request' (Y1) is required for the refresh of send data.
*2 Regardless of the send message transmission type setting, data is sent in any of the following cases.
 Transition is made to the Layer 2 online mode. ( Page 150 Layer 2 online mode status (X3), Layer 2 online mode request (Y3))
 A send request is made with 'Message transmit trigger request' (Y4). ( Page 150 Message transmit trigger completed (X4),
Message transmit trigger request (Y4))
 A remote transmission request is received when parameter B is set to "Auto RTR response".
Description
Fixed to FFFFH
7FFFH: Auto RTR response
6FFFH: Manual RTR response
5FFFH: RTR handling disabled
FFFFH: Message disabled
Transmission type
Cycle time in (10ms)
*1*2
Description
Event
• Transmit each time 'Data exchange request' (Y1) is made.
Event (COS)
• Transmit each time 'Data exchange request' (Y1) is made.
• Do not transmit if there is no data change.
Cycle
• Transmit at specified time intervals.
• The time interval is set with Layer 2 message n parameter D.
Cycle (COS)
• Transmit at specified time intervals.
• Do not transmit if there is no data change.
• The time interval is set with Layer 2 message n parameter D.
Transmission trigger only
• Transmit only by a message transmit trigger request or Auto RTR response.
*1
Initial value
FFFFH
FFFFH
0000H
0000H
Appendix 2 Buffer Memory
A
APPX
177

Advertisement

Table of Contents
loading

Table of Contents