Parameter
|
Type
|
Comment
|
---|---|---|
EnableWRITE_CMD
|
Set to 1 to send a command.
|
|
AbortWRITE_CMD
|
BOOL
|
Set to 1 to abort the current operation.
|
DataStructureAddress
|
ANY_ARRAY_INT
|
Array containing the Modbus slave address, result of ADDMX function (1).
|
StringChannel
|
Identify the channel to work upon. Contains the rack, slot and channel numbers as follows: ‘r.s.c’. If the channel is omitted, then the module server is addressed.
|
|
NumberOfCMDWords
|
Number of command words to be sent.
If set to 0, all command words will be sent.
|
|
DataStructureCommand
|
Channel command words. Command words to write. Instance of a DDT applicable to a specific IO channel command.
The command word description is provided in each EIO device manual.
|
|
(1) To address a module in the local rack, enter 0.0.10 (CPU main server address).
|
Parameter
|
Type
|
Comment
|
---|---|---|
WriteCmdSuccessful
|
BOOL
|
Operation completed indication. Set to 1 when the execution of the operation is completed successfully.
|
WriteCmdActiv
|
BOOL
|
Operation in progress indication. Set to 1 when the execution of the operation is in progress.
|
WriteCmdFaulty
|
BOOL
|
Set to 1 if an error is detected by the function block.
|
ErrorCode
|
Code providing the detected error identification.
|
Base
|
Lower limit
|
Upper limit
|
---|---|---|
Hexadecimal
|
16#0
|
16#FFFF
|
Octal
|
8#0
|
8#177777
|
Binary
|
2#0
|
2#1111111111111111
|
Data
|
Representation in one of the bases
|
---|---|
0000000011010011
|
16#D3
|
1010101010101010
|
8#125252
|
0000000011010011
|
2#11010011
|