Introduction - Omron SYSMAC CPM2B-S001M-DRT Operation Manual

Table of Contents

Advertisement

Introduction

4-1

Introduction

Data area
IR
area
SR area
TR area
HR area
AR area
LR area
Timer/Counter area
58
Downloaded from
Elcodis.com
electronic components distributor
Most data areas in the CPM2B-S can be accessed as bits or words. (The TR
area can be accessed by bit address only and the DM area can be accessed
by word address only.)
The following diagram shows the structure of the IR area and the relationship
between bit and word addresses.
15 14 13 12 11 10 9
IR 000
IR 001
IR 010
IR 011
The following memory areas can be used in the CPM2B-S.
Words
Input area
IR 000 to IR 009
(10 words)
Output area
IR 010 to IR 019
(10 words)
CompoBus/S
IR 020 to IR 027
input area
(8 words)
CompoBus/S
IR 030 to IR 037
output area
(8 words)
Work area
IR 028 and IR 029,
IR 038 to IR 049,
IR 200 to IR 227
(42 words)
SR 228 to SR 255
(28 words)
---
1
HR 00 to HR 19
(20 words)
1
AR 00 to AR 23
(24 words)
LR 00 to LR 15
(16 words)
1
TC 000 to TC 255 (timer/counter numbers)
Bit number
8
7
6
5
4 3
2
1
0
Bits
IR 00000 to IR 00915
These bits are allocated to the external I/O
(160 bits)
terminals.
(Words not used as I/O words can be used
IR 01000 to IR 01915
as work words.)
(160 bits)
IR 02000 to IR 02715
These bits are allocated to CompoBus/S
(128 bits)
Slaves.
(Words not used as I/O words can be used
IR 03000 to IR 03715
as work words.)
(128 bits)
IR 02800 to IR 02915,
Work bits can be freely used within the
IR 03800 to IR 04915,
program.
IR 20000 to IR 22715
(672 bits)
SR 22800 to SR 25515
These bits serve specific functions such as
(448 bits)
flags and control bits.
TR 0 to TR 7
These bits are used to temporarily store
(8 bits)
ON/OFF status at program branches.
HR 0000 to HR 1915
These bits store data and retain their ON/
(320 bits)
OFF status when power is turned OFF, or
operation starts or stops. They are used in
the same way as work bits.
AR 0000 to AR 2315
These bits serve specific functions such as
(384 bits)
flags and control bits.
LR 0000 to LR 1515
Used for a 1:1 PC Link with another PC.
(256 bits)
2
Timers and counters use the TIM, TIMH(15),
CNT, CNTR(12), TMHH(– –), and TIML(– –)
instructions. The same numbers are used for
both timers and counters.
Section 4-1
Bit addresses
IR 00011
Word Bit number
IR 01107
Word Bit number
Function

Advertisement

Table of Contents
loading

Table of Contents