LD Enable
FPULSOR Rise_Time, Fall_Back_Time, Mem_Double_W, OUT_Pulsor, Current_Value
FPULSOR(Enable, Rise_Time, Fall_Back_Time, Mem_Double_W, OUT_Pulsor, Current_Value);
Parameter
|
Type
|
Comment
|
---|---|---|
Enable
|
Validation input. The function starts on the rising edge of Enable and is only executed if Enable = 1
|
|
Rise_Time
|
Input word that determines the duration (in hundredths of a second) of the pulse at 1. This is used to define a maximum duration of 5 mins and 27 secs, precise to 10 ms.
|
|
Fall_Back_Time
|
Input word that determines the duration (in hundredths of a second) of the pulse at 0. This is used to define a maximum duration of 5 mins and 27 secs, precise to 10 ms.
|
Parameter
|
Type
|
Comment
|
---|---|---|
Mem_Double_W
|
Double word for storing internal statuses. It is imperative that this word be used in order for the function to operate.
|
Parameter
|
Type
|
Comment
|
---|---|---|
OUT_Pulsor
|
Pulse output at 0 for the duration of Fall_Back_Time and at 1 for the duration of Rise_Time.
|
|
Current_Value
|
Output word that increases from 0 to Rise_Time + Fall_Back_Time as the timer counts (in hundredths of a second).
|