Introduction; Functions - Omron SYSMAC CPM2B Operation Manual

Programmable controller
Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Introduction

4-1

Introduction

IR 000
IR 001
IR 010
IR 011
Data area
Size
Input area
160 bits
(10 words)
Output area
160 bits
(10 words)
Work area
928 bits
(58 words)
SR area
448 bits
(28 words)
TR area
8 bits
HR area
320 bits
(20 words)
AR area
384 bits
(24 words)
LR area
256 bits
(16 words)
Timer/Counter
256 bits
area
DM
Read/write 2,026
area
words
Error log
22 words
Read-only
456 words
PC Setup
56 words

4-1-1 Functions

IR Area
54
Most data areas in the CPM2B 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.
Bit number
15 14 13 12 11 10 9
8
Words
IR 000 to IR 009 IR 00000 to IR 00915
(See note 1.)
IR 010 to IR 019 IR 01000 to IR 01915
IR 020 to IR 049
IR 02000 to IR 04915
IR 200 to IR 227
IR 20000 to IR 22715
SR 228 to
SR 22800 to SR 25515 These bits serve specific functions such as
SR 255
TR 0 to TR 7
HR 00 to HR 19
HR 0000 to HR 1915
AR 00 to AR 23
AR 0000 to AR 2315
LR 00 to LR 15
LR 0000 to LR 1515
TIM/CNT 000 to TIM/CNT 255
DM 0000 to DM 1999
DM 2022 to DM 2047
DM 2000 to DM 2021
DM 6144 to DM 6599
DM 6600 to DM 6655
Note
1. Input bits IR 00108 to IR 00111 reflect the status of the DIP switch on the
CPU Board.
2. The contents of the HR area, AR area, Counter area, and read/write DM
area are backed up by the CPU Board's backup battery or capacitor. If the
battery or capacitor discharges completely, memory contents will be re-
turned to their default settings.
3. The program and data in DM 6144 to DM 6655 are stored in flash memory.
The functions of the IR area are explained below.
IR area bits in the input and output areas are allocated to terminals on the CPU
Board and Expansion I/O Boards. They reflect the ON/OFF status of input and
output signals. Input bits begin at IR 00000, and output bits begin at IR 01000.
7
6
5
4 3
2
1
0
Bits
These bits can be allocated to the external
I/O terminals.
Work bits can be freely used within the
program.
flags and control bits.
These bits are used to temporarily store
ON/OFF status at program branches.
These bits store data and retain their
ON/OFF status when power is turned off.
These bits serve specific functions such as
flags and control bits.
Used for a 1:1 data link with another PC.
The same numbers are used for both
timers and counters.
DM area data can be accessed in word
units only. Word values are retained when
the power is turned off.
The read-only area and PC Setup cannot
be overwritten from program. Change
these settings with a Programming Device.
Section
Bit addresses
IR 00011
Word Bit number
IR 01107
Word Bit number
Function
4-1

Advertisement

Table of Contents
loading

Table of Contents