10 - 5 10 - 5
MELSEC
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
10.4 Creating a Program
This section explains how the created program reads data from the remote input (RX)
and writes them to the remote output (RY) in communications with remote I/O stations.
The following illustrates the relation between the remote I/O stations’ I/O operations
and the user program when controlling the remote I/O stations. (The shaded areas
indicate the devices that are actually used.)
RX0F to RX00
RX1F to RX10
RX2F to RX20
RX3F to RX30
RX4F to RX40
RX5F to RX50
RY0F to RY00
RY1F to RY10
RY2F to RY20
RY3F to RY30
RY4F to RY40
RY5F to RY50
CC-Link Ver.2 board
X0F to X00
Remote I/O station (station No. 1)
Y0F to Y00
Remote I/O station (station No. 2)
X1F to X10
Y1F to Y10
Master station (station No. 0)
Personal computer
User program
mdSend
mdReceive
1)
2)
3)
4)
Remote inputs (RX)
Remote outputs (RY)
1
: When the remote net Ver.2 mode is selected, refer to the figure in Section 4.4.7(1).
When the remote net additional mode is selected, refer to the figure in Section 4.4.7(2).
User Program
CC-Link Ver.2 Board
2) The remote input data (RX) of the CC-Link Ver.2
board are read out.
Arguments to be set:
Station No.=0xFF (own station)
Device type=0x1 (own station RX)
Device No. =0x0
3) Data are written to the remote output (RY) of the
CC-Link Ver.2 board.
Arguments to be set:
Station No.=0xFF (own station)
Device type=0x2 (own station RY)
Device No. =0x20
1) The input data (X) of the remote I/O station are
stored into the remote input (RX) on the CC-Link
Ver.2 board by the link scan.
4) The remote output data (RY) of the CC-Link Ver.2
board are output to the remote I/O station.
Содержание Q80BD-J61BT11N
Страница 2: ......
Страница 34: ...1 10 1 10 MELSEC 1 OVERVIEW MEMO ...
Страница 54: ...3 12 3 12 MELSEC 3 SPECIFICATIONS MEMO ...
Страница 124: ...5 16 5 16 MELSEC 5 PROCEDURE BEFORE STARTING THE DATA LINK MEMO ...
Страница 160: ...9 2 9 2 MELSEC 9 MELSEC DATA LINK LIBRARY MEMO 9 ...
Страница 200: ...12 16 12 16 MELSEC 12 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MEMO ...
Страница 212: ...13 12 13 12 MELSEC 13 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MEMO ...
Страница 228: ...14 16 14 16 MELSEC 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MEMO ...
Страница 354: ...App 92 App 92 MELSEC APPENDIX Appendix 19 2 Q81BD J61BT11 121 141 147 153 19 158 103 5 91 Unit mm ...
Страница 355: ...App 93 App 93 MELSEC APPENDIX MEMO ...
Страница 361: ......