MLAxisIsTrigged

Pipe Network motion icon

 Function - Verifies if the axis received a trigger event.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

No range

N/A

No default

ID Name of the Axis block.

InputID

DINT

No range

N/A

No default

ID of the triggered Fast input of an axis (i.e., IN1 and IN2 on S300).

InputID INT

Range = 0, 1

  • 0 = Touch Probe 1 / Capture Engine 0
  • 1 = Touch Probe 2 / Capture Engine 1

edge

DINT

No range

N/A

No default

Configures the Inputs as:

  • 0 = Disabled.
  • 1 = Rising edge.
  • 2 = Falling edge.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Function - General Rules.

Remarks

Returns TRUE if the Fast Input event has been triggered and not yet been reset.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

 MLAxisIsTrigged (PipeNetwork.Axis1, 0,1 ) ;

See Also

MLAxisRstFastIn