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.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

Identifier of the trigger block.

En

BOOL

No range

N/A

No default

Enables execution.

Outputs

Output

Data Type

Range

Unit

Description

Delay

LREAL

No range

Microseconds

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

OK

BOOL

No range

N/A

Returns TRUE when the function successfully executes.

Remarks

  • 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 for more information:

FBD Language Example

Not available.

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

Not available.

See Also

MLTrigWriteDelay