Omron CJ - 12-2004 Manual
Omron CJ - 12-2004 Manual

Omron CJ - 12-2004 Manual

Id sensor units
Table of Contents

Advertisement

Quick Links

Cat. No. Z174-E1-02A
SYSMAC CS/CJ Series
CS1W-V600C11
CS1W-V600C12
CJ1W-V600C11
CJ1W-V600C12
ID Sensor Units

Advertisement

Table of Contents
loading

Summary of Contents for Omron CJ - 12-2004

  • Page 1 Cat. No. Z174-E1-02A SYSMAC CS/CJ Series CS1W-V600C11 CS1W-V600C12 CJ1W-V600C11 CJ1W-V600C12 ID Sensor Units...
  • Page 2 SYSMAC CS/CJ Series ID Sensor Units Operation Manual Revised December 2004...
  • Page 4 The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products: •...
  • Page 5 PERFORMANCE DATA Performance data given in this document is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON’s test conditions, and the users must correlate it to actual application requirements.
  • Page 6 Indicates the possibility of explosion under specific conditions. Alert Statements in this Manual The following alert statements apply to the products in this manual. Each alert statement also appears at the locations needed in this manual to attract your attention.
  • Page 7  OMRON, 2003 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 8: Table Of Contents

    Application Precautions........... . . Precautions for Users of the C200H-IDS01(-V1) ....... . .
  • Page 9 Data Coding Tables ............Revision History ........127...
  • Page 10 Please read this manual carefully and be sure you understand the information provided before attempting to install or operate a ID Sensor Unit. Be sure to read the precautions provided in the fol- lowing section.
  • Page 12: Precautions

    Conformance to EC Directives ........
  • Page 13: Intended Audience

    !WARNING It is extremely important that a PLC and all PLC Units be used for the speci- fied 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 PLC system to the above men- tioned applications.
  • Page 14: Operating Environment Precautions

    As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system. • The PLC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a counter- measure for such problems, external safety measures must be provided to ensure safety in the system.
  • Page 15: Application Precautions

    Insufficient safety measures against short-cir- cuiting may result in burning. • Do not apply voltages to the Input Units in excess of the rated input volt- age. Excess voltages may result in burning. • Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity.
  • Page 16: Precautions For Users Of The C200H-Ids01(-V1)

    • Changing the present value of any word or any set value in memory. • Before touching a Unit, be sure to first touch a grounded metallic object in order to discharge any static build-up. Not doing so may result in malfunc- tion or damage.
  • Page 17: Conformance To Ec Directives

    ON (refer to 5-2 Communications Specifications). Changes in Monitoring Function A switch on the front panel is used to switch between controlling the ID Sen- sor Unit with the user program in the CS/CJ-series CPU Unit and performing communications tests. In Test Mode, one byte is read and then written repeat- edly.
  • Page 18: Conformance To Ec Directives

    EN50081-2 (Radiated emission: 10-m regulations) Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2). Conformance to EC Directives The CS/CJ-series PLCs comply with EC Directives.
  • Page 19 If the supply voltage is 100 to 200 V, insert the varistor between the contacts. When switching a load with a high inrush current such as an incandescent lamp, suppress the inrush current as shown below. Countermeasure 1 Countermeasure 2...
  • Page 20: Features And System Configuration

    This section describes the features and system configuration of an ID Sensor Unit. Outline of Features and Functions ....... . .
  • Page 21: Outline Of Features And Functions

    HEAD2 DC24V INPUT These ID Sensor Units read and write data for V600-series Data Carriers for SYSMAC CS-series PLCs. There are two models: a Single-head ID Sensor Unit (CS1W-V600C11) and a Double-head ID Sensor Unit (CS1W-V600C12). CS-series Units can be mounted to a CS-series CPU Rack or CS-series Expansion Rack.
  • Page 22 Rack or CS-series/CJ-series Expansion Rack, a R/W Head(s) connected to the ID Sensor Unit, and Data Carriers connected to moving bodies. The ID Sensor Unit operates through the R/W Head(s) to write data from the CS/CJ-series CPU Unit to the Data Carriers and read data from the Data Car-...
  • Page 23: System Configuration

    Data Carrier Workpiece Workpiece Moves (moving body) (moving body) Note The above example uses one Single-head ID Sensor Unit (CS1W-V600C11) and one Double-head ID Sensor Unit (CS1W-V600C12). CJ-series PLCs CPU Unit Single-head ID Sensor Unit Double-head ID Sensor Unit V600C11...
  • Page 24: Mounting Restrictions

    CJ1W-PA202 Note The I/O words allocated to Special I/O Units are determined by the setting of the unit number switches on the front of the Unit. They are not affected by the slots (positions) in which the Units are mounted.
  • Page 25: Mounting Units

    Use the following procedure to mount an ID Sensor Unit to the Backplane. 1,2,3... 1. Lock the top of the ID Sensor Unit into the slot on the Backplane and rotate the Unit downwards as shown in the following diagram.
  • Page 26 Hooks Hook holes Connector 2. Move the yellow sliders on the top and bottom of the Unit to the lock posi- tion to secure the Units. The sliders should click into place. Move the sliders to the back until they click into place.
  • Page 27: Functions By Application

    When wiring a Unit, leave the label in place on the top of the Unit to prevent wire clippings or other materials from getting inside the Unit. When wiring has been completed, remove the label to ensure proper heat dissipation.
  • Page 28: Cs-Series Id Sensor Units

    Overall Procedure ........
  • Page 29: Specifications

    Mounting loca- CS-series CPU Rack or CS-series Expansion Rack tion (Cannot be mounted to C200H Expansion I/O Racks or SYSMAC BUS Slave Racks.) No. of Units per 5 per Rack (CPU Rack or Expansion Rack) 10 per Rack (CPU Rack or Expansion Rack)
  • Page 30: Communications Specifications

    Section 2-1 2-1-3 Communications Specifications CS1W-V600C11 CS1W-V600C12 Communications frequency 530 kHz Communications controls (1) Changing EEPROM (battery-free) Data Carrier communications mode (distance prior- ity or time priority) (2) Write verification (3) Auto Wait Time Setting Commands Read Read Write Write...
  • Page 31: Operating Procedure

    Programmer’s I/O Table Window, select SIOU/C200H ASCII Unit (A) and then, from the Enter SIOU Details Window, set the Address per Unit to 2, the Input Words to 3, and the Output Words to 7, and select the Repeat IN/ OUT for each Address per Unit option.
  • Page 32: Operating Procedure Example

    Operating Procedure Section 2-2 2-2-2 Operating Procedure Example The following is an operating procedure example for the following conditions. Reading 10 Bytes of Data from Data Carrier Address 0010 Using a Trigger CS-series CPU Unit CS1W-V600C11 V600C11 Special I/O Data Carrier...
  • Page 33 • DM Area: D20000 to D20099 4. PLC Power Supply ON Power supply ON Creating I/O Tables Always create the I/O tables after turning ON the PLC power supply. The I/O tables can be created from the Programming Console or CX-Programmer. Peripheral port Programming Console...
  • Page 34 1. Make the settings in the words allocated to Special I/O Units in the DM Area (refer to page 41). Peripheral port Programming Console First word allocated to Unit in DM Area: m = D20000 + (100 × 0) = D20000 Contents Meaning address...
  • Page 35 Operating Procedure Section 2-2 First word allocated to Unit in CIO Area: CIO 2000 + 10 × 0 = CIO 2000 Word Contents Meaning address CIO 2001 Command Communications Data order specification CIO 2002 First read address CIO 2003 Number of read bytes...
  • Page 36: Part Names And Functions

    Part Names and Functions Section 2-3 Part Names and Functions 2-3-1 Part Names CS1W-V600C11 CS1W-V600C12 (front) (front) V600C11 V600C12 Status indicators HEAD1 HEAD2 NORM/ERR NORM/ERR NORM/ERR Unit number switches TEST TEST Communications test switch R/W Head connector HEAD HEAD1 HEAD2...
  • Page 37: Indicators

    Data exchange between the CPU Unit and ID Sensor Unit is performed using words allocated to the Unit in the Special I/O Unit Area and in the DM Area. The words allocated to the ID Sensor Unit in these two areas are determined by the setting of the unit number switches on the Unit’s front panel.
  • Page 38: Connections And Wiring

    2. Press in on the connector until it locks in place. Rubber molding Ring Note The connector will not lock into place if you hold onto the ring. Always hold onto the rubber molding. Removal Method Hold onto the ring and pull straight out.
  • Page 39: Wiring The External Power Supply (Cs1W-V600C12 Only)

    2. Although the rated power consumption of the CS1W-V600C12 is 360 mA at 24 V DC, be sure to consider the surge current when determining ca- pacities.
  • Page 40: Wiring For Safety And Noise Immunity

    If a shielded cable is used, connect one end of the shield to ground. Countermeasures for If I/O is connected to an inductive load, connect a surge killer or diode in par- Inductive Loads allel with the load.
  • Page 41 Connections and Wiring Section 2-4 • When Racks are installed in parallel with each other, keep them sepa- rated by at least 300 mm. Low-power cables R/W Head cables and PLC I/O lines 300 mm min. Control cables SYSMAC power supply lines and general 300 mm min.
  • Page 42: Cj-Series Id Sensor Units

    Overall Procedure ........
  • Page 43: Specifications

    130 g max. Mounting loca- CJ-series Rack or CJ-series Expansion Rack tion (Cannot be mounted to C200H Expansion I/O Racks or SYSMAC BUS Slave Racks.) No. of Units per 4 Units maximum per Rack 2 Units maximum per Rack Rack...
  • Page 44: Communications Function Specifications

    Section 3-1 3-1-3 Communications Function Specifications CJ1W-V600C11 CJ1W-V600C12 Communications frequency 530 kHz Communications control (1) Changing EEPROM (battery-free) Data Carrier communications mode (distance prior- ity or time priority) (2) Write verification (3) Auto Wait Time Setting Commands Read Read Write...
  • Page 45: Operating Procedure

    Programmer’s I/O Table Window, select SIOU/C200H ASCII Unit (A) and then, from the Enter SIOU Details Window, set the Address per Unit to 2, the Input Words to 3, and the Output Words to 7, and select the Repeat IN/ OUT for each Address per Unit option.
  • Page 46: Operating Procedure Example

    Operating Procedure Section 3-2 3-2-2 Operating Procedure Example The following is an operating procedure example for the following conditions. Reading 10 Bytes of Data from Data Carrier Address 0010 Using a Trigger CJ-series CPU Unit CJ1W-V600C11 Special I/O V600C11 RUN ERC...
  • Page 47 RU N ER ER P ER TE ST Creating I/O Tables Always create the I/O tables after turning ON the PLC power supply. The I/O tables can be created from the Programming Console or CX-Programmer. Peripheral port /ER R NO RM...
  • Page 48 NO RM T/ R V6 00 C1 RU N ER ER P ER TE ST Programming Console First word allocated to Unit in DM Area: m = D20000 + (100 × 0) = D20000 Contents Meaning address D20000 Not used Communications...
  • Page 49 Operating Procedure Section 3-2 First word allocated to Unit in CIO Area: CIO 2000 + 10 × 0 = CIO 2000 Word Contents Meaning address CIO 2001 Command Communications Data order specification CIO 2002 First read address CIO 2003 Number of read bytes...
  • Page 50: Part Names And Functions

    Part Names and Functions Section 3-3 Part Names and Functions 3-3-1 Part Names CJ1W-V600C11 CJ1W-V600C12 (front) (front) V600C11 V600C12 RUN ERC RUN ERC Status indicators NORM/ERR NORM/ERR HEAD1 HEAD2 NORM/ERR ERP ERH ERP ERH Unit number switches TEST TEST Communications test switch...
  • Page 51: Indicators

    Data exchange between the CPU Unit and ID Sensor Unit is performed using words allocated to the Unit in the Special I/O Unit Area and in the DM Area. The words allocated to the ID Sensor Unit in these two areas are determined by the setting of the unit number switches on the Unit’s front panel.
  • Page 52: Connections And Wiring

    2. Press in on the connector until it locks in place. Rubber molding Ring Note The connector will not lock into place if you hold onto the ring. Always hold onto the rubber molding. Removal Method Hold onto the ring and pull straight out.
  • Page 53: Wiring For Safety And Noise Immunity

    If a shielded cable is used, connect one end of the shield to ground. Countermeasures for If I/O is connected to an inductive load, connect a surge killer or diode in par- Inductive Loads allel with the load.
  • Page 54 Connections and Wiring Section 3-4 • When Racks are installed in parallel with each other, keep them sepa- rated by at least 300 mm. Low-power cables R/W Head cables and PLC I/O lines 300 mm min. Control cables SYSMAC power supply lines and general 300 mm min.
  • Page 55 Connections and Wiring Section 3-4...
  • Page 56: Data Exchange With The Cpu Unit

    4-1-1 Unit Number Setting........
  • Page 57: Outline Of Data Exchange

    Special I/O Unit Area and initial setting words allocated in the DM Area. I/O Data Words are allocated in the Special I/O Unit Area of the CPU Unit for ID Sensor Unit I/O data, including Unit Controls, commands, results information, etc., according to the unit number.
  • Page 58: Unit Number Setting

    CIO 2959 D29599 Note 1. If the same unit number is set for more than one Special I/O Unit, a fatal error (No. duplication error on CX-Programmer or Unit No. Duplication on Programming Console), and the PLC will not operate.
  • Page 59: Special I/O Unit Restart Bits

    Unit operation can be restarted after DM Area settings have been changed or after an error has been corrected by turning the power supply to the PLC OFF and ON or by turning ON the Special I/O Unit Restart Bit.
  • Page 60: Initial Settings Data

    Unit. (Refer to page 39 for the setting method.) 2. If the same unit number is set for more than one Special I/O Unit, a fatal error (No. duplication error on CX-Programmer or Unit No. Duplication on...
  • Page 61: Dm Area Contents (Same For Normal Or Test Mode)

    0000: Infinite ting cations Specification is single auto or repeat auto. A Data Carrier Missing Error will be returned if this value is exceeded. Note First word allocated to Unit in DM Area: m = D20000 + 100 × unit No.
  • Page 62: I/O Data Allocations

    Special I/O Unit Area Allocations and Contents I/O data exchange for the ID Sensor Unit is performed using the words allo- cated to the ID Sensor Unit as a Special I/O Unit in the Special I/O Unit Area. SYSMAC CS-/CJ-series PLC...
  • Page 63: Special I/O Unit Bit Allocations

    BCD. (leftmost 2 dig- its) n + 6 n + 16 00 to 15 Option Command Specify command option. Option Note First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
  • Page 64 1. The Copy command cannot be used on the CS1W-V600C11/CJ1W- V600C11. 2. Refer to 5-2 Communications Specifications for communications specifica- tions. 3. Refer to Designating Processing Specifications on page 46 for designation methods. 4. Refer to Designating Data Storage Areas on page 46 for designation meth- ods.
  • Page 65 Note 1. If there is a mistake in designating the command and option, the Command Error Flag (word (n + 8), bit 00) in the Results Information will turn ON, and the command will not be executed. 2. If there is a mistake in designating the data storage area, the Data Storage Area Specification Error Flag (word (n + 8), bit 01) in the Results Informa- tion will turn ON, and the command will not be executed.
  • Page 66 Turns ON when there is an error in the ply Error Flag Unit’s 24-V power supply or the input power supply. Memory Error Turns ON when there is an error in ID Sen- Flag sor Unit memory. 03 to 11 Not used...
  • Page 67 Turns ON when processing specified in data Specification Error storage area cannot be executed. Command Error Turns ON when there is an error in the set- ting for the Command, Communications Specification, Processing Address, or Num- ber of Processing Bytes.
  • Page 68 Head error error with Data Car- Verification error rier Data Carrier address error Data Carrier communications error Write protection error Data Carrier missing error Battery warning Status Flag Note The processing results monitor will not change for a command setting error.
  • Page 69 I/O Data Allocations Section 4-3...
  • Page 70: Id Sensor Unit Functions

    System Settings........
  • Page 71: Operating Modes

    CS/CJ-series CPU Unit operating status. The Test Mode Flag (word (n + 7), bit 14) in the Unit Status in the Special I/O Unit Area will turn ON while the ID Sensor Unit is in this mode.
  • Page 72: Trigger

    Command Execution Bit turns ON, Data Carrier Missing Error Flag (word (n + 8), bit 10) in the Results Information in the Special I/O Unit Area will turn ON and an error code (E072) will be stored in the Processing Results Monitor (word (n + 9)).
  • Page 73: Single Auto

    Data Carrier as is required for a trigger specification. Command execution is ended as soon as communications are completed with one Data Carrier. Execution can also be ended by turning ON the Abort Bit (word n, bit 02) while the ID Sensor Unit is waiting for the Data Carrier.
  • Page 74: Repeat Auto

    ID Sensor Unit waits for the next Data Carrier. Once communications have been completed with a specific Data Carrier, communications will not be performed with it again even if it remains in the communications area. Pro- cessing is ended when the Abort Bit (word n, bit 02) turns ON.
  • Page 75: System Settings And Auto Wait Time Setting

    Parameter settings (including System Settings and an Auto Wait Time Set- ting) can be adjusted to the user application to optimize the performance and reliability of the ID Sensor Unit. Although the default settings can be used for most applications without any problems, the parameters can be changed to optimize the system.
  • Page 76 Communicate using the Com- munications Time Priority Mode. 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No. Note 2. Always turn the power supply to the PLC OFF and ON or turn ON the Spe- cial I/O Unit Restart Bit after changing settings in the DM Area from a Pro- gramming Device.
  • Page 77: Auto Wait Time Setting

    0: Infinite (Time not (Infinite) monitored) 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No. Note 2. Always turn the power supply to the PLC OFF and ON or turn ON the Spe- cial I/O Unit Restart Bit after changing settings in the DM Area from a Pro- gramming Device.
  • Page 78: Data Carrier Memory

    Address and Number of Processing Bytes so that all processing is performed on the same page. The address ranges for individual pages are as follows: 0000 to 0007, 0008 to 000F, 0010 to 0017, 0018 to 001F, . . . , 00F0 to 00F7, and 00F8 to 00FD.
  • Page 79: Sram (Built-In Battery) Data Carriers

    Format tate managing the life of the Data Carrier. The data in these bytes can be read, but it cannot be written by the user. If an attempt is made to write this data, a write protection error will occur.
  • Page 80: Write Protection

    1. Address 00 (hex) cannot be write-protected. 2. Addresses 80 (hex) to FD (hex) cannot be set as the end address. 3. If the end address is set to 00 (hex), all addressed from address 01 (hex) to FF (hex) will be write-protected.
  • Page 81: Sram (Built-In Battery) Data Carriers

    Write Protection Section 5-5 If the end address is set to 00 (hex), the entire area except for address 0000 (hex) will be write-protected. Example: End Address Set to 00 (hex) Address Bit No. 0000 Address (hex) 0000 0001 Write-protected...
  • Page 82 0005 Address (hex) 0000 0015 Write-protected area 0120 07FF 2. To write-protect only 1 byte, (start address = end address), set the start ad- dress and the end address to the same address. Address (hex) 0000 Write-protected 0120 area 07FF 3.
  • Page 83: Data Carrier Life Check

    EEPROM (battery-free) Data Carrier has been written exceeds either 100,000 writes or a specified number of writes. There are two ways to manage the number of writes. One is to add to the number of writes and then detect when the total exceeds 100,000 writes. The other is to subtract from a user-specified number of writes and then detect when the specified value has been exceeded (i.e., when 0 is reached).
  • Page 84 Lower digit Application Method The life of the Data Carrier can be managed by updating the number of writes value when data is written to the address most frequently written. (The life of the Data Carrier is 100,000 writes for any one address, so the number of writes must be counted for the address that is written most frequently.) It is...
  • Page 85 100,000 writes. If the Number of Writes Control com- mand is executed with an Add specification and the number of writes set to 5, the Status Flag (word (n + 8), bit 04) in the Results Information will turn ON.
  • Page 86 Data Carrier Life Check Section 5-6 ON. If the value in the control area is already less than 0, the value will not be changed. Area start Upper digit address 3 bytes Middle digit Lower digit Application Method A user-specified number of writes can be used for life control by writing the desired value in the Number of Writes Control Area in advance.
  • Page 87: Sram (Built-In Battery) Data Carrier

    300,000 writes. If the Number of Writes Control com- mand is executed with a Subtract specification and the number of writes set to 5, the Status Flag (word (n + 8), bit 04) in the Results Information will turn ON.
  • Page 88: Data Check

    CRC code is calculated for the area to calculate and compared with the data in the check code area. If the calculated code is the same as the data in the check code area, the Normal End Flag (word (n + 7), bit 01) in Unit Status will...
  • Page 89 Data Check Section 5-7 turn ON. If they are not the same, the Error End Flag (word (n + 7), bit 02) in Unit Status will turn ON, and the Status Flag (word (n + 8), bit 04) in the Results Information will turn ON as a warning.
  • Page 90 (hex) 000F 0010 0011 0012 0013 0014 0015 If the check codes are not the same, the Error End Flag (word (n + 7), bit 02) in Unit Status is turned ON. Address (hex) 000F Data error 0010 0011 0012...
  • Page 91 Data Check Section 5-7...
  • Page 92: Controlling The Id Sensor Unit

    Outline of Operation ........
  • Page 93: Id Sensor Unit Operation

    CPU Unit is changed to PROGRAM mode. 2. If an ID Sensor Unit error occurs, communications will stop regardless of the operating mode. 3. First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
  • Page 94: Read Command: Read

    3. The ID Sensor Unit will interpret the command when the Command Exe- cution Bit is turned ON. 4. If the command is correct, the ID Busy Flag (word (n + 7), bit 00) will turn ON. If there is an error in the command or data storage area specifications, the Command Error Flag (word (n + 8), bit 00) or Data Storage Area Error Flag (word (n + 8), bit 01) will turn ON and processing will end.
  • Page 95: Commands Used To Write Data

    3. The ID Sensor Unit will interpret the command when the Command Exe- cution Bit is turned ON. 4. If the command is correct, the ID Busy Flag (word (n + 7), bit 00) will turn ON. If there is an error in the command or data storage area specifications, the Command Error Flag (word (n + 8), bit 00) or Data Storage Area Error Flag (word (n + 8), bit 01) will turn ON and processing will end.
  • Page 96: Copy Command: Copy

    3. The ID Sensor Unit will interpret the command when the Command Exe- cution Bit is turned ON. 4. If the command is correct, the ID Busy Flag (word (n + 7), bit 00) will turn ON. If the command is not correct, the Command Error Flag (word (n + 8), bit 00) will turn ON and processing will be ended.
  • Page 97: Communications Commands

    Sensor Units only. Note 1. The Data Fill command will write data to the user area in the Data Carrier regardless of the setting of write protection. 2. If there is an error in the command or option specifications, the Command Error Flag (word (n + 8), bit 00) in the Results Information will turn ON and the command will not be executed.
  • Page 98: Command Descriptions

    6-2-2 Command Descriptions Read Reads the specified number of bytes from the specified start address in the Data Carrier. Up to 2,048 bytes (i.e., 1,024 words) can be read with one command execu- tion. Word address Bit No. Type Bit name...
  • Page 99 Section 6-2 Write Writes the specified number of bytes of data beginning at the specified start address in the Data Carrier. Up to 2,048 bytes (i.e., 1,024 words) can be written with one command execu- tion. Word address Bit No.
  • Page 100 Command Option Not used Note 1. Data status will not be changed for any bit that is OFF in the Designation Data. 2. Verification will not be performed if No Verification is set for writing. 3. When using EEPROM (battery-free) Data Carriers, be sure the write area is all on one page (refer to 59).
  • Page 101 Up to 4 bytes (i.e., 2 words) can be specified for one command execution. The following example shows specifying 100240 (hex) for 3 bytes of data to clear bit 4 in byte 1, bit 0 in byte 2, and bit 6 in byte 3. Data Carrier Data...
  • Page 102 Communications Commands Section 6-2 Note 1. Data status will not be changed for any bit that is OFF in the Designation Data. 2. Verification will not be performed if No Verification is set for writing. 3. When using EEPROM (battery-free) Data Carriers, be sure the write area is all on one page (refer to 59).
  • Page 103 Mask data (0000 to FFFE (hex)) Note 1. The bits that are turned ON in the data set for the Command Option will be masked and will not be changed. The bits that are OFF in the mask data will be written.
  • Page 104 Data Carrier, the Data Carrier Address Error Flag (word (n + 8), bit 13) in the Results Information will turn ON and the command will not be execut- 4.
  • Page 105 Command Option Calculation data Note 1. If an addition results in an overflow or a subtraction results in an underflow, the Status Flag (word (n+8), bit 04) will turn ON and the number of writes data will not be changed.
  • Page 106 Fill data Note 1. If the Number of Processing Bytes is 0000 (hex), data will be written to user area of the Data Carrier from the start address to the end address. 2. The Data Fill command will write data to the user area in the Data Carrier regardless of the setting of write protection.
  • Page 107 Note 1. Verification will not be performed if No Verification is set for writing. 2. The last 2 bytes of the check area is the check code area. Do not write user data to these bytes. 3. Check the memory capacity of the Data Carriers before setting the Pro- cessing Address and Number of Processing Bytes.
  • Page 108 Section 6-2 Number of Writes Control Uses 3 bytes of data from the specified start address as the Number of Writes Control Area and writes data to the Data Carrier. The number of writes for one command execution can be from 0 to 255.
  • Page 109 Note 1. If the Command Execution Bit is turned ON in the Unit Controls for Head 1, data will be read from the Data Carrier for Head 1 and written to the Data Carrier for Head 2. 2. If the Command Execution Bit is turned ON in the Unit Controls for Head 2, data will be read from the Data Carrier for Head 2 and written to the Data Carrier for Head 1.
  • Page 110: Communications Time

    Write with no verification N: Number of processed bytes No. of bytes processed Note 1. The ID Sensor Unit’s communications mode is set in the Special I/O Unit words in the DM Area. (Refer to 41.) page 2. The communications time for SRAM (built-in battery) Data Carriers does...
  • Page 111: Tat Calculation

    The communications time is given in the graphs on the previous page. The travel distance in the communications area depends on the R/W Head and the Data Carrier. Refer to the user manual for the R/W Head and Data Carri- ers.
  • Page 112: Troubleshooting Alarms And Errors

    Status Indicators ........
  • Page 113: Indicators And Error Check Flowcharts

    Indicators and Error Check Flowcharts Section 7-1 Indicators and Error Check Flowcharts 7-1-1 Status Indicators If an alarm or error occurs in the ID Sensor Unit, the ERC indicator or ERH indicator will light on the Unit’s front panel. CS1W-V600C11 CS1W-V600C12 V600C11...
  • Page 114: Error Check Flowchart

    Indicators and Error Check Flowcharts Section 7-1 7-1-2 Error Check Flowchart Use the following flowchart to check the error if an error occurs in the ID Sen- sor Unit. Error occurs An alarm occurred during ERC indicator RUN indicator ID Sensor Unit operation.
  • Page 115: Id Sensor Unit Alarms

    The ERC indicator will light when the ID Sensor Unit detects an alarm. The Alarm Flags in the Unit Status (word (n + 7)) (and, for a Double-head ID Sen- sor Unit, word (n + 17)) in the Special I/O Unit Area will be written.
  • Page 116 Replace the I/O Sensor Unit if the error operation persists even though the Unit is reset. Note First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No. ERC Indicator Lit and RUN Indicator Not Lit CS1W-V600C11...
  • Page 117 ON the Special I/O Unit Restart Bit memory read Replace the I/O Sensor Unit if the error was read. persists even though the Unit is reset. Note First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
  • Page 118 Write, or Number of Writes Control command to exceed one page. (Page Battery low warning Bit 05 E07B The life of the battery built into a SRAM Replace the Data Carrier. Data Carrier has expired. Head error Bit 15 E07C A R/W Head error occurred.
  • Page 119: Cpu Unit Errors

    CPU Unit Errors The ERH indicator will light when the ID Sensor Unit cannot operate because an error occurred on the I/O bus to the CPU Unit or when data cannot be refreshed as a Special I/O Unit. Both ERH and RUN Indicators Lit...
  • Page 120: Restarting Special I/O Units

    A50715 Unit 95 Restart Bit Note If an error persists even though the power supply is turned OFF and ON or the Special I/O Unit Restart Bit is turned ON, replace the ID Sensor Unit, Power Supply Unit, or CPU Unit.
  • Page 121: Troubleshooting

    Troubleshooting Section 7-5 Troubleshooting If an error occurs, first study the situation well, see if the error occurs again, check the relationship to other devices, and otherwise analyze the error. Use the following flowcharts to check errors. 7-5-1 Main Check Flowchart Use the Main Check Flowchart according to the nature of the error.
  • Page 122: System Connections Check Flowchart

    Section 7-5 7-5-2 System Connections Check Flowchart START Connectors and cables OK? Correct connection. Cycle PLC power or turn ON Special I/O Unit Restart Bit. ERH indicator lit? Single-head Unit? Supply rated voltage to input power terminals. Current consumption for all Units on Rack <...
  • Page 123: Communications Check Flowchart

    Unit. Replace Data Carrier. 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No. Note 2. First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
  • Page 124: A Dimensions

    Appendix A Dimensions CS1W-V600C11 (193) Six operation status indicators Switches 11.9 Connector CS1W-V600C12 (193) Eight operation status indicators Switches 11.9 Connectors With cover: Terminals 16.5...
  • Page 125 Dimensions Appendix A CJ1W-V600C11 (140) Six operation status 10.5 indicators Switches Connector CJ1W-V600C12 (140) Eight operation status 10.5 indicators Switches Connectors...
  • Page 126: Sample Programming

    Appendix B Sample Programming Read, Communications Specification: Single Auto Outline This example shows how to read Data Carrier memory as it approaches the communications area for R/W Head 1. One Data Carrier is detected when it enters the communications area and the contents of memory is read.
  • Page 127 Verification for writ- Communications test switch enabled mode: Distance D20001 0000 Auto Wait Time Setting × First word allocated to Unit in CIO Area: n = CIO 2000 + (10 0) = CIO 2000 Word Contents Meaning address CIO 2001 Command code...
  • Page 128 When communications with the Data Carrier have been completed, the Normal End Flag (word (n + 7), bit 01) or Error End Flag (word (n + 7), bit 02) is turned ON. Read data can be used after the Normal End Flag (word (n + 7), bit 01) has been turned ON.
  • Page 129 Processing Results Monitor (word (n + 9)). The previous read data will not be changed. 2. If the Abort Bit is turned ON while waiting for a Data Carrier, communications will be aborted at that point. The Results Information (word (n + 8)) will always be 0000 (hex) in this case.
  • Page 130 This example shows how to repeatedly read the data in the memory of Data Carriers from R/W Head 2. An auto wait time is set so that operation will be ended if a Data Carrier is not detected within a specified period of time.
  • Page 131 Communications test switch enabled mode: Distance D20101 0150 Auto Wait Time Setting × First word allocated to Unit in CIO Area: n = CIO 2000 + (10 (0 + 1)) = CIO 2010 Word Contents Meaning address CIO 2011 Command code...
  • Page 132 When communications with the Data Carrier have been completed, the Normal End Flag (word (n + 7), bit 01) or Error End Flag (word (n + 7), bit 02) is turned ON. Read data can be used after the Normal End Flag (word (n + 7), bit 01) has been ON.
  • Page 133 2. If an auto wait time is set and the set time expires while waiting for a Data Carrie, the command op- eration will be aborted at that point, the Data Carrier Missing Error Flag (word (n + 8), bit 10) in the Results Information will turn ON, and an error code will be placed in the Processing Results Monitor (word (n + 9)).
  • Page 134 Sample Programming Appendix B Write, Communications Specification: Trigger Outline This example shows how to write data to the memory of a Data Carrier in the communications area of R/W Head 1. Data is written to the Data Carrier that is in...
  • Page 135 Verification for writ- Communications test switch enabled mode: Distance D25501 0000 Auto Wait Time Setting × First word allocated to Unit in CIO Area: n = CIO 2000 + (10 55) = CIO 2550 Word Contents Meaning address CIO 2551 Command code...
  • Page 136 When communications with the Data Carrier have been completed, the Normal End Flag (word (n + 7), bit 01) or Error End Flag (word (n + 7), bit 02) is turned ON. Test Mode...
  • Page 137 Write data Data storage area Note 1. To confirm the execution results from the user program, use the ON status of the Normal End Flag or Error End Flag in the Unit Status. 2. Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag is ON).
  • Page 138 Verification for writ- Communications test switch enabled mode: Distance D27701 0000 Auto Wait Time Setting × First Word Allocated to Unit in CIO Area: n = CIO 2000 + (10 77) = CIO 2770 Word Contents Meaning address CIO 2771 Command code...
  • Page 139 When the execution input turns ON, settings are made in the Special I/O Unit Area using the MOV instruction and the command is executed. Data is read from the memory of Data Carrier A and written to the memory of Data Carrier B.
  • Page 140 Sample Programming Appendix B Note 1. To confirm the execution results from the user program, use the ON status of the Normal End Flag or Error End Flag in the Unit Status. 2. Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag...
  • Page 141 Sample Programming Appendix B...
  • Page 142: Data Coding Tables

    Words Allocated in Special I/O Unit Area in CIO Area First word allocated to Head 1: n = CIO 2000 + (10 × unit No.) First word allocated to Head 2: n = CIO 2000 + (10 × (unit No. + 1)) Unit Controls: Word n (= CIO 2@@0)
  • Page 143 Data Coding Tables Appendix C Command: Words (n + 1) to (n + 3) (= CIO 2@@1 to CIO 2@@3) Meaning Word address 15 14 13 12 11 10 2@@1 Command code Communications Processing specification specification Applicable Applicable Proc spec...
  • Page 144 Data Coding Tables Appendix C Data Storage Area: Words (n + 4) to (n + 5) (= CIO 2@@4 to CIO 2@@5) Meaning Word address 15 14 13 12 11 10 2@@4 Data storage word (rightmost 4 digits) 2@@5 Data storage...
  • Page 145 Data Coding Tables Appendix C ASCII Code Table Left digit b8-b5 0000 1001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Right digit Column b4-b1 0000 (SP) (DLE) 0001 (SOH) 0010 " (STX) 0011...
  • Page 146: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. Z174-E1-02A Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 147 Revision History...
  • Page 148 OMRON EUROPE B.V. Sensor Business Unit, Carl-Benz-Str. 4, D-71154 Nufringen, Germany Tel: (49)7032-811-0/Fax: (49)7032-811-199 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square, 239920 Singapore Tel: (65)6835-3011/Fax: (65)6835-2711 OMRON CHINA CO., LTD.
  • Page 149 Authorized Distributor: Cat. No. Z174-E1-02A Note: Specifications subject to change without notice Printed in Japan 1204-0.5C (0203) (M)

Table of Contents