Mitsubishi Electric MELSEC iQ-R Series User Manual page 71

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

Advertisement

Flow of receiving data
The following is the procedure of receiving data.
This section describes the procedure for receiving data using message slot 1.
Control by the program
'Data exchange request' (Y1)
'Data exchange completed' (X1)
Un\G10002
'Receive/Transmit process
data'
(Un\G10000 to Un\G10293)
Un\G10003 to
Un\G10006
Receive buffer
Frames on the network
 When the RJ71CN91 receives a CAN message, the received data is stored in the receive buffer.
 Turn on 'Data exchange request' (Y1) via the program.
 The received data is stored in Un\G10003 to Un\G10006 of 'Receive/Transmit process data' (Un\G10000 to Un\G10293) from the receive buffer. ( Page
184 Receive/Transmit process data (Un\G10000 to Un\G10293))
 When data exchange is completed, 'Data exchange completed' (X1) is turned on.
 Turn off 'Data exchange request' (Y1) via the program. When 'Data exchange request' (Y1) is turned off, 'Data exchange completed' (X1) is also turned off.
 Read Un\G10002 of 'Receive/Transmit process data' (Un\G10000 to Un\G10293) via the program, and read data as necessary.
 Clear the bits 8, 9, and 10 of Un\G10002 of 'Receive/Transmit process data' (Un\G10000 to Un\G10293) via the program. ( Page 184 Receive/Transmit
process data (Un\G10000 to Un\G10293))
To execute , the RJ71CN91 module must be in online mode.
'Layer 2 online mode status' (X3) is turned on when 'Layer 2 online mode request' (Y3) is turned on before 
is executed. (The state must be in Layer 2 online mode during network connection except when parameter
change work is performed.)
SET
Ó
Ö
instruction
ON
OFF
Õ
ON
Data exchange started
OFF
Data exchange completed
Data length count, RTR
Ô
Receive data updated
Ò
Receive data
RST
×
Ø
instruction
MOV/FROM
MOV/TO
instruction
instruction
OFF
OFF
Receive data
Receive data
1.11 Layer 2 Message Transmission and Receive
1
1 FUNCTIONS
69

Advertisement

Table of Contents
loading

Table of Contents