Download Twido programmable controllers

Transcript
Basic Instructions
Parameters
The Timer function block has the following parameters:
Parameter
Label
Value
Timer number
%TMi
0 to 63: TWDLCAA10DRF and TWDLCAA16DRF
0 to 127 for all other controllers.
Type
TON
• Timer On-Delay (default)
TOF
• Timer Off-Delay
TP
• pulse (monostable)
Time base
TB
1 min (default), 1 s, 100 ms, 10 ms, 1 ms
Current Value
%TMi.V
Word which increments from 0 to %TMi.P when the timer is
running. May be read and tested, but not written by the
program. %TMi.V can be modified using the Animation
Tables Editor.
Preset value
%TMi.P
0 - 9999. Word which may be read, tested, and written by
the program. Default value is 9999. The period or delay
generated is %TMi.P x TB.
Animation Tables
Editor
Y/N
Y: Yes, the preset %TMi.P value can be modified using the
Animation Tables Editor.
N: No, the preset %TMi.P value cannot be modified.
Enable (or
instruction) input
IN
Starts the timer on rising edge (TON or TP types) or falling
edge (TOF type).
Timer output
Q
Associated bit %TMi.Q is set to 1 depending on the function
performed: TON, TOF, or TP
Note: The larger the preset value, the greater the timer accuracy.
TWD USE 10AE
391