Mitsubishi Electric MELSEC iQ-R Series User Manual page 85

Melsec iq-r cc-link system master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• Receiving station: Local station (station No.1)
Classification
Label name
Module label
BT11_1.bIn_ModuleFailure
BT11_1.bIn_DataLink
BT11_1.bIn_ModuleReady
Label to be defined
Define global labels as shown below:
Device
X1000 to X101D
Y1000 to Y101D
W0 to W3
W100 to W103
(0) The data link status is checked.
(5) Control program using receive data from the master station
(7) Program to create send data to the master station
• Program flow
 Master station (14): When 'DataSend' (X20) in the master station is turned on, Y1000 in the master station turns on and X1000 in the local station turns on.
 Local station (5): When X1000 in the local station turns on, 'DataRecv' (Y30) in the local station turns on.
 Local station (7): When 'DataSend' (X21) in the local station is turned on, Y1001 in the local station turns on and X1001 in the master station turns on.
 Master station (12): When X1001 in the master station turns on, 'DataRecv' (Y31) in the master station turns on.
Description
Module failure
Own station data link status
Module ready
Description
Remote input (RX0 to RX1D)
Remote output (RY0 to RY1D)
Remote register (RWr0 to RWr3)
Remote register (RWw0 to RWw3)
3.2 Example of Communications Between a Master Station and a Local Station
Device
X0
X1
XF
Module
RJ61BT11 (master station)
3 PROGRAMMING
3
83

Advertisement

Table of Contents
loading

Table of Contents