Page 3
CS1W-HIO01/HCP22/HCA22 Customizable Counter Units Operation Manual Produced January 2001...
Page 5
OMRON. No patent liability is assumed with 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 without notice.
Page 8
TABLE OF CONTENTS SECTION 7 Special Functions ....... . Outline .
Page 9
About this Manual: This manual describes the installation and operation of the CS1W-HIO01, CS1W-HCP22, and CS1W-HCA22 Customizable Counter Units and includes the sections described below. The Customiz- able Counter Units provide both normal contact I/O with special I/O as ideal control capabilities for many applications.
PRECAUTIONS This section provides general precautions for using the CS1W-HIO01, CS1W-HCP22, and CS1W-HCA22 Customizable Counter Units. The information contained in this section is important for the safe and reliable application of the Customizable Count- er Units. You must read this section and understand the information contained before attempting to set up or operate a Customizable Counter Unit.
It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
Operating Environment Precautions • Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits. • The PC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a coun- termeasure for such errors, external safety measures must be provided to en- sure safety in the system.
Application Precautions Application Precautions WARNING Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury. • Always connect to a ground of 100 Ω or less when installing the Units. Not con- necting to a ground of 100 Ω...
Page 15
Application Precautions • Be sure that all the mounting screws, terminal screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction. • Leave the label attached to the Unit when wiring. Removing the label may re- sult in malfunction if foreign matter enters the Unit.
Data Backup Data Backup Automatic Backup Data in the Customizable Counter Units is backed up either by a super capacitor or flash memory, as listed in the following table. Data Data backup DM Area (DM 0000 to DM 6143), EM Area (EM 0000 RAM with super capacitor to EM 2047), error log (DM 6144 to DM 6199), and counter present values.
Data Backup User Programming If the power supply is turned OFF for longer than the data backup time (10 days at 25°C), the data in the DM Area, EM Area, and Error Log, as well as counter present values, will be lost and any data that is read will be unstable. If the power supply is to be turned OFF for an extended period of time, the con- tents of DM 0000 to DM 6143 can be backed up in flash memory.
EMC-related performance of the OMRON devices that comply with EC Direc- tives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel in which the OMRON devices are installed. The cus- tomer must, therefore, perform final checks to confirm that devices and the over- all machine conform to EMC standards.
Conformance to EC Directives Conformance to EC Directives The CS1W-HIO01, CS1W-HCP22, and CS1W-HCA22 Customizable Counter Units comply with EC Directives. To ensure that the machine or device in which the Customizable Counter Unit is used complies with EC directives, the Unit must be installed as follows: 1, 2, 3...
SECTION 1 Features and System Configuration This section describes the features of the Customizable Counter Units and the devices required in an extended system configu- ration. Outline ..............1-1-1 Features .
Outline Section Outline The Customizable Counter Units are CS1 Special I/O Units that can be pro- grammed using a ladder program and provide both standard contact I/O and special I/O (including pulse inputs, pulse outputs, and analog outputs). (I/O sup- port depends on the model of the Unit.) The I/O of a Customizable Counter Unit can be controlled by the ladder program in it without intervention from the program in the CPU Unit to achieve high-speed...
Page 23
Outline Section counter can be used to create target value interrupts or range comparison bit pattern outputs. Trapezoid pulse (speed) outputs or conditional ON/OFF out- puts can thus be created for the present value pulse input. Furthermore, an Electronic Cam Mode can be used to change the pulse output value for abso- lute positioning or the pulse output frequency for speed control in response to the present value of the pulse input (e.g., for a rotational angle).
Outline Section • Up to 32 user-set words in the CPU Unit can be shared with LR Area words in the Customizable Counter Unit. • External interrupt tasks in the CPU Unit can be executed by programming the MCRO instruction in the Customizable Counter Unit. The Customizable Counter Unit can thus activate programming in the CPU Unit depending on the control status of the Customizable Counter Unit to synchronize processing with other Units.
Models and System Configurations Section Models and System Configurations 1-2-1 Models There are three models of Customizable Counter Unit, all of which are classified as CS1 Special I/O Units. Model number Functions CS1W-HIO01 12 contact inputs, 8 contact outputs CS1W-HCP22 12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs CS1W-HCA22 12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs...
Page 26
Models and System Configurations Section CS1W-HCP22 (Pulse Inputs and Pulse Outputs) Programming Device CX-Programmer Creating, transferring, and monitoring the program for the Customizable Counter Unit. Programming Console Peripheral Port Connecting Cable (peripheral bus) CS1W-HCP22 Customizable Counter Unit CS1-series CPU Unit 12 contact inputs, 4 of which can be used as interrupt inputs...
Models and System Configurations Section CS1W-HCA22 (Pulse Inputs and Analog Outputs) CX-Programmer Programming Creating, transferring, and Device monitoring the program for the Customizable Counter Programming Unit. Console Peripheral Port Connecting Cable (peripheral bus) CS1W-HCA22 Customizable Counter Unit CS1-series CPU Unit 12 contact inputs, 4 of which can be used as interrupt inputs...
Customizable Counter Unit and can be purchased separately. The cables for these connectors must be provided and wired to the connectors by the user. An OMRON Connector–Terminal Block Conversion Unit can also be used for the special I/O. Refer to 3-3 Wiring for details.
SECTION 2 Specifications This section provides performance specifications and I/O specifications for the Customizable Counter Unit. Performance Specifications ..........2-1-1 Available Models .
Performance Specifications Section Performance Specifications 2-1-1 Available Models I/O points (built-in) Special I/O Model number Program Built-in capacity peripheral Contact Contact Pulse input Pulse Analog port input output (high-speed outputs outputs counters) CS1W-HIO01 4 Kwords 12 inputs 8 transistor None None None For Program-...
Page 31
Performance Specifications Section Item Specification Exchange of Continuous data exchange 4 input words and 4 output words (Inputs are to Customizable general-pur- between words in the SR Area Counter Unit) pose data with in the Customizable Counter I/O refresh is performed between words in the Customizable Counter CPU Unit Unit and CIO Area allocated Unit’s SR Area (SR 231 to SR 234 and SR 236 to SR 239) and...
Page 32
CS1W-HCP22/HCA22: 350 g max. Standard accessories CS1W-HIO01 One OMRON C500-CE241 Connector Set for connecting to I/O connector (soldered type; socket: FCN-361J024-AU made by Fujitsu; connector cover: FCN-360C024-J2 made by Fujitsu) CS1W-HCP22/HCA22 In addition to the above, one C500-CE404 Connector Set (made by OMRON) for connecting to special I/O connector (soldered type;...
Page 33
Performance Specifications Section Item Specifications Common processing (overhead) CS1W-HIO01: 0.08 ms max. CS1W-HCP22/HCA22: 0.1 ms max. The above figures are for operation under the following conditions: 1. Data exchange with the CPU Unit is performed using the allocated words in the CIO Area only. 2.
Page 34
Performance Specifications Section Item Specifications Other memory Read-only Error Log Area 56 words: DM 6144 to DM 6199 areas portion of DM Data in this area is held (with super-capacitor backup) at power Area interruptions or when the mode is switched. General-pur- 400 words: DM 6200 to DM 6599 pose read-only...
Page 35
Performance Specifications Section Item Specifications Bit pattern CS1W-HCP22 Pulse input Range A specified bit pattern is output when the high-speed output for (pulse I/O) (high-speed comparison counter PV lies within a range specified with the CTBL comparison counter) bit pattern instruction.
Page 36
Performance Specifications Section Item Specifications Functions Self-diagnosis User-defined self-diagnosis are possible (fatal errors and (continued) non-fatal errors can be defined using user instructions (FALS/FAL instructions)). Note Operation can also be stopped automatically using user-defined fatal error instructions. User-defined logging in specific bits is also possible using user- defined non-fatal error instructions.
Page 37
Performance Specifications Section I/O Specifications Model Contents All Units: Contact inputs 12 inputs (24-VDC; bits IR 00000 to IR 00011) CS1W-HIO01, Details: CS1W-HCP22, and • 4 interrupt inputs in Input Interrupt Mode or Counter Mode. Can also CS1W-HCA22 be used as normal inputs (bits IR 00000 to IR 00003) •...
Contact I/O Specifications (All Units) Section Contact I/O Specifications (All Units) 2-2-1 Contact I/O Specifications Item Specifications Contact Number of inputs 12 inputs inputs • 4 inputs (input bits IR 00000 to IR 00003) can be used either as interrupt inputs or normal inputs.
Contact I/O Specifications (All Units) Section Item Specifications Contact Number of outputs 8 outputs (used as normal outputs only) outputs Output type Sinking (NPN) Switching capacity 4.5 to 30 VDC, 0.3 A per output Maximum inrush 3.0 A per point, 10 ms max. current Leakage current 0.1 mA max.
SECTION 3 Nomenclature, Installation, and Wiring This section provides the names of the different components of the Customizable Counter Unit and explains the procedures required for installing and wiring the Unit. Names and Functions of Parts ..........Installation .
Names and Functions of Parts Section Names and Functions of Parts CS1W-HIO01 Front View Side View Rear View Indicators Unit number switches (Rotary switches): Setting range: 0 to 95 Programming Device connection switch Peripheral port I/O connector Backplane connector CS1W-HCP22/HCA22 Front View Side View Rear View...
Page 43
CS1W-HCP22, and pulse inputs and analog outputs for the CS1W-HCA22. Only) Either make a cable for this connector with the 40-pin connector provided with the Unit, or using a special OMRON cable, connect to an OMRON Connector Terminal Conversion Unit. (For details, refer to 3-3 Wiring.)
Installation Section Indicators Indicator Name Color Status Meaning Running Green The Unit is operating normally. Not lit One of the following: • The system in the Unit is stopped. • The Unit is performing initialization processing. • There is a hardware error at the Unit. •...
Installation Section Note The CIO Area words that are allocated to Special I/O Units depends on the set- ting of the unit number switch on the front of the Unit, not on the slot in which the Unit is mounted. CS1-series CPU Rack CPU Unit I/O Unit...
Installation Section 3. To remove the Unit, loosen the screw at the bottom of the Unit before dis- mounting. Note Provide the space shown in the diagram below to enable mounting and dis- mounting. Duct 20 mm min. Backplane 20 mm min. Duct Phillips screwdriver 3-2-3 Handling the Unit...
Wiring Section Wiring 3-3-1 I/O Connector Pin Arrangement (All Units) Pin arrangement Row B Row A External input 0 (Interrupt input or External input 2 (Interrupt input or normal input; bit 00000) normal input; bit 00002) External input 1 (Interrupt input or External input 3 (Interrupt input or normal input;...
Wiring Section 3-3-2 Special I/O Connector Pin Arrangement CS1W-HCP22 Pin arrangement Row A Pin number Row B Pulse input 1 Pulse input 1 Phase A LD–/0 V Phase A LD+ Phase A 5 V Phase A 24 V Phase B LD–/0 V Phase B LD+ Phase B 5 V Phase B 24 V...
Wiring Section 3-3-3 Wiring Examples Pulse Inputs Connect the output from an encoder to the connector in the following way, (CS1W-HCP22/HCA22) according to the port’s counting mode. Port 1 Port 2 Encoder output Signal name Pin number Pin number Differential- Increment/ Pulse+Direction phase Input...
Page 50
Wiring Section The wiring for when the encoder has a line-driver output (Am26LS31 or equiva- lent) is shown below. Customizable Counter Unit (Differential-phase Input Mode) Black (Pulse input 1: Phase A, LD+) Black with A– stripes Encoder (Pulse input 1: Phase A, LD–) White (Pulse input 1: Phase B, LD+) White with...
Shield 3-3-4 Wiring Methods Either make a cable using the special connector (included with Unit or pur- chased separately), or connect to a terminal block using an OMRON special cable with a connector. Note 1. Do not apply voltages that exceed the maximum switching capacity of out- put circuits and the input voltage of I/O circuits.
Page 52
7. Do not bend cables beyond their natural limit. Doing so may result in discon- nection. Connectors Connections to the I/O Connector Connector type Number of Ordering as a Ordering individually pins set (OMRON) (Fujitsu) Soldered 24 pins C500-CE241 Socket: (See note.) FCN-361J024-AU Connector cover:...
Page 53
Wiring Section performing wiring. After wiring has been completed, remove the label to allow proper heat dissipation. After wiring Hook Remove the label. 3. When soldering, take care not to short the terminal to the neighboring one. Cover the soldered part with an insulating tube. Soldered-type connector included with Unit Insulating tube...
Page 54
Wiring Section 5. Mount the connector. Connector Customizable Counter Unit Customizable Counter Unit Connector 6. After wiring has been completed, be sure to remove the label to allow proper heat dissipation. After wiring Remove the label. Connector lock screw Tighten the connector lock screw to a torque of 0.2 N⋅m.
Programming Devices Section Mounting Dimensions The dimensions when the Unit is mounted to the Rack and the cable connectors are connected are shown below. With soldered or crimped Fujitsu connector: Approx. 179 With pressure-welded Fujitsu connector; Connecting cable: G79-jjjC-jjj-jjj XW2Z-jjj Programming Devices Development, transfer, and monitoring of ladder programs, editing and monitor- ing of I/O memory, and settings for the Unit Setup Area are carried out using a...
Programming Devices Section • CX-Programmer Ver. 1.2 or later (register the PC model as a CQM1H-CPU61.) Note 1. The Customizable Counter Unit cannot be used with CX-Programmer Ver. 1.1 or earlier. 2. The SYSMAC-CPT or SYSMAC Support Software cannot be used. The functions available when using a Programming Device with the Customiz- Functions Supported by Programming Devices...
Programming Devices Section Programming Console Connections Port at the Programming Programming Type of network Cables Customizable Cu tomizable Device Device Console model Con ole model (serial ( erial Counter Unit connection communications Model number Length switch setting mode) Peripheral port C200H-PRO27 Programming C200H-CN222...
Fail-safe Circuits Section Available Connecting Cables Customizable Programming Computer Serial Model number Length Counter Unit Device communications port connection mode) switch setting Peripheral port IBM PC/AT or Peripheral bus CS1W-CN226/626 2 m/6 m compatible CS1W-CN118 and 0.1 m + 2 m/5 m XW2Z-200S-CV/500S-CV Port: D-sub, (Use XW2Z-jjjS-CV...
Page 59
Fail-safe Circuits Section Contact Output Failures It is possible for an output to remain ON due to a malfunction in the internal cir- cuitry of a contact output, such as a transistor failure. Provide any circuits neces- sary outside of the PC to ensure the safety of the system in the event that a con- tact output fails to turn OFF.
SECTION 4 Exchanging Data with the CPU Unit This section provides details on the way in which data is exchanged between the Customizable Counter Unit and the CPU Unit. Overview ............. . . 4-1-1 Overview of Data Exchange Areas .
Overview Section Overview The Customizable Counter Unit exchanges data with the CPU Unit in the follow- ing 3 areas. 1. Using allocated words in the CPU Unit’s CIO Area. 2. Using allocated words in the CPU Unit’s DM Area. 3. Using the Customizable Counter Unit’s LR Area. 4-1-1 Overview of Data Exchange Areas Customizable Counter Unit CPU Unit...
Overview Section n = CIO 2000 + (unit number × 10) in the CPU Unit m = D20000 + (unit number × 100) in the CPU Unit Method Customizable CPU Unit Special- From CPU From Timing of Specification Counter Unit words ized or Unit to...
Overview Section Note n = 2000 + (unit number × 10) in the CPU Unit Customizable Counter Unit CPU Unit SR Area Words allocated in CIO Area Commands Commands General-pur- General-pur- pose words pose words Exchanged cyclically Status Status General-pur- General-pur- pose words pose words...
Words Allocated in CIO Area Section 4-1-4 Data Exchange Using the LR Area Words General-purpose data is exchanged cyclically between user-set words in the CPU Unit (e.g., in the CIO, WR, or DM Area) and the Customizable Counter Unit’s LR Area words. Customizable Counter Unit CPU Unit LR Area...
Page 66
Words Allocated in CIO Area Section Unit number Allocated words CIO 2000 to CIO 2009 CIO 2010 to CIO 2019 CIO 2020 to CIO 2029 CIO 2030 to CIO 2039 CIO 2040 to CIO 2049 CIO 2050 to CIO 2059 CIO 2060 to CIO 2069 CIO 2070 to CIO 2079 CIO 2080 to CIO 2089...
Words Allocated in CIO Area Section 4-2-2 CIO Area Allocation Details The following data is output from the CPU Unit to the Customizable Counter Unit. n = CIO 2000 + (unit number × 10) CPU Unit Customiz- Bits Name Function word able Count- address...
Page 68
Words Allocated in CIO Area Section The following data is input from the Customizable Counter Unit to the CPU Unit. CPU Unit Customiz- Bits Name Function address able Count- er Unit word SR 235 00 to 07 Unit error These bits are used to notify the CPU Unit of the error code code for errors that occur in the Customizable Counter Unit.
Words Allocated in DM Area Section Words Allocated in DM Area 4-3-1 Allocated Words A total of 100 words are allocated from words in the CPU Unit’s DM Area for Spe- cial I/O Units (D20000 to D29599) according to the unit number (0 to 95) set for the Customizable Counter Unit using the rotary switches on the front of the Unit.
Words Allocated in DM Area Section 4-3-2 DM Area Allocation Details Initial Setting Area (m to m+9) Contents Word Bits Function Setting Condition 00 to 07 RUN/STOP Operating mode Operating mode Operation for command at startup specification after error at PC enable/disable startup (SR 24915 turns...
Page 71
Words Allocated in DM Area Section Word Bits Function Contents Input and 00 to 07 First word address of the output words in 00 (BCD): Disabled (i.e., no transfer output of the words allocated in DM Area (for output from the CPU Unit to the general- from the CPU Unit to the Customizable Customizable Counter Unit)
Page 72
Words Allocated in DM Area Section Note In the following circumstances, an error for the initial setting data transferred from the CPU Unit’s words allocated in DM Area occurs, and SR 24903 turns • The total number of input and output transfer words exceeds 90. •...
LR Area Section 4-3-3 Example Allocations An example of a possible configuration for exchanging data using the words allo- cated in DM Area is shown below. In this example, the unit number = 0 and the first word in the words allocated in DM Area (m) is D20000. Customizable Counter Unit CPU Unit General-purpose words...
LR Area Section 4-4-2 Unit Setup Area 08 07 DM6601 Number of input words (BCD) Area for input words in the CPU Unit DM6602 Area for output words in the CPU Unit Number of output words (BCD) DM6603 First word address of input words in the CPU Unit (BCD) DM6604 First word address of output words in the CPU Unit (BCD) Settings...
SECTION 5 Unit Setup Area This section provides details on the settings made using the Unit Setup Area in the Customizable Counter Unit. Unit Setup Area ............5-1-1 Overview .
Unit Setup Area Section Unit Setup Area 5-1-1 Overview The Unit Setup Area enables the user to set the functions of the Customizable Counter Unit through initial software settings. Connect a Programming Device to the Unit’s peripheral port and make the settings in DM 6600 to DM 6655 of the Unit’s DM Area.
Page 77
Unit Setup Area Section 5-1-2 Details of Overall Unit Settings Settings Enabled at Startup Address Bits Function Contents DM 6600 00 to 03 Disable writing to user memory (UM protect) 0 Hex: Writing enabled 1 Hex: Writing disabled Note: Set these bits to 1 (Hex) to prohibit writing to the following areas from the Programming Device: User program, read-only...
Page 78
Unit Setup Area Section Settings Enabled at Startup and when Operation Starts Address Bits Function Contents DM 6615 00 to 15 Enable high-speed execution Setting other than 5A5A Hex: Normal Execution Mode 5A5A: High-speed Execution Mode DM 6616 00 to 15 (Reserved by system.) DM 6617 00 to 15...
Page 79
Unit Setup Area Section Settings Enabled whenever Changed Address Bits Function Contents DM 6650 00 to 03 Communications settings for peripheral port 0 Hex: Standard settings (baud rate: 9,600 bps; data length: 7 bits; 1 start bit; 2 stop bits; even parity).
Page 80
Unit Setup Area Section 5-1-3 Details of Special I/O Setup Area Settings for Pulse Inputs (Enabled at Startup; CS1W-HCP22/HCA22 Only) Address Bits Function Details DM 6605 High-speed 00 to 03 Pulse input mode 0 Hex: Differential-phase input x1 counter 1 1 Hex: Differential-phase input x2 2 Hex: Differential-phase input x4 3 Hex: Increment/decrement pulse input...
Page 81
Unit Setup Area Section Address Bits Function Details Maximum ring As above. DM 6611 00 to 15 Rightmost 4 digits counter value counter value for high-speed DM 6612 00 to 15 Leftmost 4 digits counter 2 Settings for Pulse Outputs (CS1W-HCP22 Only) Settings Enabled at Startup Address Bits...
Page 82
Unit Setup Area Section Settings for Analog Outputs (CS1W-HCA22 Only) Settings Enabled at Startup Address Bits Function Details DM 6613 00 to 07 Analog output 1 Output signal range 00 Hex: –10 to 10 V 01 Hex: 0 to 10 V 02 Hex: 1 to 5 V 03 Hex: 0 to 5 V 5A Hex: Output disabled (See note.)
SECTION 6 I/O Memory This section provides details of the settings made using the I/O memory areas in the Customizable Counter Unit. Overview ............. . . 6-1-1 I/O Memory Areas .
Overview Section Overview 6-1-1 I/O Memory Areas Data area Word addresses Bit addresses Size Function Input Area IR 000 IR 00000 to IR 00011 12 bits Bits in the Input Area are allocated to in- put terminals. These allocations are fixed and cannot be changed.
Page 85
Overview Section Other Areas The following words in the DM Area cannot be used as I/O memory (i.e., they cannot be written to from the ladder program). Data area Addresses Size Function DM Area DM 6144 56 words Error Log Area DM 6199 DM 6200 400 words...
Page 86
Overview Section 6-1-2 Hold/Clear for I/O Memory Data The following table shows when the status of the memory areas is held and when it is cleared. Fatal errors Name Addresses External I/O Operating Power allocation lloc tion mode mode s pply supply FALS error Other fatal...
Details Section Details Explanations of the I/O memory areas in the Customizable Counter Unit are given in this section. 6-2-1 Input and Output Areas The bits in the Input and Output Areas are allocated to the input and output termi- nals on the Customizable Counter Unit.
Page 88
Details Section 6-2-5 LR Area This area can be used for data exchange with user-set words (in the CIO, WR, AR, HR, DM, or EM Area) in the CPU Unit. Customizable Counter Unit CPU Unit LR Area General-purpose area User-defined LR 00 Number of re- Number of re-...
Page 89
Details Section For details on using these instructions, refer to the individual explanations in the Customizable Counter Units Programming Manual (W378). 6-2-7 DM Area This area is used in word units. The DM Area is contained in I/O memory (i.e., areas that can be freely read and written from the ladder program) and areas to which functions are allocated.
Page 90
Details Section Note Writing is not possible when bits 00 to 03 in DM 6600 are set to 1 Hex (writing to user memory disabled). (Except for bits 00 to 03 in DM 6600.) 6-2-8 EM Area This area is used in word units (EM 0000 to EM 2047). The EM Area is contained in I/O memory (i.e., memory that can be freely read and written to from the ladder program).
SR Area Section SR Area In the following table, Unit in the Controlled by column indicates areas for which only reading is possible using instructions from the ladder program, and User indicates areas for which both reading and writing is possible from the ladder program.
Page 92
SR Area Section Address Bits Function Controlled SR 235 00 to 07 For exchanging data 00 to Unit error code Unit with words allocated in Note: The error codes are also stored CPU Unit’s CIO Area in bits 00 to 07 of the error information (from Customizable portion of error logs.
Page 93
SR Area Section Address Bits Function Controlled SR 244 00 to 15 Input Interrupt 0 (IR 00000) Counter Counter PVs when input interrupts are Unit Mode PV used in Counter Mode (0000 to FFFF ode (0000 o Hex). SR 245 00 to 15 Input Interrupt 1 (IR 00001) Counter Mode PV...
Page 94
SR Area Section Address Bits Function Controlled SR 249 Turns ON when there is an error in the DM 6600 to Unit error code 9B Unit Unit Setup Area read when the power DM 6614 (Unit Setup Area supply is turned ON (non-fatal error). error) is stored in SR 23500 to R 23500 t...
Page 95
SR Area Section Address Bits Function Controlled SR 250 00 to 07 (Reserved by system.) 08 to 11 Peripheral port error code 0 Hex: No error Unit 1 Hex: Parity error 2 Hex: Framing error 3 Hex: Overrun error Note: When a Programming Device is connected using peripheral bus communications, F Hex is stored here.
Page 96
SR Area Section Address Bits Function Controlled SR 255 0.1-second Clock Pulse (0.05 seconds ON, 0.05 seconds OFF) Unit 0.2-second Clock Pulse (0.1 seconds ON, 0.1 seconds OFF) 1.0-second Clock Pulse (0.5 seconds ON, 0.5 seconds OFF) Instruction Execution Error (ER) Flag Turns ON when an error occurs during execution of an instruction.
AR Area Section AR Area In the following table, Unit in the Controlled by column indicates areas for which only reading is possible using instructions from the ladder program, and User indicates areas for which both reading and writing is possible from the ladder program.
Page 98
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 08 High-speed Target Value OFF: In Target Comparison Mode for the Unit Enabled counter 1 Comparison CTBL instruction, indicates that comparison status Flag is not in progress. Note: This flag is always OFF in range comparison mode for the CTBL instruction.
Page 99
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 08 High-speed Target Value Same as for high-speed counter 1 status. Unit Enabled counter 2 Comparison status Flag Overflow/ Underflow Flag (Reserved by system.) Phase-Z Input Reset Flag (ON for one cycle) 12 to (Reserved...
Page 100
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 09 High-speed High-speed OFF: Stops counter operation. The User Enabled counter 1 Counter high-speed counter PV is held. commands Start Bit ON: Starts counter operation. The high-speed counter PV is not reset. High-speed OFF: If the counter reset method is set to a Counter...
Page 101
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 09 High-speed High-speed Same as for high-speed counter 1 User Enabled counter 2 Counter commands. commands Start Bit High-speed Counter Reset Bit Measure- Same as for high-speed counter 1 ment Start commands except that frequency Bit (mea-...
Page 102
AR Area Section Pulse Outputs (CS1W-HCP22 Only) Address Bits Function Details Controlled Forced set/reset AR 14 00 to 15 Pulse Output 1 PV Rightmost 4 The pulse output PV is Unit Disabled digits stored in 8-digit Note: The pulse output hexadecimal.
Page 103
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 18 Pulse Output 1 Status Pulse Output OFF: Pulse output not Unit Enabled Completed Flag completed (stays OFF during pulse output). ON: Pulse output completed (goes ON at completion of pulse output) Number of OFF: Number of...
Page 104
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 18 Pulse Output 2 Status Pulse Output Same as for Pulse Unit Enabled Completed Flag Output 1 Status. Number of Pulses Specified Flag PLS2 Target Frequency Not Reached Target Comparison in Progress Independent...
Page 105
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 20 00 to 15 Pulse output 1 monitor Range The instruction Unit Enabled data comparison execution result that is result output when the CTBL instruction is executed for a range comparison is stored here.
Page 106
AR Area Section Analog Outputs (CS1W-HCA22 Only) Address Bits Function Details Controlled Forced set/reset AR 14 00 to 15 Analog Output 1 If END refresh is set as the analog output Immediate Enabled Output Value method, the value set here by the user in refresh 4-digit hexadecimal is output from analog using...
Page 107
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 17 Analog Output 1 The default setting is OFF. When offset/gain Unit Enabled User Adjustment adjustment is performed by the user, these Flag bits turn ON, and when the adjustment values are cleared and reset to their factory t t th i f Analog Output 2...
Page 108
AR Area Section Address Bits Function Details Controlled Forced set/reset AR 18 Analog Output 1 ON: Adjustment enabled User Enabled Adjustment Enable OFF: Adjustment disabled OFF: djustment disabled Analog Output 2 Enabled in adjustment mode (DM 6631 in Adjustment Enable Unit Setting Area set to 5A5A Hex).
SECTION 7 Special Functions This section provides information on interrupts, pulse inputs, pulse outputs, and analog outputs. Outline ..............Interrupt Functions .
Outline Section Outline The functions of the Customizable Counter Unit are outlined in the following il- lustrations. Basic interrupts Input interrupts Customizable Counter Unit CS1W-HIO01/ 4 inputs (Input Interrupt or Counter Mode) HCP22/HCA22 Interval timer interrupts Scheduled interrupts 1 timer, SV: 0.5 to 99,990 ms Unit: 0.1 ms One-shot interrupts High-speed...
Interrupt Functions Section Interrupt Functions 7-2-1 Overview The Customizable Counter Unit supports the following interrupts. Executing Interrupt Programs in the Customizable Counter Unit The interrupt routines that are executed for all of the following interrupts are pro- grammed as subroutines. Subroutines are defined between SBN(92) and RET(93) following the main program.
Interrupt Functions Section The following program sections show how to handle this problem. Method 1 Method 2 Disabling all interrupts in the main Executing in the main program Programming in subrou- program when controlling a port instructions that could not be tine for method 2 executed in a subroutine Always...
Executing Interrupt Tasks in the CPU Unit Section Interrupt Inputs 7-3-1 Applicable Models Model numbers Functions CS1W-HIO01 12 contact inputs, 8 contact outputs CS1W-HCP22 12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs CS1W-HCA22 12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs 7-3-2 Outline Contact inputs 0 to 3 to the Customizable Counter Unit can be used for external interrupt inputs.
Pulse Inputs Section 7-4-2 Outline The MCRO instruction can be executed in the ladder program in the Customiz- able Counter Unit to start an external interrupt task in the CPU Unit. Customizable Counter Unit CPU Unit Ladder diagram External inter- rupt task MCRO started...
Pulse Inputs Section devices with high-speed counters and perform processing according to the PV of the count. The following processes are possible. Process Description Target value A subroutine is executed as interrupt processing when the interrupts high-speed counter PV equals a target value. Bit pattern A user-set bit pattern is output internally when the high-speed outputs for range...
Page 116
Pulse Inputs Section Item Specification Mea- High-speed counter rate of The change in the high-speed counter’s PV for the set sampling time or sure- change for port 1 or 2 each scan is measured. ment Sampling time: 1 to 99 ms mode Rate of change: 0000 0000 to FFFF FFFF Hex High-speed frequency for port 1...
Page 117
Pulse Inputs Section Item Specification Minimum response pulse Encoder Inputs A and B At 50 kHz Encoder Inputs A and B Signal rise and fall must be 3 µs max. Square waveform 50-kHz pulse with 50% duty ratio 50-kHz pulse with 50% duty ratio 20 µs min.
Pulse Outputs Section Applicable Instructions Instruction Control Description (@)CTBL(63) Range comparison One range comparison executed. Target value comparison table Target value comparison table registered and comparison registration and starting comparison started. Target value comparison table Target value comparison table registered. registration (@)INI(61) Starting comparison...
Page 119
Pulse Outputs Section Note Set the pulse output mode for each output in User Setup Area words DM 6613 and DM 6614. Function Description Processing for PV Pulse outputs The pulse outputs can be used for positioning or speed control Target value interrupts (note 2) at a fixed duty ratio.
Pulse Outputs Section 7-6-3 Specifications Item Specification Acceleration/ None deceleration Trapezoid None None (acceleration or Yes with separate deceleration) acceleration and deceleration rates Instructions for PULS + SPED PULS (Electronic PULS + ACC PLS2 independent-mode Cam Mode) positioning Instructions for SPED continuous-mode speed control...
Page 121
Pulse Outputs Section Pulse Output Specifications All Pulse Outputs Except for One-shot Pulse Outputs Item Specification Number of pulse 2 outputs (Port 1 = pulse output 1, port 2 = pulse output 2) outputs Signals Pulse output CW and CCW Max.
Page 122
Pulse Outputs Section One-shot Pulse Outputs Item Specification Number of pulse 2 outputs (Port 1 = pulse output 1, port 2 = pulse output 2) outputs External power 24 VDC +10%/–15%, 30 mA max. supply NPN open-collector, 80 mA at 5 to 24 VDC ±10% Max.
Page 123
Pulse Outputs Section Applicable Instructions The following seven instructions can be used to control pulse outputs. The rela- tionship between the instruction and the types of pulse output that is possible is also listed in the following table. Independent Positioning Mode Continuous Speed Control Instruction Control...
Pulse Outputs Section 7-6-4 Precaution in Using Pulse Outputs Pulses are output from the CS1W-HCP22 according to the clock frequency spe- cified in the Unit Setup Area (bits 08 to 15 of DM 6613 and DM 6614: 25 MHz, 6.25 MHz, 1.5625 MHz, or 390.625 kHz). The clock signal is divided by an inte- ger dividing ratio to create and output the output pulse frequency.
Analog Outputs Section Analog Outputs 7-7-1 Applicable Models Model numbers Functions CS1W-HCA22 12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs 7-7-2 Outline The CS1W-HCA22 Customizable Counter Unit provides 2 analog outputs. The analog outputs can be set to –10 to 10 V, 0 to 10 V, 0 to 5 V, or 1 to 5 V. There is a separate setting for each output.
Page 126
Analog Outputs Section Item Specification Analog output value storage Port 1: AR 14, port 2: AR 15 locations For END refresh, the value on the END refresh. If the hold function is used, however, to clear or to output the peak value, the actual output value may be different.
Page 127
Analog Outputs Section Specified Output Values and Analog Output Signals 0 to 10 V –10 to 10 V Analog output signal Analog output signal +11.0V 10.5V +10.0V 10.0V 0.0V –10.0V 0.0V –11.0V –0.5V Specified output value Specified output value 0000 (4-digit Hex) (4-digit Hex) EC78...
Page 128
Analog Outputs Section ACC can be used to slop the analog output value (@) ACC P: Port specifier = 001 for analog output 1 and 002 for analog output 2 M: Always 000. C: First control word C = Rate of change, C+1 = Analog output target value C = Rate of Change C contains the rate of change (slop) per 2 ms.
SECTION 8 Unit Operation and Processing Time This section explains the internal processing of the Customizable Counter Unit, and the time required for processing and execution. Customizable Counter Unit Operation ......... 8-1-1 Operation Flowchart .
Customizable Counter Unit Operation Section Customizable Counter Unit Operation This section explains the internal processing of the Customizable Counter Unit 8-1-1 Operation Flowchart The overall flow of Customizable Counter Unit operation is as shown in the fol- lowing flowchart. Power application Initialization Initialization of I/O, Work, AR, other memory areas, timers (preset) and...
Power Interruptions Section 8-1-2 Operational Characteristics and Precautions in Using Flash Memory 1, 2, 3... 1. If the contents of read-only DM Area words (DM 6200 to DM 6599) or the User Setup Area (DM 6600 to DM 6655) are changed in the Customizable Counter Unit and the power is turned OFF without switching from PRO- GRAM to RUN or MONITOR mode, the changed contents in RAM will not be written to flash memory and will be lost if power remains OFF longer than the...
Page 132
Power Interruptions Section 3. The system will stop unconditionally if the power interruption lasts more than 25 ms. 85% of the rated voltage or less AC: 10 ms DC: 5 ms 0 ms 25 ms Time AC: 0 to 10 ms DC: 0 to 5 ms Power interruption not detected;...
Cycle Time Section 8-2-2 Startup Operation after a Power Interruption The Customizable Counter Unit will start operating in any one of the following cases depending on the status of the RUN/STOP Command Bit (word n bit 00) and the word m RUN/STOP Command Enable/Disable and Operating Mode at Startup ( bits 00 to 07): •...
Page 134
Cycle Time Section Cycle Time and The effects of the cycle time on Customizable Counter Unit operation are as Operation listed below. Cycle time Operation conditions 10 ms or longer CYCLE TIME OVER detected and SR 23509 turns ON. TIMH will not time accurately. 20 ms or longer Programming using the 0.02-second Clock Bit (SR 25401) may be inaccurate.
Cycle Time Section 8-3-2 Instruction Execution Times Basic Instructions Normal: Normal Execution Mode, Fast: High-speed Execution Mode OFF execution time (µs) Code Mnemonic ON execution Conditions time (µs) RSET Normal: 0.4 LD NOT LD NOT Fast: Normal: 0.3 AND NOT ND NOT Fast: OR NOT...
Page 136
Cycle Time Section Code Mnemonic Conditions (Top: min.; bottom: max.) OFF execution time (µs) execution time (µs) TIMH Reset 5.0 Constant for SV 5.2 :DM for SV 12.2 12.1 WSFT 8.1 With 1-word shift register 11.1 With 10-word shift register 532.5 With 1,024-word shift register using :DM 3,084.7 With 6,144-word shift register using :DM 4.6 When comparing a constant to a word...
Page 137
Cycle Time Section Code Mnemonic Conditions (Top: min.; bottom: max.) OFF execution time (µs) execution time (µs) 8.1 Constant V word → word XORW 9.0 Word V word → word 22.7 :DM V :DM → :DM 8.2 Constant V word → word XNRW 9.1 Word V word →...
Page 138
Cycle Time Section Code Mnemonic Conditions (Top: min.; bottom: max.) OFF execution time (µs) execution time (µs) 8.7 Word → word XCHG 18.1 :DM → :DM 7.2 Shifting 1 word 13.6 Shifting 10 word 890.5 Shifting 1,024 words using :DM 5.18 ms Shifting 6,144 words using :DM 7.5 Shifting 1 word 13.3 Shifting 10 word...
Page 139
Cycle Time Section Expansion Instructions Code Mnemonic Conditions execution execution time (µs) time (µs) ASFT 7.7 Shifting a word 13.0 Shifting 10 words 486.5 Shifting 1,024 words via :DM 2.76 ms Shifting 6,144 words via :DM CMPL 9.2 Comparing words 20.0 Comparing :DM High-speed counters 1 and 2 or pulse output from ports 1 and 2 on CS1W-HCP22/HCA22:...
Page 140
Cycle Time Section Code Mnemonic Conditions execution execution time (µs) time (µs) PULS Pulse output from ports 1 and 2 from CS1W-HCP22: 15.9 Relative pulses specified by word 20.6 Relative pulses specified by :DM 15.0 Absolute pulses specified by word 20.4 Absoute pulses specified by :DM 18.7 Pulse output for absolute position, pulses specified by word...
Page 141
Cycle Time Section Code Mnemonic Conditions execution execution time (µs) time (µs) Pulse/analog output from ports 1 and 2 from CS1W-HCP22/HCA22: 36.2 Acceleration + continuous mode, words for control words 33.0 Acceleration + continuous mode, :DM for control words 49.4 Deceleration + continuous mode, words for control words 33.0 Deceleration + continuous mode, :DM for control words 51.0 Acceleration + independent mode, words for control words 46.2 Acceleration + independent mode, :DM for control words...
Cycle Time Section Code Mnemonic Conditions execution execution time (µs) time (µs) PLS2 99.0 Words for control words 105.0 :DM for control words 14.1 Word – word → word SBBL 29.3 :DM – :DM → :DM 19.6 Word → word conversion, words for parameter words SCL2 34.9 :DM →...
Cycle Time Section Minimum I/O Response The Customizable Counter Unit responds most quickly when it receives an input Time signal just prior to the input refresh phase of the cycle, as shown in the illustration below. Input I/O refresh point Overseeing, etc.
Page 144
Cycle Time Section Processing Time The table below shows the times involved from the generation of an interrupt sig- nal until the interrupt processing routine is called, and from when the interrupt processing routine is completed until returning to the original position. Item Contents Time...
Page 145
Cycle Time Section 4. Analog outputs from the CS1W-HCA22 can be output immediately from the interrupt subroutine by using the SPED and ACC instructions if the Unit Set- up Area is set to update analog inputs immediately for instruction execution. The results of processing in the main program will also be output when the instruction is executed.
SECTION 9 Troubleshooting This section provides information on troubleshooting errors that can occur with the Customizable Counter Unit. Types of Troubleshooting Information ......... Error Log .
Error Log Section Types of Troubleshooting Information The Customizable Counter Unit records error information when an error occurs in the Customizable Counter Unit or in the CPU Unit. The following types of infor- mation are recorded in the Customizable Counter Unit. Error Flags One of the error flags will be turned ON to indicate when an error has occurred.
Error Log Section 9-2-1 Error Log Contents The error log is stored in DM 6569 through DM 6599 as shown below. Number of error records between 0000 and 000B Hex (0 to 11 decimal). DM6144 Number of records Special I/O Unit error code in DM6145 Î...
Troubleshooting Tables Section Error Log Storage Methods The error log storage method is set in the Unit Setup Area in DM 6655, bits 00 to 03). Set any of the following methods. 1. 0 Hex: You can store the most recent 11 error log records and discard older records.
Page 151
Troubleshooting Tables Section Unit indicators Error Error Error log SR 23500 Error Meaning and corrective measures message (SIOU code, (SIOU code, flags flag details 1, SR 23507 details 2) Power Power has been interrupted for at interrupted least 10 ms. Check power supply voltage and power lines.
Page 152
Troubleshooting Tables Section Error Error Unit indicators Error Error Error log Error log SR 23500 SR 23500 Error Error Meaning and corrective measures Meaning and corrective measures message message (SIOU code, (SIOU code, flags flags details 1, details 1, SR 23507 SR 23507 details 2) details 2)
Troubleshooting Tables Section 9-3-2 Non-fatal Errors Although Unit operation will not stop, any errors that occur should be investi- gated and remove immediately. After correcting an error, restart the PC or clear the error from a Programming Device. Customizable Counter Unit Non-fatal Errors Error Unit indicators Error...
Page 154
Troubleshooting Tables Section Counter Unit will be stopped. For CPU Unit monitor errors or bus errors, howev- er, I/O refreshing from the CPU Unit will be stopped, so the status of the RUN/ STOP Command Bit will not change. Error processing in this situation must be performed in the Customizable Counter Unit.
User-defined Errors Section User-defined Errors There are two instructions that the user can use to define errors or messages. These instructions can be used to generate warnings (non-fatal errors where the ERC flashes) or errors (fatal errors where the ERC lights. FAILURE ALARM –...
Troubleshooting Flowcharts Section Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Error Not lit Power indicator lit? Check power supply. (See page 137.) Not lit RUN indicator lit? Check for fatal errors. (See page 138.) Flashing or lit ERC indicator lit...
Page 157
Troubleshooting Flowcharts Section Power Supply Check Power indicator not lit. Is power being Connect power supplied to Power Sup- supply. ply Unit Is Power indicator lit? Set supply voltage with- Is voltage adequate? in acceptable limits. (See note.) Is Power indicator lit? Tighten screws or Are there any loose terminal screws or bro-...
Page 158
Troubleshooting Flowcharts Section Error Check with the The following flowchart can be used to troubleshoot errors that occur while the POWER Indicator Lit POWER indicator is lit. RUN indicator not lit. Determine the cause of the error with a Correct the problem Programming Device.
Page 159
Troubleshooting Flowcharts Section Error Check with the The following flowchart can be used to troubleshoot errors that occur while the RUN Indicator Lit RUN indicator is lit. ERC indicator lit or flashing. Determine the cause of the error with a Programming Device. Is a fatal or non-fatal error Identify the error (see page 130),...
Page 160
Troubleshooting Flowcharts Section I/O Check The I/O check flowchart is based on the following ladder diagram section. (LS1) (LS2) 00002 00003 00100 SOL1 00100 SOL1 malfunction. Start (See note) Is the IR 00100 out- put indicator operat- ing normally? Check the voltage at the Wire correctly.
Page 161
Troubleshooting Flowcharts Section Are the IR 00002 and IR 00003 input indi- cators operating normally? From previous page Check the voltage at Check the voltage at the IR 00002 and IR the IR 00002 and IR Is the connector 00003 terminals. 00003 terminals.
Page 162
Troubleshooting Flowcharts Section Environmental Conditions Check Environmental conditions check Is the ambient Consider using a temperature fan or cooler. below 55°C? Is the ambient Consider using a temperature above heater. 0°C? Is the ambient humidity Consider using an between 10% and air conditioner.
Appendix A Precautions when Using the CX-Programmer This appendix describes precautions and restrictions encountered when using the CX-Programmer with the Cus- tomizable Counter Unit. When using the CX-Programmer with the Customizable Counter Unit, set the Device type/CPU model to “CQM1H-CPU61.” Restrictions Due to functional differences, the following CX-Programmer functions cannot be used with the Customizable Counter Unit (because it is set at a “CQM1H-CPU61”).
Page 164
Appendix A Precautions when Using the CX-Programmer Specifying Operand Addresses Not Supported by the CQM1H The program cannot be transferred from the CX-Programmer to the Customizable Counter Unit if the following operand values are set for STIM or ACC. STIM: C2 = 001 or C3 = 001 to 003 when C1 = 011 or 012 ACC: M = 004 to 007 Either input the instructions from the Programming Console or use dummy operands and then correct them from the Programming Console after transferring the program to the Customizable Counter Unit.
Page 165
Appendix A Precautions when Using the CX-Programmer • If the following symbol is used in an instruction operand, change it to the correct address for the Customizable Counter Unit (SR 23509: Unit Cycle Time Over Flag). CQM1H memory contents CQM1H symbol name Customizable Counter Unit area function Unit area function...
Index common processing, 13 compiler, error, 74 absolute positioning, 3, 4 conditional ON/OFF outputs, 3 Connector-Terminal Block Conversion Units, 8, 23 and analog outputs, 3, 108 connectors and pulse outputs, 103 front panel, 11 acceleration/deceleration, 3 types, 32 wiring, 32 accessories, standard, 12 contact I/O advanced processing, overview, 3...
Page 168
Index cyclic refreshing, 15 Expansion Racks, 24 external interrupt tasks, using MCRO, 4 cyclic scan, 12 fail-safe circuits, 38 data automatic backup, xvi FAL(06), 135 backing up, xvi–xvii FALS(07), 135 exchanging with CPU Unit, 3, 10, 11, 41–54 precaution for, xiii tracing, 36 First Cycle Flag, 75 data exchange areas, overview, 42...
Page 169
Index interrupt processing disabling/enabling all interrupts, 92 example, 124 I/O, overview, 2 executing tasks in CPU Unit, 93 maximum response time, 124 I/O connector, 23 minimum response time, 124 connections to, 32 priorities, 91 I/O connector pins, arrangement, 19, 27 timing, 123–125 types of interrupts, 14 I/O control methods, 12...
Page 170
Index Normal Execution Mode, 3, 115 power interruptions momentary interruptions, 111 normal interrupts, 2 Programmable Controller, 111 Number of Pulses Specified Flag, 83, 84 startup operation after, 113 power OFF processing, 111–113 precautions, xi applications, xiv–xv changing PC operating mode, xv One-shot Interrupt Mode, 14 circuit failures, xiv crimp terminals, xv...
Page 171
Index frequencies for speed control, 3 allocated CIO words, 25 interrupts, 91 error codes, 129 modes, 100 specifications number of, 2, 100, 101 contact I/O, 18 PV storage location, 100 performance, 10–17 range comparison, 15 SPED ranges, 3 and analog outputs, 3 resetting the PV, 3 and pulse outputs, 103 settings, 61...
Page 172
Index trapezoid frequency outputs, 3 Unit Setup Area Reset Bit, 75 troubleshooting user memory flowcharts, 136 capacity exceeded, 74 tables, 130–134 protection, 15, 57 user program, precautions, xv user-set words in Unit, shared with DM Area in CPU, 3 user-set words in CPU, shared with LR Area words in Unit, 4 Underflow (UF) Flag, 75 Unit classification, 10 Unit errors, 38...
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W378-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Need help?
Do you have a question about the Sysmac CS1 and is the answer not in the manual?
Questions and answers