DL205 User Manual, 4th Edition, Rev. B
5–324
Chapter 5: Intelligent Box (IBox) Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Network RX Read (NETRX) (IB-701)
Network RX Read performs the RX instruction with built-in interlocking with all other
Network RX (NETRX) and Network WX (NETWX) IBoxes in your program to simplify
communications networking. It will perform
the RX on the specified Network #, which
corresponds to a specific unique Network
Configuration (NETCFG) at the top of your
program.
The Workspace parameter is an internal,
private register used by this IBox and MUST
BE UNIQUE in this one instruction and
MUST NOT be used anywhere else in your
program.
Whenever this IBox has power, it will read
element data from the specified slave into the
given destination V-memory buffer, giving other Network RX and Network WX IBoxes on
that Network # a chance to execute.
For example, if you wish to read and write data continuously from 5 different slaves, you can
have all of these NETRX and NETWX instructions in ONE RUNG driven by SP1 (Always
On). They will execute round-robin style, automatically!
NETRX Parameters
• Network#: specifies the (CPU port’s, DCM’s, ECOM’s) Network # defined by the NETCFG
instruction
• Workspace: specifies a V-memory location that will be used by the instruction
• Slave ID: specifies the slave PLC that will be targeted by the NETRX instruction
• From Slave Element (Src): specifies the slave address of the data to be read
• Number of Bytes: specifies the number of bytes to read from the slave device
• To Master Element (Dest): specifies the location where the slave data will be placed in the master
PLC
• Success: specifies a bit that will turn on once the request is completed successfully
• Error: specifies a bit that will turn on if the instruction is not successfully completed
DS5
Used
HPP
N/A
Parameter
DL205 Range
Network# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
K0-255
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
See DL205 V-memory map - Data Words
Slave ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
K0-90
From Slave Element (Src) X,Y,C,S,T,CT,GX,GY,V
See DL205 V-memory map
Number of Bytes . . . . . . . . . . . . . . . . . . . . . . . K
K1-128
To Master Element (Dest) . . . . . . . . . . . . . . . . V
See DL205 V-memory map - Data Words
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
See DL205 V-memory map
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
See DL205 V-memory map
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0