16
3-1
Introduction
Details, including the name, acronym, range, and function of each area are
summarized in the following table. All but the last three of these areas are
data areas. Data and memory areas are normally referred to by their acro-
nyms.
Area
Acronym
Range
Function
Internal Relay
IR
Words: 000 to 236
Bits:
0000 to 23615
Used to control I/O points, other bits, timers,
and counters, and to temporarily store data.
Special Relay
SR
Words: 237 to 255
Bits:
23700 to 25515
Contains system clocks, flags, control bits, and
status information. Many words are dedicated
for use by Link Systems
Auxiliary Relay
AR
Words: AR 00 to AR 27
Bits:
AR 00 to AR 2715
Contains flags and bits for special functions,
such as write-protecting the FM area.
Data Memory
DM
C1000H:
DM 0000 to DM 4095 (words only)
C2000H:
DM 0000 to DM 6655 (words only)
Used for internal data storage and
manipulation.
Holding Relay
HR
Words: HR 00 to HR 99
Bits:
HR 0000 to HR 9915
Used to store data and to retain the data
values when the power to the PC is turned off.
Timer/Counter
TC
TC 000 to TC 511 (TC numbers used
to access other information)
Used to define timers and counters, and to
access completion flags, PV, and SV.
Link Relay
LR
Words: LR 00 to LR 63
Bits:
LR 0000 to 6315
Used for inter-PC communication in PC Link
Systems.
Temporary Relay
TR
TR 00 to TR 07 (bits only)
Used to temporarily store execution conditions.
Program Memory
UM
UM: Depends on Memory Unit used.
Contains the program executed by the CPU.
File Memory
FM
FM:
0000 to 0999 or
0000 to 1999
Located in a File Memory Unit mounted to the
CPU Rack and used to store programs or data.
Trace Memory
TM
TM: Traces of 250 instructions
Used to store results from traces of program
execution.
When some bits and words in certain data areas are not being used for their
intended purpose, they can be used in programming as required to control
other bits. Words and bits available for use in this fashion are called work
words and work bits. Most, but not all, unused bits can be used as work bits.
Those that can be used are described area-by-area in the remainder of this
section. Actual application of work bits and work words is described in
Sec-
tion 4 Writing and Inputting the Program
.
Some data areas contain flags and/or control bits. Flags are bits that are
automatically turned ON and OFF to indicate particular operation status. Al-
though some flags can be turned ON and OFF by the user, most flags are
read only; they cannot be controlled directly.
Control bits are bits turned ON and OFF by the user to control specific as-
pects of operation. Any bit given a name using the word bit rather than the
word flag is a control bit, e.g., Restart bits are control bits.
3-2
Data Area Structure
When designating a data area, the acronym for the area is always required
for any but the IR and SR areas. Although the acronyms for the IR and SR
areas are often given for clarity in text explanations, they are not required,
and not entered, when programming. Any data area designation without an
acronym is assumed to be in either the IR or SR area. Because IR and SR
addresses run consecutively, the word or bit addresses are sufficient to differ-
entiate these two areas.
Work Bits and Words
Flags and Control Bits
Data Area Structure
Section 3-2
Содержание SYSMAC C1000H
Страница 1: ...Cat No W140 E1 04 Programmable Controllers SYSMAC C1000H C2000H...
Страница 2: ...C1000H C2000H Programmable Controllers Operation Manual Revised May 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 395: ...Cat No W140 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 396: ...Cat No W140 E1 04 SYSMAC C1000H C2000H Programmable Controllers OPERATION MANUAL...