Parameter
|
Type
|
Comment
|
---|---|---|
EnableREAD_STS
|
Set to 1 to read the status words.
|
|
AbortREAD_STS
|
BOOL
|
Set to 1 to abort the current operation.
|
DataStructureAddress
|
Identifies the Modicon M340 drop which the module belongs to, result of ADDMX function (1).
|
|
StringChannel
|
Identifies 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.
|
|
(1) To address a module in the local rack, enter 0.0.10 (CPU main server address).
|
Parameter
|
Type
|
Comment
|
---|---|---|
ReadStsSuccessful
|
BOOL
|
Operation completed indication. Set to 1 when the execution of the operation is completed successfully.
|
ReadStsActiv
|
BOOL
|
Operation in progress indication. Set to 1 when the execution of the operation is in progress.
|
ReadStsFaulty
|
BOOL
|
Set to 1 if an error is detected by the function block.
|
ErrorCode
|
Code providing the detected error identification.
|
|
NumberOfSTSWords
|
Number of status words read.
|
|
DataStructureChannelStatus
|
Channel status word. Number of status words to read. Instance of a DDT applicable to a specific IO channel status.
The status word description is provided in each EIO device manual.
|
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
|