XFC_EL2258_MultiEdge
The function block XFC_EL2258_MultiEdge handles the output of a multi-edge cam controller MC_DigitalCamSwitch_MultiEdge via the EL2258 XFC timestamp terminal.
Inputs
VAR_INPUT
ForceWhenLate : BOOL;
Reset : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
ForceWhenLate | BOOL | If ForceWhenLate is TRUE, the output is activated even if the time stamp is already exceeded. |
Reset | BOOL | It is recommended to set ForceWhenLate to prevent the loss of a switching edge in case of fluctuations of the time signal. |
/ Inputs/outputs
VAR_IN_OUT
Output : OUTPUT_REF_MULTIEDGE;
TrackOptions : TRACK_REF;
EL2258 : EL2258_IoInterface;
END_VAR
Name | Type | Description |
---|---|---|
Output | Output state for a channel of the Terminal. The data structure Output contains the next calculated states of the digital output and the associated timestamp for output on a digital XFC output terminal. | |
TrackOptions | The data structure TrackOptions contains the parameterization for the cam track. | |
EL2258 | Process image of the terminal |
Outputs
VAR_OUTPUT
Error : BOOL;
ErrorID : UDINT;
ErrorOutputMissed : BOOL;
PrecisionReduced : BOOL;
Diagnostics : ST_EL2258_Diagnostics;
END_VAR
Name | Type | Description |
---|---|---|
Error | BOOL | Becomes TRUE if an error occurs. |
ErrorID | UDINT | If an error output is set, this parameter supplies an error number |
ErrorOutputMissed | BOOL | One of the switching points transferred in the Output structure could not be maintained and the output state remains unchanged. |
PrecisionReduced | BOOL | One of the switching points transferred in the Output structure could not be maintained, but the output state was output with a delay. |
Diagnostics | Data structure containing diagnostic data that can be used for error analysis. |