Creating A Program - Mitsubishi Electric Q81BD-J61BT11 User Manual

Network interface board melsec cc-link system master/local interface board
Table of Contents

Advertisement

10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS

10.4 Creating a Program

Master station (station No. 0)
Personal computer
User program
mdReceive
mdSend
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
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
10 - 5
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.)
CC-Link Ver.2 board
Remote inputs (RX)
2)
Remote outputs (RY)
3)
1)
RX0F to RX00
RX1F to RX10
RX2F to RX20
RX3F to RX30
RX4F to RX40
RX5F to RX50
RY0F to RY00
RY1F to RY10
4)
RY2F to RY20
RY3F to RY30
RY4F to RY40
RY5F to RY50
CC-Link Ver.2 Board
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.
MELSEC
Remote I/O station (station No. 1)
X0F to X00
X1F to X10
Remote I/O station (station No. 2)
Y0F to Y00
Y1F to Y10
10 - 5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q80bd-j61bt11n

Table of Contents