Omron CJ1W-CT021 Operation Manuals page 183

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

Advertisement

CJ-series I/O
memory address
Word
Bit
m+110
00 to 03
*_Ch2_MemAreaCfg
04 to 15
m+111,
00 to 15
*_Ch2_MemAdrCfg
m+112
m+113
00 to 15
Undefined
to
m+399
Range Data
Range data is set in the user-defined variable.
Two types of structure data are prepared beforehand for range 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_RngLin
_sCJCT021_Ex_RngRing
The table below is an example in which 32 Linear Counter range structure data type
(_sCJCT021_Ex_RngLin) are used as user-defined variables and the variable name is defined as
"aaaa".
k is set with device variables for CJ-series Unit *_Ch#_MemAreaCfg and *_Ch#_MemAdrCfg.
CJ-series I/O memory address
Word
k to k+5
k, k+1
k+2, k+3
k+4, k+5
k+6 to k+11
k+12 to k+17
k+18 to k+23
k+24 to k+29
k+30 to k+35
k+36 to k+41
k+42 to k+47
k+48 to k+53
k+54 to k+59
k+60 to k+65
k+66 to k+71
k+72 to k+77
k+78 to k+83
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
NJ-series device variables for CJ-series Unit
Variable name
Member
Data type
LowLmt
DINT
UpLmt
DINT
OutPat
DWORD
LowLmt
UDINT
UpLmt
UDINT
OutPat
DWORD
NJ-series device variables for CJ-series Unit
Bit
Variable name
aaaa[0]
00 to 15
aaaa[0].LowLmt
00 to 15
aaaa[0].UpLmt
00 to 15
aaaa[0].OutPat
00 to 15
aaaa[1]
00 to 15
aaaa[2]
00 to 15
aaaa[3]
00 to 15
aaaa[4]
00 to 15
aaaa[5]
00 to 15
aaaa[6]
00 to 15
aaaa[7]
00 to 15
aaaa[8]
00 to 15
aaaa[9]
00 to 15
aaaa[10]
00 to 15
aaaa[11]
00 to 15
aaaa[12]
00 to 15
aaaa[13]
Description
Memory Area
---
Memory Address (BCD)
---
Name
Lower Limit Range 0
Upper Limit Range 0
Output Pattern Range 0
Lower Limit Range 0
Upper Limit Range 0
Output Pattern Range 0
Description
Range 0
Lower Limit Range 0
Upper Limit Range 0
Output Pattern Range 0
Range 1
Range 2
Range 3
Range 4
Range 5
Range 6
Range 7
Range 8
Range 9
Range 10
Range 11
Range 12
Range 13
Appendices
A-11

Advertisement

Table of Contents
loading

Table of Contents