HSCE_READ_STS

The instruction is used to read current HSC status.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
HSCE_READ_STS
HSCE_READ_STS
HSCE_READ_STS parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
If Enable is True then HSC2StsInfo is updated.
Channel
Input
HSCE_CHANNEL
The HSCE channel.
Valid
Output
BOOL
HSC2StsInfo is Valid if TRUE.
HSCEStsInfo
Output
HSCE_STS
Counter overflow limit value.
Error
Output
BOOL
Indicates that an error occurred.
ErrorID
Output
UINT
When an error occurs, ErrorID contains the HSCE error codes.

HSCE_READ_STS examples

HSCE_READ_STS function block diagram example
HSCE_READ_STS function block diagram example
HSCE_READ_STS ladder diagram example
HSCE_READ_STS ladder diagram example
HSCE_READ_STS text structure example
HSCE_READ_STS text structure example
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal