Automationdirect.com DirectLOGIC DL205 Series User Manual page 544

Table of Contents

Advertisement

Network WX Write (NETWX) (IB-702)
Network WX Write performs the WX instruction with built-in interlocking with all other
Network RX (NETRX) and Network WX (NETWX) IBoxes in your program to simplify
230
communications networking. It will
perform the WX on the specified Network
240
#, which corresponds to a specific unique
250-1
Network Configuration (NETCFG) at the
260
top of your program.
The Workspace parameter is an internal,
DS5
Used
private register used by this IBox and
N/A
HPP
MUST BE UNIQUE in this one
instruction and MUST NOT be used
anywhere else in your program.
Whenever this IBox has power, it will write
data from the master's V-memory buffer to
the specified slave starting with the given slave element, 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!
NETWX 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 NETWX instruction
• From Master Element (Src): specifies the location in the master PLC where the data will be sourced
from
• Number of Bytes: specifies the number of bytes to write to the slave PLC
• To Slave Element (Dest): specifies the slave address the data will be written to
• 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
Network# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
Slave ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
From Master Element (Src) . . . . . . . . . . . . . . . V
Number of Bytes . . . . . . . . . . . . . . . . . . . . . . . K
To Slave Element (Dest) . . X,Y,C,S,T,CT,GX,GY,V
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Chapter 5: Intelligent Box (IBox) Instructions
Parameter
DL205 User Manual, 4th Edition, Rev. B
DL205 Range
K0-255
See DL205 V-memory map - Data Words
K0-90
See DL205 V-memory map - Data Words
K1-128
See DL205 V-memory map
See DL205 V-memory map
See DL205 V-memory map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–327

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF