MLTrigClearFlag

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Clears the flag of an initiated Trigger block.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initiated Trigger object.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

No range

N/A

Returns TRUE if the function block is executed.

See Pipe Network - General Rules for more information.

Remarks

  • The block captures the position and time of the next event.
  • Once triggered, a block has to be reset before it can be triggered again.
    • All events sent to a block while in a triggered state are ignored.
    • The position and time information is lost.

Fast Homing - Inputs

See these topics for more information:

FBD Language Example

MLTrigClearFlag: FBD example

FFLD Language Example

MLTrigClearFlag: LD example

IL Language Example

Not available.

ST Language Example

//Clear Trigger Flag
MLTrigClearFlag( PipeNetwork.TRIGGER );

See Also