MLTrigSetEdge

Pipe Network motion icon

 Function - Sets the edge configuration for a trigger block (e.g., rising, falling, etc.)

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of the trigger block.

Edge

DINT

0 to 2

N/A

No default

The edge to trigger on.

  • 0 = disable the Fast Input.
  • 1 = rising edge.
  • 2 = falling edge.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

FALSE, TRUE

N/A

  • TRUE if block executed successfully.
  • FALSE if execution is not successful.

Remarks

  • This block should be called prior to calling MLAxisCfgFastIn.
  • The value at the Edge input must match the value at MLAxisCfgFastIn’s Mode input.

Fast Homing - Inputs

See these topics for more information:

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

TrigEdgeChanged := MLTrigSetEdge (TrigBlockID,TrigEdge);