Omron C200HX Computer Hardware User Manual


 
130
The following program example is relevant for Special I/O Units mounted to the
CPU Rack or Expansion I/O Racks only, because END refreshing is always per-
formed on Special I/O Units mounted to Slave Racks regardless of the PC Setup
settings.
30000
30001
30002
30003
30000
30001
30000 30001 30002 30003
30000 30001 30002 30003
30000 30001 30002 30003
30000 30001 30002 30003
30002 30003
IORF(97)
100
100
30000
1 cycle
Refreshes Unit 3.
Refreshes Unit 2.
Refreshes Unit 1.
Refreshes Unit 0.
IORF(97)
110
110
30001
IORF(97)
120
120
30002
IORF(97)
130
130
30003
Note IR 30000 is used in an OUT instruction twice in this program. Although accept-
able in the above example, this type of duplication is not usually allowed unless
there is a specific reason and then only when proper operation can be ensured.
4-13 Analog Timer Unit Programming
An Analog Timer Units timer SV can be changed easily without a Programming
Console. The Unit is equipped with an external variable resistor connector, so a
variable resistor can be installed in the control panel and connected to the Ana-
log Timer Unit to set or adjust the timer SV manually.
4-13-1 Operation
When the Timer Start Input is turned ON, the Timer Set Bits allocated to the Ana-
log Timer Unit (bits 00 to 03 of n) are turned ON, the analog timer begins to oper-
ate, and the timer set indicator (SET) on the Unit will light.
When the Units timer SV (set internally or externally) elapses, the Units Com-
pletion Flags (bits 08 to 11 of n) and the Time-up Output will be turned ON. Also,
the time-up indicator on the Unit (TIME UP) will light.
Analog Timer Unit Programming Section 4-13