Details Of Device Variables For Cj-Series Unit (For Setting) - 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

4 Exchanging Data with CPU
4-2-4

Details of Device Variables for CJ-series Unit (for setting)

Setting data can be set with the following two methods.
• Set from Edit Special Unit Settings of Sysmac Studio.
• Set the values for device variables for CJ-series Units.
Unit settings are reflected only when the Controller is reset, or when the Unit restarts. The data setup
file is retained in the CPU Unit by the battery even during power interruptions.
Precautions for Safe Use
When the data setup file is set in Sysmac Studio and transferred, Sysmac Studio checks
whether or not the unit must be restarted. Restart the unit after confirming the safety of the con-
nected destination.
Name of device variable
for CJ-series Unit
*_OutCtlMdCfg
*_OutStaCtlMdCfg
4-16
Type
R/W
Name
WORD
R/W
Output Control
Mode/AND/OR
Counter Output Pat-
terns
WORD
R/W
Output Driver
NPN/PNP/Output
State Control
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
General
Bits 00 to 07: Output Control Mode
Selects the Output Control Mode.
16#00: Range Mode (factory value)
16#01: Comparison Mode
Bits 08 to 15: Counter output pattern AND/OR
selection
For Range Mode, selects whether the Counter out-
put pattern is logically OR or AND.
16#00: OR (factory value)
16#01: AND
Bits 00 to 01: External output driver (NPN/PNP)
selection
Bit 00: For output 0
0: NPN (factory value)
1: PNP
Bit 01: For output 1
0: NPN (factory value)
1: PNP
Bits 02 to11: Use with 0 (factory value).
Bits 12 to 15: Output status control
This sets the 32-point output status control method
for when the CPU Unit operating mode is changed
from RUN mode to PROGRAM mode, when an I/O
bus check error occurred, or an overflow/underflow
error occurred.
16#00: Output ON/OFF automatic refreshing is
continued according to the mode set by the user
(Range Mode or Comparison Mode) (factory value).
16#01: Holds the output ON/OFF.
16#02: The pre-defined *_PreOutPatCfg (Pre-
defined Output Pattern) is applied to external out-
put.
Function

Advertisement

Table of Contents
loading

Table of Contents