
4 - 17 4 - 17
MELSEC-Q
4 ABOUT QD51 (-R24) FUNCTIONS
4.5.1 ON/OFF data communications by general output (X/Y)
Using the QD51 (-R24)'s general purpose input / output, ON/OFF data can be
communicated between the QD51 (-R24) and the programmable controller CPU.
ON/OFF
ON/OFF data
QD51(-R24)
General
output
(Y)
BASIC
program
General
output
(X)
ON/OFF
Programmable controller CPU
Reading of
ON/OFF
data
Output
(Y)
area
Internal Memory
Sequence Program
Yn
Xn
Input
(X)
area
ON/OFF data
Reading of
ON/OFF
data
(1) In the case of programmable controller CPU QD51 (-R24)
Sending of ON/OFF data from the programmable controller CPU to the QD51 (-
R24) is carried out by general output (Y).
The QD51 (-R24) uses the special variable B@ in a BASIC program to read the
general output turned ON/OFF by the programmable controller CPU.
(2) In the case of QD51 (-R24) Programmable controller CPU
Sending of ON/OFF data from the QD51 (-R24) to the programmable controller
CPU is carried out by general input (X).
The programmable controller CPU uses a sequence program to read the general
input turned ON/OFF by a QD51 (-R24) BASIC program.
[Special variables used]
The special variables used to read ON/OFF data from general input (X) and general
output (Y) are shown below.
Special Variable
Processing Contents
B@ (X, Formula)
:
Turns the QD51 (-R24)'s general input (X) ON and OFF.
B@ (Y, Formula)
:
Reads ON/OFF data from the QD51 (-R24)'s general output (Y).
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......