Omron CJ1W-CT021 Скачать руководство пользователя страница 196

Authorized Distributor:

In the interest of product improvement, 
specifications are subject to change without notice.

Cat. No. W492-E1-03

0812

 © OMRON Corporation 2011  All Rights Reserved.

OMRON Corporation

      Industrial Automation Company

OMRON ELECTRONICS LLC
One Commerce Drive Schaumburg,
IL 60173-5302 U.S.A.
Tel: (1) 847-843-7900/Fax: (1) 847-843-7787

Regional Headquarters

OMRON EUROPE B.V.
Wegalaan 67-69-2132 JD Hoofddorp
The Netherlands
Tel: (31)2356-81-300/Fax: (31)2356-81-388

 Contact:  www.ia.omron.com

Tokyo, JAPAN

OMRON ASIA PACIFIC PTE. LTD.
No. 438A Alexandra Road # 05-05/08 (Lobby 2), 
Alexandra Technopark, 
Singapore 119967
Tel: (65) 6835-3011/Fax: (65) 6835-2711

OMRON (CHINA) CO., LTD.
Room 2211, Bank of China Tower, 
200 Yin Cheng Zhong Road, 
PuDong New Area, Shanghai, 200120, China
Tel: (86) 21-5037-2222/Fax: (86) 21-5037-2200

Содержание CJ1W-CT021

Страница 1: ...Machine Automation Controller CJ series High speed Counter Units High speed Counter Units Operation Manual for NJ series CPU Unit W492 E1 03 CJ1W CT021...

Страница 2: ...respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change...

Страница 3: ...re it will be available for reference during operation This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent...

Страница 4: ...Setting devices and hardware Using motion control Using EtherCAT Using EtherNet IP Using CJ series Units Software settings Using motion control Using EtherCAT Using EtherNet IP Programming Using motio...

Страница 5: ...the NJ series Controller specifications Section 2 CPU Unit Operation This section provides information that is necessary to use the CPU Unit including how the CPU Unit works and the operations that i...

Страница 6: ...Support Software that is provided with the Sysmac Studio Section 10 Troubleshooting This section describes the error messages that are displayed when you check a pro gram on the Sysmac Studio and how...

Страница 7: ...re and how to install and wire the High speed Counter Unit Section 3 Operation and Configuration This section describes the functionality of the High speed Counter Unit and how to configure the Unit S...

Страница 8: ...and locking the sliders by moving them toward the back of the Units The End Cover is connected in the same way to the Unit on the far right side of the Controller 1 Join the Units so that the connecto...

Страница 9: ...and upload refers to transferring data from the physical Controller to the Sysmac Studio For the Sysmac Studio synchronization is used to both upload and download data Here synchronize means to autom...

Страница 10: ...Manual Structure 8 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...

Страница 11: ...anual for NJ series CPU Unit W492 Sections in this Manual 6 5 Introduction Components Installation and Wiring Operation and Configuration Exchanging Data with CPU Error Processing Maintenance and Insp...

Страница 12: ...ry 35 Section 1 Introduction 1 1 Features and Functions 1 2 1 2 Basic Configuration 1 5 1 3 Specifications and Characteristics 1 7 1 3 1 General Specifications 1 7 1 3 2 Functional Specifications 1 8...

Страница 13: ...Phase Differential 3 14 3 3 2 Up Down Pulse 3 15 3 3 3 Pulse Direction 3 16 3 4 Digital Input Functions 3 17 3 5 Output Control 3 21 3 5 1 Range Mode 3 23 3 5 2 Comparison Mode 3 29 3 5 3 Manual Outp...

Страница 14: ...5 7 5 2 4 System Errors 5 7 5 3 Event Logs 5 8 5 3 1 Overview of the Event Logs 5 8 5 3 2 Error Table 5 9 5 3 3 Error Descriptions 5 10 5 4 Maintenance and Inspection 5 12 5 4 1 Cleaning 5 12 5 4 2 Ro...

Страница 15: ...YER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED...

Страница 16: ...ssible uses of the products nor is it intended to imply that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or...

Страница 17: ...consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufactu...

Страница 18: ...The following notation is used Definition of Precautionary Information WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Additionally the...

Страница 19: ...autions including warnings The specific operation is shown in the triangle and explained in text This example indicates a precaution for electric shock The triangle symbol indicates precautions includ...

Страница 20: ...ed in external control circuits The Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a countermea sure for such pro...

Страница 21: ...f time when a momentary power interruption occurs This means that the NJ series Controller may receive incorrect signals from external devices that are also affected by the power interruption Accordin...

Страница 22: ...all terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals The loose screws may result in fire or malfunction Online Editing Execute online editing on...

Страница 23: ...erly locked into place Always remove any dustproof labels that are on the top of the Units when they are shipped before you turn ON the power supply If the labels are not removed heat will accumulate...

Страница 24: ...ter the power supply to the Controller has turned ON If the power supply to the Controller is turned ON after the control power supply temporary errors may result in incorrect control system signals b...

Страница 25: ...have occurred for the EtherCAT Master Function Module Always confirm safety at the connected equipment before you reset Controller errors for a CJ series Special Unit When a Controller error is reset...

Страница 26: ...ely affected before you transfer the tag data link parameters All related EtherNet IP nodes are reset when you transfer settings for the built in EtherNet IP port including IP addresses and tag data l...

Страница 27: ...t needs to be replaced Program the _EC_InDataInvalid Input Data Disable system defined variable as an interlock con dition Set the Impermissible Number of Continuous Timeouts setting in the EtherCAT m...

Страница 28: ...hat the required data including the user program configurations settings variables and memory used for CJ series Units is transferred to a CPU Unit that was replaced and to externally connected device...

Страница 29: ...nector is disconnected from the Rack Be sure that the connectors are secure Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure...

Страница 30: ...et from the data to restore If a Task Period Exceeded error occurs shorten the programs to fit in the task period or increase the setting of the task period Use the system defined variable in the user...

Страница 31: ...g the CPU Unit unused again without turning ON the power even once after the Battery is replaced may result in a shorter Battery life When you replace the Battery use the CJ1W BAT01 Battery Set Insert...

Страница 32: ...N 61131 2 and EN 61000 6 2 EMI Electromagnetic Interference EN 61131 2 and EN 61000 6 4 Radiated emission 10 m regulations z Low Voltage Directive Always ensure that devices operating at voltages of 5...

Страница 33: ...following noise filter must be connected to the power supply line Noise Filter Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON fa...

Страница 34: ...tudio z CPU Unit and CJ series Units 1 Double click CPU Expansion Racks under Configurations and Setup in the Multiview Explorer Or right click CPU Expansion Racks under Configurations and Setup and s...

Страница 35: ...up and select Edit from the menu The EtherCAT Configuration Tab Page is displayed for the Controller Configurations and Setup layer 2 Right click the master in the EtherCAT Configurations Editing Pane...

Страница 36: ...NJ series CPU Unit Mainly software information is provided The following information is provided on a Con troller built with an NJ501 CPU Unit CPU Unit operation CPU Unit features Initial settings Pr...

Страница 37: ...nual revision code appears as a suffix to the catalog number on the front and back covers of the manual Revision code Date Revised content 01 July 2011 Original production 02 March 2012 Corrected erro...

Страница 38: ...Revision History 36 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...

Страница 39: ...application 1 1 Features and Functions 1 2 1 2 Basic Configuration 1 5 1 3 Specifications and Characteristics 1 7 1 3 1 General Specifications 1 7 1 3 2 Functional Specifications 1 8 1 3 3 Input Spec...

Страница 40: ...s with choosing one out of 3 Counter Types Simple Counter refer to 3 2 1 Simple Counter Circular Counter refer to 3 2 2 Circular Counter Linear Counter refer to 3 2 3 Linear Counter By default all Cou...

Страница 41: ...put data in the CPU Unit Digital Output can be controlled manually refer to 3 5 3 Manual Output Control You can set to hold the output in the previous status or to put it into the defined status for w...

Страница 42: ...500 kHz For the Digital Inputs noise filters can be configured to 10 kHz and 50 kHz default Refer to 3 7 3 Noise Filtering z Support Software The Unit is set by Sysmac Studio z Quick Start Up Referenc...

Страница 43: ...ately to the right of the CJ1 H CPU Unit on the CPU Rack If you want the High speed Counter Unit to generate interrupts to activate external interrupt tasks in a CJ1M CPU Unit the Counter Unit must be...

Страница 44: ...urrent that the Power Supply Unit can supply and the amount of current consumed by other Units z I O Connection Methods To connect the Input and Output signal wires to the Unit two methods are availab...

Страница 45: ...it General Specifications Conform to general specifications for Sysmac NJ series Ambient Operating Temperature 0 to 55 C Ambient Storage Temperature 20 to 70 C Ambient operating Humidity 10 to 90 with...

Страница 46: ...to 3 3 1 Phase Differential Up Down refer to 3 3 2 Up Down Pulse Pulse Direction refer to 3 3 3 Pulse Direction Counter Control using I O ports Open Gate Start Counter Counter is enabled to count puls...

Страница 47: ...Hysteresis To prevent Outputs from being switched On and Off by very small fluctu ations in the Counter Value around Range Limits for every Counter an Hysteresis value 1 to 255 can be defined the Unit...

Страница 48: ...f 10 s or longer can be read 1 3 3 Input Specifications Item Counter Inputs A and B Digital Inputs I0 and I1 Input Voltage 24 VDC 19 6 to 26 4 V 12 VDC 9 8 to 13 2 V 5 VDC 4 5 to 5 5 V Line Driver 24...

Страница 49: ...nputs A and B Input pulses with a duty factor of 50 Relationship between A and B phases with phase differential inputs Counter Input Z DD D D Phase A Phase B Off 50 On Counter inputs A and B Input pul...

Страница 50: ...3 5 4 Output Control Configuration Each Digital Outputs is insulated from the I O bus but not from the other Digital Outputs They are not protected from short circuit The Output current must not exce...

Страница 51: ...es CPU Unit W492 1 3 Specifications and Characteristics 1 1 3 4 Output Specifications z Maximum Switching Capacity The maximum switching current depends upon the power supply voltage as shown below 10...

Страница 52: ...Racks is 24 As a Circular or Linear Counter all functions of the Unit can be used As a Simple Counter how ever available functions are restricted The figure below shows all the function blocks that c...

Страница 53: ...ture Counter Value Open Gate Start Counter Close Gate Stop Counter Preset Counter Reset Counter Capture Counter Value 3 4 Digital Input Func tions 3 Digital Input Functions 3 4 Digital Input Func tion...

Страница 54: ...ounter Reference section 7 Reset Signals 3 6 Reset Counter Software Reset Bit Software Reset Bit Digital Input Z signal 8 Programmable Output Pulses 3 7 1 Pro grammable Output Pulses No default Yes 9...

Страница 55: ...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 Digita...

Страница 56: ...ries High speed Counter Units Operation Manual for NJ series CPU Unit W492 7 Count operations are started with the gate open close bit of the device variables for CJ series Units or Digital Input depe...

Страница 57: ...nit Configuration Create and register global variables and each POU Create algorithm of each POU and register local variables of each POU Register the Unit in the Unit Configuration on the CPU Expansi...

Страница 58: ...g and wiring to the Rack Install and wire the Unit Refer to 2 2 Installation and 2 3 Wiring for further details Details of Hardware Setting and Rack Assembly 0 1 23 4 5 6 7 8 9 0 1 23 4 5 6 7 8 9 1 1...

Страница 59: ...ormation about Unit settings When using High speed Counter Unit output control functions register the structure data type for range or comparison data on the CPU Expansion Racks screen in Configuratio...

Страница 60: ...speed responses have to be triggered at predefined Counter Values Application areas include Packaging and Sorting plants Dosing or proportioning plants Process Industry Typical applications in which t...

Страница 61: ...2 2 2 1 1 Components 2 2 2 1 2 Indicators 2 3 2 1 3 Counter Type Switch 2 4 2 1 4 Machine Number Switch 2 5 2 2 Installation 2 6 2 2 1 System Configuration Precautions 2 6 2 2 2 Installing Units 2 6...

Страница 62: ...Components and Switch Settings z Front and Side View z Dimensions with Connector 2 1 1 Components 65 66 5 90 31 Indicators Machine Number Switch Counter Mode Switch 2 7 2 7 0 1 23 4 5 6 7 8 9 0 1 23...

Страница 63: ...due to a detected error For a list of all the errors that can cause an opera tional failure see 5 2 Error codes OFF Unit has no operational failure ERH Red ON CPU Unit has operational failure For a l...

Страница 64: ...ear Counter The Simple Counter is an extra feature of the High speed Counter Unit that enables an easy and fast set up of the Unit since no Special Unit settings are needed all default settings are u...

Страница 65: ...tions for Correct Use Precautions for Correct Use When setting a rotary switch use a flat blade screwdriver and be careful not to damage the switch Be sure not to leave the rotary switch midway betwee...

Страница 66: ...ring installation and take measures such as covering with a cover If the Unit was shipped from the factory with the dust protection label on top of the unit be sure to remove that label before switchi...

Страница 67: ...firmly lock ing the Units together 3 Attach an End Plate to the Unit on the right end of the Rack Precautions for Safe Use The Units may not function properly if the sliders are not locked into place...

Страница 68: ...in order to feed the Digital Outputs Depending on what your application requires you can apply an external voltage between 12 to 24 VDC In case the Digital Outputs are not used in your application no...

Страница 69: ...ignals from NPN or PNP Drivers The Unit allows you to connect Line Driver signals and 24 VDC signals to any Counter The following table gives an overview of which driver signals can be applied to whic...

Страница 70: ...ring the soldering terminals z Cable separation z Assembling Connectors Insulatingtube Wire crosssection 0 3m m max 2 Connector jack with solderingterminals 2 3 1 Connector Pin layout Inputand orOutpu...

Страница 71: ...ring the wires to the external connector For this purpose you should use a Terminal Block Unit The following Ter minal Block Units are recommended for using together with the CJ1W CT021 High speed Cou...

Страница 72: ...n Manual for NJ series CPU Unit W492 Refer to A 2 Using Terminal Block Units with Screw terminals for information on the numbering of the screw terminals You need this information in case you want to...

Страница 73: ...the wiring for the Counter Inputs A B and Z as short as possible and do not route the wires par allel to lines that produce a lot of noise such as high voltage power lines Try to use a separate stabil...

Страница 74: ...Output O0 PNP B3 Digital Output O1 PNP A2 Digital Output O0 NPN A3 Digital Output O1 NPN NPN PNP NPN PNP Digital Output O0 Digital Output O1 NPN or PNP can be set for each Digital Output Output contr...

Страница 75: ...make clear how to wire the Digital Inputs and the Digital Outputs z 24 VDC NPN Sensor z 24 VDC PNP Sensor 2 3 5 Digital I O Circuit Configurations 0 V 24 V 24 VDC PowerSupply B5 A5 Digital Input I0 on...

Страница 76: ...PU Unit W492 z Wiring example NPN PNP Digital Output B2 O0 PNP A3 O1 NPN NPN PNP NPN PNP Digital Output O0 PNP Digital Output O1 NPN Set the software switches for every Digital Output in the appropria...

Страница 77: ...ating equipment with similar output drivers z 5 12 24 VDC NPN Open Collector 2 3 6 Counter Input Configurations Black Phase A White Phase B Brown Vcc Blue 0 V COM Orange Phase Z B9 Phase A 24 V B11 Ph...

Страница 78: ...V COM Orange Phase Z B9 Phase A 24 V B11 Phase B 24 V B13 Phase Z 24 V A8 Phase A 0 V A10 Phase B0 V A12 Phase Z0 V 0 V 24 V 24 VDC Power Supply High speed Counter Terminals CN1 Counter1 Ex E6C2 CWZ5B...

Страница 79: ...ed Phase B Brown 5 VDC Blue 0 V COM Orange red Phase Z B15 Phase A LD B17 Phase B LD B19 Phase Z LD A15 Phase A LD A17 Phase B LD A19 Phase Z LD 0 V 5 V 5 VDC Power Supply High speed Counter Terminals...

Страница 80: ...2 Components Installation and Wiring 2 20 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...

Страница 81: ...3 2 1 Simple Counter 3 7 3 2 2 Circular Counter 3 10 3 2 3 Linear Counter 3 12 3 3 Input Signal Types 3 14 3 3 1 Phase Differential 3 14 3 3 2 Up Down Pulse 3 15 3 3 3 Pulse Direction 3 16 3 4 Digita...

Страница 82: ...ter Also throughout this section the device variables for CJ series Unit that are relevant to operate the Unit from the CPU Unit user program are mentioned For details on device variables for CJ serie...

Страница 83: ...l Output Status Output Driver NPN PNP Output State Control Predefined Output Pattern To select a Counter Reset technique 3 6 Reset Counter Reset Reset Enable Reset Activated Z signal Activated Digital...

Страница 84: ...4 2 5 Memory Allocation for Ranges Ranges Compari son Values active Output Control Mode AND OR Counter Output Patterns Counter Type Upper Count Limit Circular Linear Range Comparison Enable Data Outpu...

Страница 85: ...f device variable for CJ series Unit for setting To make any desired external output pattern 3 7 1 Programmable Output Pulses Output Status Output Pulse Turn ON Delay Time BCD Digital Output 0 Output...

Страница 86: ...nit for setting as shown below In the description hereafter each variable name has a prefix This indicates the device name when this Unit is registered in the Unit Configuration For details refer to 4...

Страница 87: ...put and you can open or close the gate to allow counting pulses or not With Simple Counters only phase differential signals multiplication x 1 can be connected You cannot use the Z signal to trigger a...

Страница 88: ...functions for Simple Counters that are available in device variables for CJ series Unit for input output z 32 Bits Counting Range A Simple Counter has the full counting range 32 bits available to cou...

Страница 89: ...preset values set values to these variables The rising edge of the preset is the trigger and the Counter Value is overwritten by the preset value at the next I O refresh z Resetting a Simple Counter A...

Страница 90: ...Information A Circular Counter can uses all functions listed in 1 3 2 Functional Specifications z Configuring Circular Counters Circular Counters are set with the following device variables for CJ se...

Страница 91: ...lt it is set to the maximum possible count limit of 4 294 967 295 With Circular Counters the Counter automatically rolls over to 0 and continues counting if the Counter Value exceeds the Upper Count L...

Страница 92: ...t in the device variable for CJ series Units if a Counter Value is below the Lower Count Limit an underflow is set You can make settings to issue corresponding error codes when an overflow or underflo...

Страница 93: ...for input Name of device variable for CJ series Unit Type Name Function _Ch1_UpCtLmtCfg UDINT Upper Count Limit Circular Linear Set a value in the range of 0 to 2 147 483 647 When 0 is set this become...

Страница 94: ...tiplication by 1 If the Counter counts up signal A leads to signal B pulses are taken into account by the Counter on the rising edges of signal A If the Counter counts down pulses are taken into accou...

Страница 95: ...x4 should be selected If the Counter counts up signal A leads to signal B pulses are taken into account by the Counter on the rising and falling edges of signal A and signal B If the Counter counts d...

Страница 96: ...o input B If input B is high the Counter increments on the rising edges of input A If input B is low the Counter decrements on the rising edges of input A Additional Information For Counter Reset opti...

Страница 97: ...les for CJ series Unit for input 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...

Страница 98: ...rdless of the Close Gate state If both variables rise at the same time the gate state of the time is held is not changed Additional Information Initially at power up or restart of the Unit for all Cou...

Страница 99: ...al Information Resets from an Digital Input signal will be executed within 300 s The Open Gate Close Gate Preset or Reset in device variables for CJ series Unit for output may not be executed if turne...

Страница 100: ...atus When a preset or reset is allocated to a Digital Input the status of Digital Inputs is detected via vari ables Preset Activated Reset Activated of the device variables for CJ series Unit for inpu...

Страница 101: ...Comparison Mode The Output Control Mode is set with bits 0 to 7 of the following device variables for CJ series Unit for setting Besides automatically the Digital Outputs can also be controlled manual...

Страница 102: ...ble that summarizes all 32 bit statuses The former type of output statuses can be used to con trol outputs of external basic output units on user programs Name of device variable for CJ series Unit Ty...

Страница 103: ...0 must be ON for Counter Values within Range 0 Output 1 and 3 must be ON for Counter Values within Range 1 Output 2 must be ON for Counter Values within Range 2 Both of the Outputs 0 and 3 must be ON...

Страница 104: ...mple Range Mode with Circular Counter This example shows the Range Mode applied to a Circular Counter 0 Upper Count Limit 4 294 967 295 Rollover Counter Value Range 2 Range 1 Range 0 Range 3 Range Low...

Страница 105: ...gure Counters in Range Mode is described on the next pages Range Mode Overview Unit Output Pattern Upper Range Limit Lower Range Limit Range 0 E D Upper Range Limit Lower Range Limit E D Output Patter...

Страница 106: ...ure data types for range data register the structure data type for High speed Counter Units before hand on the CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio For the exact memo...

Страница 107: ...the range data considering the time when the comparison is stopped For example for the Range table shown in the following diagram approximately 4 8 counts occur during 1 5 ms when a 3 2 kHz pulse is...

Страница 108: ...logical AND output patterns of two Counters are logically multiplied and the result is regarded as the output pattern for the Unit When plural Counters are used to control an application you can sele...

Страница 109: ...e no Ranges the output patterns for both outputs will be all OFF If the Unit is configured to control the Outputs in Comparison Mode this Mode can be applied to Circu lar Counters or Linear Counters r...

Страница 110: ...on and Reset on cross ing CV7 in the negative counting direction The crossing of CV3 in the positive counting direction results in the Setting of Output 2 and the Resetting of Output 1 Counter Value 0...

Страница 111: ...Soft2 CV7 CV6 CV5 CV4 CV3 CV2 CV1 Up counting positive direction Counter Value Rollover Down counting negative direction Reset in positive direction Set in negative direction Reset in negative direct...

Страница 112: ...ges Comparison Mode Overview Comparison Value 0 E D E D E D Comparison Value Enabled Disabled Comparison Value 31 Reset Pattern CV0 Set Pattern CV0 Set Pattern CV0 Reset Pattern CV0 Reset Pattern CV31...

Страница 113: ...in the negative counting direction 0 No Change 1 Reset Output To configure a Counter in Comparison Mode for every Comparison Value that you want to use the comparison data must be set Each data item i...

Страница 114: ...parison Values of a specific Counter may not have the same value The Unit will generate an error if multiple CV s have the same value refer to 5 2 Error codes for more details The Digital Outputs are...

Страница 115: ...Value reaches the CV If comparison conditions are enabled depending on the counting direction the set or reset pattern is applied to the unit output pattern when the CV is reached To enable or disable...

Страница 116: ...he Unit is configured for Automatic Output Control To control the Outputs 0 1 manually Manual Output Control must be selected by setting Auto matic Manual Bit to 1 Now it is possible to force ON and O...

Страница 117: ...FF status is held In other words the out put ON OFF status retains the status from just before the CPU Unit Operating Mode was changed the I O bus check error occurred or the overflow underflow error...

Страница 118: ...ction 05 or 06 reset func tion to that Digital Input For details refer to 3 4 Digital Input Functions z Z Input Signal as Reset Source To use the Z phase signal of an incremental encoder as a reset ca...

Страница 119: ...se signal it is necessary to set the following device variables for CJ series Unit for output to 1 z Digital Input as Reset Enable Source In order to use a Digital Input as Reset Enable Source you mus...

Страница 120: ...ction is triggered by a rising edge of the Output 0 1 of the Unit Output Pattern and consequently applied to the corresponding Digital Output z Normal Functionality A Digital Output that is configured...

Страница 121: ...ut then this functionality will not be applied to the Output Instead the Output is switched ON immediately When applying an Output Pulse to a turn OFF a Digital Output the output will appear to be OFF...

Страница 122: ...FFH from which the Counter treats the fluctuation in the Counter Input Signal as a real change and outputs can be con trolled accordingly z Configuring Hysteresis Additional Information The Hysteresis...

Страница 123: ...se Filter Digital Inputs For the purpose of suppressing noise on the control lines of the Digital Inputs also a Noise Filter is available A Noise Filter can be configured for Digital Input 0 1 3 7 3 N...

Страница 124: ...al Counter Values overwrite the Counter Values and become the new Counter Values 3 7 4 Initial Counter Value Name of device variable for CJ series Unit Type Name Function _Ch1_InitLinCtCfg DINT Initia...

Страница 125: ...Data Flow 4 2 4 1 2 Unit Restart 4 4 4 1 3 Access from User Program 4 5 4 2 Memory Allocation 4 7 4 2 1 Memory Mapping 4 7 4 2 2 Allocating Ranges and Comparison Data 4 7 4 2 3 Details of Device Varia...

Страница 126: ...Unit by the battery even during power interruptions 4 1 1 Data Flow Unit data type Data contents AT specification destination How to access from user program Timing of data exchange For Inputs For Out...

Страница 127: ...of the data to be used as comparison data is set with the device variable for CJ series Unit for setting Use Sys mac Studio to specify the AT allocation destination in which comparison data is stored...

Страница 128: ...m by using a ResetUnit instruction Restart by using a system defined variable restart by changing to TRUE Unit data type AT specification destination Setting Method For Inputs For Outputs I O port for...

Страница 129: ...le already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a name of device variable for CJ series Unit is assign...

Страница 130: ...ison Mode In order to use these data types register the structure data type for High speed Counter Units before hand on the CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio With...

Страница 131: ...ed to any DM or EM address When this data is overlapped duplicated the Unit treats the overlap as a warning and _IABlkOverlapSta IA Blocks overlap becomes 1 But this is not an error In other words by...

Страница 132: ...This is to avoid a setting error The range data 1 to 14 must be enabled even if you do not intend to use them z For a Unit in Comparison Mode In Comparison Mode Indirect Addressing can be used to def...

Страница 133: ...e set in Counter 1 and the data is allo cated to the area starting with D0185 Sysmac Studio is used to set as follows For an overview of all addresses related to range data refer to 4 2 5 Memory Alloc...

Страница 134: ...fter this setting reset the Controller or restart this Unit Data type definition Register the structure data type for High speed Counter Units beforehand on the CPU Expansion Racks screen in Configura...

Страница 135: ...Next Error If multiple errors occurred at the same time at the rising edge from 0 to 1 the next error is read out from the error list in this Unit and the error code is stored in _ErrCode1 error code...

Страница 136: ...eset value Used for Simple Counter or Linear Counter Data range 2 147 483 648 to 2 147 483 647 Unit Pulse Factory value 0 _Ch1_PrstRingCtVal UDINT RW Preset Value Preset value Used for Circular Counte...

Страница 137: ...Digital Input 0 Status The Digital Input 0 I0 status is displayed 1 ON 0 OFF _In1 BOOL R Digital Input 1 Status The Digital Input 0 I1 status is displayed 1 ON 0 OFF _ErrCode1 WORD R Error Code 1 For...

Страница 138: ...he Linear Counter is reached _Ch1_CtRun BOOL R Counter Run ning Gate Open 1 During Counter operation while gate open 0 While Counter stopped while gate closed _Ch1_CntDir BOOL R Counting Direction 1 C...

Страница 139: ...47 483 648 to 2 147 483 647 Unit Pulse _Ch2_RingCtVal UDINT R Counter Value Shows the encoder Counter Value Used for Circular Counter Data range 0 to 4 294 967 295 Unit Pulse _Ch2_CtOvf BOOL R Counter...

Страница 140: ...OR Counter Output Pat terns 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...

Страница 141: ...value 16 0000 _OutDur0Cfg WORD R W Output Pulse Duration BCD Digital Output 0 Sets the output pulse duration for external output 0 as a BCD When you set this to 16 0000 the status is normal functions...

Страница 142: ...o 07 Sets the function for Digital Input 1 16 00 No function factory value 16 01 Positive gate Function 01 16 02 Negative gate Function 02 16 03 Rising edge preset Function 03 16 04 Falling edge prese...

Страница 143: ...s 08 to 15 Use with 0 factory value _Ch1_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 va...

Страница 144: ...ctory value 0 _Ch1_NumRngCmpCfg WORD R W Number of Ranges Comparison Values BCD Sets the number of ranges comparison values as a BCD Data range 16 0000 to 0032 Factory value 16 0000 _Ch1_MemAreaCfg UI...

Страница 145: ...tCfg 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 initi...

Страница 146: ...ystrsCfg UINT R W Hysteresis Sets the hysteresis For 0 the hysteresis function is disabled 2 Data range 0 to 255 Unit Pulse Factory value 0 _Ch2_NumRngCmpCfg WORD R W Number of Ranges Comparison Value...

Страница 147: ...nges Data type name Member Data type Name _sCJCT021_Ex_RngLin LowLmt DINT Lower Limit Range UpLmt DINT Upper Limit Range OutPat DWORD Output Pattern _sCJCT021_Ex_RngRing LowLmt UDINT Lower Limit Range...

Страница 148: ...e 20 Range 20 lower limit upper limit values and out put pattern c1D 21 _sCJCT021_Ex_ RngLin Range 21 Range 21 lower limit upper limit values and out put pattern c1D 22 _sCJCT021_Ex_ RngLin Range 22 R...

Страница 149: ...1_Ex_ RngRing Range 12 Range 12 lower limit upper limit values and out put pattern c2D 13 _sCJCT021_Ex_ RngRing Range 13 Range 13 lower limit upper limit values and out put pattern c2D 14 _sCJCT021_Ex...

Страница 150: ...nd out put pattern c2D 28 _sCJCT021_Ex_ RngRing Range 28 Range 28 lower limit upper limit values and out put pattern c2D 29 _sCJCT021_Ex_ RngRing Range 29 Range 29 lower limit upper limit values and o...

Страница 151: ...nter 2 array 0 31 of _sCJCT021_Ex_CmpRing Circular Counter 32 comparison data maximum 4 2 6 Memory Allocation for Comparison data Data type name Member Data type Name _sCJCT021_Ex_CmpLin CmpVal DINT C...

Страница 152: ...D 15 _sCJCT021_Ex_ CmpLin Comparison data 15 Comparison value output set reset pattern c1D 16 _sCJCT021_Ex_ CmpLin Comparison data 16 Comparison value output set reset pattern c1D 17 _sCJCT021_Ex_ Cmp...

Страница 153: ...Comparison value output set reset pattern c2D 2 _sCJCT021_Ex_ CmpRing Comparison data 2 Comparison value output set reset pattern c2D 3 _sCJCT021_Ex_ CmpRing Comparison data Comparison value output s...

Страница 154: ...ern c2D 22 _sCJCT021_Ex_ CmpRing Comparison data 22 Comparison value output set reset pattern c2D 23 _sCJCT021_Ex_ CmpRing Comparison data 23 Comparison value output set reset pattern c2D 24 _sCJCT021...

Страница 155: ...tors 5 2 5 1 1 Errors during initial processing 5 2 5 1 2 Errors during normal operation 5 3 5 2 Error codes 5 4 5 2 1 DM configuration errors 5 5 5 2 2 Overflow Underflow errors 5 6 5 2 3 Preset Erro...

Страница 156: ...rCode1 error code 1 and _ErrCode2 Error code 2 set the device variables for CJ series Unit for setting unit setting again correctly Restart the Unit or reset the Controller Refer to 5 2 Error codes fo...

Страница 157: ...code with _ErrCode1 error code 1 _ErrCode2 error code 2 or Sysmac Studio Apply appropriate remedy according to the cause of the error Refer to 5 2 Error codes for more information on error codes and h...

Страница 158: ...FF 0 The ERC indicator on the front of the Unit goes out The method for eliminating an error depends on the error type The method for eliminating each type of error is given on the pages that follow z...

Страница 159: ...llocated DM area m x x offset words is invalid Any values other than 0 to 9 are invalid 0311 Offset BCD Invalid Initial Counter Value The Initial Counter Value located at D20000 Nx100 Offset is outsid...

Страница 160: ...assuming that they have been config ured to generate error codes refer to 3 2 3 Linear Counter z Clearing overflow underflow errors Overflow and underflow errors can be cleared by resetting or presett...

Страница 161: ...tor is turned ON At the occurrence of an I O bus check error an error code is stored in error codes 1 and 2 z Clearing System errors Reset the Controller or turn ON the power supply again If the error...

Страница 162: ...etails on the event logs in an NJ series CPU Unit Refer to the NJ series Troubleshooting Manual Cat No W503 for details on Controller errors confirmation methods and corrections To use an NS series PT...

Страница 163: ...inor fault level Obs Observation Info Information Refer to the NJ series Troubleshooting Manual Cat No W503 for all of the event codes that may occur in an NJ series Controller 5 3 2 Error Table Event...

Страница 164: ...e user program will continue Stops Execution of the user program stops Starts Execution of the user program starts 5 3 3 Error Descriptions Controller Error Descriptions Event name Gives the name of t...

Страница 165: ...r Unit System defined variables Variable Data type Name None Cause and correction Assumed cause Correction Prevention There is an error in the Special Unit Setup Check the attached information with th...

Страница 166: ...Correct Use Never use volatile solvents such as paint thinner or benzene or chemical wipes These sub stances could damage the surface of the Unit In order for your High speed Counter Unit to continue...

Страница 167: ...Ambient temperature 0 C to 55 C Thermometer Ambient humidity 10 to 90 Hygrometer Dust dirt accumulation None Is the Unit exposed to any spray of water oil or chemicals None Is the Unit exposed to corr...

Страница 168: ...5 Error Processing Maintenance and Inspection 5 14 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...

Страница 169: ...tion of the CJ1W CT021 High speed Counter Unit and program samples which can be used to operate the Unit according to five common application examples At the beginning of each section that describes a...

Страница 170: ...liter z Unit Settings The unit settings are as follows z Program Overview The value counted by the High speed Counter Unit is compared with the specified value When the liquid injection start switch...

Страница 171: ...Counter indicates that it is for the High speed Counter Units Device variables for CJ series Unit Type Name Function Counter_AutoMan BOOL Automatic Manual 0 Automatic output control 1 Manual output c...

Страница 172: ...st Cycle Flag Set Simple Counter 1 to Manual Output Control Manual Output Control Push Button Reset Simple Counter 1 to zero Open gate of Simple Counter 1 Check if tank content is greater than or equa...

Страница 173: ...App A 1 Differences of NJ Series from CJ Series A 2 A 1 1 Functional Difference A 2 A 1 2 Differences in Access Methods from a User Program A 4 A 2 Using Terminal Block Units with Screw terminals A 14...

Страница 174: ...as on the left External Input Output External control inputs 2 External outputs 2 O0 O1 Same as on the left Types of Inputs Phase difference pulse input 1 2 4x Addition subtraction pulse input Pulse d...

Страница 175: ...e filter 10 kHz 50 kHz Same as on the left Counter Initial Values Counter initial values Same as at the left However because the NJ Series has no power OFF interrupt task opera tion cannot be restarte...

Страница 176: ...duplication when you set a High speed Counter Unit to the Unit number n set the next Special I O Unit to the Unit number n 4 A 1 2 Differences in Access Methods from a User Program The relay number an...

Страница 177: ...15 _AutoMan Automatic Manual n 1 00 _RdNxtErr Read Next Error 01 to 15 Undefined Counter 1 n 2 00 _Ch1_Enbl Open Gate 01 _Ch1_Dsbl Close Gate 02 _Ch1_Prst Preset 03 _Ch1_Rst Reset 04 Undefined Capture...

Страница 178: ...l Input 1 Status 02 to 15 Undefined n 17 00 to 15 _ErrCode1 Error Code 1 n 18 00 to 15 _ErrCode2 Error Code 2 n 19 00 _GlblErr Global Error 01 Undefined External Interrupt Task Start Standby Status 02...

Страница 179: ...Ranges Comparison Values active n 25 00 _Ch2_RngCmpSta0 Ranges 0 Comparison Values 0 active 15 _Ch2_RngCmpSta15 Ranges 15 Comparison Values 15 active n 26 00 _Ch2_RngCmpSta16 Ranges 16 Comparison Val...

Страница 180: ...oiseFltCntCfg Input Noise Filter Digital Inputs 08 to 15 m 8 00 to 07 _NoiseFltInCfg Input Noise Filter Digital Inputs 08 to 15 m 9 00 to 15 _OutOnDelayTm0Cfg Output Pulse Turn ON Delay Time BCD Digit...

Страница 181: ...Upper Limit m 44 m 45 00 to 15 Undefined Pulse Rate Range 0 Output Set Pattern m 46 m 47 00 to 15 Undefined Pulse Rate Range 0 Output Reset Pattern m 48 m 49 00 to 15 Undefined Pulse Rate Range 1 Lowe...

Страница 182: ...0 to 15 Undefined Pulse Rate Range 0 Upper Limit m 89 m 90 00 to 15 Undefined Pulse Rate Range 0 Output Set Pattern m 91 m 92 00 to 15 Undefined Pulse Rate Range 0 Output Reset Pattern m 93 m 94 00 to...

Страница 183: ..._Ex_RngLin LowLmt DINT Lower Limit Range 0 UpLmt DINT Upper Limit Range 0 OutPat DWORD Output Pattern Range 0 _sCJCT021_Ex_RngRing LowLmt UDINT Lower Limit Range 0 UpLmt UDINT Upper Limit Range 0 OutP...

Страница 184: ...18 k 114 to k 119 00 to 15 aaaa 19 Range 19 k 120 to k 125 00 to 15 aaaa 20 Range 20 k 126 to k 131 00 to 15 aaaa 21 Range 21 k 132 to k 137 00 to 15 aaaa 22 Range 22 k 138 to k 143 00 to 15 aaaa 23 R...

Страница 185: ...89 00 to 15 bbbb 8 Comparison data 8 k 90 to k 99 00 to 15 bbbb 9 Comparison data 9 k 100 to k 109 00 to 15 bbbb 10 Comparison data 10 k 110 to k 119 00 to 15 bbbb 11 Comparison data 11 k 120 to k 12...

Страница 186: ...inal Block Unit 1 Screw terminal Number Power Supply to feed the outputs PS 0 V 1 PS 12 to 24 V 2 Digital Outputs 0 1 NPN PNP O0 NPN 3 O0 PNP 4 O1 NPN 5 O1 PNP 6 Spare 7 8 Digital Inputs 0 1 I0 0 V 9...

Страница 187: ...minals App Additional Information The top row of the Terminal Block Unit numbered 1 to 39 corresponds to the pins numbered A1 to A20 of the associated connector CN1 on the High speed Counter Unit The...

Страница 188: ...e to fluctuate The number of Counters for which the range comparison or target value comparison condition meets simultaneously The maximum Response Time of 0 5 milliseconds can no longer be guaranteed...

Страница 189: ...tal Input Functions The comparison operation stops for 1 5 ms from when the High speed Counter Value falls within the Upper Range Limit or Lower Range Limit for the range data However the comparison d...

Страница 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...

Страница 192: ...13 Digital input 1 Function Counter number 3 17 Digital input 1 status 3 9 3 20 4 13 Digital input function 3 17 Digital output 0 status 4 13 Digital output 0 to 1 status 3 22 Digital output 1 status...

Страница 193: ...28 3 35 4 19 4 21 Ranges Comparison values active 3 28 3 35 4 13 Read next error 4 11 5 5 Reflecting Active Not active comparison values 3 35 Register Data Types for Units 4 6 4 23 4 27 Reset 3 9 3 1...

Страница 194: ...Index 4 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492 Index...

Страница 195: ......

Страница 196: ...S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron com Tokyo J...

Отзывы: