Omron CJ1W-CT021 Operation Manuals page 184

For nj-series cpu unit. high-speed counter units.
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Appendices
CJ-series I/O memory address
Word
k+84 to k+89
k+90 to k+95
k+96 to k+101
k+102 to k+107
k+108 to k+113
k+114 to k+119
k+120 to k+125
k+126 to k+131
k+132 to k+137
k+138 to k+143
k+144 to k+149
k+150 to k+155
k+156 to k+161
k+162 to k+167
k+168 to k+173
k+174 to k+179
k+180 to k+185
k+186 to k+191
Comparison Data
Comparison data is set in the user-defined variable.
Two types of structure data are prepared beforehand for comparison data user-defined variables: one
type for Linear Counters and one type for Circular Counters.
Use these structures to define user-defined variables.
Data type (name)
_sCJCT021_Ex_CmpLin
_sCJCT021_Ex_CmpRing
The table below is an example in which 32 Circular Counter comparison structure data type
(_sCJCT021_Ex_CmpRing) are used as user-defined variables and the variable name is defined as
"bbbb".
k is set with device variables for CJ-series Unit *_Ch#_MemAreaCfg and *_Ch#_MemAdrCfg.
A-12
NJ-series device variables for CJ-series Unit
Bit
Variable name
00 to 15
aaaa[14]
00 to 15
aaaa[15]
00 to 15
aaaa[16]
00 to 15
aaaa[17]
00 to 15
aaaa[18]
00 to 15
aaaa[19]
00 to 15
aaaa[20]
00 to 15
aaaa[21]
00 to 15
aaaa[22]
00 to 15
aaaa[23]
00 to 15
aaaa[24]
00 to 15
aaaa[25]
00 to 15
aaaa[26]
00 to 15
aaaa[27]
00 to 15
aaaa[28]
00 to 15
aaaa[29]
00 to 15
aaaa[30]
00 to 15
aaaa[31]
Member
Data type
CmpVal
DINT
AddSetPat
DWORD
AddRstPat
DWORD
SubSetPat
DWORD
SubRstPat
DWORD
CmpVal
UDINT
AddSetPat
DWORD
AddRstPat
DWORD
SubSetPat
DWORD
SubRstPat
DWORD
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Description
Range 14
Range 15
Range 16
Range 17
Range 18
Range 19
Range 20
Range 21
Range 22
Range 23
Range 24
Range 25
Range 26
Range 27
Range 28
Range 29
Range 30
Range 31
Name
Comparison Value
+Set Pattern
+Reset Pattern
−Set Pattern
−Reset Pattern
Comparison Value
+Set Pattern
+Reset Pattern
−Set Pattern
−Reset Pattern

Advertisement

Table of Contents
loading

Table of Contents