Dm-Memory Mapping - Omron CJ1W-CT021 Operation Manual

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Memory Allocation
4-2-4

DM-Memory Mapping

Word
Bit
m
00-07
08-15
m+1
00-15
m+2, m+3
00-15
m+4
00-15
m+5
00-15
m+6
00, 01
02-11
12-15
The High-speed Counter Unit is allocated 400 Words in DM. These 400 Words are
divided in 30 General DM-words (m to m+29) and 45 Counter Specific words for
every Counter (Counter 1 = m+30 to m+74, Counter 2 = m+75 to m+119).
Note
Double words in DM are indicated as for example "m+2, m+3". How to distinguish
between the least- and most significant words (LSW and MSW) within double
words, you should refer to the section called "About this Manual" at the beginning
of this Manual.
Item
Output Control Mode
AND/OR Counter
Output Patterns
Interrupt Task Offset
(Outputs)*
Interrupt Enable
Data Outputs*
Interrupt Task Offset
(Inputs)*
Interrupt Enable
Data Inputs*
Output Driver
NPN/PNP
---
Output State
Control
* Refer to 4-6 "Interrupts" for information about Outputs and Inputs generating
Interrupts.
Function
General
Output Control Mode:
00 = Range Mode (=default)
01 = Comparison Mode
In case of Range Mode, define if the output patterns of
the Counters should be logically AND-ed (01) or OR-ed
(00)
Define Offset [0, 192
Tasks [0, 255] corresponding to Outputs [0-31]
Enable (=1) or Disable (=0) Interrupts in the Unit
corresponding to Outputs [0, 31]
Define Offset [0, 252
Tasks [0, 255] corresponding to Digital Inputs [0-1]:
(Having interrupts on rising or falling edge is fixed by the
Function of the Digital Input, refer to 3-4 "Digital Input
Functions").
Enable (=1) or Disable (=0) Interrupts in the Unit
corresponding to Digital Inputs [0, 1]
Define Output Driver NPN (=0) or PNP (=1) for every
Digital Output [0-1]
Not used
Define state control of the Outputs in case the operating
mode of CJ-series CPU Unit is changed from RUN/
MONITOR
PROGRAM or an I/O Bus- or Overflow/
Underflow error occurs:
0 = Continue automatic updating Output States
1 = Freeze Output States
2 = Predefine Output States
Section 4-2
] to execute External Interrupt
(BCD)
] to execute External Interrupt
(BCD)
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents