READ_STS: Reading the status parameters
Original instructions
Description of the function
The READ_STS function is used to read the status words of a module or integrated interface, by performing an explicit exchange with the processor memory.
These status words contain data on the operating mode of the module, and may be used to perform program-based diagnostics.
The additional parameters EN and ENO may also be configured.
Operation
Operation flow diagram:
FBD representation
Representation:
LD representation
Representation:
IL representation
Representation:
LD IODDT_Var
READ_STS
ST representation
Representation:
READ_STS(IODDT_Var);
Description of parameters
The following table describes the input parameters:
Parameter
Type
Comment
IODDT_Var
IODDT-type variable corresponding to the channel or module whose status words the user wishes to read.
Example: IODDT_Var of type T_COUNT_ACQ