Delta D25886 User Manual Page 152

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 151
4. Motion Control Instructions
DVP-MC operating manual 4-111
4.6.24. TOF_ms
API
Controller
151
TOF_ms
Off-delay timer
10MC11T
Explanation of the instruction:
TOF_ms is used as an off-delay timer with 1ms as the timing unit.
When EN is On and the input IN is On, the output TOF turns On and the current value ET is cleared as 0.
When the input bit IN turns On -> Off, the current value ET starts timing from 0 on; as the current value ET is
greater than or equal to the preset value PT, the output TOF turns Off. After ET reaches PT value, the timing
will not be stopped till ET reaches maximum 4294967295. The preset value PT is effective immediately after
being changed.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN
The execution condition of this instruction.
“TOF_ms” instruction is executed as “EN” turns on; the
output TOF and the current value ET keep unchanged
as “EN” turns off.
BOOL M,I,Q, constant
IN
As “IN” turns on -> off, the timer starts timing; as “IN”
turns on, TOF is on and ET is cleared as 0.
BOOL M,I,Q, constant
PT Preset value of the timer UDINT Constant
TOF
“TOF” is off as the current value of the timer is greater
than or equal to the preset value PT.
BOOL M,Q
ET The current value of the timer. UDINT D
Note: For the sequence chart of TOF_ms, please refer to the program example of TOF_s.
Page view 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 338 339

Comments to this Manuals

No comments