Automationdirect.com DirectLOGIC DL205 Series User Manual page 541

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
Network RX Read (NETRX) (IB-701)
1
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
230
2
the RX on the specified Network #, which
240
corresponds to a specific unique Network
250-1
3
Configuration (NETCFG) at the top of your
260
program.
4
The Workspace parameter is an internal,
DS5
Used
private register used by this IBox and MUST
N/A
HPP
BE UNIQUE in this one instruction and
5
MUST NOT be used anywhere else in your
program.
6
Whenever this IBox has power, it will read
element data from the specified slave into the
7
given destination V-memory buffer, giving other Network RX and Network WX IBoxes on
that Network # a chance to execute.
8
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!
9
NETRX Parameters
10
• Network#: specifies the (CPU port's, DCM's, ECOM's) Network # defined by the NETCFG
instruction
11
• 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
12
• 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
13
• To Master Element (Dest): specifies the location where the slave data will be placed in the master
PLC
14
• 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
A
Network# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
B
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
Slave ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
C
From Slave Element (Src) X,Y,C,S,T,CT,GX,GY,V
Number of Bytes . . . . . . . . . . . . . . . . . . . . . . . K
To Master Element (Dest) . . . . . . . . . . . . . . . . V
D
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
5–324
DL205 User Manual, 4th Edition, Rev. B
Parameter
DL205 Range
K0-255
See DL205 V-memory map - Data Words
K0-90
See DL205 V-memory map
K1-128
See DL205 V-memory map - Data Words
See DL205 V-memory map
See DL205 V-memory map

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF