
1-17
1 Introduction
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
1-4 Quic
k Star
t U
p
Ref
eren
ce
Gu
ide
1
1
-4-1
Configur
ing the High-spee
d Counter Unit
z
Configuration
1
Configuring every Counter starts with choosing the Counter Type (Simple, Circular or Linear).
Simple Counter
For Simple Counters you do not have to make any Special Unit settings, since for Simple Counters
all the default settings are used. Choose Simple Counters when only basic counting functionality is
required. (refer to 3-2-1 Simple Counter and to 1-5 Operating Procedure Guidelines)
Circular/Linear Counter
If you want to use the full available functionality for a Counter, you must configure it for Circular or
Linear Counter (refer to 3-2-2 Circular Counter and 3-2-3 Linear Counter for details and to 1-5 Oper-
ating Procedure Guidelines for a quick start up procedure).
2
The Input Signal Type (Phase Differential, Up/down pulse, or Pulse & Direction) for every
Counter has to be defined.
3
Depending on the requirements of the application, one or more (maximum 2) Digital Inputs can
be assigned to a Counter. To configure the Digital Input(s) a choice can be made out of 8 avail-
able modes (e.g. Gate, Enable Reset or Combination Modes, refer to 3-4 Digital Input Func-
tions). During operation of the Counter, the Counter can be Started, Stopped, Reset, or Preset
by using the Digital Input(s) or the corresponding bits for the I/O port in the CPU Unit.
4
Controlling the Outputs is done by choosing the Output Control Mode (Range or Comparison
Mode). Furthermore 4 additional control mechanisms are available to control the Outputs (Pro-
grammable Output Pulse, Output State Control, Manual Control and Hysteresis). Refer to 3-5
Output Control.
5
In case the Counter Input Signals (A, B, Z) and the Digital Input Signals (I0 to I1) are exposed to
electromagnetic noise, a noise filter can be configured (10 kHz, 50 kHz (=default) or 500 kHz) to
suppress this noise. The 500 kHz noise filter is only available for the Counter Input Signals and
not for the Digital Input Signals. Refer to 3-7-3 Noise Filtering.
6
Specifying indirect addresses for Circular/Linear Counters and Allocating them to user-defined
variables
CJ1W-CT021 High-speed Counter Unit are set with the Edit Special Unit Settings of Sysmac
Studio. When the contents of the Special Unit settings are transferred to the CPU Unit, they are
reflected in the device variables for CJ-series Unit (for setting). When the Controller is reset or
the Unit is restarted, the contents of device variables for CJ-series Unit (for setting) are reflected
in the High-speed Counter Unit.
With a Counter type other than a Simple Counter, the Output Control Mode can be set either to
Range or Comparison Mode. One Counter can be allocated with 32 range data or comparison
data. The data is set to free DM or EM Areas.
To make the setting, specify the memory area for the Memory Area, and indirect address for the
Memory Address in Edit Special Unit Settings of Sysmac Studio. The indirect addresses point to
the actual memory address where the range or comparison data is actually stored.
After that, this area is allocated to user-defined variables.
For details on the data, refer to 3-5-1 Range Mode or 3-5-2 Comparison Mode.
For details on device variables for CJ-series Units, refer to 4-2 Memory Allocation.
1-4-1
Configuring the High-speed Counter Unit
Содержание 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: ......