Omron CJ1W-CT021 Operation Manuals page 145

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

Advertisement

Name of device variable
for CJ-series Unit
*_Ch2_ZOvfUdfCfg
*_Ch2_UpCtLmtCfg
*_Ch2_LowCtLmtCfg
*_Ch2_InitLinCtCfg
*_Ch2_InitRingCtCfg
*_Ch2_RngCmpEnblCfg
*_Ch2_OutSetPatCfg
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Type
R/W
Name
WORD
R/W
Z-reset Mode/Over-
flow/Underflow error-
code generation
UDINT
R/W
Upper Count Limit Cir-
cular/Linear
DINT
R/W
Lower Count Limit Lin-
ear
DINT
R/W
Initial Count Value
UDINT
R/W
Initial Count Value
DWORD R/W
Range/Comparison
Enable Data
DWORD R/W
Output Set Pattern
4 Exchanging Data with CPU
Function
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).
Sets the circular/Linear Counters upper count limit.
Data range: 0 to 4,294,967,295
Unit: Pulse
Factory value: 0
Sets the Linear Counter lower count limit.
Data range: −2,147,483,648 to 0
Unit: Pulse
Factory value: 0
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
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
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
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
4
4-21

Advertisement

Table of Contents
loading

Table of Contents