![Automation Direct D0-DCM Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/automation-direct/d0-dcm/d0-dcm_manual_3021736043.webp)
User Application
Guidelines
RLL
Programming
for Communications
4–5
RLL Programming for Communications
DL05/06 Data Communications Module, 1st Edition, 08/05
V40600
V40601
V40602
V40603
V40577
V40604
Master PLC
V40604
V40605
V40606
V40607
V40603
V40610
Slave PLC
R e
a d
byte
byte
word
4 words = 8 bytes
The Read (RX) instruction specifies the
memory location to be read from the slave
PLC.
A block of data is read that begins at the
specified memory location and extends the
number of bytes specified in the second LD
instruction.
In this example, the eight byte block of data
beginning at C100 and ending at C177 in
the slave PLC is read (copied) into the
master PLC’s memory beginning at
V40600.
LDA
O40600
LD
K8
LD
K114
RX
C100
C100
C177
bit
bit
The Write (WX) instruction specifies the
memory location to be written to in the
slave PLC.
A block of data is written that begins at the
specified memory location and extends the
number of bytes specified in the second LD
instruction.
LDA
O40600
LD
K8
LD
K114
WX
C100
In the example, the 8-byte block of data
beginning at V40600 and ending at V40603
in the master PLC is written (copied) into the
slave PLC’s memory beginning at C100 and
ending at C177.
V40600
V40601
V40602
V40603
V40577
V40604
Master PLC
V40604
V40605
V40606
V40607
V40603
V40610
Slave PLC
W r i t e
byte
byte
word
4 words = 8 bytes
C100
C177
bit
bit
Read (RX)
Instruction
Write (WX)
Instruction
Содержание D0-DCM
Страница 1: ...D0 DCM Data Communications Module Manual Number D0 DCM M...
Страница 8: ......
Страница 9: ...1 1 Introduction In This Chapter Manual Overview D0 DCM Hardware Features D0 DCM Applications...
Страница 24: ......
Страница 56: ......
Страница 57: ...1 5 D0 DCM Using MODBUSr RTU In This Chapter Network Slave Operation Network Master Operation...