TRIGGER_REF (STRUCT)

 

TYPE TRIGGER_REF : STRUCT

This STRUCT describes a trigger input. The axis driver that is used decides what trigger number corresponds with which hardware trigger.

InOut:

Name

Type

Initial

Comment

iTriggerNumber

INT

-1

Trigger channel; defined by driver (only used when bFastLatching `` = ``TRUE).

bFastLatching

BOOL

TRUE

TRUE: Latching is done in drive (precise).

FALSE: Latching is done with bInput in the cycle of the motion task (unprecise).

bInput

BOOL

Trigger signal when bFastLatching = FALSE.

bActive

BOOL

FALSE

Internal variable