Description
Original instructions
Function description
The function FTOF is a deactivation timer.
The additional parameters EN and ENO can be configured.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD Enable
FTOF Presel_Value, Mem_Word, OUT_Ftof, Current_Value
Representation in ST
Representation:
FTOF(Enable, Presel_Value, Mem_Word, OUT_Ftof, Current_Value);
Description of the parameters
The following table describes the input parameters:
Parameter
Type
Comment
Enable
"Arming" input, on the falling edge the time out starts.
Presel_Value
Preset value that determines the duration (in hundredths of a second) of the time out. The maximum authorized duration is 5 minutes and 27 seconds, precise to 10 ms.
Note: Modification of the Presel_Value during the time out is immediately taken into account.
The following table describes the input/output parameters:
Parameter
Type
Comment
Mem_Word
Double integer used in input and output which enables internal statuses to be stored.
Be careful not to use this variable in another part of the application.
The following table describes the output parameters:
Parameter
Type
Comment
OUT _Ftof
Output set to 1 on rising edge of Enable and set to 0 at end of time out.
Current_Value
Current value of the time out (in hundredths of a second). This variable increases from 0 to Presel_Value when the timer is launched.