User manual
Transferring Data Using Communication Blocks
33002479 06 07/2008 149
Input Parameters
Output
Parameters
Parameter Data Type Description
ENABLE BOOL When ON, the operation specified in the first element of the
CONTROL register is enabled.
ABORT BOOL When ON, the currently active operation (see Operational
Function Codes, p. 151) is aborted.
Parameter Data Type Description
ACTIVE BOOL ON when the operation is active.
ERROR BOOL ON when the operation is aborted without success.
SUCCESS BOOL ON when the operation concludes successfully.
CONTROL WORD This field contains the control block. The first element
CONTROL[1] contains the number of the operation code of
the operation to be performed (see Operational Function
Codes, p. 151). The content of the sequence register is
determined by the operation.
The data field must be declared as a located variable.
The structure of the control block differs according to the
network used (see Network Control Block Structures,
p. 152).
DATABUF WORD For operations providing data, e.g. a write operation, the
data field is the data source. For operations receiving data,
e.g. the read operation, the data field is the data destination.
With Ethernet CTE read and write operations, the data
field holds the contents of the Ethernet configuration
extension table. DATABUF must be defined as an array of at
least 10 elements in this case.
The data field must be declared as a located variable.