Programming .01Second Timers
Appendix C
C10
Assume the processor is using a 128-word data table and has 1,024 words
of memory. If all memory words are used, the program will contain 896
instructions. A program of this size might typically have the following
distribution:
546 instructions x 18 µsec = 9.8 ms
306 instructions x 28 µsec = 8.6 ms
44 instructions x 83 µsec = 3.7 ms
Total (rounded) 22.0 ms
The I/O scan time adds (approx.) 1.0 ms
The program panel interaction requires about 3.0 ms
Grand Total 26.0 ms
Table C.A
Instruction
Execution T
imes (Approximate)
1
Instructions Time
-||-
-| / |-
RTR
GET BYTE
18 µs
-()-
-( L )-
-( U )-
CTR
GET
MCR
28 µs
PUT
EQU
LES
LIMIT TEST
28 µs
+
60 µs
TOF
TON
RTO
CU
CTD
-
83 µs
IMMEDIATE I/O
105 µs
ZCL
130 µs
1
These execution times are approximate, but are suf
ficient for the purpose of programming one or more 0.01second timers.
To repeat: if a 10-msec timer is used in a program of this duration, the rung
used to initialize the timer must occur at least 3 times in the program at
evenly spaced intervals. For longer programs, it may be necessary to repeat
the timer instruction and related rungs several more times to assure that
timing is accurate.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com