Hr (Holding Relay) Area; Tc (Timer/Counter) Area - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

TC Area
Special I/O Unit Data
3-7

HR (Holding Relay) Area

3-8

TC (Timer/Counter) Area

40
to 0000, the Error History Area will be reset (i.e., cleared), and any further
error codes will be recorded from the beginning of the Error History Area. AR
0715 (Error History Enable Bit) must be ON to reset the Error History Area.
The DM area between 1000 and 1999 is allocated to Special I/O Units as
shown below. When not used for this purpose, this area is available for other
uses.
Unit
Addresses
0
DM 1000 to DM 1099
1
DM 1100 to DM 1199
2
DM 1200 to DM 1299
3
DM 1300 to DM 1399
4
DM 1400 to DM 1499
5
DM 1500 to DM 1599
6
DM 1600 to DM 1699
7
DM 1700 to DM 1799
8
DM 1800 to DM 1899
9
DM 1900 to DM 1999
The HR area is used to store/manipulate various kinds of data and can be
accessed either by word or by bit. Word addresses range from HR 00
through HR 99; bit addresses, from HR 0000 through HR 9915. HR bits can
be used in any order required and can be programmed as often as required.
The HR area retains status when the system operating mode is changed,
when power is interrupted, or when PC operation is stopped.
HR area bits and words can be used to to preserve data whenever PC op-
eration is stopped. HR bits also have various special applications, such as
creating latching relays with the Keep instruction and forming self-holding
outputs. These are discussed in Section 4 Writing and Inputting the Program
and Section 5 Instruction Set.
When a SYSMAC LINK System is used, a certain number of HR bits is re-
quired for a routing table and monitor timer. These bits are taken from be-
tween HR 00 to HR 42. Refer to the SYSMAC LINK System Manual for de-
tails.
The TC area is used to create and program timers and counters and holds
the Completion flags, set values (SV), and present values (PV) for all timers
and counters. All of these are accessed through TC numbers ranging from
TC 000 through TC 511. Each TC number is defined as either a timer or
counter using one of the following instructions: TIM, TIMH, CNT, CNTR(12),
TIMW<13>, TMHW<15>, or CNTW<14>. No prefix is required when using a
TC number in a timer or counter instruction.
Once a TC number has been defined using one of these instructions, it can-
not be redefined elsewhere in the program either using the same or a differ-
ent instruction. If the same TC number is defined in more than one of these
instructions or in the same instruction twice, an error will be generated during
the program check. There are no restrictions on the order in which TC num-
bers can be used.
Section 3-8

Advertisement

Table of Contents
loading

Table of Contents