
4-3
4 Exchanging Data with CPU
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
4-1 Over
vie
w
4
4-1-1 D
ata Flo
w
z
Device variable for CJ-series Unit
These variables are used to exchange data between the user program and Special I/O Units.
Use device variables for CJ-series Units with AT specification for the I/O port. There are three types
of variables: for input, for output, and for settings.
For details on allocation of device variables for CJ-series Units, refer to 4-1-3 Access from User Pro-
gram.
z
User-defined Variable
When a Counter is used in Range Mode or in Comparison Mode, user-defined variables are used to
access, from the user program, the area in which the comparison data is set. An address of the data
to be used as comparison data is set with the device variable for CJ-series Unit for setting. Use Sys-
mac Studio to specify the AT (allocation destination) in which comparison data is stored with user-
defined variables.
For details, refer to 4-2-2 Allocating Ranges and Comparison Data.
I/O port
I/O port
Comparison Mode
Unit Configuration
Data
NJ-series CPU Unit
User program
Inputs
Device variables for
CJ-series Unit
Outputs
For settings
General Unit I/O
Data
and
Counter Specific
I/O Data
I/O refresh
I/O refresh
High-speed Counter Unit
Device variables for
CJ-series Unit
User-defined variables
Device variables for
CJ-series Unit
General
Counter 1
Counter 2
General
Counter 1
Counter 2
General
Counter 1
Counter 2
Range 1 to 31
Comparison condition
1 to 31
Power ON or
unit restart
AT specification
AT specification
AT specification
AT specification
Memory used for
CJ-series Unit
Range Mode
Range data
Comparison data
Содержание CJ1W-CT021
Страница 10: ...Manual Structure 8 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 38: ...Revision History 36 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 190: ...Appendicies A 18 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 191: ...Index 1 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492 I Index...
Страница 194: ...Index 4 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492 Index...
Страница 195: ......