Omron C200HS Garage Door Opener User Manual


 
324
Calculations The equation for the cycle time is as follows:
Cycle time = Overseeing time + Program execution time
+ I/O refreshing time + Host Link Unit servicing time
+ Peripheral device servicing time
Process Calculation With Peripheral
Device
Without
Peripheral Device
Overseeing Fixed 0.7 ms 0.7 ms
Program execution 0.47 µs/instruction
× 5,000
instructions
2.35 ms 2.35 ms
I/O refresh See below. 2.58 ms 2.58 ms
Host Link servicing Fixed 6.0 ms 6.0 ms
Peripheral device
servicing
0.7 + 2.35 + 2.58 +
6 = 11.63
11.63 x 0.05 = 0.58
0.58 ms 0.0 ms
Cycle time Total of above 12.21 ms 11.63 ms
The I/O refreshing time would be as follows for three 8-point Input Units and
three 8-point Output Units mounted in the CPU Rack, and eight Units mounted in
a Slave Rack.
+ 1.1 ms + 8 Units x 0.17 ms = 2.58 ms
8 pts
(8 pts x 3) + (8 pts x 3)
x 20 µs
6-3 Instruction Execution Times
The following table lists the execution times for all instructions that are available
for the C200HS. The maximum and minimum execution times and the condi-
tions which cause them are given where relevant. When “word” is referred to in
the Conditions column, it implies the content of any word except for indirectly
addressed DM words. Indirectly addressed DM words, which create longer
execution times when used, are indicated by “:DM”.
Execution times for most instructions depend on whether they are executed with
an ON or an OFF execution condition. Exceptions are the ladder diagram in-
structions OUT and OUT NOT, which require the same time regardless of the
execution condition. The OFF execution time for an instruction can also vary de-
pending on the circumstances, i.e., whether it is in an interlocked program sec-
tion and the execution condition for IL is OFF, whether it is between JMP(04) 00
and JME(05) 00 and the execution condition for JMP(04) 00 is OFF, or whether it
is reset by an OFF execution condition. “R”, “IL”, and “JMP” are used to indicate
these three times.
All execution times are given in microseconds unless otherwise noted.
Instruction Conditions
ON execution time (µs) OFF execution time (µs)
LD For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
LD NOT For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
AND For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
AND NOT For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
OR For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
OR NOT For IR and SR 23600 to SR 25515 0.375 0.375
For SR 25600 to SR 51115 0.75 0.375
Instruction Execution Times Section 6-3