ManualOperacion IDSensorUnits PDF
ManualOperacion IDSensorUnits PDF
Z174-E1-02
OPERATION MANUAL
SYSMAC CS/CJ Series
ID Sensor Units
Operation Manual
Revised March 2004
iv
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or dam-
age to property.
!DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
!WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
!Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
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.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con-
stantly striving to improve its high-quality products, the information contained in this manual is subject to change without
notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility
for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.
v
vi
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
5 Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
6 Precautions for Users of the C200H-IDS01(-V1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
7 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
SECTION 1
Features and System Configuration . . . . . . . . . . . . . . . . . . . 1
1-1 Outline of Features and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-3 Functions by Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
SECTION 2
CS-series ID Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2-1 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-2 Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2-3 Part Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2-4 Connections and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
SECTION 3
CJ-series ID Sensor Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3-1 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3-2 Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3-3 Part Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-4 Connections and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
SECTION 4
Data Exchange with the CPU Unit . . . . . . . . . . . . . . . . . . . . 37
4-1 Outline of Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4-2 Initial Settings Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4-3 I/O Data Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
vii
TABLE OF CONTENTS
SECTION 5
ID Sensor Unit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5-1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5-2 Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5-3 System Settings and Auto Wait Time Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5-4 Data Carrier Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5-5 Write Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5-6 Data Carrier Life Check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5-7 Data Check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
SECTION 6
Controlling the ID Sensor Unit . . . . . . . . . . . . . . . . . . . . . . . 73
6-1 ID Sensor Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6-2 Communications Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6-3 Communications Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
SECTION 7
Troubleshooting Alarms and Errors. . . . . . . . . . . . . . . . . . . 93
7-1 Indicators and Error Check Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
7-2 ID Sensor Unit Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
7-3 CPU Unit Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
7-4 Restarting Special I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
7-5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Appendices
A Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
B Sample Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
C Data Coding Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
viii
About this Manual:
This manual describes the installation and operation of the CS1W-V600C11 and CS1W-V600C12 CS-
series ID Sensor Units and the CJ1W-V600C11 and CJ1W-V600C12 CJ-series ID Sensor Units, and it
includes the sections described below.
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.
Precautions provides general precautions for using the ID Sensor Units, Programmable Controller,
and related devices.
Section 1 describes the features and system configuration of an ID Sensor Unit.
Section 2 describes the specifications, operation, and installation of ID Sensor Units for CS-series
PLCs.
Section 3 describes the specifications, operation, and installation of ID Sensor Units for CJ-series
PLCs.
Section 4 describes the methods used to exchange data with the CPU Unit and the data that is
exchanged.
Section 5 describes the operation of the ID Sensor Units.
Section 6 describes how to control an ID Sensor Unit using commands from the PLC’s CPU Unit.
Section 7 describes troubleshooting errors that can occur during ID Sensor Unit operation.
The Appendices provide dimensions, sample programming, and data coding tables.
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section
in its entirety and be sure you understand the information provided in the section and
related sections before attempting any of the procedures or operations given.
ix
x
PRECAUTIONS
This section provides general precautions for using the ID Sensor Unit, Programmable Controller, and related devices.
The information contained in this section is important for the safe and reliable application of the ID Sensor Unit.
You must read this section and understand the information contained before attempting to set up or operate a ID
Sensor Unit and PLC system.
xi
Intended Audience 1
1 Intended Audience
This manual is intended for the following personnel, who must also have
knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance specifica-
tions described in the operation manuals.
Before using the product under conditions which are not described in the
manual or applying the product to nuclear control systems, railroad systems,
aviation systems, vehicles, combustion systems, medical equipment, amuse-
ment machines, safety equipment, and other systems, machines, and equip-
ment that may have a serious influence on lives and property if used
improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide
the systems, machines, and equipment with double safety mechanisms.
This manual provides information for installing and operating OMRON ID
Sensor Units. Be sure to read this manual before operation and keep this
manual close at hand for reference during operation.
!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.
3 Safety Precautions
!WARNING Never attempt to disassemble any Units while power is being supplied. Doing
so may result in serious electrical shock or electrocution.
!WARNING Never touch any of the terminals while power is being supplied. Doing so may
result in serious electrical shock or electrocution.
!WARNING The SRAM-type Data Carrier has a built-in lithium battery which can combust
or explode if mishandled. Do not disassemble the Data Carrier, or subject it to
high pressure or high temperatures (of 100 °C or more), or dispose of it by
incineration.
!WARNING Provide safety measures in external circuits, i.e., not in the PLC (CPU Unit
including associated Units), in order to ensure safety in the system if an
abnormality occurs due to malfunction of the PLC or another external factor
affecting the PLC operation. Not doing so may result in serious accidents.
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety
measures must be provided in external control circuits.
xii
Operating Environment Precautions 4
• The PLC 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 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.
!Caution Execute online edit only after confirming that no adverse effects will be
caused by extending the cycle time. Otherwise, the input signals may not be
readable.
!Caution The operating environment of the PLC System can have a large effect on the
longevity and reliability of the system. Improper operating environments can
lead to malfunction, failure, and other unforeseeable problems with the PLC
System. Be sure that the operating environment is within the specified condi-
tions at installation and remains within the specified conditions during the life
of the system.
xiii
Application Precautions 5
5 Application Precautions
Observe the following precautions when using the ID Sensor Unit or the PLC.
!WARNING Failure to abide by the following precautions could lead to serious or possibly
fatal injury. Always heed these precautions.
• Always turn OFF the power supply to the PLC before attempting any of
the following. Performing any of the following with the power supply
turned ON may lead to electrical shock:
• Mounting or removing any Units (e.g., Power Supply Unit, I/O Units,
CPU Unit, etc.) or Memory Cassettes.
• Assembling any devices or racks.
• Setting DIP switches or rotary switches.
• Connecting or disconnecting any cables or wiring.
!Caution Failure to abide by the following precautions could lead to faulty operation of
the PLC or the system or could damage the PLC or PLC Units. Always heed
these precautions.
xiv
Precautions for Users of the C200H-IDS01(-V1) 6
• Use crimp terminals for wiring. Do not connect bare stranded wires
directly to terminals.
• Observe the following precautions when wiring cables.
• Do not bend the cables past their natural bending radius.
• Do not pull on the cables.
• Do not place heavy objects on top of the cables.
• Check terminal blocks sufficiently before mounting them.
• Be sure that the terminal blocks, Memory Units, expansion cables, and
other items with locking devices are properly locked into place. Improper
locking may result in malfunction.
• Check the user program for proper execution before actually running it on
the Unit. Not checking the program may result in an unexpected opera-
tion.
• Check all wiring carefully before turning ON the power supply.
• Confirm that no adverse effect will occur in the system before attempting
any of the following. Not doing so may result in an unexpected operation.
• Changing the operating mode of the PLC.
• Force-setting/force-resetting any bit in memory.
• 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.
• Stop operation and turn OFF the power supply immediately if you smell
any unusual odors, if the surface of the Unit become abnormally hot, if
smoke appears, of if the Unit seems unusual in any other way.
Command Settings
The CS/CJ-series ID Sensor Units allow the Data Carrier processing com-
mand and Data Carrier communications method (i.e., the communications
specification) to be set separately. Commands written for the C200H ID Sen-
sor Units cannot be used without modification. Refer to SECTION 4 Data
Exchange with the CPU Unit for details on designating commands and com-
munications methods.
xv
Conformance to EC Directives 7
New Commands
New commands have been added that allow individual bits to be written and
that allow data to be copied from one Data Carrier to another.
Command name Function
Bit Set Sets the specified bits of the specified area in the Data Carrier.
Bit Clear Clears the specified bits of the specified area in the Data Car-
rier.
Mask Bit Write Masks the specified bits in the specified area of the Data Car-
rier and writes data to the bits that are not masked.
Copy Writes the data read from a Data Carrier by one R/W Head to
the Data Carrier in the communications area of the other R/W
Head. This command is supported by Double-head ID Sensor
Units only.
7 Conformance to EC Directives
7-1 Applicable Directives
• EMC Directives
• Low Voltage Directive
7-2 Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or the
overall machine. The actual products have been checked for conformity to
EMC standards (see the following note). Whether the products conform to the
standards in the system used by the customer, however, must be checked by
the customer.
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 on which the OMRON devices are installed.
The customer must, therefore, perform the final check to confirm that devices
and the overall machine conform to EMC standards.
xvi
Conformance to EC Directives 7
Countermeasures
(Refer to EN50081-2 for more details.)
Countermeasures are not required if the frequency of load switching for the
whole system with the PLC included is less than 5 times per minute.
Countermeasures are required if the frequency of load switching for the whole
system with the PLC included is more than 5 times per minute.
xvii
Conformance to EC Directives 7
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in
parallel with the load or contact as shown below.
Circuit Current Characteristic Required element
AC DC
CR method Yes Yes If the load is a relay or solenoid, thereThe capacitance of the capacitor must
is a time lag between the moment the be 1 to 0.5 µF per contact current of
circuit is opened and the moment the 1 A and resistance of the resistor must
load is reset. be 0.5 to 1 Ω per contact voltage of 1 V.
Inductive
insert the surge protector in parallel load and the characteristics of the
Power
supply with the load. If the supply voltage is relay. Decide these values from experi-
100 to 200 V, insert the surge protector ments, and take into consideration that
between the contacts. the capacitance suppresses spark dis-
charge when the contacts are sepa-
rated and the resistance limits the
current that flows into the load when
the circuit is closed again.
The dielectric strength of the capacitor
must be 200 to 300 V. If the circuit is an
AC circuit, use a capacitor with no
polarity.
Diode method No Yes The diode connected in parallel with The reversed dielectric strength value
the load changes energy accumulated of the diode must be at least 10 times
by the coil into a current, which then as large as the circuit voltage value.
Inductive
flows into the coil so that the current The forward current of the diode must
will be converted into Joule heat by the be the same as or larger than the load
load
Power
cuit is opened and the moment the load
supply is reset.
If the supply voltage is 24 or 48 V,
insert the varistor in parallel with the
load. If the supply voltage is 100 to
200 V, insert the varistor between the
contacts.
R
OUT OUT
R
COM COM
xviii
SECTION 1
Features and System Configuration
This section describes the features and system configuration of an ID Sensor Unit.
1
Outline of Features and Functions Section 1-1
TEST TEST
ON ON
HEAD HEAD1
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.
TEST TEST
ON ON
HEAD HEAD1
HEAD2
These ID Sensor Units read and write data for V600-series Data Carriers for
SYSMAC CJ-series PLCs. There are two models: a Single-head ID Sensor
Unit (CJ1W-V600C11) and a Double-head ID Sensor Unit (CJ1W-V600C12).
CJ-series Units can be connected in a CJ-series CPU Rack or CJ-series
Expansion Rack.
2
Outline of Features and Functions Section 1-1
3
System Configuration Section 1-2
TEST TEST
ON ON
HEAD HEAD1
HEAD2
DC24V
INPUT
+
-
24 V DC
power
supply
R/W Head
Data Carrier
Workpiece Workpiece
(moving body) Moves (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 V600C12
RUN
SYSMAC ERR/ALM RUN ERC T/R NORM/ERR RUN ERC
HEAD1
T/R NORM/ERR
CJ1G-CPU44 INH
PROGRAMMABLE HEAD2
PRPHL ERP ERH ERP ERH T/R NORM/ERR
CONTROLLER
COMM
OPEN
MCPWR
BUSY
TEST TEST
ON ON
PERIHERAL
HEAD HEAD1
HEAD2
PORT
R/W Head
Data Carrier
Workpiece Workpiece
(moving body) Moves (moving body)
4
System Configuration Section 1-2
Note The above example uses one Single-head ID Sensor Unit (CJ1W-V600C11)
and one Double-head ID Sensor Unit (CJ1W-V600C12).
CJ-series PLCs CJ-series ID Sensor Units are classified as CJ-series Special I/O Units.
• These Units can be mounted to a CJ-series CPU Rack or CJ-series
Expansion Rack.
• The number of Units per CPU Rack or Expansion Rack depends on the
maximum supply current of the Power Supply Unit and current consump-
tion of other Units on the Rack.
The following table lists the maximum number of Units per Rack when only ID
Sensor Units are mounted.
Power Supply Unit CJ1W-V600C11 CJ1W-V600C12
CJ1W-PA205R 4 2
CJ1W-PA202 2 1
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.
5
System Configuration Section 1-2
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.
Hook
Backplane
2. While making sure to align the Unit properly with the connectors, tighten
the mounting screws securely to a tightening torque of 0.4 N·m.
3. To remove the Unit, first loosen the mounting screws using a Phillips
screwdriver.
Mounting screw
Note Leave enough space below each Rack, as shown in the following diagram, for
mounting and removing the Units.
20 mm min.
Backplane
20 mm min.
Phillips screwdriver
6
System Configuration Section 1-2
CJ-series PLCs ID Sensor Units are connected as I/O Units in the system configuration, as
shown below.
V600C11 V600C12
RUN
SYSMAC ERR/ALM RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
CJ1G-CPU44 HEAD1
INH
PROGRAMMABLE PRPHL HEAD2
CONTROLLER COMM ERP ERH ERP ERH T/R NORM/ERR
OPEN
MCPWR
BUSY
TEST TEST
ON ON
PERIHERAL
HEAD HEAD1
PORT
HEAD2
1,2,3... 1. Align the connectors and press in firmly on the Units to connect them com-
pletely.
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.
Slider
Locked
Released
3. Attach an End Cover to the Unit on the right end of the Rack.
Note The CJ-series PC may not operate properly if the sliders are not locked firmly
into place.
7
Functions by Application Section 1-3
CJ-series PLCs
Remove the label after
wiring has been completed.
8
SECTION 2
CS-series ID Sensor Units
This section describes the specifications, operation, and installation of ID Sensor Units for CS-series PLCs.
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-1-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-1-2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-1-3 Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2-2 Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2-2-1 Overall Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2-2-2 Operating Procedure Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2-3 Part Names and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2-3-1 Part Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2-3-2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-3-3 Unit Number Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-3-4 Communications Test Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-4 Connections and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-4-1 Connecting R/W Heads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-4-2 Wiring the External Power Supply (CS1W-V600C12 Only) . . . . . . 20
2-4-3 Wiring for Safety and Noise Immunity . . . . . . . . . . . . . . . . . . . . . . 21
9
Specifications Section 2-1
2-1 Specifications
2-1-1 General Specifications
General specifications conform to those of SYSMAC CS-series Special I/O
Units.
10
Specifications Section 2-1
11
Operating Procedure Section 2-2
Set switch on front of Unit Turn OFF the communications test switch.
Wire
Installation and settings
Turn PLC power OFF and ON OR, turn ON Special I/O Unit Restart Bit.
Test communications
Note 1. When using CX-Programmer V3.0 or later with the CS1W-V600C12, “I” will
be displayed before addresses for inputs in the ladder diagram and “Q” will
be displayed before addresses for outputs for operation data. In the CX-
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.
2. When using CX-Programmer V2.0 or later with the CS1W-V600C11, “I” will
be displayed in the ladder diagram before address for inputs and “Q” will
be displayed before addresses for outputs for operation data.
12
Operating Procedure Section 2-2
0010 0 1
Bit Bit ON
0011 0 2
15 00
0012 0 3
D1000 01 02
HEAD
0013 0 4
D1001 03 04 0014 0 5
D1002 05 06 Read data 0015 0 6
Communi- 0016 0 7
D1003 07 08 cations 0017 0 8
D1004 09 0A 0018 0 9
→: Read data storage order 0019 0 A
TEST
ON
Communications test switch
13
Operating Procedure Section 2-2
1 09 1 09
32
32
87
87
6 54 6 54
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
14
Operating Procedure Section 2-2
Initial Settings
1,2,3... 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
DM Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D20000 0 0 0 0 Not used Communications Verification for writ- Communications
test switch enabled ing mode: Distance
D20001 0000 Auto Wait Time Setting: Infinite
2. PLC Power Supply OFF and ON (or turn ON the Unit Restart Bit)
Ladder Programming
Peripheral port
Programming Console
Set the Command, Communications Specification, Read Data Storage Or-
der, First Data Carrier Read Address, Number of Bytes to Read, and Read
Data Storage Destination in words (n + 1) to (n + 6) allocated in the Special
I/O Unit Area (here, CIO 2001 to CIO 2006).
15
Operating Procedure Section 2-2
First word allocated to Unit in CIO Area: CIO 2000 + 10 × 0 = CIO 2000
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2001 00 0 0 Command Communications Data order
specification
CIO 2002 00 10 First read address
CIO 2003 00 0A Number of read bytes
CIO 2004 10 00 Read data storage location (rightmost 4 digits)
CIO 2005 0 0 00 Data storage area Bank designation* Read data storage location (leftmost 2
digits)
CIO 2006 00 00 ---
#0010
2002
#000A
2003
#00001000
2004
16
Part Names and Functions Section 2-3
TEST TEST
Communications test switch
ON ON
HEAD HEAD1
HEAD2
DC24V
INPUT
+ R/W Head power terminals
-
(Back) (Side)
Backplane
Terminal
connector
block
17
Part Names and Functions Section 2-3
2-3-2 Indicators
Indicators show the operating status of the Unit. The relationship between the
indicator status and the Unit status is shown in the following table.
Indicator Name Color Meaning
RUN RUN Green Lit The ID Sensor Unit is operating normally.
Not lit The ID Sensor Unit is stopped.
ERC Unit error Red Lit An error has occurred in the ID Sensor Unit.
(Error I/O Controller) Not lit No error has occurred in the ID Sensor Unit.
ERH CPU Unit error Red Lit An error has occurred in the CPU Unit.
(Error at Host) Not lit No error has occurred in the CPU Unit.
ERP Head power error Red Lit An error has occurred in the power supply to the
(Head Power Error) R/W Head.
Not lit The power supply to the R/W Head is normal.
Head 1 T/R Communicating Yellow Lit Communications are active.
NORM/ERR Normal end Green Lit Communications with the Data Carrier ended
normally.
Error end Red Lit Communications with the Data Carrier ended in
an error.
Head 2 T/R Communicating Yellow Lit Communications are active.
NORM/ERR Normal end Green Lit Communications with the Data Carrier ended
normally.
Error end Red Lit Communications with the Data Carrier ended in
an error.
32
87
87
18
Connections and Wiring Section 2-4
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.
Rubber molding
Ring
Note The connector cannot be removed if you hold onto the rubber molding. Never
pull on the cable with excessive force. The conductors may be broken or dam-
aged.
19
Connections and Wiring Section 2-4
Connection Example
Line filter
+24 V DC
0V
M3 self-lifting screws are used as the connection terminals for the power sup-
ply. When necessary, use the following crimp terminals. The tightening torque
is approximately 0.59 N·m.
Examples of Applicable Crimp Connectors
Manufacturer Model number Applicable wire size Shape
J.S.T Mfg. Co., Ltd. 1.25-N3A AWG24 to 16 Forked
J.S.T Mfg. Co., Ltd. 1.25-Y3A
6.5 mm max.
(For M3 terminal)
Note 1. Although adequate measures have been taken inside the I/O Sensor Unit
for noise entering on the power supply line, supplying power through a line
filter can be used to greatly attenuate ground noise.
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.
20
Connections and Wiring Section 2-4
(2)
Floor ducts Conduits
Suspended ducts
If the same ducts must be used, shielded cables can be used to increase
resistance to noise. 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.
IN OUT L
OUT
+
Relay contact output
Transistor output
COM Diode
Note Use surge killers and diodes that meet the following conditions:
Surge Killers
Resistance: 50 Ω
Capacitance: 0.47 µF
Voltage: 200 V
Diodes
Noise Countermeasures Consider the following items when wiring external lines, such as the R/W
for External Wiring Head cables, I/O lines, power supply lines, and high-power lines.
• When using multiconductor cables for signal lines, do not use the same
cable for both I/O lines and other control lines.
21
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
• When placing cables in the same duct, separate them with grounded iron
plates.
SYSMAC power supply
lines and general
PLC I/O lines control circuit lines Power lines Iron plate
200 mm min.
22
SECTION 3
CJ-series ID Sensor Units
This section describes the specifications, operation, and installation of ID Sensor Units for CJ-series PLCs.
3-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3-1-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3-1-2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3-1-3 Communications Function Specifications . . . . . . . . . . . . . . . . . . . . 25
3-2 Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3-2-1 Overall Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3-2-2 Operating Procedure Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-3 Part Names and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-3-1 Part Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-3-2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-3-3 Unit Number Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-3-4 Communications test Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-4 Connections and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3-4-1 Connecting R/W Heads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3-4-2 Wiring for Safety and Noise Immunity . . . . . . . . . . . . . . . . . . . . . . 34
23
Specifications Section 3-1
3-1 Specifications
3-1-1 General Specifications
General specifications conform to those of SYSMAC CJ-series Special I/O
Units.
24
Specifications Section 3-1
25
Operating Procedure Section 3-2
Set switch on front of Unit Turn OFF the communications test switch.
Wire
Installation and settings
Turn PLC power OFF and ON. OR, turn ON Special I/O Unit Restart Bit.
Test communications
Note 1. When using CX-Programmer V3.0 or later with the CJ1W-V600C12, “I” will
be displayed before addresses for inputs in the ladder diagram and “Q” will
be displayed before addresses for outputs for operation data. In the CX-
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.
2. When using CX-Programmer V2.0 or later with the CJ1W-V600C11, “I” will
be displayed in the ladder diagram before address for inputs and “Q” will
be displayed before addresses for outputs for operation data.
26
Operating Procedure Section 3-2
R
RM/ER
11 T/R NO
V600C ERC
RUN
ERP ER
H
TEST
TEST
ON
ON
Communications test switch
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SYSMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
27
Operating Procedure Section 3-2
T/R NO
RM/ER
R
87
1 09
6 54
11
V600C ERC
RUN
32
H
ERP ER
87
1 09
6 54
TEST
32
ON
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SYSMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
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
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SY SMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
Programming Console
28
Operating Procedure Section 3-2
Initial Settings
1,2,3... 1. Make the settings in the words allocated to Special I/O Units in the DM
Area (refer to page 41).
Peripheral port
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SYSMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
Programming Console
2. PLC Power Supply OFF and ON (or turn ON the Unit Restart Bit)
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SY SMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
Ladder Programming
Peripheral port
M/ERR
1 T/R NOR
V600C1 ERC
RUN
6 7
4 5 14 15
1 2 3 12 13 6 7
OD26
0 91 10 11 4 5 14 15 ERP ERH
I 8 2 3 12 13
0 1 10 11 2
II 8 9
I 0 3
RUN
II 1
ERR/ALM
INH
SYSMAC 44
PU PRPHL 1
CJ1G-CAMMABLE COMM
PROGROLLER
CONTR 20 TEST
OPEN
ON
R
MCPW
BUSY
CN2
CN1
ERAL
PERIH
DC24V 0.3A
20
1 A/B
B/A
PORT
Programming Console
Set the Command, Communications Specification, Read Data Storage Or-
der, First Data Carrier Read Address, Number of Bytes to Read, and Read
Data Storage Destination in words (n + 1) to (n + 6) allocated in the Special
I/O Unit Area (here, CIO 2001 to CIO 2006).
29
Operating Procedure Section 3-2
First word allocated to Unit in CIO Area: CIO 2000 + 10 × 0 = CIO 2000
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2001 00 0 0 Command Communications Data order
specification
CIO 2002 00 10 First read address
CIO 2003 00 0A Number of read bytes
CIO 2004 10 00 Read data storage location (rightmost 4 digits)
CIO 2005 0 0 00 Data storage area Bank designation* Read data storage location (leftmost 2
digits)
CIO 2006 00 00 ---
#0010
2002
#000A
2003
#00001000
2004
30
Part Names and Functions Section 3-3
TEST TEST
Communications test switch
ON ON
HEAD HEAD1
HEAD2
(Side)
Slider
Expansion connector
Slider
31
Part Names and Functions Section 3-3
3-3-2 Indicators
The indicators show the operating status of the Unit. The relationship between
the indicator status and the Unit status is shown in the following table.
Indicator Name Color Meaning
RUN RUN Green Lit The ID Sensor Unit is operating normally.
Not lit The ID Sensor Unit is stopped.
ERC Unit error Red Lit An error has occurred in the ID Sensor Unit.
(Error I/O Controller) Not lit No error has occurred in the ID Sensor Unit.
ERH CPU Unit error Red Lit An error has occurred in the CPU Unit.
(Error at Host) Not lit No error has occurred in the CPU Unit.
ERP Head power error Red Lit An error has occurred in the power supply to the
(Head Power Error) R/W Head.
Not lit The power supply to the R/W Head is normal.
Head 1 T/R Communicating Yellow Lit Communications are active.
NORM/ERR Normal end Green Lit Communications with the Data Carrier ended
normally.
Error end Red Lit Communications with the Data Carrier ended in
an error.
Head 2 T/R Communicating Yellow Lit Communications are active.
NORM/ERR Normal end Green Lit Communications with the Data Carrier ended
normally.
Error end Red Lit Communications with the Data Carrier ended in
an error.
32
Connections and Wiring Section 3-4
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.
Rubber molding
Ring
Note The connector cannot be removed if you hold onto the rubber molding. Never
pull on the cable with excessive force. The conductors may be broken or dam-
aged.
33
Connections and Wiring Section 3-4
(2)
Floor ducts Conduits
Suspended ducts
If the same ducts must be used, shielded cables can be used to increase
resistance to noise. 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.
IN OUT L
OUT
+
Relay contact output
Transistor output
COM Diode
Note Use surge killers and diodes that meet the following conditions:
Surge Killers
Resistance: 50 Ω
Capacitance: 0.47 µF
Voltage: 200 V
Diodes
Noise Countermeasures Consider the following items when wiring external lines, such as the R/W
for External Wiring Head cables, I/O lines, power supply lines, and high-power lines.
• When using multiconductor cables for signal lines, do not use the same
cable for both I/O lines and other control lines.
34
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
• When placing cables in the same duct, separate them with grounded iron
plates.
SYSMAC power supply
lines and general
PLC I/O lines control circuit lines Power lines Iron plate
200 mm min.
35
Connections and Wiring Section 3-4
36
SECTION 4
Data Exchange with the CPU Unit
This section describes the methods used to exchange data with the CPU Unit and the data that is exchanged.
37
Outline of Data Exchange Section 4-1
to CIO 2000 + 10 × n + 9
Exchanged continuously.
Head 2 CIO 2010 + 10 × n I/O refresh period
Output data
to CIO 2010 + 10 × n + 6
10 words
CIO 2010 + 10 × n + 7
Input data • Output data
to CIO 2010 + 10 × n + 9 • Input data
Head 2
Exchanged continuously.
DM Area
D20000 + 100 × n Initial Settings
Head 1 D20000 + 100 × n + 1
System Settings
(Not used.)
D20000 + 100 × n + 99 initial settings transferred.
D20100 + 100 × n
Head 2 D00100 + 100 × n + 1
System Settings
100 words Auto Wait Time Power turned ON Unit Settings, Auto Wait
or Unit restarted.
Head 2
38
Outline of Data Exchange Section 4-1
1 09 1 09
32
32
87
87
6 54 6 54
CJ1W-V600C11/C12
T/R NO
RM/ER
R
87
1 09
6 54
11
V600C ERC
RUN
32
H
ERP ER
87
1 09
6 54
TEST
32
ON
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.
2. When a Double-head ID Sensor Unit (CS1W-V600C12,CJ1W-V600C12)
is used, two unit numbers are allocated.
39
Outline of Data Exchange Section 4-1
Exchanged data will be all zeros while the Unit is being restarted.
Note Replace the ID Sensor Unit if an error cannot be cleared even after turning
the power supply OFF and ON or after turning ON the Special I/O Unit Restart
Bit.
40
Initial Settings Data Section 4-2
D20000 + 100 × n to
Unit n
D20000 + 100 × n + 99
D20000 + 100 × n to
Unit n
D20100 + 100 × n + 99
Note 1. The words allocated to the ID Sensor Unit in the DM Area are determined
by the setting of the unit number switches on the Unit’s front panel. Set unit
numbers so that the same words are not allocated to more than one 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
Programming Console), and the PLC will not operate.
41
Initial Settings Data Section 4-2
Note First word allocated to Unit in DM Area: m = D20000 + 100 × unit No.
42
I/O Data Allocations Section 4-3
Note 1. The words allocated to the ID Sensor Unit in the Special I/O Unit Area are
determined by the setting of the unit number switches on the Unit’s front
panel. Set unit numbers so that the same words are not allocated to more
than one 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
Programming Console), and the PLC will not operate.
43
I/O Data Allocations Section 4-3
Outputs
I/O Word address Bit No. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12 or
CS1W- CJ1W-V600C12
V600C12,
CJ1W-
V600C11, or
CJ1W-V600C12
Output n n + 10 03 to 15 Unit Con- --- Not used
02 trols Abort Bit Execution is aborted if this bit
is turned ON during command
execution.
01 Error Reset Bit If this bit is turned ON while
the ID Sensor Unit is waiting
for the Command Execution
Bit to be turned ON, the
Results Information in word (n
+ 8) will be cleared.
00 Command Exe- When this bit is turned ON,
cution Bit the ID Sensor Unit will inter-
pret the command and start
execution.
n+1 n + 11 08 to 15 Command Command Code Specify the command to be
executed.
04 to 07 Communica- Specify the communications
tions Specifica- method with the Data Carrier.
tion
00 to 03 Processing Specify details of command
Specification execution.
n+2 n + 12 00 to 15 Processing Specify the processing start
Address address in the Data Carrier.
n+3 n + 13 00 to 15 Number of Pro- Specify the number of pro-
cessing Bytes cessing bytes in the Data Car-
rier
n+4 n + 14 00 to 15 Data Stor- Data Storage Specify the storage word
age Area Word Address address in BCD.
(rightmost 4 dig-
its)
n+5 n + 15 12 to 15 Data Storage Specify the data storage area.
Area
08 to 11 Bank Specifica- If the EM Area is specified,
tion specify the bank number.
00 to 07 Data Storage Specify the storage word
Word Address address in 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.
44
I/O Data Allocations Section 4-3
45
I/O Data Allocations Section 4-3
1: Rightmost to Leftmost
Data Carrier
Address Bit Bit CPU Unit Memory
(hex) 7 0 Bit Bit
CIO 0010 0 1 15 00
CIO 0011 0 2 D1000 02 01
CIO 0012 0 3 D1001 04 03
CIO 0013 0 4 D1002 06 05
CIO 0014 0 5 D1003 08 07
CIO 0015 0 6
D1004 0A 09
CIO 0016 0 7
CIO 0017 0 8 →: Read data storage order
CIO 0018 0 9
CIO 0019 0 A
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.
46
I/O Data Allocations Section 4-3
Inputs
I/O Word address Bit No. Type Bit name Description
Head 1 of CS1W- Head 2 of CS1W-
V600C11, CS1W- V600C12 or
V600C12, CJ1W- CJ1W-V600C12
V600C11, or
CJ1W-V600C12
Input n+7 n + 17 15 Unit Unit Busy Flag Turns ON when there is an ID Sensor Unit
Status error.
14 Test Mode Flag Turns ON during Test Mode.
13 Head Power Sup- Turns ON when there is an error in the
ply Error Flag Unit’s 24-V power supply or the input power
supply.
12 Memory Error Turns ON when there is an error in ID Sen-
Flag sor Unit memory.
03 to 11 --- Not used
02 Error End Flag ON for one scan when processing ends in
an error.
01 Normal End Flag ON for one scan when processing ends nor-
mally.
00 ID Busy Flag Turns ON while communications are in
progress.
47
I/O Data Allocations Section 4-3
48
I/O Data Allocations Section 4-3
Error Codes
Error classification Error Codes Error
Communications 7C Head error
error with Data Car- 71 Verification error
rier
7A Data Carrier address error
70 Data Carrier communications error
7D Write protection error
72 Data Carrier missing error
7B Battery warning
76 Status Flag
Note The processing results monitor will not change for a command setting error.
49
I/O Data Allocations Section 4-3
50
SECTION 5
ID Sensor Unit Functions
51
Operating Modes Section 5-1
Note 1. If the ID Sensor Unit is changed to Test Mode while a command is being
executed, command execution will be completed and then Test Mode will
be entered.
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.
52
Communications Specifications Section 5-2
5-2-1 Trigger
When a trigger is specified, communications are performed with the Data Car-
rier when the Command Execution Bit (word n, bit 0) in the Special I/O Unit
Area turns ON and command execution is ended when communications have
been completed. If there is no Data Carrier in the communications area when
the 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)). Use a sensor or other method to detect the presence of a Data
Carrier before turning ON the Command Execution Bit.
Communications are
performed with a Data
Carrier already in the
communications area
when the Command
Execution Bit turns ON.
Data Carrier
Communications area
R/W Head
ID Busy Flag
53
Communications Specifications Section 5-2
Data Carrier
Communications area
R/W Head
ID Busy Flag
54
Communications Specifications Section 5-2
Communications area
R/W Head
ID Busy Flag
Results Results Results
Normal End Flag
Error End Flag Waiting for Data Carrier Waiting for Data Carrier Waiting for Data Carrier
Abort processing
Communications with
Data Carrier
Comm. A Comm. B Comm. C
55
System Settings and Auto Wait Time Setting Section 5-3
Verification Setting Verification can be enabled for write operations, or verification can be dis-
abled to shorten the communications time. The verification setting is valid for
all commands except for Read and Data Check with a processing specifica-
tion of verification.
DM Area address Bit No. Description Default
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
m m + 100 04 to 0 Verify write operations. 0
07 1 Do not verify write operations. (Verifica-
tion)
56
System Settings and Auto Wait Time Setting Section 5-3
Communications Mode This setting is valid only when accessing EEPROM (battery-free) Data Carri-
Setting ers. It is ignored for SRAM (built-in battery) Data Carriers. For details, refer to
the user manual for the R/W Heads and Data Carriers.
DM Area address Bit No. Description Default
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
m m + 100 00 to 0 Communicate using the Com- 0
03 munications Distance Priority (distance
Mode. priority)
1 Communicate using the Com-
munications Time Priority
Mode.
Note 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No.
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. DM Area setting data is transferred to Special I/O Units
only when the power supply is turned ON or the Special I/O Unit Restart
Bit is turned ON.
57
System Settings and Auto Wait Time Setting Section 5-3
ID Busy Flag
Note 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No.
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. DM Area setting data is transferred to Special I/O Units
only when the power supply is turned ON or the Special I/O Unit Restart
Bit is turned ON.
58
Data Carrier Memory Section 5-4
1 byte
Manufacturing Date There is no manufacturing date area. The start address is the write protection
Format setting.
Note A Data Carrier address error will occur if the Processing Address or Number
of Processing Bytes specified for a Bit Set, Bit Clear, Mask Bit Write, Calcula-
tion Write, or Number of Writes Control command results in communications
across multiple pages. When using these commands, specify the Processing
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.
59
Data Carrier Memory Section 5-4
0009
000A
000B
000C
000F
0010
00FF
0100
1 byte
Manufacturing Date The manufacturing date is written to the first two bytes at the factory to facili-
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.
Manufacturing Date
Address Bit No.
7 6 5 4 3 2 1 0
0000 10s digit of month 1s digit of month
0001 10s digit of year 1s digit of year
Note 1. The rightmost two digits are given for the year (1992: “92”)
2. The month is expressed as a 2-digit number
(March: “03” and October: “10”)
Example: Manufacturing Date of September 1992
Address Bit No.
7 6 5 4 3 2 1 0
0000 0 0 0 0 1 0 0 1
0 9
0001 1 0 0 1 0 0 1 0
9 2
60
Write Protection Section 5-5
Address (hex)
0000
0001
Write-protected
area
0012
00FD
61
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.
7 6 5 4 3 2 1 0
0000 1 0 0 0 0 0 0 0
8 0
Address (hex)
0000
0001
Write-protected
area
00FD
Clearing Write Protection To clear write protection, set bit 7 of address 0000 (hex) to 0. Write protection
will be cleared and the end address set in address 0000 (hex) will be dis-
abled. When clearing write protection, write only to the write protection setting
area (1 byte starting from address 0000). If other addresses are written to, a
write protection error will occur and write protection will not be cleared.
62
Write Protection Section 5-5
Write Protection Settings Example for Data Carrier with a Memory Capacity of 2 Kbytes
1,2,3... 1. The following settings will write-protect addresses 0015 (hex) to 0120
(hex) (start address < end address).
Address Bit No.
7 6 5 4 3 2 1 0
0002 1 0 0 0 0 0 0 0
8 0
0003 0 0 0 1 0 1 0 1
1 5
0004 0 0 0 0 0 0 0 1
0 1
0005 0 0 1 0 0 0 0 0
2 0
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
0120
Write-protected
area
07FF
3. If the specified end address exceeds the end address of the Data Carrier
(end address > 07FF (hex)), the Data Carrier memory area will be write-
protected through address 07FF (hex), i.e., through the end of the Data
Carrier memory area.
Address (hex)
0000
0120
Write-protected
area
07FF
63
Data Carrier Life Check Section 5-6
4. If the start address exceeds the end address (start address > end ad-
dress), the areas from the start address to the end of the Data Carrier
memory area (address 07FF (hex)) and from address 0006 (hex) to the
specified end address will be write-protected.
Address (hex)
0000
0006
End address
Start address
07FF
Clearing Write Protection To clear write protection, set bit 7 of address 0002 (hex) to 0. Write protection
will be cleared and the end address and start address set in addresses 0002
(hex) to 0005 (hex) will be disabled. When clearing write protection, write only
to the write protection setting area (4 bytes starting from address 0002). If
other addresses are written to, a write protection error will occur and write pro-
tection will not be cleared.
64
Data Carrier Life Check Section 5-6
Results Information turns ON. If the value in the control area already exceeds
100,000 writes, the value will not be changed.
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
also possible to confirm the number of writes without updating the number of
writes value.
Write stage
Data written
Life confirmation
stage Life checked
Note For any one Data Carrier, use only an Add specification or a Subtract specifi-
cation for the Number of Writes Control command. If both specifications are
used for the same Data Carrier, the number of writes control will not be possi-
ble.
Application Example The following example uses 3 bytes starting at address 0010 (hex) as the
number of writes control area.
65
Data Carrier Life Check Section 5-6
4. The following illustration shows memory status when the total number of
writes has reached 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.
Bit Bit
Address 7 0
(hex)
000F
0010 0 1
0011 8 6
0012 A 0
0013
66
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.
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. 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 Data Carrier has a
limited life for any one address, so the number of writes must be counted for
the address that is written most frequently.) It is also possible to confirm the
number of writes without updating number of writes value.
Write stage
Data written
Life confirmation
stage Life checked
Note 1. For any one Data Carrier, use only an Add specification or a Subtract spec-
ification for the Number of Writes Control command. If both specifications
are used for the same Data Carrier, the number of writes control will not be
possible.
2. The number of writes value can be set as high as 16,700,000 write. The
life of an EEPROM Data Carrier, however, is 300,000 writes (= 0493E0
(hex)) at 40 °C or lower. Do not set values that exceed 300,000.
Application Example The following example uses 3 bytes starting at address 0010 (hex) as the
number of writes control area.
1,2,3... 1. A Write command is executed to set the control area to 300,000 writes.
Bit Bit
Address 7 0
(hex)
000F
0010 0 4
0011 9 3
0012 E 0
0013
67
Data Carrier Life Check Section 5-6
Bit Bit
Address 7 0
(hex)
000F
0010 0 4
0011 9 3
0012 D B
0013
3. The following illustration shows memory status when the total number of
writes has reached 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.
Bit Bit
Address 7 0
(hex)
000F
0010 0 0
0011 0 0
0012 0 0
0013
68
Data Check Section 5-7
Note 1. For a Data Carrier with a replaceable battery (V600-D2KR16), the battery
is checked when any address is read or written.
2. The Data Carriers contain a lithium/thionyl chloride battery. If this battery
is not used for several months, the internal resistance in the battery will in-
crease. Because of this, the low battery check may detect a low battery for
a Data Carrier even though the battery has sufficient life remaining. This is
due to the increased internal resistance in the battery and not to the life of
the battery. When using a Data Carrier that has not been used for months
after purchase, perform read operations for about 10 minutes to activate
the battery and return the internal resistance of the battery to normal sta-
tus. This will not meaningfully affect the life of the battery.
!WARNING The SRAM-type Data Carrier has a built-in lithium battery which can combust
or explode if mishandled. Do not disassemble the Data Carrier, or subject it to
high pressure or high temperatures (of 100 °C or more), or dispose of it by
incineration.
00
01
Area start
address
When the Data Check command is executed to verify the check code, the
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
turn ON. If they are not the same, the Error End Flag (word (n + 7), bit 02) in
69
Data Check Section 5-7
Unit Status will turn ON, and the Status Flag (word (n + 8), bit 04) in the
Results Information will turn ON as a warning.
Application Method After writing the data, the Data Check command is executed with a Calcula-
tion processing specification to calculate and write the check code. Before
reading the data, the Data Check command is executed with a Verification
processing specification to verify the check code. This enables detecting inter-
nal data corruption that might occur in the Data Carrier when the data is not
being accessed.
Write stage
Data written
Read stage
Check code verified
Data read
Application Example The following example checks the data in addresses 0010 (hex) to 0012 (hex).
Bit Bit
Address 7 0
(hex)
000F
0010 1 2
0011 3 4
0012 5 6
0013
0014
0015
2. The Data Check command is executed to calculate the check code for
5 bytes beginning with address 0010 (hex). The CRC Code 5CD6 (hex)
calculated from the data “123456” is written to addresses 0013 (hex) and
0014 (hex).
Bit Bit
Address 7 0
(hex)
000F
0010 1 2
0011 3 4
0012 5 6
0013 5 C
0014 D 6
0015
70
Data Check Section 5-7
3. The Data Check command is executed to verify the check code for 5 bytes
beginning with address 0010 (hex). If the data is normal, the Normal End
Flag in Unit Status (word (n+7), bit 01) is turned ON.
Bit Bit
Address 7 0
(hex)
000F
0010 1 2
0011 3 4
0012 5 6
0013 5 C
0014 D 6
0015
If the check codes are not the same, the Error End Flag (word (n + 7), bit
02) in Unit Status is turned ON.
Bit Bit
Address 7 0
(hex)
000F
0010 0 0 Data error
0011 3 4
0012 5 6
0013 5 C
0014 D 6
0015
71
Data Check Section 5-7
72
SECTION 6
Controlling the ID Sensor Unit
This section describes how to control the ID Sensor Unit using commands from the PLC’s CPU Unit.
73
ID Sensor Unit Operation Section 6-1
Data Carrier
Head
MOV, OUT, etc. Special I/O
Unit Area
Unit controls Command
Commands interpretation
Data storage area n to (n + 6) and execution
Note 1. The ID Sensor Unit will complete execution of any command that is being
executed even if the 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.
74
ID Sensor Unit Operation Section 6-1
Data Carrier
Head
n to (n + 6)
(5) (5)
(4)
(n + 7)
(7) (8)
(n + 8) (6)
to (n + 9)
1,2,3... 1. Use the MOV, OUT, or other instructions in the user program to set data in
the Special I/O Unit Area.
2. Turn ON the Command Execution Bit (word n, bit 00).
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.
5. The ID Sensor Unit will execute the processing specified by the command
for the Data Carrier.
6. If command execution ends normally, the Results Information and Pro-
cessing Results Monitor will be set and the read data will be transferred to
the data storage area. Data transfer to CPU Unit memory will be split into
transmissions of 160 bytes each.
7. After data is stored, the Normal End Flag (word (n + 7), bit 01) will turn ON,
and the ID Busy Flag will turn OFF.
8. The Normal End Flag will turn ON for one scan only, but the Results Infor-
mation will be held until the Error Reset Bit is turned ON or until the next
communications command is received.
Note If communications with the Data Carrier fail or an error occurs, communica-
tions will be aborted at that point, the bits in the Results Information (word (n +
8)) will turn ON accordingly and the error code will be placed in the Process-
ing Results Monitor (word (n + 9)). Then the Error End Flag (word (n + 7), bit
02) will turn ON and the ID Busy Flag will turn OFF. The Error End Flag will
turn ON for one scan only.
75
ID Sensor Unit Operation Section 6-1
n to (n + 6)
(4)
(n + 7)
(8) (9)
(n + 8)
to (n + 9) (7)
Data Carrier
(6) R/W (6)
Head
Data storage (5) Read (6) (6)
area data
1,2,3... 1. Use the MOV, OUT, or other instructions in the user program to set data in
the Special I/O Unit Area.
2. Turn ON the Command Execution Bit (word n, bit 00).
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.
5. The data will be transferred from the specified data storage area. Data
transfer from CPU Unit memory will be split into transmissions of 160 bytes
each.
6. The ID Sensor Unit will execute the processing specified by the command
for the Data Carrier.
7. If command execution ends normally, the Results Information (word (n +
8)) and Processing Results Monitor (word (n + 9)) will be set.
8. The Normal End Flag (word (n + 7), bit 01) will turn ON, and the ID Busy
Flag will turn OFF.
9. The Normal End Flag will turn ON for one scan only, but the Results Infor-
mation will be held until the Error Reset Bit is turned ON or until the next
communications command is received.
Note If communications with the Data Carrier fail or an error occurs, communica-
tions will be aborted at that point, the bits in the Results Information (word (n +
8)) will turn ON accordingly and the error code will be placed in the Process-
ing Results Monitor (word (n + 9)). Then the Error End Flag (word (n + 7), bit
02) will turn ON and the ID Busy Flag will turn OFF. The Error End Flag will
turn ON for one scan only.
76
ID Sensor Unit Operation Section 6-1
Data Carrier A
Unit Area (1) (2) (5) R/W (5)
Head 1
n to (n + 6)
(5) (5)
(4)
(n + 7)
(8) (9) Read
data
(n + 8)
to (n + 9) (7)
Data Carrier B
(6) R/W (6)
Head 2
Data storage
area (6) (6)
1,2,3... 1. Use the MOV, OUT, or other instructions in the user program to set data in
the Special I/O Unit Area.
2. Turn ON the Command Execution Bit (word n, bit 00).
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.
5. Data will be read from Data Carrier A.
6. The data read from Data Carrier A will be written to Data Carrier B.
7. If command execution ends normally, the Results Information (word (n +
8)) and Processing Results Monitor (word (n + 9)) will be set.
8. The Normal End Flag (word (n + 7), bit 01) will turn ON, and the ID Busy
Flag will turn OFF.
9. The Normal End Flag will turn ON for one scan only, but the Results Infor-
mation will be held until the Error Reset Bit is turned ON or until the next
communications command is received.
Note If communications with either Data Carrier fail or an error occurs, communica-
tions will be aborted at that point, the bits in the Results Information (word (n +
8)) will turn ON accordingly and the error code will be placed in the Process-
ing Results Monitor (word (n + 9)). Then the Error End Flag (word (n + 7), bit
02) will turn ON and the ID Busy Flag will turn OFF. The Error End Flag will
turn ON for one scan only.
77
Communications Commands Section 6-2
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.
78
Communications Commands Section 6-2
Note Check the memory capacity of the Data Carriers before setting the Process-
ing Address and Number of Processing Bytes. If the Processing Address and
Number of Processing Bytes are not suitable for the Data Carriers for which
communications are being performed, the Data Carrier Address Error Flag
(word (n + 8), bit 13) will turn ON.
79
Communications Commands 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. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+1 n + 11 08 to 15 Command Command code 01 (hex)
04 to 07 Communications Specifi- Specify the communications method
cation (Refer to page 52.) with the Data Carrier.
0 Trigger
1 Single auto
2 Repeat auto
00 to 03 Processing Specification Specify the write data storage order.
(Refer to page 46.) 0 Leftmost → Rightmost
1 Rightmost → Leftmost
n+2 n + 12 00 to 15 Processing Address Specify the first Data Carrier address to
write.
n+3 n + 13 00 to 15 Number of Processing Specify number of Data Carrier write
Bytes bytes.
n+4 n + 14 00 to 15 Data stor- Data Storage Word Specify the write data storage destina-
age area Address (rightmost 4 dig- tion. Refer to page 46 for details.
its)
n+5 n + 15 12 to 15 Data Storage Area
08 to 11 Bank Specification
00 to 07 Data Storage Word
Address (leftmost 2 dig-
its)
n+6 n + 16 00 to 15 Option Command Option Not used
80
Communications Commands Section 6-2
Bit Set Reads the specified number of bytes from the specified start address and sets
the specified bits to 1. For the Designation Data, set a hexadecimal value with
the bits to be set to 1 turned ON.
Up to 4 bytes (i.e., 2 words) can be specified for one command execution.
The following example shows specifying 0120 (hex) for 2 bytes of data to set
bit 0 in byte 1 and bit 5 in byte 2.
Designation Data in Data Written to
Data Carrier Data Data Storage Area Data Carrier
Bit Bit Bit Bit Bit Bit
7 0 7 0 7 0
1 10000000 1 00000001 1 10000001
=
2 00000001 2 00100000 2 00100001
The data in boxes is set.
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 page 59). If processing is performed for which
the write area extends across more than one page is performed for this
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-
ed.
81
Communications Commands Section 6-2
4. Check the memory capacity of the Data Carriers before setting the Pro-
cessing Address and Number of Processing Bytes. If the Processing Ad-
dress and Number of Processing Bytes are not suitable for the Data
Carriers for which communications are being performed, the Data Carrier
Address Error Flag (word (n + 8), bit 13) will turn ON.
Bit Clear Reads the specified number of bytes from the specified start address and
clears the specified bits to 0. For the Designation Data, set a hexadecimal
value with the bits to be cleared to 0 turned ON.
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 Designation Data in Data Written to
Data Storage Area Data Carrier
Bit Bit Bit Bit Bit Bit
7 0 7 0 7 0
1 10000000 1 00010000 1 10000000
=
2 00100001 2 00000001 2 00100000
3 00000001 3 01000000 3 00000001
The data in boxes is cleared.
82
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 page 59). If processing is performed for which
the write area extends across more than one page is performed for this
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-
ed.
4. Check the memory capacity of the Data Carriers before setting the Pro-
cessing Address and Number of Processing Bytes. If the Processing Ad-
dress and Number of Processing Bytes are not suitable for the Data
Carriers for which communications are being performed, the Data Carrier
Address Error Flag (word (n + 8), bit 13) will turn ON.
83
Communications Commands Section 6-2
Mask Bit Write Reads the 2 bytes of data from the specified start address, masks it with the
specified mask data, and writes data to the bits that are not masked. For the
mask data, set a hexadecimal value with the bits to be masked turned ON.
Each command execution processes 2 bytes (i.e., 1 word).
Example for a Masked Bit Write
Data Carrier Data Data Specified Data Written to
for Option Data Carrier
Bit Bit Bit Bit Bit Bit
7 0 7 0 7 0
1 00010010 1 11110000 1 00011101
=
2 00110100 2 00001111 2 11000100
The data in boxes is held.
Write Data in
Data Storage Area
Bit Bit
7 0
1 00001101
2 11000000
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.
2. Verification will not be performed if No Verification is set for writing.
84
Communications Commands Section 6-2
3. When using EEPROM (battery-free) Data Carriers, be sure the write area
is all on one page (refer to page 59). If processing is performed for which
the write area extends across more than one page is performed for this
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-
ed.
4. Check the memory capacity of the Data Carriers before setting the Pro-
cessing Address and Number of Processing Bytes. If the Processing Ad-
dress and Number of Processing Bytes are not suitable for the Data
Carriers for which communications are being performed, the Data Carrier
Address Error Flag (word (n + 8), bit 13) will turn ON.
Calculation Write Reads the specified number of bytes from the specified start address, per-
forms the specified operation with the data specified for the Command Option,
and writes the result.
The calculation result is stored in the data storage area.
Up to 4 bytes (i.e., 2 words) can be specified for one command execution.
Example for Additions
Data Carrier Data Data Specified Data Written to
for Option Data Carrier
Bit Bit Bit Bit Bit Bit
7 0 7 0 7 0
1 11111110 1 00000011 1 00000001
=
2 11111111 2 00000000 2 00000000
3 00000001 3 00000010
85
Communications Commands Section 6-2
86
Communications Commands Section 6-2
Data Fill Write the fill data to the specified number of bytes starting from the specified
start address in the Data Carrier.
Up to 2,048 bytes (i.e., 1,024 words) can be filled with one command execu-
tion, or the entire user area from the specified start address can be filled.
Word address Bit No. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+1 n + 11 08 to 15 Command Command code 06 (hex)
04 to 07 Communications Specifi- Specify the communications method
cation (Refer to page 52.) with the Data Carrier.
0 Trigger
1 Single auto
2 Repeat auto
00 to 03 Processing Specification Specify the fill data size.
0 Bytes (Command option rightmost
8 bits)
1 Words
n+2 n + 12 00 to 15 Processing Address Specify the first Data Carrier address to
write.
n+3 n + 13 00 to 15 Number of Processing Specify number of Data Carrier write
Bytes bytes.
n+4 n + 14 00 to 15 Data stor- Data Storage Word Not used
age area Address (rightmost 4 dig-
its)
n+5 n + 15 12 to 15 Data Storage Area
08 to 11 Bank Specification
00 to 07 Data Storage Word
Address (leftmost 2 dig-
its)
n+6 n + 16 00 to 15 Option Command Option 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.
3. Verification will not be performed if No Verification is set for writing.
4. Check the memory capacity of the Data Carriers before setting the
Processing Address and Number of Processing Bytes. If the Processing
Address and Number of Processing Bytes are not suitable for the Data
Carriers for which communications are being performed, Data Carrier
Address Error Flag (word (n + 8), bit 13) will turn ON.
87
Communications Commands Section 6-2
Data Check Finds the CRC code for the data area from the specified start address to 2
bytes less that the specified number of bytes and writes 2 bytes of data.
From 3 to 2,048 bytes of data can be specified for one command execution.
Word address Bit No. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+1 n + 11 08 to 15 Command Command code 07 (hex)
04 to 07 Communications specifi- Specify the communications method
cation (Refer to page 52.) with the Data Carrier.
0 Trigger
1 Single auto
00 to 03 Processing Specification Specify the process.
0 CRC calculation
1 CRC verification
n+2 n + 12 00 to 15 Processing Address Specify the Data Check Start address
in the Data Carrier.
n+3 n + 13 00 to 15 Number of Processing Specify the number of bytes in the data
Bytes check range in the Data Carrier plus 2
bytes.
n+4 n + 14 00 to 15 Data stor- Data Storage Word Not used
age area Address (rightmost 4 dig-
its)
n+5 n + 15 12 to 15 Data Storage Area
08 to 11 Bank Specification
00 to 07 Data Storage Word
Address (leftmost 2 dig-
its)
n+6 n + 16 00 to 15 Option Command Option Not used
88
Communications Commands 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.
Word address Bit No. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+1 n + 11 08 to 15 Command Command code 08 (hex)
04 to 07 Communications Specifi- Specify the communications method
cation (Refer to page 52.) with the Data Carrier.
0 Trigger
1 Single auto
00 to 03 Processing Specification Specify the count update method.
0 Add
1 Subtract
n+2 n + 12 00 to 15 Processing Address Specify the start address of the Num-
ber of Writes Control Area in the Data
Carrier.
n+3 n + 13 00 to 15 Number of Processing Not used
Bytes
n+4 n + 14 00 to 15 Data stor- Data Storage Word Specify the number of writes storage
age area Address (rightmost 4 dig- area. Refer to page 46 for details.
its)
n+5 n + 15 12 to 15 Data Storage Area
08 to 11 Bank Specification
00 to 07 Data Storage Word
Address (leftmost 2 dig-
its)
n+6 n + 16 00 to 15 Option Command Option Number of writes (0 to 255)
89
Communications Commands Section 6-2
Copy (Double-head Unit ID This command is supported by Double-head ID Sensor Units only. Data is
Sensor Units Only) read from the Data Carrier for one R/W Head and written to the memory of a
Data Carrier in the communications area for the other R/W Head.
Writing to the second Data Carrier is always performed with a trigger.
Word address Bit No. Type Bit name Description
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+1 n + 11 08 to 15 Command Command code 09 (hex)
04 to 07 Communications Specifi- Specify the communications method
cation (Refer to page 52.) for the Data Carrier to be read.
0 Trigger
1 Single auto
00 to 03 Processing Specification Not used
n+2 n + 12 00 to 15 Processing Address Specify the first Data Carrier address to
read.
n+3 n + 13 00 to 15 Number of Processing Specify the number of Data Carrier
Bytes read bytes.
n+4 n + 14 00 to 15 Data stor- Data Storage Word Not used
age area Address (rightmost 4 dig-
its)
n+5 n + 15 12 to 15 Data Storage Area
08 to 11 Bank Specification
00 to 07 Data Storage Word
Address (leftmost 2 dig-
its)
n+6 n + 16 00 to 15 Option Command Option Specify the first Data Carrier address to
write.
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.
3. The Communications Specification for the Head that writes data will al-
ways be a trigger regardless of the specified communications method.
4. The Status Flag (word (n + 8), bit 04) in the Results Information will turn
ON if an error occurs in the Head that writes data.
5. Confirm that the Head that writes data is not communicating before turning
ON the Command Execution Bit. If the Head that writes data is communi-
cating, the Status Flag (word (n + 8), bit 04) in the Results Information will
turn ON.
6. Confirm the capacity of both the Data Carrier being read and the one being
written before using this command. If the Processing Address and Number
of Processing Bytes for the Head that write data are not suitable for the
Data Carrier being communicated with, the Status Flag (word (n + 8), bit
04) in the Results Information will turn ON.
90
Communications Time Section 6-3
600
Formulas (ms)
400
Communications time
0
Write with no verification T = 2.2 N + 72.8
1 50 100 150 200 250 N: Number of processed bytes
No. of bytes processed
1,500
Write with no verification
Formulas (ms)
1,000
Communications time
Read
Read T = 4.3 N + 64.6
500
Write with verification T = 8.7 N + 167.1
Write with no verification T = 4.3 N + 132
0 100 200 300 N: Number of processed bytes
No. of bytes processed
2,000
Write with verification
1,500
Write with no verification
Formulas (ms)
1,000
Communications time
Read T = 1.8 N + 79.0
500
Write with verification T = 7.1 N + 180.4
Read
Write with no verification T = 4.3 N + 132
0 100 200 300 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 page 41.)
2. The communications time for SRAM (built-in battery) Data Carriers does
not depend on the communications mode.
91
Communications Time Section 6-3
Data Carrier Travel Speed The Data Carrier travel speed can be calculated using the following formula.
Travel speed = Travel distance in communications area/communications time
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.
Travel distance in
communications area
Data Carrier
Communications
area
R/W Head
Note 1. The travel speed will change with the communications distance and axis
displacement. We recommend using the widest part of the area.
2. The above calculation formula is provided only as a guideline. Perform
tests with the actual system before application.
3. Communications error processing is not included in the above calculation
formula.
92
SECTION 7
Troubleshooting Alarms and Errors
This section describes troubleshooting errors that can occur during ID Sensor Unit operation.
93
Indicators and Error Check Flowcharts Section 7-1
CJ1W-V600C11 CJ1W-V600C12
V600C11 V600C12
RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
HEAD1
HEAD2
94
Indicators and Error Check Flowcharts Section 7-1
Error occurs
95
ID Sensor Unit Alarms Section 7-2
CJ1W-V600C11 CJ1W-V600C12
V600C11 V600C12
RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
HEAD1
HEAD2 Lit:
ERP ERH ERP ERH T/R NORM/ERR Not lit:
If both the ERC and RUN indicators are lit, an alarm occurred during Unit
operation. The Alarm Flags in the Unit Status (word (n + 7)) (and, for a Dou-
ble-head ID Sensor Unit, word (n + 17)) in the Special I/O Unit Area will be
written.
96
ID Sensor Unit Alarms Section 7-2
The Unit will recover from these alarms automatically when the cause of the
alarm is removed.
Word address Name of alarm Meaning Unit response Correction
Head 1 of Head 2 of
CS1W- CS1W-
V600C11, V600C12
CS1W- or CJ1W-
V600C12, V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n+7 n + 17
Bit 15 ID Sensor Unit A CPU error Unit operation Turn the power supply OFF and ON or
CPU error occurred during will stop. turn ON the Special I/O Unit Restart Bit
ID Sensor Unit 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 CS1W-V600C12
V600C11 V600C12
RUN ERP RUN ERP
ERC ERH ERC ERH
HEAD1 HEAD2
T/R T/R T/R
NORM/ERR NORM/ERR NORM/ERR
CJ1W-V600C11 CJ1W-V600C12
V600C11 V600C12
RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
HEAD1
HEAD2 Lit:
ERP ERH ERP ERH T/R NORM/ERR Not lit:
If the ERC indicator is lit and the RUN indicator is not lit, an alarm occurred in
the ID Sensor Unit immediately after the power supply was turned ON or
immediately after the Unit was restarted as a Special I/O Unit. The Alarm
Flags in the Unit Status (word (n + 7)) (and, for a Double-head ID Sensor Unit,
word (n + 17)) in the Special I/O Unit Area will be written.
97
ID Sensor Unit Alarms Section 7-2
Note First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
98
ID Sensor Unit Alarms Section 7-2
99
CPU Unit Errors Section 7-3
CJ1W-V600C11 CJ1W-V600C12
V600C11 V600C12
RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
HEAD1
HEAD2 Lit:
ERP ERH ERP ERH T/R NORM/ERR Not lit:
The ERH and RUN indicators will light when an error occurs on the I/O bus or
a WDT (watchdog timer) error occurs in the CPU Unit, preventing data from
being correctly refreshed for the ID Sensor Unit as a Special I/O Unit. If this
happens, either turn the power supply OFF and ON or restart the system.
Refer to the SYSMAC CS-series PLC Operation Manual for details.
Error name Error Unit response
I/O bus error An error occurred in data transfer Unit operation will
between the CPU Unit and the ID Sen- stop.
sor Unit.
CPU Unit monitor An error occurred because there was
error no response from the CPU Unit.
CPU Unit WDT error An error occurred in the CPU Unit.
CJ1W-V600C11 CJ1W-V600C12
V600C11 V600C12
RUN ERC T/R NORM/ERR RUN ERC T/R NORM/ERR
HEAD1
HEAD2 Lit:
ERP ERH ERP ERH T/R NORM/ERR Not lit:
There is an error in the unit number setting for the ID Sensor Unit.
Error name Error Unit response
Unit No. duplication The same unit number is set for more Unit operation will
than one Unit or was set to a value that stop.
is not between 00 and 95.
Special I/O Unit set- The model of Special I/O Unit regis-
ting error tered in the I/O table does not agree
with the model of Special I/O Unit
mounted in the system.
100
Restarting Special I/O Units Section 7-4
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.
101
Troubleshooting Section 7-5
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.
Main Check
Normal
Go to the Communications
Are Data Carrier
communications normal? Error Check Flowchart on
page 104.
Normal
102
Troubleshooting Section 7-5
Connectors and NO
cables OK?
Single-head Unit? NO
Current consumption
for all Units on NO
Rack < Power Supply
Unit capacity?
Change configuration to not
exceed power supply capacity.
NORM/ERR
indicator lit red? YES
NO
T/R or NORM/ERR
flashing for either Head? NO
YES
103
Troubleshooting Section 7-5
Clear DM m in words
allocated in DM Area.
Turn ON communications
test switch on front panel.
T/R and
NORM/ERR indicators
flashing for each Head?
NO
YES
Distance
CIO n+9 = E070? YES between DC and YES Travel speed OK? YES Alignment OK? YES Data Carrier OK? YES
Head OK?
NO NO NO NO
NO
Adjust system to maintain
Correct distance. Reduce travel speed. a consistent distance. Replace Data Carrier.
NO
NO
Replace Data Carrier.
EEPROM
CIO n+9 = E07B? YES NO Data Carrier OK? YES
Data Carrier?
YES NO
NO
Replace Data Carrier. Replace Data Carrier.
YES
NO
Replace R/W Head.
NO
YES NO
Replace the ID Sensor
Unit.
OK Replace Data Carrier.
Note 1. First word allocated to Unit in DM Area: m = D20000 + 100 × unit No.
2. First word allocated to Unit in CIO Area: n = CIO 2000 + 10 × unit No.
104
Appendix A
Dimensions
CS1W-V600C11
(193)
Six operation status
indicators
3 × 4 = 12
123
9
Switches
0 1
11.9
52.4
5.6
35.5
20.8
130
Connector
101
35
CS1W-V600C12
(193)
Eight operation status
indicators
3 × 4 = 12
123
9
Switches
0 1
11.9
52.4
5.6
35.5
20.8
130
25
51
Connectors
3.6
15 101
35
With cover:
Terminals 16.5
105
Dimensions Appendix A
CJ1W-V600C11
(140)
21
Six operation status
10.5 indicators 65
4.9
2.7
4.5
Switches
4.5
7.7
29
18.1
20
12.5
4.7
5.5
90
17.3
2.7
31
Connector
CJ1W-V600C12
(140)
21
Eight operation status
10.5 indicators 65
4.9
2.7
4.5
Switches
4.5
7.7
29
18.1
20
12.5
4.7
5.5
90
17.3
29.2
2.7
31
Connectors
106
Appendix B
Sample Programming
Communications
area
R/W Head 1
Unit Settings
Item Setting Setting location
Unit No. 00 Unit’s front panel unit number switches: 00
Operating mode Normal Mode Unit’s front panel communications test switch: OFF
System Settings Operating mode switch enabled Set in the Special I/O Unit words in DM Area.
Write verification setting
Communications mode: Communications
distance priority
Auto Wait Time Set- Infinite
ting
Command Read Set in the Special I/O Unit Area.
Communications Single auto
specification
Read data storage Leftmost → Rightmost
order
Read start address 0010 (hex)
Number of bytes to 10 bytes
read
Read data storage D1000 to D1004
destination
107
Sample Programming Appendix B
First word allocated to Unit in CIO Area: n = CIO 2000 + (10 × 0) = CIO 2000
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2001 0 0 1 0 Command code Communications Data order
specification
CIO 2002 00 10 First read address
CIO 2003 00 0A Number of read bytes
CIO 2004 10 00 Read data storage location (rightmost 4 digits)
CIO 2005 0 0 00 Data storage area Bank designation Read data storage location (leftmost 2
(Always 0) digits)
CIO 2006 00 00 ---
---: Ignored.
108
Sample Programming Appendix B
Programming Example
When the execution input turns ON, settings are made in the Special I/O Unit Area using the MOV and MOVL
instructions and the command is executed. 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.
To end command execution while waiting for the Data Carrier, turn ON the Abort Input.
#0010
2002
#000A
2003
#00001000
2004
0010.01 2000.00
Error end
109
Sample Programming Appendix B
Abort Bit
Word n, bit 02
ID Busy
Word (n+7), bit 00 Communications Waiting for
processing 1 scan Data Carrier
Note 1. If communications with the Data Carrier fail or an error occurs, communications will be aborted at that
point, the error flags in the Results Information (word (n + 8)) will turn ON accordingly, and the error
code will be placed in the 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.
3. 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.
4. Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag
is ON). It will be ignored.
110
Sample Programming Appendix B
Communications
area
R/W Head 2
111
Sample Programming Appendix B
First word allocated to Unit in CIO Area: n = CIO 2000 + (10 × (0 + 1)) = CIO 2010
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2011 0 0 2 1 Command code Communications Data order
specification
CIO 2012 00 10 First read address
CIO 2013 00 0A Number of read bytes
CIO 2014 10 00 Read data storage location (rightmost 4 digits)
CIO 2015 5 0 00 Data storage area Bank designation Read data storage location (leftmost 2
digits)
CIO 2016 00 00 ---
---: Ignored.
112
Sample Programming Appendix B
Programming Example
When the execution input turns ON, settings are made in the Special I/O Unit Area using the MOV and MOVL
instructions and the command is executed. 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.
If more than 15 seconds elapse while waiting for the Data Carrier, the operation will be ended.
Execution ID Busy Test Mode Unit Busy
input
MOV Specification of command,
communications specifications
2017.00 2017.14 2017.15 and read data storage order.
Waiting for command #0021
execution (work bit)
2011
0010.01
Specification of first read address.
MOV
#0010
2012
#000A
2013
#50001000
2014
0010.01 2010.00
Error end
113
Sample Programming Appendix B
Command
Read
Words (n+1) to (n+4)
ID Busy
Word (n+7), bit 00 Waiting for Communications Waiting for Communications Waiting for
Data Carrier processing 1 scan Data Carrier processing 1 scan Data Carrier
More than 15 s
Normal End elapsed. 1 scan
Word (n+7), bit 01
Error End
Word (n+7), bit 02
Resulting Information 0000 Normal end 0000 Normal end Missing error
Word (n+8)
Note 1. If communications with the Data Carrier fail or an error occurs, communications will be aborted at that
point, the error flags in the Results Information (word (n + 8)) will turn ON accordingly, and the error
code will be placed in the Processing Results Monitor (word (n + 9)). The previous read data will not
be changed.
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)).
3. When the communications specification is set to repeat auto, either the Normal End Flag or the Error
End Flag will turn ON every scan for consecutive scans. The execution results can be correctly de-
termined by using the ON status of both the Normal End Flag and the Error End Flag in Unit Status.
4. 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.
5. Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag
is ON). It will be ignored.
114
Sample Programming Appendix B
Communications
area
R/W Head 1
Data Carrier
CS-series CPU Unit memory Address Bit Bit
Bit Bit (hex) 7 0
15 00 0010 0 1
D1100 02 01 0011 0 2
D1101 04 03 Write command 0012 0 3
D1102 06 05 executed 0013 0 4
D1103 0014 0 5
08 07
0015 0 6
→: Write data storage order 0016 0 7
0017 0 8
115
Sample Programming Appendix B
First word allocated to Unit in CIO Area: n = CIO 2000 + (10 × 55) = CIO 2550
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2551 01 0 1 Command code Communications Data order
specification
CIO 2552 00 10 First write address
CIO 2553 00 08 Number of write bytes
CIO 2554 11 00 Read data storage location (rightmost 4 digits)
CIO 2555 0 0 00 Data storage area Bank designation Read data storage location (lefttmost 2
(Always 0) digits)
CIO 2556 00 00 ---
---: Ignored.
116
Sample Programming Appendix B
Programming Example
When the execution input turns ON, settings are made in the Special I/O Unit Area using the MOV and MOVL
instructions and the command is executed. 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.
#0010
2552
#0008
2553
#00001100
2554
0010.01 2550.00
2557.01
Error end
117
Sample Programming Appendix B
ID Busy
Word (n+7), bit 00 Communications Waiting for
processing 1 scan Data Carrier
Normal End
Word (n+7), bit 01
1 scan
Error End
Word (n+7), bit 02
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). It will be ignored.
This example shows how to read data from the memory of Data Carrier A when it approaches R/W Head 1 and
then write the data to Data Carrier B in the communications area of R/W Head 2.
1. The Data Carrier is 2. The data is written
detected when it to the Data Carrier
enters the area and in the area when
the contents of the read operation
memory is read. is finished.
002E 1 5 001E 1 5
002F 1 6 001F 1 6
118
Sample Programming Appendix B
First Word Allocated to Unit in CIO Area: n = CIO 2000 + (10 × 77) = CIO 2770
Word Contents Meaning
address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIO 2771 09 1 0 Command code Communications ---
specification
CIO 2772 00 20 First processing address
CIO 2773 00 10 Number of processing bytes
CIO 2774 00 00 ---
CIO 2775 0 0 00 --- --- ---
CIO 2776 00 10 Command option
---: Ignored.
119
Sample Programming Appendix B
Programming Example
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. When communications with Data Carrier B have been completed, the Normal End Flag (word
(n + 7), bit 01) or Error End Flag (word (n + 7), bit 02) is turned ON.
#0020
2772
Specification of number of
MOV read (write) bytes.
#0010
2773
#0010
2776
0010.01 2770.00
2777.01
Error end
Abort Bit
Word n, bit 02
Command Copy
Words (n+1) to (n+6)
ID Busy
Word (n+7), bit 00
Head 1 Head 2
processing processing 1 scan
Normal End/Error End
Word (n+7), bits 01/02
120
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
is ON). It will be ignored.
121
Sample Programming Appendix B
122
Appendix C
Data Coding Tables
Communications
test switch setting (BCD)
0: Enabled Verification for Communications
writing (BCD) mode (BCD)
1: Disabled
0: Verification 0: Distance priority
1: No verification 1: Speed priority
Abort Bit
OFF: Not effective
ON: Command aborted Error Reset Bit
OFF: Not effective
ON: Resulting information
(n+8) cleared
123
Data Coding Tables Appendix C
Meaning
Word address
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
124
Data Coding Tables Appendix C
125
Data Coding Tables Appendix C
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
0111 7 BEL TC10(ETB) ' 7 G W g w
1000 8 FE0(BS) CAN ( 8 H X h x
1001 9 FE1(HT) EM ) 9 I Y i y
1010 10 FE2(LF) SUB * : J Z j z
1011 11 FE3(VT) ESC + ; K [ k {
1100 12 FE4(FF) IS4(FS) , < L \ l |
1101 13 FE5(CR) IS3(GS) − = M ] m }
-
1110 14 S0 IS2(RS) . > N ^ n
1111 15 S1 IS1(US) / ? O _ o DEL
126
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Revision code
The following table outlines the changes made to the manual during each revision. Page numbers refer to the
previous version.
Revision code Date Revised content
01 February 2003 Original production
02 March 2004 Page 10: Voltage changed to 26 for internal current consumption.
Page 24: Information on number of Unit per Rack changed.
127
Revision History
128
OMRON CORPORATION
Industrial Automation Company
Cat. No. Z174-E1-02 Note: Specifications subject to change without notice Printed in Japan
0304-0.1M (0203) (M)
Cat. No. Z174-E1-02 SYSMAC CS/CJ Series ID Sensor Units OPERATION MANUAL