MLAxisIsTrigged

Pipe Network motion icon

 Function - Verifies if the axis received a trigger event.

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

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

ID

DINT

1 to 1024

N/A

No default

ID of the Axis block.

InputID

DINT

See Description.

N/A

No default

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

Valid values of InputID are:

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

edge

DINT

See Description.

N/A

No default

Configures the Inputs as:

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

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

 MLAxisIsTrigged (PipeNetwork.Axis1, 0,1 ) ;

See Also

MLAxisRstFastIn