EasyManua.ls Logo

Delta VP3000 Series - Page 345

Delta VP3000 Series
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Second Development Platform VP3000
336
No. Example
MODRW Instruction
S
1
S
2
S
3
S n
Station
number
Command
code
Address Register Length
2
Read the address H2100–H2102 of drive
slave, 3 records in total. And store the
data to D5–D7.
K10 H3 H2100 D5 K3
3
Write the parameters Pr.L1-00–Pr.L1-02
of drive slave, 3 records in total. And the
written values are D10, D11, and D12.
K10 H10 H1440 D10 K3
4
Write the address H2000–H2001of drive
slave, 2 records in total. And the written
values are D15 and D16.
K10 H10 H2000 D15 K2
The PLC to control slave devices
No. Example
MODRW instruction
S
1
S
2
S
3
S n
Station
number
Command
code
Address Register Length
1
Read X0–X3 status of PLC slave, 4
records in total. And store the read data
in bit0–bit3 of D0.
K20 H2 H400 D0 K4
2
Read Y0–Y3 status of PLC slave, 4
records in total. And store the read data
in bit0–bit3 of D1.
K20 H2 H500 D1 K4
3
Read M0–M3 status of PLC slave, 4
records in total. And store the read data
in bit0–bit3 of D2.
K20 H2 H800 D2 K4
4
Read T0–T3 status of PLC slave, 4
records in total. And store the read data
in bit0–bit3 of D3.
K20 H2 H600 D3 K4
5
Read C0–C3 status of PLC slave, 4
records in total. And store the read data
in bit0–bit3 of D4.
K20 H2 HE00 D4 K4
6
Read T0–T3 count values of PLC slave,
4 records in total. And store the read
data in D10–D13.
K20 H3 H600 D10 K4
7
Read C0–C3 count values of PLC
slave, 4 records in total. And store the
read data in D20–D23.
K20 H3 HE00 D20 K4
8
Read D0–D3 count values of PLC
slave, 4 records in total. And store the
read data in D30–D33.
K20 H3 H1000 D30 K4
9
Write Y0–Y3 status of PLC slave, 4
records in total. And the written values
are bit0–bit3 of D1.
K20 HF H500 D1 K4
10
Write M0–M3 status of PLC slave, 4
records in total. And the written data are
bit0–bit3 of D2.
K20 HF H800 D2 K4
11
Write T0–T3 status of PLC slave, 4
records in total. And the written data are
bit0–bit3 of D3.
K20 HF H600 D3 K4

Table of Contents

Related product manuals