MLTrigReadDelay

Pipe Network motion icon

 Function - Returns the time the trigger block uses to compensate the delay of the sensor that captures the triggering signal.

  • Returns the delay programmed in a trigger block by the MLTrigWriteDelay function to compensate for the reaction time required by the sensor.
  • Electronic sensors are not able to respond immediately to a signal.
  • Sensors usually require a certain amount of time to process a change of state in their input signal.

Fast Homing - Inputs

See these topics:

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

BlockID

DINT

1 to 1024

N/A

No default

Identifier of the trigger block.

En

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Delay

LREAL

No range

Microseconds

Value of the delay compensation currently applied by the trigger block.

OK

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

FBD Language Example

Not available.

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

Not available.

See Also

MLTrigWriteDelay