EasyManua.ls Logo

Automationdirect.com DL06 - Page 360

Automationdirect.com DL06
533 pages
Print Icon
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...
DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-199
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
In the following example, when X1 is on and the module busy relay SP116 (see special relays)
is not on, the WX instruction will access port 2 operating as a master. Ten consecutive bytes of
data are read from the Master CPU and copied to V-memory locations V2000–V2004 in the
slave CPU at station address 5.
Direct SOFT32
Handheld Programmer Keystrokes
LD
KF205
X1
The constant value KF205
specifies the port number (2)
and the slave address (5)
LD
K10
The constant value K10
specifies the number of
bytes to be written
LDA
O 2300
WX
V2000
V2000 is the starting
location in the for the Slave
CPU where the specified
data will be written to
V2001
853 4
V2002
193 6
V2003
957 1
V2004
142 3
V1777
XXX X
V2000
345 7
Master
CPU
SP116
V2005
XXX X
V2301
853 4
V2302
193 6
V2303
957 1
V2304
142 3
V2277
XXX X
V2300
345 7
V2305
XXX X
Slave
CPU
Octal address 2300 is
converted to 4C0 HEX and
loaded into the accumulator.
V2300 is the starting
location for the Master CPU
where the specified data will
be read from.
STR
$
SHFT
ANDST
L
3
D
SHFT
JMP
K
SHFT
ANDST
L
3
D
ANDN
W
SHFT
STRN
SP
1
B
1
C
6
E
ENT
1
B
0
A
ENT
SHFT
0
A
5
F
2
C
3
D
0
A
0
A
ENT
SHFT
SHFT
2
C
0
A
0
A
0
A
ENT
SET
X
ANDN
W
SHFT
ANDST
L
3
D
SHFT
JMP
K
0
A
ENT
2
C
5
F
1
B
ENT
DirectSOFT