MLTrigReadDelay

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Returns the time the trigger block uses to compensate the delay of the sensorClosed A sensor is a type of transducer that converts one type of energy into another for various purposes including measurement or information transfer 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