![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520107.webp)
85
Allocation of Word and Bit Addresses
Section 4-1
Note
1.
The contents of the HR area, AR area, Counter area, and read/write DM
area are backed up by the CPU Unit’s battery. If the battery is removed or
fails, the contents of these areas will be lost and returned to default values.
2.
When a TC numbers is used as a word operand, the timer or counter PV
is accessed; when used as a bit operand, its Completion Flag is accessed.
3.
Data in DM 6144 to DM 6655 cannot be overwritten from the program, but
they can be changed from a Programming Device.
4.
The program and data in DM 6144 to DM 6655 are stored in flash memory.
4-1-1
Functions
IR Area
The functions of the IR area are explained below.
IR area bits from IR 00000 to IR 01915 are allocated to terminals on the CPU
Unit and Expansion I/O Units. IR words that are not allocated to inputs or out-
puts can be used as work words. Input words begin with IR 000 and output
words begin with IR 010.
Note
1.
The input bits shown in the following tables can operate as normal inputs
or they can be assigned special functions in the PC Setup.
Special functions for input bits IR 00000 through IR 00002 are set in
DM 6642:
Special functions for input bits IR 00003 and IR 00004 are set in DM 6628:
DM
area
Read/write
1
DM 0000 to DM 1999
DM 2022 to DM 2047
(2,026 words)
---
DM area data can be accessed in word units
only. Word values are retained when the
power is turned off, or operation started or
stopped.
Read/write areas can be read and written
freely within the program.
Error log
DM 2000 to DM 2021
(22 words)
---
Used to store the time of occurrence and
error code of errors that occur. These words
can be used as ordinary read/write DM when
the error log function isn’t being used.
Read-only
3,4
DM 6144 to DM 6599
(456 words)
---
Cannot be overwritten from program.
PC Setup
3,4
DM 6600 to DM 6655
(56 words)
---
Used to store various parameters that con-
trol PC operation.
Data area
Words
Bits
Function
Bit
address
PC Setup setting (DM 6642 bits 08 to15)
00
01
02, 03, or 04
IR 00000
Used as normal
inputs.
Used as high-speed
counter inputs.
Used as inputs for
synchronized pulse control.
IR 00001
IR 00002
Used as a normal input.
Bit
address
Bits in
DM 6628
PC Setup setting (in DM 6628)
0
1
2
IR 00003
00 to 03
Used as normal
inputs.
Used as
interrupt inputs
(including
counter mode).
Used as
quick-response
inputs.
IR 00004
04 to 07
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......