XFC_EL1259_MultiEdge

XFC_EL1259_MultiEdge 1:

XFC_EL1259_Multiedge handles the output of a multi-edge cam controller MC_DigitalCamSwitch_MultiEdge EL1259 XFC timestamp terminal.

Inputs

VAR_INPUT
    ForceWhenLate : BOOL; 
    Reset         : BOOL;
END_VAR

ForceWhenLate

If ForceWhenLate is TRUE, the output is activated even if the time stamp is already exceeded.
It is recommended to set ForceWhenLate to prevent the loss of a switching edge in case of fluctuations of the time signal.

Reset

Reset initiates a reset of the terminal

Outputs

VAR_OUTPUT
    Error             : BOOL;
    ErrorID           : UDINT;
    ErrorOutputMissed : BOOL;
    PrecisionReduced  : BOOL;
    Diagnostics       : ST_EL2258_Diagnostics;
END_VAR

Error

Becomes TRUE if an error occurs.

ErrorID

If an error output is set, this parameter supplies an error number.

ErrorOutputMissed

The exact switching point defined by TimeStamp could not be adhered to and the initial state remains unchanged.
If ForceWhenLate is TRUE, the initial state is always output and ErrorOutputMissed does not become TRUE.

PrecisionReduced

The exact switching point defined by TimeStamp could not be adhered to; the initial state was output with a delay.
PrecisionReduced should be regarded as a warning. It can only become TRUE if ForceWhenLate is TRUE.

Inputs/outputs

VAR_IN_OUT
    Output       : OUTPUT_REF_MULTIEDGE;
    TrackOptions : TRACK_REF;
    EL1259       : EL1259_IoInterface;
END_VAR

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.

EL1259

Process image of the terminal