
4-21
4 Exchanging Data with CPU
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
4-2 Mem
o
ry
Alloca
tion
4
4-2-4 D
e
tails of De
vice V
a
riab
les
for CJ-ser
ies Unit (f
or setting)
*_Ch2_ZOvfUdfCfg
WORD
R/W
Z-reset Mode/Over-
flow/Underflow error-
code generation
Bits 00 to 03: This sets the Z phase input signal
function.
16#0: No function (factory value)
16#1: Reset (Z phase input signal rising edge)
Bits 04 to 07: Sets whether or not overflow/under-
flow error codes are created.
16#0: Error codes are not created (The over-
flow/underflow bit is set and the output retains the
previous status.) (factory value)
16#1: Error codes are created. (Error codes are
reported and all output is switched OFF.)
Bits 08 to 15: Use with 16#00 (factory value).
*_Ch2_UpCtLmtCfg
UDINT
R/W
Upper Count Limit Cir-
cular/Linear
Sets the circular/Linear Counters upper count limit.
Data range: 0 to 4,294,967,295
Unit: Pulse
Factory value: 0
*_Ch2_LowCtLmtCfg
DINT
R/W
Lower Count Limit Lin-
ear
Sets the Linear Counter lower count limit.
Data range:
−
2,147,483,648 to 0
Unit: Pulse
Factory value: 0
*_Ch2_InitLinCtCfg
DINT
R/W
Initial Count Value
Sets the initial Counter Value after unit setting data
is transferred.
Used for Simple Counter or Linear Counter.
Data range:
−
2,147,483,648 to 2,147,483,647
Unit: Pulse
Factory value: 0
*_Ch2_InitRingCtCfg
UDINT
R/W
Initial Count Value
Sets the initial Counter Value after unit setting data
is transferred.
Used for Circular Counter.
Data range: 0 to 4,294,967,295
Unit: Pulse
Factory value: 0
*_Ch2_RngCmpEnblCfg
DWORD R/W
Range/Comparison
Enable Data
Sets whether the range/comparison data is enabled
or disabled.
Bits 00 to 31 correspond to comparison data 0 to
31.
Each bit is enabled for 1 and disabled for 0.
Data range: 16#00000000 to 16#FFFFFFFF
Factory value: 0
*_Ch2_OutSetPatCfg
DWORD R/W
Output Set Pattern
Sets the output (0 to 31) set pattern.
Bits 00 to 31 correspond to output 0 to 31.
Each bit is set for 1 and no change for 0.
Data range: 16#00000000 to 16#FFFFFFFF
Factory value: 0
Name of device variable
for CJ-series Unit
Type
R/W
Name
Function
Содержание 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: ......