FunctionMLTrigClearFlagPipe Network motion icon

Description

Clears the flag of an initiated Trigger block so the block can capture the position and time of the next event. Once triggered, a block has to be reset with this command before it can be triggered again. All events that are sent to a block while in a triggered state are ignored and the position and time information is lost.

Arguments

Input

BlockID

Description

ID number of an initiated Trigger object

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

N/A

 

Default

Output

Default (.Q)

Description

Returns TRUE if function block is executed

See more details here.

 

Data type

BOOL

 

Unit

N/A

Return Type

BOOL

Related Functions

MLAxisRstFastIn

MLTrigIsTrigged

MLTrigReadPos

MLTrigReadTime

See Also

Example

Structured Text

 

//Clear Trigger Flag

MLTrigClearFlag( PipeNetwork.TRIGGER );

 

Ladder Diagram

MLTrigClearFlag: LD example

Function Block Diagram

MLTrigClearFlag: FBD example