Mitsubishi Electric MELSEC iQ-R Series User Manual page 167

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

Advertisement

CANopen 405 mode
This section describes the details of the buffer memory areas used only in CANopen 405 mode.
■Node ID (Un\G27)
Set the node ID. The setting range is 1 to 127.
When the CANopen405 mode is active, if a value outside the specified range is written, 'Error status' (Un\G29.6) turns on.
For details on the error status, refer to the following.
Page 161 Error status (Un\G29)
To change this setting, save the buffer memory settings into the flash ROM, and then restart the module.
*1 For details on how to save into the flash ROM, refer to the following.
Page 153 Configuration save/factory default configuration restore completed/request (X1F)/(Y1F)
Page 158 Save/restore configuration (Un\G22)
For details on how to restart the module, refer to the following.
Page 149 Module restart completed (X2), Module restart request (Y2)
■Time stamp (Un\G50 to Un\G59)
A TIME consumer CANopen node receives a TIME message to synchronize the time data with the TIME producer.
When the CPU module is powered off and on or reset, the clock data of the RJ71CN91 is reset to the initial value and the time
counter stops.
Set whether to run the RJ71CN91 as a TIME consumer or TIME producer in 'Producer/Consumer' (Un\G50).
When the RJ71CN91 is setup as a TIME consumer, the time counter will start after receiving the first TIME message.
When the RJ71CN91 is setup as a TIME producer, the time counter will start after setup of this area and turning on 'Time
stamp setting request' (Y12). ( Page 152 Time stamp setting completed (X12), Time stamp setting request (Y12))
A TIME message will be produced only if the RJ71CN91 is the active NMT master and in NMT state Operational or Pre-
operational.
The RJ71CN91 counts the time in seconds. 'Communication status' (Un\G25.12) turns on when a TIME message is received.
( Page 160 Communication status (Un\G25))
The clock time of the RJ71CN91 will be read from the clock data when 'Time stamp read request' (Y13) is turned on, and the
clock time will be written to the clock data when 'Time stamp setting request' (Y12) is turned on. ( Page 152 Time stamp
setting completed (X12), Time stamp setting request (Y12))
When 'Time stamp setting request' (Y12) turns on, the clock time data in the RJ71CN91 is checked. If the clock data is out of
the setting range, 'Error status' (Un\G29.6) turns on. ( Page 139 Troubleshooting Using the Buffer Memory)
When 'Time stamp setting request' (Y12) turns on, the clock time data in the RJ71CN91 is checked. If the value for the clock
time data is not valid as a date and time, 'Error status' (Un\G29.6) turns on. ( Page 139 Troubleshooting Using the Buffer
Memory)
If the date and time is outside the valid range for this area, the default value is set. ( Page 50 TIME)
The clock data will be enabled after 'Time stamp setting request' (Y12) turns on.
To synchronize the clock time with the CPU module, use the DATERD and DATEWR instructions to read clock data from the
CPU module and write it to the RJ71CN91.
 MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)
*1
APPX
Appendix 2 Buffer Memory
A
165

Advertisement

Table of Contents
loading

Table of Contents