Digital Input Functions - Omron CJ1W-CT021 Operation Manuals

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

Advertisement

3-4

Digital Input Functions

Assigning Plural Digital Inputs to a Single Counter
The High-speed Counter Unit is equipped with two Digital Inputs, each of which can control a differ-
ent Counter of the Unit. If a Counter has to be controlled by plural Digital Inputs, a maximum of two
Digital Inputs can be assigned to the Counter. Be aware if both of the two Digital Inputs are used for
one Counter, no other Digital Input is left for other Counters.

Digital Input Functions

Furthermore, the function of every Digital Input can be selected from one out of 8 available func-
tions. Every function performs its unique action on the Counter to which it is assigned. The action
can be performed on the rising or on the falling edge of the Digital Input signal. Depending on the
requirements of your application you must select the corresponding Function. By default no function
is assigned to the Digital Inputs and no action is performed on a rising or falling edge of the Digital
Input signal (Only Digital Input statuses are reflected in device variables for CJ-series Unit (for
input).).
Name of device variable
for CJ-series Unit
*_DigiIn0FunCfg
*_DigiIn1FunCfg
Additional Information
• Unit settings are made with Edit Special Unit Settings of Sysmac Studio. Do not select items
that use the capture function from the Digital Input # Function drop down list. When used with
the NJ Series, the capture function cannot be used.
• The Settings specified in the Edit Special Unit Settings screen support all of the functions of
this Unit. However, when they used with the NJ Series, some functions of this Unit become
unavailable. Do not select functions that cannot be used. Errors will not be detected even if
these functions are selected or set.
Refer to A-1 Differences of NJ Series from CJ Series, for functions that cannot be used with
NJ series.
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
assigned to
Digital Input 0
assigned to
Digital Input 1
Type
WORD
Digital Input 0 Func-
tion/Counter Number
WORD
Digital Input 1 Func-
tion/Counter Number
3 Operation and Configuration
Counter 'c'
Counter 'c'
c = 1 or 2
Name
Bits 07 to 00: Digital input 0 function selec-
tion
16#00: No function
16#01: Positive gate (Function 01)
16#02: Negative gate (Function 02)
16#03: Rising edge preset (Function 03)
16#04: Falling edge preset (Function 04)
16#05: Rising edge reset (Function 05)
16#06: Falling edge reset (Function 06)
16#15: Reset enabled (Function 15)
16#16: Reset disabled (Function 16)
Bits 15 to 08 Counter number
16 No. 01: Counter 1
16 No. 02: Counter 2
Function
3-17
3

Advertisement

Table of Contents
loading

Table of Contents