FunctionMLTrigWriteDelayPipe Network motion icon

Description

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. This function allows the trigger block to calculate the exact moment at which a signal was triggered by letting you specify the compensation. The delay compensation should include drive processing time, sensorClosedA sensor is a type of transducer that converts one type of energy into another for various purposes including measurement or information transfer delay, and the communication latency through the EtherCATClosedEtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs network.

Arguments

Input

BlockID Description Identifier of the trigger block

 

Data type DINT

 

Range [-2147483648, 2147483648]

 

Unit N/A

 

Default
Delay Description Reaction time of the sensor that the trigger block has to compensate

 

Data type LREAL

 

Range

 

Unit microseconds

 

Default

Output

Default (.Q)

Description Returns TRUE if the delay is successfully set

See more details here.

 

Data type BOOL

 

Unit N/A

Return Type

BOOL

Related Functions

MLTrigReadDelay

See Also