10.3.5
Program example
This section provides a program example.
(1) Devices to be used
The following table lists the devices to be used in the program example.
(a) Devices in the master station
Device
X0
X1
XF
SW0080.0
X20
Y31
Y3F
M100
X1000 to X101D
Y1000 to Y101D
W0 to W3
W100 to W103
(b) Devices in the local station
Device
X0
X1
XF
X21
Y30
M100
X1000 to X101D
Y1000 to Y101D
W0 to W3
W100 to W103
Description
Module error
Host data link status
Module ready
Other station data link status (station number 1)
Data send to the local station flag
Output from RY1 in the local station
Data link error flag (station number 1)
Communication condition established flag
Remote input (RX0 to RX1D)
Remote output (RY0 to RY1D)
Remote register (RWr0 to RWr3)
Remote register (RWw0 to RWw3)
Description
Module error
Host data link status
Module ready
Data send to the master station flag
Output from RY0 in the master station
Communication condition established flag
Remote input (RX0 to RX1D)
Remote output (RY0 to RY1D)
Remote register (RWr0 to RWr3)
Remote register (RWw0 to RWw3)
CHAPTER 10 PROGRAMMING
Module
QJ61BT11N (master station)
QX10
QY10
–
QJ61BT11N (local station)
(
Page 256, Section 10.3.1 (2))
Module
QJ61BT11N (local station)
QX10
QY10
–
QJ61BT11N (master station)
(
Page 256, Section 10.3.1 (2))
10
263