ManualOperacion ConsolaProgramación PDF
ManualOperacion ConsolaProgramación PDF
ManualOperacion ConsolaProgramación PDF
W341-E1-04
Programming Consoles
OPERATION MANUAL
SYSMAC CS/CJ Series
CQM1H-PRO01-E/CQM1-PRO01-E/
C200H-PRO27-E
Programming Consoles
Operation Manual
Revised November 2003
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, 1999
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
Unit Versions of CS/CJ-series CPU Units
Unit Versions A “unit version” has been introduced to manage CPU Units in the CS/CJ
Series according to differences in functionality accompanying Unit upgrades.
This applies to the CS1-H, CJ1-H, CJ1M, and CS1D CPU Units.
Notation of Unit Versions The unit version is given to the right of the lot number on the nameplate of the
on Products products for which unit versions are being managed, as shown below.
CS/CJ-series CPU Unit Product nameplate
CS1H-CPU67H
CPU UNIT
• CS1-H, CJ1-H, and CJ1M CPU Units (except for low-end models) manu-
factured on or before November 4, 2003 do not have a unit version given
on the CPU Unit (i.e., the location for the unit version shown above is
blank).
• The unit version of the CS1-H, CJ1-H, and CJ1M CPU Units, as well as
the CS1D CPU Units for Single-CPU Systems, begins at version 2.0.
• The unit version of the CS1D CPU Units for Duplex-CPU Systems, begins
at version 1.1.
• CPU Units for which a unit version is not given are called Pre-Ver. @.@
CPU Units, such as Pre-Ver. 2.0 CPU Units and Pre-Ver. 1.1 CPU Units.
Confirming Unit Versions CX-Programmer version 4.0 can be used to confirm the unit version using one
with Support Software of the following two methods.
• Using the PLC Information
• Using the Unit Manufacturing Information (This method can be used for
Special I/O Units and CPU Bus Units as well.)
Note CX-Programmer version 3.3 or lower cannot be used to confirm unit versions.
PLC Information
• If you know the device type and CPU type, select them in the Change
PLC Dialog Box, go online, and select PLC - Edit - Information from the
menus.
• If you don’t know the device type and CPU type, but are connected
directly to the CPU Unit on a serial line, select PLC - Auto Online to go
online, and then select PLC - Edit - Information from the menus.
vi
In either case, the following PLC Information Dialog Box will be displayed.
Unit version
Use the above display to confirm the unit version of the CPU Unit.
Unit Manufacturing Information
In the IO Table Window, right-click and select Unit Manufacturing informa-
tion - CPU Unit.
Unit version
Use the above display to confirm the unit version of the CPU Unit connected
online.
vii
Using the Unit Version The following unit version labels are provided with the CPU Unit.
Labels
Ver. 2.0 Ver.
Th e s e L a b e l s c a n b e
used to manage
differences in the
a va i l a b l e f u n c t i o n s
among the Units.
Place the appropriate
label on the front of
the Unit to show what
U n i t ve r s i o n i s
actually being used.
These labels can be attached to the front of previous CPU Units to differenti-
ate between CPU Units of different unit versions.
Unit Version Notation In this manual, the unit version of a CPU Unit is given as shown in the follow-
ing table.
Product nameplate CPU Units on which no unit version is Units on which a version is given
given (Ver. @.@)
Meaning
Designating individual Pre-Ver. 2.0 CS1-H CPU Units CS1H-CPU67H CPU Unit Ver. @.@
CPU Units (e.g., the
CS1H-CPU67H)
Designating groups of Pre-Ver. 2.0 CS1-H CPU Units CS1-H CPU Units Ver. @.@
CPU Units (e.g., the
CS1-H CPU Units)
Designating an entire Pre-Ver. 2.0 CS-series CPU Units CS-series CPU Units Ver. @.@
series of CPU Units
(e.g., the CS-series CPU
Units)
viii
Unit Versions and Lot Numbers
Series Model Data of manufacture
Earlier Sept. 2003 Oct. 2003 Nov. 2003 Dec. 2003 Later
CS CS1 CPU Units CS1@-CPU@@
Series
No unit version
ix
Function Support by Unit Version
CS1-H CPU Units (CS1@-CPU@@H)
Function Unit version
Pre-Ver. 2.0 CPU CPU Units Ver. 2.0
Units
Downloading and Uploading Individual Tasks --- OK
Improved Read Protection Using Passwords --- OK
Write Protection from FINS Commands Sent to CPU Units via Net- --- OK
works
Online Network Connections without I/O Tables --- OK
Communications through a Maximum of 8 Network Levels --- OK
Connecting Online to PLCs via NS-series PTs OK from lot number OK
030201
Setting First Slot Words OK for up to 8 groups OK for up to 64 groups
Automatic Transfers at Power ON without a Parameter File --- OK
Automatic Detection of I/O Allocation Method for Automatic Transfer --- ---
at Power ON
Operation Start/End Times --- OK
New Applica- MILH, MILR, MILC --- OK
tion Instructions =DT, <>DT, <DT, <=DT, >DT, >=DT --- OK
BCMP2 --- OK
GRY OK from lot number OK
030201
TPO --- OK
DSW, TKY, HKY, MTR, 7SEG --- OK
EXPLT, EGATR, ESATR, ECHRD, ECHWR --- OK
Reading/Writing CPU Bus Units with IORD/IOWR OK from lot number OK
030418
PRV2 --- ---
x
CS1D CPU Units
Function CS1D CPU Units for Duplex-CPU Systems CS1D CPU Units
(CS1D-CPU@@H) for Single-CPU
Systems
(CS1D-CPU@@S)
Pre-Ver. 1.1 CPU CPU UnitVer. 1.1 CPU UnitVer. 2.0
Units
Functions Duplex CPU Units OK OK ---
unique to Online Unit Replacement OK OK OK
CS1D CPU
Units Duplex Power Supply Units OK OK OK
Duplex Controller Link Units OK OK OK
Duplex Ethernet Units --- OK OK
Downloading and Uploading Individual Tasks --- --- OK
Improved Read Protection Using Passwords --- --- OK
Write Protection from FINS Commands Sent --- --- OK
to CPU Units via Networks
Online Network Connections without I/O --- --- OK
Tables
Communications through a Maximum of 8 --- --- OK
Network Levels
Connecting Online to PLCs via NS-series PTs --- --- OK
Setting First Slot Words --- --- OK for up to 64
groups
Automatic Transfers at Power ON without a --- --- OK
Parameter File
Automatic Detection of I/O Allocation Method --- --- ---
for Automatic Transfer at Power ON
Operation Start/End Times --- OK OK
New Applica- MILH, MILR, MILC --- --- OK
tion Instruc- =DT, <>DT, <DT, <=DT, >DT, --- --- OK
tions >=DT
BCMP2 --- --- OK
GRY --- --- OK
TPO --- --- OK
DSW, TKY, HKY, MTR, 7SEG --- --- OK
EXPLT, EGATR, ESATR, --- --- OK
ECHRD, ECHWR
Reading/Writing CPU Bus --- --- OK
Units with IORD/IOWR
PRV2 --- --- ---
xi
CJ1-H/CJ1M CPU Units
Function CJ1-H CPU Units CJ1M CPU Units, CJ1M CPU
(CJ1@-CPU@@H) except low-end models Units, low-end
(CJ1M-CPU@@) models
(CJ1M-CPU11/
21)
Pre-Ver. 2.0 CPU Units Pre-Ver. 2.0 CPU Units CPU Units
CPU Units Ver. 2.0 CPU Units Ver. 2.0 Ver. 2.0
Downloading and Uploading --- OK --- OK OK
Individual Tasks
Improved Read Protection --- OK --- OK OK
Using Passwords
Write Protection from FINS --- OK --- OK OK
Commands Sent to CPU Units
via Networks
Online Network Connections OK, but only if I/ OK OK, but only if I/ OK OK
without I/O Tables O table alloca- O table alloca-
tion at power tion at power
ON is set ON is set
Communications through a OK for up to 8 OK for up to 64 OK for up to 8 OK for up to 64 OK for up to 64
Maximum of 8 Network Levels groups groups groups groups groups
Connecting Online to PLCs via OK from lot OK OK from lot OK OK
NS-series PTs number 030201 number 030201
Setting First Slot Words --- OK --- OK OK
Automatic Transfers at Power --- OK --- OK OK
ON without a Parameter File
Automatic Detection of I/O Allo- --- OK --- OK OK
cation Method for Automatic
Transfer at Power ON
Operation Start/End Times --- OK --- OK OK
New MILH, MILR, MILC --- OK --- OK OK
Applica- =DT, <>DT, <DT, --- OK --- OK OK
tion <=DT, >DT, >=DT
Instruc-
tions BCMP2 --- OK OK OK OK
GRY OK from lot OK OK from lot OK OK
number 030201 number 030201
TPO --- OK --- OK OK
DSW, TKY, HKY, --- OK --- OK OK
MTR, 7SEG
EXPLT, EGATR, --- OK --- OK OK
ESATR, ECHRD,
ECHWR
Reading/Writing --- OK --- OK OK
CPU Bus Units with
IORD/IOWR
PRV2 --- --- --- OK, but only for OK, but only for
models with models with
built-in I/O built-in I/O
xii
Unit Versions and Programming Devices
CX-Programmer version 4.0 or higher must be used to enable using the func-
tions added for CPU Unit Ver. 2.0. The following tables show the relationship
between unit versions and CX-Programmer versions.
Unit Versions and Programming Devices
CPU Unit Functions CX-Programmer Program-
Ver. 3.2 Ver. 3.3 Ver. 4.0 ming Con-
or lower RUKLJKHU sole
CJ1M CPU Units, low- Functions added for Using new functions --- --- OK No
end models, Unit Ver. 2.0 unit version 2.0 Not using new functions --- OK OK restrictions
CS1-H, CJ1-H, and Functions added for Using new functions --- --- OK
CJ1M CPU Units except unit version 2.0 Not using new functions OK OK OK
low-end models, Unit Ver.
2.0
CS1D CPU Units for Sin- Functions added for Using new functions --- --- OK
gle-CPU Systems, Unit unit version 2.0 Not using new functions
Ver. 2.0
CS1D CPU Units for Functions added for Using new functions --- --- OK
Duplex-CPU Systems, unit version 1.1 Not using new functions OK OK OK
Unit Ver.1.
xiii
Troubleshooting Problems with Unit Versions on the CX-Programmer
Problem Cause Solution
An attempt was made using CX- Check the program or change
Programmer version 4.0 or higher the CPU Unit being down-
to download a program contain- loaded to a CPU Unit Ver. 2.0
ing instructions supported only by or later.
CPU Units Ver. 2.0 or later to a
Pre-Ver. 2.0 CPU Units.
After the above message is displayed, a compiling
error will be displayed on the Compile Tab Page in the
Output Window.
An attempt was made using CX- Check the settings in the PLC
Programmer version 4.0 or higher Setup or change the CPU Unit
to download a PLC Setup con- being downloaded to a CPU
taining settings supported only by Unit Ver. 2.0 or later.
CPU Units Ver. 2.0 or later (i.e.,
not set to their default values) to a
Pre-Ver. 2.0 CPU Units.
“????” is displayed in a program transferred from the CX-Programmer version 3.3 or The new instructions cannot
PLC to the CX-Programmer. lower was used to upload a pro- be uploaded using CX-Pro-
gram containing instructions sup- grammer version 3.3 or lower.
ported only by CPU Units Ver. 2.0 Use CX-Programmer version
or later from a CPU Unit Ver. 2.0 4.0 or higher.
or later.
xiv
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
SECTION 1
Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Using the Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1-3 Programming Console Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1-4 Unsupported Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-5 Functions and Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-6 Programming Console Connection and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1-7 Comparison with Previous Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
SECTION 2
Using the Programming Console . . . . . . . . . . . . . . . . . . . . . 17
2-1 Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-2 Connecting the Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-3 Using the Programming Console for the First Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-4 Inputting Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-5 Checking Program Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SECTION 3
Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-1 Starting Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-2 Changing Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3-3 Key Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3-4 Clearing Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3-5 Buzzer Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3-6 Selecting Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3-7 I/O Table Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
SECTION 4
Writing and Editing Programs . . . . . . . . . . . . . . . . . . . . . . . 53
4-1 Inputting Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4-2 Reading and Searching Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4-3 Editing Programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
xv
TABLE OF CONTENTS
SECTION 5
Checking and Adjusting Programs . . . . . . . . . . . . . . . . . . . . 79
5-1 Reading Program Execution Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
5-2 Simple I/O Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5-3 I/O Multipoint Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5-4 Monitor Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
5-5 Changing Word (16-bit) Present Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
5-6 Forcing Bits ON/OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
5-7 Differential Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5-8 Online Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
SECTION 6
Maintenance Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
6-1 Clock Read/Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6-2 Cycle Time Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6-3 Reading/Clearing Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
SECTION 7
Memory Card Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
7-1 File Memory Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
7-2 Memory Card Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
7-3 File Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
7-4 File Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
7-5 File Verify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
7-6 File Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
SECTION 8
PLC Setup Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
8-1 PLC Setup Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Appendices
A ASCII Coding Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
B Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
C PLC Setup Coding Sheets for Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
xvi
$ERXWWKLV0DQXDO
This manual describes the installation and operation of the CQM1H-PRO01-E, CQM1-PRO01-E and
C200H-PRO27-E Programming Consoles for use with CS-series and CJ-series Programmable Con-
trollers and includes the sections described below. The CS Series and CJ Series are subdivided as
shown in the following table.
Unit CS Series CJ Series
CPU Units CS1-H CPU Units: CS1H-CPU@@H CJ1-H CPU Units: CJ1H-CPU@@H
CS1G-CPU@@H CJ1G-CPU@@H
CS1 CPU Units: CS1H-CPU@@-EV1 CJ1 CPU Units: CJ1G-CPU@@-EV1
CS1G-CPU@@-EV1 CJ1M CPU Units: CJ1M-CPU@@
CS1D CPU Units:
CS1D CPU Units for Duplex-CPU Systems:
CS1D-CPU@@H
CS1D CPU Units for Single-CPU Systems:
CS1D-CPU@@S
CS1D Process CPU Units:
CS1D-CPU@@P
Basic I/O Units CS-series Basic I/O Units CJ-series Basic I/O Units
Special I/O Units CS-series Special I/O Units CJ-series Special I/O Units
CPU Bus Units CS-series CPU Bus Units CJ-series CPU Bus Units
Power Supply Units CS-series Power Supply Units CJ-series Power Supply Units
Note: Use the special CS1D Power Supply
Units for CS1D PLCs.
Please read this manual and all related manuals listed in the table on the next page carefully and be
sure you understand the information provided before attempting to use the CQM1H-PRO01-E, CQM1-
PRO01-E, or C200H-PRO27-E Programming Console to program, set up, or operate a PLC System.
Section 1 gives a brief overview of the functions performed by the Programming Console, as well as
Programming Console specifications and connection procedures. It also lists the differences between
the operation of the Programming Consoles for CS/CJ-series PLCs and previous Programming Con-
soles.
Section 2 provides information on how to set up the Programming Console for operation. It also
describes how to write a simple program from the Programming Console.
Section 3 describes the basic operations of the Programming Console, including initializing memory
and creating I/O tables. The three input modes available on the Programming Console are also
described.
Section 4 describes how to create and edit programs from the Programming Console.
Section 5 describes how to monitor programs in different display modes to check and modify the user
programs. Change values from various displays is also described.
Section 6 includes information on reading and setting the clock, reading the cycle time, and reading/
clearing error messages.
Section 7 provides information on how to format Memory Cards before use, and procedures for trans-
ferring data between Memory Cards and the CPU Unit.
Section 8 lists the settings in the PLC Setup.
Appendix A provides a ASCII coding list, Appendix B provides a list of operating error messages,
and Appendix C provides a PLC Setup Setting Sheets.
xvii
About this Manual, Continued
Name Cat. No. Contents
SYSMAC CS/CJ Series W341 Provides information on how to program and operate
Programming Consoles Operation Manual CS/CJ-series PLCs using a Programming Console.
CQM1H-PRO01-E, CQM1-PRO01-E, (This manual)
C200H-PRO27-E
SYSMAC CS Series W339 Describes the installation and operation of the CS-
CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H series PLCs.
Programmable Controllers Operation Manual
SYSMAC CJ Series W393 Describes the installation and operation of the CJ-series
CJ1G-CPU@@, CJ1G/H-CPU@@H PLCs.
Programmable Controllers Operation Manual
SYSMAC CS Series W405 Describes the installation and operation of the Duplex
CS1D-CPU@@H CPU Units System based on CS1D CPU Units.
CS1D-CPU@@S CPU Units
CS1D-DPL01 Duplex Unit
CS1D-PA/PD@@@ Power Supply Unit
Duplex System Operation Manual
SYSMAC CS/CJ Series W394 Describes the ladder diagram programming functions
CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, and other functions supported by CS-series and CJ-
CS1D-CPU@@H/S, CJ1G-CPU@@, series PLCs.
CJ1G/H-CPU@@H
Programmable Controllers Programming Manual
SYSMAC CS/CJ Series W340 Describes the ladder diagram programming instructions
CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, supported by CS-series and CJ-series PLCs.
CS1D-CPU@@H/S, CJ1G-CPU@@,
CJ1G/H-CPU@@H
Programmable Controllers
Instructions Reference Manual
SYSMAC W414 Provides information on how to use the CX-Program-
CX-Programmer Operation Manual mer, a programming device that supports the CS/CJ-
WS02-CXP@@-E series PLCs, and the CX-Net contained within CX-Pro-
SYSMAC W425 grammer.
CX-Programmer Operation Manual
WS02-CXP@@-EV4
!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.
xviii
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PLC) and related devices.
The information contained in this section is important for the safe and reliable application of the Programmable
Controller. You must read this section and understand the information contained before attempting to set up or
operate a PLC system.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
xix
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 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 programming and operating the Unit. Be
sure to read this manual before attempting to use the Unit and keep this man-
ual 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-mentioned appli-
cations.
3 Safety Precautions
!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing
so may result in electric shock.
!WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do
so may result in malfunction, fire, or electric shock.
!Caution The CPU Unit refreshes I/O even when operation has been stopped in PRO-
GRAM mode. Always confirm safety before changing data in the output area
allocated to the Output Units or changing data in any memory area allocated
to Special I/O Units or CPU Bus Units using any of the following operations.
The loads connected to the Output Units, Special I/O Units, or CPU Bus Units
may operate unexpectedly.
• Transferring I/O memory to the CPU Unit using a peripheral device (per-
sonal computer software).
• Changing the present value using a peripheral device.
• Force-setting/resetting using a peripheral device.
• Transferring I/O memory files to the CPU Unit from the Memory Card or
EM File Memory.
xx
Operating Environment Precautions 4
!Caution Confirm that the equipment is operating safely before starting actual opera-
tion.
!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 Confirm that no adverse effect will occur in the system before executing online
edit.
!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.
xxi
Application Precautions 5
5 Application Precautions
Observe the following precautions when using the PLC System.
!WARNING Always heed these precautions. Failure to abide by the following precautions
could lead to serious or possibly fatal injury.
• Always connect to a class-3 ground (to 100 W or less) when installing the
Units. Not connecting to a class-3 ground may result in electric shock.
• Always turn OFF the power supply to the PLC before attempting any of
the following. Not turning OFF the power supply may result in malfunction
or electric shock.
• Mounting or dismounting I/O Units, CPU Unit, Power Supply Units, In-
ner Boards, or any other Units.
• Assembling the Units.
• Setting DIP switches or rotary switches.
• Connecting or wiring the cables.
• Connecting or disconnecting the connectors.
!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.
xxii
Application Precautions 5
• Use crimp terminals for wiring. Do not connect bare stranded wires
directly to terminals. Connection of bare stranded wires may result in
burning.
• Leave the label attached to the Unit when wiring. Removing the label may
result in malfunction.
• Remove the label after the completion of wiring to ensure proper heat dis-
sipation. Leaving the label attached may result in malfunction.
• Disconnect the functional ground terminal when performing withstand
voltage tests. Not disconnecting the functional ground terminal may result
in burning.
• Check the orientation and polarity of terminal blocks and connectors
before connecting them.
• Be sure that the terminal blocks, expansion cables, and other items with
locking devices are properly locked into place. Improper locking may
result in malfunction.
• Double-check all the wiring before turning ON the power supply. Incorrect
wiring may result in burning.
• 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.
• 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.
• Transfer any essential data for restarting the PLC, such as data memory
and hold bits to the CPU Unit before restarting the PLC.
• Do not pull on the cables or bend the cables beyond their natural limit.
Doing either of these may break the cables.
• Do not place objects on top of the cables. Doing so may break the cables.
• When replacing parts, be sure to confirm that the rating of a new part is
correct. Not doing so may result in malfunction or burning.
• Before touching the Unit, be sure to first touch a grounded metallic object
in order to discharge any static built-up. Not doing so may result in mal-
function or damage.
xxiii
SECTION 1
Installation
This section describes the Programming Console used with CS/CJ-series PLCs. It includes a brief overview of the functions
performed by the Programming Console, as well as Programming Console installation procedures.
1
Applicable Models Section 1-1
CS/CJ CS/CJ
CS/CJ
CS1W-N114
CS1W-KS001-E Connecting Cable: CS1W-KS001-E
CS1W-KS001-E
Key Sheet Connecting Cable 0.05 m Key Sheet
Key Sheet CS1W-CN224: 2.0 m
provided with the Connecting Cable
CQM1H-PRO01-E CS1W-CN624: 6.0 m
provided with the
CQM1H-PRO01-E
CQM1H-PRO01-E
CQM1-PRO01-E C200H-PRO27-E
2
Using the Programming Console Section 1-2
Operational Differences The operation of the Programming Console will vary with the CPU Unit that is
for CPU Units connected as shown in the following table. These are the only differences in
Programming Console operation that vary with the CPU Unit.
Operation CS Series CJ Series
CS1 CS1-H CJ1 CJ1-H
CPU Units CPU Units CPU Units CPU Units
Operating mode when at startup PROGRAM RUN
(when PLC Setup is set to the
default setting and the Program-
ming Console is not connected)
Selecting the display language Pin 3 on DIP Programming Console key switch
switch on
front panel
of CPU Unit
3
Using the Programming Console Section 1-2
PLC Setup
Setting DM allocations
Online Editing
No
OK?
Yes
Setting DM allocation
No
OK?
Yes
Formatting Memory
Actual operation
Cards/EM File Memory
Transferring data between
Memory Cards/EM files
and the PLC
Monitoring
Verifying data between
Reading error information Memory Cards/EM files
on current errors and the PLC
Note The Programming Console cannot be used to create programs with more
than one cyclic task. Use the CX-Programmer if more than one cyclic task is
required.
4
Programming Console Functions Section 1-3
Memory Clear
All Clear
Memory Clear
Maintenance
Ladder Programming
5
Programming Console Functions Section 1-3
Monitoring
Display Change
Signed Decimal Monitor See p92.
Unsigned Decimal Monitor See p93.
ASCII Monitor See p94.
Word (Multipoint) Monitor See p91.
SV Change
Hexadecimal/BCD Display Change See p96.
Signed Decimal Display Change See p96.
Unsigned Decimal Display Change See p98.
ASCII Display See p99.
Word (Multipoint) Display Change See p100.
Force Set/Reset
Force Set/Reset See p101.
Force Set/Reset All Clear See p103.
Special Functions
6
Unsupported Functions Section 1-4
Operating Environment Do not install or operate the Programming Console in any of the following
locations.
• Locations subject to temperatures or humidities outside the ranges speci-
fied in the specifications.
• Locations directly subject to excessive shock.
• Locations subject to strong magnetic fields or electromagnetic waves.
• Locations subject to direct sunlight.
7
Functions and Nomenclature Section 1-5
1-5-1 Nomenclature
CQM1H-PRO01-E CQM1H-PRO01-E
LCD display
Mode switch
. IR+ DR
FUN SFT NOT . IR IR SHIFT
. IR+ DR A B C D E F
FUN SFT NOT . IR IR SHIFT
TN ST TK . −IR *EM AR
A B C D E F AND OR CNT TR WR/LR HR
TN ST TK . −IR *EM AR G H I J K L
AND OR CNT TR WR/LR HR AA AC EM CH CONT
G H I J K L
LD OUT TIM DM *DM #
AA AC EM CH CONT M N O P Q R
LD OUT TIM DM *DM # *EM_ CF
M N O P Q R 7 8 9 EM_/EXT
CHG SRCH
7
7
8
8
9
9
*EM_
EM_/EXT
S
CHG
T
CF
SRCH
U
E
4
7
F
5
8
6
9
SET
S
DEL
T
MON
U
Keys
Note: Install the CS1W-JS001-E Key Sheet
E F 4 5 6 V W X
4 5 6 SET DEL MON B C D
4 5 6 V W X 1 2 3 RESET INS ↑
B C D 1 2 3 Y Z
1 2 3 RESET INS ↑ A TEXT
1 2 3 Y Z
0 ! CLR VRFY WRITE ↓
A TEXT 0
0 ! CLR VRFY WRITE ↓
0
Cable length: 2 m
(The CQM1H-PRO01-E can be connected
directly to the PLC.) Connecting Cable
CS1W-CN114: 0.05 m
C200H-PRO27-E
LCD display
Mode switch
. IR+ DR
FUN SFT NOT . IR IR SHIFT
A B C D E F
TN ST TK . −IR *EM AR
AND OR CNT TR WR/LR HR
G H I J K L
AA AC EM CH CONT
LD OUT TIM DM *DM #
M N O P Q R
*EM_ CF
Keys
7 8 9 EM_/EXT
CHG SRCH
7 8 9 S T U
E F
4 5 6 SET DEL MON
B
1
4
1
C
2
5
2
D
3
6
3
RESET
V
Y
INS
W
Z
↑
X
Note: Install the CS1W-KS001-E Key Sheet
A TEXT
0 ! CLR VRFY WRITE ↓
0
Connecting Cables
CS1W-CN224: 2.0 m
CS1W-CN624: 6.0 m
8
Functions and Nomenclature Section 1-5
Mode Switch The mode switch key can be removed from the switch when the switch is in
RUN or MONITOR modes. It cannot be removed when in PROGRAM mode.
f
f MONITOR ✕
RUN PROGRAM
Display Contrast The contrast of the liquid crystal display can be adjusted using the knob on
the right of the display.
Buzzer Volume With the C200H-PRO27-E Programming Console, the buzzer volume can be
adjusted using the lever on the right-hand side of the Console. The CQM1H-
PRO01-E and CQM1-PRO01-E does not have buzzer volume control.
C200H-PRO27-E
Programming
Console
Refer to 3-5 Buzzer Operation for further information on adjusting the buzzer
volume.
9
Functions and Nomenclature Section 1-5
Startup Operating Mode The operating mode of the CPU Unit when the power is turned ON depends
on the status of address 81 in the PLC Setup (Startup Mode) and the connec-
tion status of peripheral devices.
Startup Mode setting in Peripheral device Startup operating mode
PLC Setup (address 81)
PRCN: Mode set on Pro- Nothing connected CS1 CPU Unit:
gramming Console’s mode PROGRAM mode
switch CJ1/CJ1-H/CS1-H CPU Unit:
RUN mode
Programming Con- The mode set on the mode switch
sole connected on the Programming Console
Peripheral device CS1 CPU Unit:
other than Pro- PROGRAM mode
gramming Con- CJ1/CJ1-H/CS1-H CPU Unit:
sole connected RUN mode
PRG: PROGRAM mode Not relevant PROGRAM mode
MON: MONITOR mode Not relevant MONITOR mode
RUN: RUN mode Not relevant RUN mode
10
Functions and Nomenclature Section 1-5
Note Keystrokes for procedures are illustrated using graphics of the buttons on the
keypad for each step. The following list provides key names used in the text of
this manual.
Key Name Normal input Shift input Text input
FUN Key Function code --- A
FUN
A
Select/change task
PLC Setup
(shift, monitor etc.)
SFT Key SFT --- B
SFT
B
,IR+
,IR+/,IR Key ,IR ,IR+ D
(Indirect index register)
,IR D
DR
DR/IR Key IR DR E
IR E
(Direct index register) (Data register)
TN
TN/AND Key AND --- G
AND
G
ST
ST/OR Key OR --- H
OR
H
TK
TK/CNT Key CNT (Counter) TK (Task flag) I
CNT
I
,–IR
,–IR/TR Key Display changes ,–IR J
TR TR (Temporary bit) (Index register
DISP J auto-decre-
ment)
*EM
*EM/WR.LR WR (Work bits) *EM K
WR/LR Key LR (Link bits) Indirect EM
K (Extended
data memory)
AR
AR/HR Key HR (Holding bits) AR L
HR (Auxiliary bits)
L
11
Functions and Nomenclature Section 1-5
AC
AC/OUT Key OUT --- N
OUT
N
EM
EM/DM Key DM (Data memory) EM P
DM (Data memory
P of current
bank)
CH
CH/*DM Key *DM CIO word Q
*DM (Indirect data memory)
Q
CONT
CONT/# Key #Constant Operand R
# (Binary or BCD) (Bit address)
R
*EM_
*EM_/EM_.EXT EM_ *EM (indirect S
EM_/EXT Key (Expansion Data Mem- address)
S ory including bank
number)
EXT (memory all clear)
CHG Key CHG --- T
CHG (Changes to SVs,
T timer/counter etc.)
CF/SRCH Key SRCH CF U
CF
SRCH
(Condition
U Flag)
SET Key SET OFF-ON dif- V
SET ferentiation
V
Force Reset
DEL Key DEL (Delete) --- W
DEL
W
12
Functions and Nomenclature Section 1-5
Key Layout
,IR+ DR
FUN SFT NOT SHIFT
,IR IR
A B C D E F
TN ST TK ,–IR *EM AR
AND OR CNT TR WR/LR HR
G H I DISP J K L
AA AC EM CH CONT
LD OUT TIM DM *DM #
M N O P Q R
*EM_ CF
7 8 9 EM_/EXT CHG SRCH
7 8 9 S T U
E F
4 5 6 SET DEL MON
4 5 6 V W X
B C D
11 22 33 RESET INS ↑
Y Z
A TEXT
00 !
CLR VRFY WRITE ↓
13
Programming Console Connection and Installation Section 1-6
b) Check the direction of the connector and insert it until you hear a click
to secure it firmly in place.
14
Programming Console Connection and Installation Section 1-6
CJ-series PLCs
3. To disconnect the connector, squeeze the lock release levers on the sides
and pull the connector straight out.
Panel Mounting Use the C200H-PRO27-E Programming Console when the Programming
Console needs to be mounted to a panel. Follow the instructions below for
mounting the Console to a panel. (The C200H-ATT01 Mounting Bracket is
sold separately.)
Mounting hole dimensions
(DIN43700 standards)
Mounting Bracket
Two screws
186+1.1
-0
92+0.8
-0
When mounting the Console to a panel, allow enough space for the cables.
37
15
At least 80 mm is required.
About 70 mm is required.
15
Comparison with Previous Models Section 1-7
Attaching the Key Sheet To attach the Key Sheet to the Programming Console, slide it under the
grooves on the front of the Unit to insert. (The CS1W-KS001-E Key Sheet is
sold separately.)
000000 CT00
END(001)
AA 000000
1 0 0
LD LD 000100
000001
WRITE
END (001)
• When memory is cleared using All Clear, the END instruction will be writ-
ten to the first address 000000. The NOP instruction is not written to all
program addresses as in previous models.
• If the END instruction is deleted, ADR OVER will be displayed and a
buzzer will sound.
• When programs are input, it is performed as an overwrite operation, as
with previous models. Therefore to insert instructions into a program, this
operation must be performed as an insert operation.
Start Mode
If default startup mode (i.e.,for the PLC to start up in the mode set on the Pro-
gramming Console) is set in the PLC Setup and a Programming Console is
not connected, a CS1 CPU Unit will start in PROGRAM mode, but a CJ1/CJ1-
H/CS1-H CPU Unit PLC will start in RUN mode.
16
SECTION 2
Using the Programming Console
This section provides information on how to setup the Programming Console for operation. It also describes how to write
a simple program from the Programming Console.
2-1 Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-2 Connecting the Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-3 Using the Programming Console for the First Time . . . . . . . . . . . . . . . . . . . . 19
2-4 Inputting Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-5 Checking Program Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
17
Programming Section 2-1
2-1 Programming
When using Programming Consoles for a CS/CJ-series PLC for the first time,
use the following procedure. Details are described in the sections &RQ
QHFWLQJWKH3URJUDPPLQJ&RQVROH through 8VLQJWKH3URJUDPPLQJ&RQ
VROHIRUWKH)LUVW7LPH.
1,2,3... 1. Turn OFF the power supply to the Power Supply Unit.
2. Install the RAM backup battery into the CPU Unit.
3. Set the DIP switch on the CPU Unit as follows:
Pin 1: OFF (Data can be written to the UM area.)
Pin 3: ON (English messages) (CS1 CPU Units only)
Pin 4: OFF (Peripheral port automatic recognition.)
Note Be sure to turn OFF pin 1 and pin 4 to enable writing the program via
the Programming Console.
4. Connect the Programming Console to the CPU Unit.
5. Set the mode switch on the Programming Console to PROGRAM.
6. Be sure that the Programming Console’s operating mode switch is set to
PROGRAM, and then turn ON the power supply to the CPU Unit.
Note Any program in the CPU Unit will be executed if the operating mode
is not set to PROGRAM.
7. Select the display language (CJ1/CJ1-H/CS1-H CPU Units only).
8. Enter the password. (Press the CLR and MON Keys.)
9. Clear all memory.
10. Create I/O tables.
Note a) For CS-series PLCs, I/O tables must be created.
b) For CJ-series PLCs, I/O tables must be created to detect incorrect
Units or to register unused words. Otherwise, they are not re-
quired.
11. Read and clear error messages.
12. Start programming.
18
Connecting the Programming Console Section 2-2
CS-series
Insert a small flat-blade Check the direction of the connector. Connect by pressing the
screwdriver into the opening at connector tab in place.
the top of the Console and pull
forwards.
CJ-series
1,2,3... 1. Make sure that the mode switch is set to PROGRAM, and then turn ON the
power supply to the Power Supply Unit.
MONITOR
RUN PROGRAM
19
Using the Programming Console for the First Time Section 2-3
Power ON
000000 CT**
CLR
• If a memory error is displayed, press the CLR Key several times to re-
turn to the initial display.
• If an I/O table verification error occurs, I/O VRFY ERR will be dis-
played. Either connect the correct Unit, or press the CLR Key to ignore
the error.
4. Clear all memory.
• The memory clear operation initializes (formats) the memory area.
20
Using the Programming Console for the First Time Section 2-3
000000CLR MEM ?
NOT
SET RESET CHWA TCDE P
MON
000000CLR MEM ?
0:ALL 1:TASK
• To create one cyclic task only, select 0: ALL.
MON
000000CLR'G MEM
INT 0:NO
000000
FUN
FUN (???)
MON
ERR/MSG
CHK OK
000000 CT00
CLR
21
Inputting Programs Section 2-4
MOV(021)
#00FF
000100 TIM0000
D00100
#0100
T0000 000101
END(001) END(001)
Mnemonic Mnemonic
Program Program
address Instruction Operand address Instruction Operand
000000 LD 000000 000000 LD 000000
000005 LD T0000
• When inputting the above program, always select 1: YES when clearing
memory to enable inputting the interrupt task. Refer to page 20.
Refer to the CS1 Operation Manual for further details on programming.
000000 CT00
↓ END(001)
When the Down Key is pressed, the END instruction will be generated.
When all memory has been cleared, the END instruction will be written to
program address 0 of all tasks.
22
Inputting Programs Section 2-4
New programs will be written from the address where the END instruction
is displayed.
3. Input the cyclic task program using the following steps.
a) Input LD 000000.
000000
LD 0
LD 000000
Leading zeros do not
need to be entered.
ST 000001
1 0 0
OR OR 000100
000002 CT00
WRITE
END(001)
d) Input AND NOT 000001
AND NOT 1
000002
AND N 000001
000003 CT00
WRITE
END(001)
e) Input OUT 000100.
000003
OUT 1 0 0
OUT 000100
000004 CT00
WRITE
END(001)
f) Input the TIM (timer) instruction.
000004
TIM
TIM 0000
000004 TIM
WRITE
SV #0000
000004 TIM
1 0 0
SV #0100
23
Inputting Programs Section 2-4
000005 CT00
WRITE
END(001)
g) Input LD TIM 00000.
AA 000005
TIM
LD LD T0000
000006 CT00
WRITE
END(001)
h) Input OUT 000101
000006
OUT 1 0 1
OUT 000101
000007 CT00
WRITE
END(001)
4. Read and check the cyclic task program using the following steps.
a) Access the initial display.
000000 CT00
CLR
¡
b) Press the Down Key, read the program in order, and confirm that the
mnemonics are correct. Correct any errors in the program.
000000 CT00
↓ LD 000000
000001 CT00
↓ OR 000100
000002 CT00
↓ AND N 000001
000003 CT00
↓ OUT 000100
000004 CT00
↓ TIM 0000
000004 TIM
↓ SV #0100
000005 CT00
↓ LD T0000
000006 CT00
↓ OUT 000101
000008 CT00
↓ END(001)
24
Inputting Programs Section 2-4
000000 CT00
CLR
¡
b) Switch tasks.
000000 CT00
FUN
FUN(???)
0:CYCLE TASK
CHG
1:INTRPT
INTRPT #?
1
000
000000 IT002
2 WRITE
AA 000000
0
LD LD 000000
000001 IT002
WRITE
END(001)
b) Input AND 002001.
000001
AND 2 0 0 1
AND 002001
000002 IT002
WRITE
END(001)
c) Input MOV(021).
000002
FUN
FUN (???)
000002
0
FUN (0??)
000002
2
FUN (02?)
000002
1
MOV(021)
000002 MOV
WRITE ↓ SV A 0000
or
Note When writing special instructions be sure to input the function num-
ber correctly as a 3-digit number. If the number is abbreviated to “0,”
25
Checking Program Operation Section 2-5
it cannot be written. Press the FUN Key once more and input correct-
ly.
d) Input the data to be sent.
CONT
SHIFT
F
SHIFT
F 000002 MOV
5 5
# SV A #00FF
000002 MOV
WRITE ↓ SV B 0000
or
EM 000002 MOV
1 0 0
DM SV B D00100
000003 IT002
WRITE
END(001)
Note Always press the WRITE Key after inputting the last set value. Write
cannot be performed using the Down Key.
7. Read and check the interrupt task program using the following steps.
a) Bring up the initial display.
000000 IT002
CLR
¡
b) Press the Down Key, read the program in order, and confirm that the
mnemonics are correct. Correct any errors in the program.
000000 IT002
↓ LD 000000
000001 IT002
↓ AND 002001
000002 IT002
↓ MOV(021)
000002 MOV
↓ SV A #00FF
000002 MOV
↓ SV B D00100
000003 IT002
↓ END(001)
1,2,3... 1. Switch to MONITOR mode by setting the mode switch on the Programming
Console to MONITOR mode.
26
Checking Program Operation Section 2-5
<MON> BZ
CJ-series PCs
<MON> BZ
3:JPN~ENG
2. Access the initial display.
000000 IT002
CLR
¡
3. Switch to the cyclic task.
0:CYCLE TASK
FUN CHG
1:INTRPT
000000 CT00
0 WRITE
4. Monitor the I/O bit status step by step during program execution.
Press the Up and Down Keys to read the program and monitor I/O bit sta-
tus as shown below. This operation is called monitoring I/O bit status.
The status resulting from one complete cycle of execution is shown on the
display when monitoring I/O bit status, not the status during program exe-
cution.
000002 CT00 1 ON
↓ AND N 000001
When a normally closed bit is OFF, the I/O bit status will be displayed as
“1.”
000000 CT00
CLR
¡
SHIFT
CONT 000000
# BIT 000000
27
Checking Program Operation Section 2-5
MON
000000 ^ OFF
CONT 000100
SHIFT 1 0 0
# 000000 ^ OFF
MON
000100 ^ OFF
000000 ^ OFF
• The most recently monitored bits will be displayed first.
• I/O Multipoint Monitor can be used to monitor not only bits, but also
words (16-bit data), data memory, and timer/counter present values.
Up to 4 items can be specified.
6. Force ON CIO 000000 as described next.
a) Press the MON Key until CIO 000000 is displayed at the top.
MON
000000 ^ OFF
000100 ^ OFF
For I/O Multipoint Monitor, the uppermost bit is force set/reset.
b) Force ON CIO 000000.
When the SET Key is pressed:
000000 ^ ON
SET 000100 ^ ON
When the SET Key is released:
000000 ^ OFF
000100 ^ ON
• When there is no I/O Unit at word 0, the status is held ON. When the
RESET Key is pressed, the status is set to OFF.
• The uppermost bit CIO 000000 is only set to ON, while the SET Key is
being pressed.
• The program is being executed so when CIO 000000 is ON CIO
000100 is also ON. (Even when CIO 000000 is OFF, CIO 000100 will
hold ON.)
7. Force OFF CIO 000001 as described next.
a) Monitor CIO 000001. To monitor CIO 000001, press the Down Key at
the monitor display for CIO 000000.
000001 ^ OFF
↓ 000100 ^ ON
b) Use Force Set to set normally closed bit 000001 to OFF.
When the SET key is pressed:
000001 ^ ON
SET 000100 ^ OFF
When the SET Key is released:
28
Checking Program Operation Section 2-5
000001 ^ OFF
000100 ^ OFF
• When there is no I/O Unit at word 0, the status is held ON. When the
RESET Key is pressed, the status is set to OFF.
• When the normally closed CIO 000001 is set to OFF, the self-holding
status is cleared, and CIO 000100 is set to OFF also.
8. Check timer operation using the following steps.
a) Monitor TIM 0000.
MON
000100 ^ OFF
000000 ^ OFF
MON
T0000 0100
TIM
000100 ^ OFF
b) Move bit CIO 000000 to the top.
MON
000000 ^ OFF
T0000 0100
SET
000000 ^ ON
T0000 0099
The timer starts a decrementing count.
000000 ^ ON
T0000 0000
MON
000100 ^ ON
000000 ^ OFF
000101 ^ ON
↓ 000000 ^ OFF
29
SECTION 3
Operation
This section describes the basic operations of the Programming Console, including initializing memory and creating I/O
tables. It also covers the 3 input modes available on the Programming Console.
31
Starting Operation Section 3-1
1,2,3... 1. When the power to the PLC is turned ON, the POWER indicator on the
CPU Unit will light and the LCD display on the Programming Console will
display the following.
<PROGRAM>
PASSWORD!
2. Enter the password (i.e., the CLR and MON Keys). The mode display will
appear.
MON
<PROGRAM> BZ
CLR
CLR
000000 CT**
Task No.
Note When the power is turned ON for the first time (before All Clear has
been performed), “CT**” will be displayed as the task number.
• When a memory error is displayed, press the CLR Key several times
to go to the initial display.
• To return to the mode display from the initial display, press the SHIFT
then CLR Keys.
SHIFT
<PROGRAM> BZ
CLR
32
Starting Operation Section 3-1
1,2,3... 1. When the power to the PLC is turned ON, the POWER indicator on the
CPU Unit will light and the LCD display on the Programming Console will
display the following.
<PRG> 3:JPN~ENG
PASSWORD!
2. Press the 3 Key to switch between Japanese (JPN) and English (ENG) lan-
guage displays or messages will be displayed in Japanese.
3. Enter the password (i.e., the CLR and MON Keys). The mode display will
appear
MON
<PRG> BZ
CLR
3:ENG~JPN
Note The Programming Console is equipped with a password so that the
PLC is operated only by qualified staff to ensure safe operation and
prevent accidents.
• After entering the password, Programming Console key operations
can be performed, the mode can be changed, and the display lan-
guage can be selected.
• The key buzzer can be turned OFF by pressing the SHIFT Key and
then the 1 Key after entering the password. Refer to 3-5 Buzzer Oper-
ation.
4. Press the CLR Key to move from the mode display to the initial display.
CLR
000000 CT**
Task No.
Note a) When the power is turned ON for the first time (before All Clear
has been performed), “CT**” will be displayed as the task number.
b) The 3 Key can be pressed instead of the CLR Key to access the
initial display in the other language. Refer to the diagram on the
next page.
• When a memory error is displayed, press the CLR Key several times
to go to the initial display.
• To return to the mode display from the initial display, press the SHIFT
then CLR Keys.
SHIFT
<PRG> BZ
CLR
33
Starting Operation Section 3-1
000000 CT**
3
Task No.
Note The password input, language selection, and initial displays can be switched
for CJ1/CJ1-H/CS1-H CPU Units as shown in the following diagram.
<PRG> BZ <PRG> BZ
3:ENG~JPN 3:JPN~ENG
CLR CLR
34
Changing Operating Modes Section 3-2
Mode display
Initial display
000000 CT00
Initial display
000000 CT00
Note “3: JPNENG” indicates that Japanese language messages will be dis-
played. “3: ENGJPN” indicates that English language messages will be dis-
played. Press the 3 Key to change the display language.
!Caution Before changing the operating mode of the CPU Unit, make sure that doing
so will not affect other equipment.
35
Key Functions Section 3-3
Note 1. The CPU Unit is set by default so that the operating mode on the mode
switch of the connected Programming Console is used when power is
turned ON. The Programming Console mode will be used as long as the
default is set for the “Startup Mode” in the PLC Setup (address +81 set to
PRCN).
2. If a Programming Console is not connected when power is turned ON and
the Startup Mode in the PLC Setup is set to PRCN, a CS1 CPU Unit will
automatically start in PROGRAM mode and a CJ1/CJ1-H/CS1-H CPU Unit
will automatically start in RUN mode.
3. The mode switch can be used to change the operating mode from any dis-
play without affecting the display. This is particularly useful during monitor-
ing, enabling the user to display monitoring details while changing the
operating mode. Hold down the SHIFT Key when changing the mode
switch.
Normal Input Mode The shift input mode is used to enter the text in the center or lower-center of
the key.
Shift Input Mode The shift input mode is used to enter the text on the top of the key or on the
upper-left corner of the key. Shift mode is also used to input hexadecimal A to
F.
The key sequence to switch to shift input mode, and the shift input mode dis-
play are as follows:
• If a key is pressed when the shift input mode mark is being displayed, the
text at either the top or the upper-left corner of the key will be entered.
• Press the SHIFT Key again to return to the normal key input mode.
Text Input Mode The text input mode is used to enter the text (text or number) on the lower-
right corner of the key. The text input mode is used to enter file names when
Memory Cards are used.
The key sequence to switch to text input mode, and the text input mode dis-
play are as follows:
36
Clearing Memory Areas Section 3-4
• When the text input mode mark is displayed and a key is pressed, the text
or numeral on the lower-right corner of the key can be entered.
• Pressing the CLR Key to return to the normal key input mode.
Keypad The key layout of the CS1W-KS001-E Key Sheet is illustrated below.
,IR+ DR
FUN SFT NOT SHIFT
,IR IR
A B C D E F
TN ST TK ,–IR *EM AR
AND OR CNT TR WR/LR HR
G H I DISP J K L
AA AC EM CH CONT
LD OUT TIM DM *DM #
M N O P Q R
*EM_ CF
7 8 9 EM_/EXT CHG SRCH
7 8 9 S T U
E F
4 5 6 SET DEL MON
4 5 6 V W X
B C D
11 22 33 RESET INS ↑
Y Z
A TEXT
00 !
CLR VRFY WRITE ↓
Note 1. If program address 000000 is designated, the program of the task currently
being edited will all be cleared.
2. The entire program will be cleared. After clearing the programs in all tasks,
either interrupt tasks and one cyclic task or just one cyclic task can be cre-
ated.
3. An address range within specific memory areas cannot be specified. All
data within the specified memory areas will be cleared.
When the All Clear or Memory Clear operation is executed, an END(001)
instruction will be written to the first address of the user ladder program.
NOP(000) instructions will not be written.
37
Clearing Memory Areas Section 3-4
H HR (Holding bits)
AR
HR
W WR (Work bits)
*EM
WR/LR
A AR (Auxiliary bits)
AR
SHIFT
HR
T T (Completion Flags/PVs)
TIM
C C (Completion Flags/PVs)
TK
CNT
D DM (Data memory)
EM
DM
P PLC Setup CF
SHIFT SRCH
Note The CIO Area is used for I/O word data: I/O bits, Data Link bits, CS/CJ CPU
Bus Unit bits, Inner Board bits, SYSMAC BUS bits, I/O Terminal bits, Special I/
O Unit bits, CompoBus/D (DeviceNet) bits, and work bits. (Inner Board bits,
SYSMAC BUS bits, and I/O Terminal bits are supported by CS-series PLCs
only.)
To clear the memory areas that are specified not to be cleared, repeat the
same key sequence. The appropriate letter will be displayed at the bottom of
the display.
The EM Area cannot be cleared if it has been converted to file memory. Refer
to Section 7 Memory Card Operations for information on formatting file mem-
ory and restoring the normal EM Area.
38
Clearing Memory Areas Section 3-4
This operation is used to clear (format) memory areas. When “All Clear” is
performed from the Programming Console, all programs in all tasks will be
cleared. One cyclic task is created, and the user can chose whether or not to
also create interrupt tasks.
Note The Programming Console cannot be used to create programs with more
than one cyclic task. Use the CX-Programmer if more than one cyclic task is
required.
Operation Example
1,2,3... 1. Start the All Clear operation from the initial display.
000000 CT00
CLR
¡
000000CLR MEM ?
NOT
SET RESET CHWA TCDE P
2. Specify the areas that are not to be cleared. Refer to page 38 for further
details on specifying the areas.
Example: Specifying the Counter Area to no be cleared.
TK 000000CLR MEM ?
CNT CHWA T DE P
MON
000000CLR MEM ?
0:ALL 1:TASK
3. Select 0: ALL to clear all memory.
39
Clearing Memory Areas Section 3-4
MON
000000CLR'G MEM~
INT 0:NO
Operation Example
1,2,3... 1. Start the All Clear operation from the initial display.
000000 CT00
CLR
¡
000000CLR MEM ?
NOT
SET RESET CHWA TCDE P
2. Specify the areas that are not to be cleared. Refer to page 38 for further
details on specifying areas.
Example: Specifying the Counter Area not to be cleared.
TK 000000CLR MEM ?
CNT CHWA T DE P
MON
000000CLR MEM ?
0:ALL 1:TASK
3. Select 0: ALL to clear all memory.
40
Clearing Memory Areas Section 3-4
MON
000000CLR'G MEM~
INT 1:YES
This operation is used to clear the program in the current task starting with a
specified program address within the current task. It is also used to clear I/O
memory and the PLC Setup.
Key Sequence
Operation Example
1,2,3... 1. Start the Memory Clear operation.
Current Task No.
000000 CT00
CLR
¡
000000CLR MEM ?
NOT
SET RESET CHWA TCDE P
2. Specify the areas that are not to be cleared. Refer to page 38 for further
details on specifying areas.
Example: Specifying the Counter Area to not be cleared.
TK 000000CLR MEM ?
CNT CHWA T DE P
Counter Area will not be cleared:
The "C" disappears.
To cancel "Counter Area will not be
cleared" press the TK/CNT Key once
more.
000123CLR MEM ?
1 2 3
CHWA T DE P
MON
000123CLR MEM ?
0:ALL 1:TASK
41
Buzzer Operation Section 3-5
000123CLR MEM ?
1
1:TASK
5. Execute Memory Clear.
MON
000123CLR'G MEM~
1:TASK
000123CLR MEMEND
1:TASK
• Press the CLR Key to return to the original display.
This operation is used to turn ON and OFF the buzzer that sounds when Pro-
gramming Console keys are pressed. The buzzer ON/OFF operation is per-
formed from the mode display.
Key Sequence
Operation Example
1,2,3... 1. Access the buzzer mode display from the initial display.
CS/CJ-series PLCs
000000 CT00
CLR
¡
CS1 CPU Units
Buzzer ON
CJ1/CJ1-H/CS1-H CPU Units
<PRG> BZ
3:JPN~ENG
Buzzer ON
SHIFT 1 <PROGRAM>
Buzzer OFF
42
Selecting Tasks Section 3-6
<PRG>
3:JPN~ENG
Buzzer ON
Note a) When an error occurs, the buzzer will sound regardless of whether
the buzzer has been turned ON or OFF.
b) The mode display is displayed immediately after the password has
been entered or after the mode is changed.
c) For CJ1/CJ1-H/CS1-H CPU Units, the display language can be
switched by pressing the 3 Key while “3: JPNENG” or “3:
ENGJPN” is being displayed.
This operation allows the user to select the task and the type of task (cyclic or
interrupt.) From the Programming Console however, only interrupt task num-
bers 1,2, and 3 (IT100 to 131) can be newly created. Interrupt task numbers 0
and 4 to 99 (IT132 to 255) cannot be created.
FUN CHG
0 CLR 1 CLR
to
000000 IT255
43
Selecting Tasks Section 3-6
Note 1. The Programming Console cannot be used to create programs with more
than one cyclic task. Use the CX-Programmer if more than one cyclic task
is required.
2. If INT 0: NO is set when memory is cleared, only a cyclic task (CT00) can
be created, and interrupt tasks cannot be created. Refer to page 39 for de-
tails.
Cyclic Task
Key Sequence
Operation Example
1,2,3... 1. Access the task selection display from the initial display.
000000 CT00
CLR
000000
FUN
FUN (???)
0:CYCLE TASK
CHG
1:INTRPT
2. Select 0: CYCLE TASK from the above display.
CYCLE TASK No.?
0
00
Flashing
44
Selecting Tasks Section 3-6
4. Confirm the task number and then press the WRITE Key to set the task
number and return to the initial display.
000000 CT00
WRITE
Interrupt Tasks
Key Sequence
Operation Example
1,2,3... 1. Access the task selection display from the initial display.
000000 CT00
CLR
000000
FUN
FUN (???)
0:CYCLE TASK
CHG
1:INTRPT
2. Select 1: INTRPT from the above display.
INTRPT #?
1
000
Flashing
INTRPT #?
1 2 3
123
4. Confirm the task number and then press the WRITE Key to set the number.
000000 IT123
WRITE
45
I/O Table Operations Section 3-7
This operation is used to register the I/O tables in the CPU Unit. The I/O
tables contain information on all Units mounted to the CPU and Expansion
Racks. The information includes the unit types and positions.
Key Sequence
0
CH
Initial display FUN SHIFT CHG 9 7 1 3 WRITE
*DM
1
Password
Operation Example
1,2,3... 1. From the initial display, access the I/O Table Create display and start the I/
O table creation process.
000000 CT00
CLR
¡
FUN SHIFT
CH
000000I/O TBL ?
*DM
Rack 1st Word En
(See note.)
000000I/O TBL
CHG
WRIT ????
Note If the first word for a Rack has been set in advance from the CX-Pro-
grammer for a CS1-H or CJ1-H CPU Unit, “Rack 1st Word En” will be
displayed to show that the first word has been set.
2. Enter the password (9713) and then press the WRITE Key.
000000I/O TBL
9 7 1 3
WRIT 9713
Note “9713” is the password set by the system for I/O Table Create and
Memory Card Format operations. This password cannot be
changed.
000000CPU BU ST?
WRITE
0:CLR 1:KEEP
3. Select to either clear or keep CS1 CPU Bus Unit system information.
000000I/O TBL
0 1
WRIT OK
46
I/O Table Operations Section 3-7
000000 CT00
CLR
Confirming Rack First With a CS1-H or CJ1-H CPU Unit, the Programming Console can be used to
Word Settings check whether or not the first word has been set on a Rack. Use the following
procedure.
1,2,3... 1. Press the FUN, SHIFT, and CH Keys to start the I/O table creation opera-
tion. If the first word for a Rack has been set, a message saying so will ap-
pear on the second line of the display.
SHIFT
CH 000000I/O TBL ?
FUN
*DM Rack 1st Word En
If nothing is displayed, then the first word has not been set.
2. Press the CHG Key, enter the password (9713), and then press the
WRITE Key to continue creating the I/O tables, or press the CLR Key to
cancel the operation and return to the initial display.
Note Detailed Information on I/O Table Creation Errors
The CS1-H and CJ1-H CPU Units will provide detailed information on errors
that occur when creating I/O tables. For example, with a CS1-H CPU Unit, the
contents of A261 will provide information on the Unit causing the error when-
ever one occurs when creating the I/O tables from the Programming Console.
For details, refer to the troubleshooting section in the CS Series
Programmable Controllers Operation Manual or CJ Series Programmable
Controllers Operation Manual.
47
I/O Table Operations Section 3-7
This operation is used to compare the I/O table registered in the PLC (regis-
tered I/O tables), with the actual I/O Units mounted to the PLC Racks.
Key Sequence
CH
Initial display FUN SHIFT VRFY VRFY
*DM
...
48
I/O Table Operations Section 3-7
Operation Example
000000 CT00
CLR
SHIFT
CH 000000I/O TBL ?
FUN
*DM
VRFY
000000I/O VRFY
RAK1 SLOT10
VRFY
000000I/O VRFY
RM0 RT2 SLOT10
VRFY
000000I/O VRFY
CPU BU No.10
No. of CS1 CPU Bus Units
(CPU Bus Units)
VRFY
000000I/O VRFY
RM4 OPTCL23(H)CH
Master High/Low
Word allocated bits
to Optical I/O
4. When all verification errors have been displayed, the following display will
appear.
VRFY
000000I/O VRFY
END
Verification complete
Verification Errors
Verification Error The following display indicates that the mounted I/O Units differ from those
registered in the I/O table.
000000I/O VRFY
RAK1 SLOT10
49
I/O Table Operations Section 3-7
No. of Remote Terminals The following display indicates that the number of Slaves (RT) connected to
Verification Error the Master does not match the number registered in the I/O table.
000000I/O VRFY
RM1 CONECT RT
Master
C200H/C500 Master The following display indicates that the Master Unit (RM) (C200H/C500)
Verification Error mounted to the PLC does not match the one registered in the I/O table.
000000I/O VRFY
RM1 C200H/C500
Master
Master-Slave Slot The following display indicates that a Slave Unit connected to a Master does
Verification Error not match the Unit registered in the I/O table.
000000I/O VRFY
RM7 RT5 SLOT10
Slaves Connected to The following display indicates that the words or the high/low word specifica-
Master Verification Error tion allocated to an Optical I/O Units does not match the information regis-
tered in the I/O table.
000000I/O VRFY
RM7 OPTCL31(L)CH
Master High/Low
word
Word allocated to
Optical I/O
No. of Output Words The following display indicates that the number of output words connected to
Verification Error a Master mounted to the PLC does not match the number registered in the I/O
table.
000000I/O VRFY
RM1 No.9 UNITOUT
No. of Input Words The following display indicates that the number of input words connected to a
Verification Error Master mounted to the PLC does not match the number registered in the I/O
table.
000000I/O VRFY
RM1 No.9 UNITIN
50
I/O Table Operations Section 3-7
CS1 CPU Bus Unit The following display indicates that the type of a CS/CJ CPU Bus Unit (CPU
Verification Error Bus Unit) mounted to the PLC does not match the type registered in the I/O
table.
000000I/O VRFY
CPU BU No.31
Unit number of
CPU Bus Unit
51
I/O Table Operations Section 3-7
52
SECTION 4
Writing and Editing Programs
This section describes how to create and edit programs from the Programming Console.
53
Inputting Instructions Section 4-1
1,2,3... 1. Press the FUN and CHG Keys to switch tasks and bring up the initial dis-
play.
Switch tasks
FUN CHG
↓ ↓
↓ ↑ ↑ ↓
000000 CT00
↓ ↑
END(001)
a) Input LD 000100.
AA 000000
1 0 0
LD LD 000100
000001 CT00
WRITE
END(001)
54
Inputting Instructions Section 4-1
AC 000001
2 0 0
OUT OUT 000200
000002 CT00
WRITE
END(001)
4. Check instructions that have been input correctly.
000001 CT00
↑
OUT 000200
000000 CT00
↑
LD 000100
An instruction can be input when any program address is displayed. The
instruction will overwrite the data at the current program address.
5. Return to the initial display.
000000 CT00
CLR
Basic instructions can be input only when the CPU Unit is in PROGRAM
mode.
Key Sequence
Operation Example Use the following procedure to input the LOAD (LD) instruction.
AA 000200
2
LD LD 000002
2. Press the WRITE Key.
000201 CT00
WRITE
END(001)
If a mistake is made inputting, press the Up Key to bring up the program
address, and re-input the instruction. The data at the address will be over-
written.
55
Inputting Instructions Section 4-1
LD NOT AND LD
AA TN AA
NOT
LD AND LD
OR OUT
ST AC
OR OUT
AND SET
TN
FUN
AND SET
000000
LD 000015
Work bits (WR) Bit 15 of W000
*EM Number
WR/LR
000000
LD W00015
Holding bits (HR) Bit 15 of H000
AR
HR Number
000000
LD H00015
Auxiliary bits (AR) Bit 15 of A000
AR
SHIFT Number
HR
000000
LD A00015
Timer bits T0015
TIM Number
000000
LD T0015
Counter bits C0015
TK
CNT Number
000000
LD C0015
56
Inputting Instructions Section 4-1
57
Inputting Instructions Section 4-1
Auto-increment+2 IR10++
,IR+ ,–IR
SHIFT
,IR
SHIFT
TR
Number 000201
LD ,IR10++
Note The display will toggle
between auto-incre- Auto-increment (+2)
ment +1 and auto-in-
crement +2.
Auto-decrement+2 IR10– –
,–IR ,–IR
SHIFT
TR
SHIFT
TR
Number 000201
LD ,--IR10
Note The display will toggle Auto-decrement (–2)
between auto-decre-
ment –1 and auto-
decrement –2.
58
Inputting Instructions Section 4-1
Differentiate down
SHIFT 000123 CT00
RESET
%LD 000000
Note The same key se-
quence can be used Symbol:
to reset. Differentiate down
Immediate refresh
TEXT
000123 CT00
!
!LD 000000
Note The same key se-
quence can be used Symbol: Immediate refresh
to reset.
000123 CT00
!@LD 000000
Symbols: Immediate
refresh/Differentiate up
000123 CT00
!%LD 000000
Symbols: Immediate
refresh/Differentiate down
Key Sequence
TK
CNT
TC number SV WRITE
TIM
Operation Example The following example describes how to input TIM 0010 with a SV of 10 s.
1,2,3... 1. Press the TIM Key and input the timer number.
000201 CT00
TIM 1 0
TIM 0010
000201 TIM
↓ SV #0000
2. Input the set value. In the following example, the set value is #0100 (10 s).
000201 TIM
1 0 0
SV #0100
59
Inputting Instructions Section 4-1
000202 CT00
WRITE
END(001)
If a mistake is made inputting the set value, press the Up Key until the set
value is displayed. Then press the CONT/# Key and enter the correct val-
ue.
CNT
TK
CNT
60
Inputting Instructions Section 4-1
Indirect DM Addresses
Mode Key sequence Display example
BCD *D00010
CH
Number
*DM
000202 TIM
SV *D00010
Binary @D00010
CH CH
Number
*DM *DM
000202 TIM
SV @D00010
Indirect EM Addresses
Mode Key sequence Display example
BCD
*E0_00010
With bank *EM_
SHIFT Number
EM_/EXT 000202 TIM
SV *E0_00010
BCD *E00010
*EM
Current bank SHIFT Number
WR/LR
000202 TIM
SV *E00010
Binary
*EM_ *EM_ @E0_00010
With bank SHIFT EM_/EXT
SHIFT EM_/EXT
Number
000202 TIM
SV @E0_00010
Binary E00010
*EM *EM
Current bank SHIFT SHIFT Number
WR/LR WR/LR
000202 TIM
SV @E00010
61
Inputting Instructions Section 4-1
Special instructions can be input when the CPU Unit is in PROGRAM mode.
Inputting Standard Special Instructions
Key Sequence
Operation Example The following example describes how to input the MOV(021) instruction.
1,2,3... 1. Press the FUN Key, enter the function code, and then press the Down Key.
All 3 digits of the function code must be input. In this example, the function
code for MOV is 021.
000202
FUN
FUN (???)
000202
0 2 1
MOV(021)
000202 MOV
↓ WRITE
SV A 0000
or
2. Input the first operand (SV A), and press the Down Key. In this example,
constant #0100 (hexadecimal) is input.
000202 MOV
↓ WRITE
SV B 0000
or
3. Input the next operand (SV B), and press the WRITE Key. In this example,
CIO 0010 is input.
CH 000202 MOV
SHIFT
*DM 1 0
SV B 0010
000203 CT00
WRITE
END(001)
• The function codes for some of the instructions, such as KEEP and
STEP (which have operands), will not be displayed.
62
Inputting Instructions Section 4-1
Operation Example The following example describes how to input the <= instruction.
1,2,3... 1. Press the FUN Key and enter the function code. The function code for <=
is 318.
000202
FUN
FUN (???)
000202
3 1 8
[LD] <=SL(318)
2. Specify the logic type. In this example, OR.
ST 000202
OR [OR] <=SL(318)
3. Press the Down Key.
000202 <=SL
↓ WRITE
SV A 0000
or
4. Input the first operand (SV A), and press the Down Key. In this example,
constant #00000010.
000202 <=SL
↓ WRITE
SV B 0000
or
5. Input the next operand (SV B), and press the WRITE Key. In this example,
CIO 0011 is used.
000202 <=SL
1 1
SV B 0011
000203 CT00
WRITE
END(001)
63
Inputting Instructions Section 4-1
64
Inputting Instructions Section 4-1
Indirect EM Addresses
Mode Key sequence Display example
BCD *E0_00010
*EM_
With bank SHIFT Number
EM_/EXT
000202 MOV
SV A *E0_00010
BCD *E00010
*EM
Current bank SHIFT
WR/LR
Number
000202 MOV
SV A *E00010
Binary @E0_00010
*EM_ *EM_
With bank SHIFT
EM_/EXT
SHIFT
EM_/EXT
Number
000202 MOV
SV A @E0_00010
Binary @E00010
*EM *EM
Current bank SHIFT SHIFT Number
WR/LR WR/LR
000202 MOV
SV A @E00010
65
Inputting Instructions Section 4-1
Designating Constants
Type Key sequence Display example
Single-word constants
CONT
Number
000202 MOV
#
SV A #1234
4-digit hexadecimal
Hexadecimal
Long constants
CONT
Number 000202 MOVL
#
SV A #12345678
8-digit hexadecimal
Hexadecimal
CONT Number
#
000202 MOV
#
SV A #FFFF
,–IR
TR
Hexadecimal
DISP
+ 000202 MOV
(–) SV A -1
,–IR Signed decimal
TR
DISP
000202 MOV
&
SV A &65535
,–IR
TR Unsigned decimal
DISP
When the signed decimal display is used, the value can be changed between
positive and negative using the SET/RESET Keys.
000202 MOV
SV A +4660
Positive SET
RESET
000202 MOV
SV A -4660
Negative
Note Changes such as those illustrated above cannot be made for BCD data con-
stants such as Timer/Counter set values, JMP/Subroutine numbers etc.
66
Reading and Searching Programs Section 4-2
Differentiate down
SHIFT 000123 CT00
RESET
%SET 000000
Note The same key se-
quence can be used
to reset. Symbol: Differentiate down
Immediate refresh
TEXT 000123 CT00
!
!MOV(021)
Note The same key se-
quence can be used to
reset. Symbol: Immediate refresh
000123 CT00
!@MOV(021)
This operation is used to read programs from user memory. In RUN and
MONITOR modes, the I/O status of the current bit will be displayed.
Key Sequence
↓
Initial display Program address ↓
↑
1,2,3... 1. From the initial display, specify the address to be read. In this example, pro-
gram address 123456 is read.
000000 CT00
CLR
¡
123456
1 2 3 4 5 6
67
Reading and Searching Programs Section 4-2
123456 CT00
↓ LD 000000
The program address is displayed when using either the Instruction
Search or Operand Search operation.
2. Using the Up and Down Keys, read the previous and next program ad-
dresses.
123457 CT00
↓ AND 002100
123456 CT00
↑
LD 000000
When the program is finished, the following display will appear.
123458 CT00
↓ END(001)
If you attempt to read program addresses after the END(001) instruction,
(program addresses without instructions) ADR OVER will be displayed.
When there is no END(001) instruction, the following display will appear.
123459ADR OVER
This operation is used to search the program for specified instructions. The
program address from which to begin the search can be specified before
starting.
Key Sequence
CF CF CF
Initial display Mnemonic SRCH SRCH SRCH
Operation Example The following example shows a search for the LD (LOAD) instruction.
1,2,3... 1. From the initial display, specify the instruction to be searched for and press
the CF/SRCH Key to execute. This example shows a search for LD
000100.
000000 CT00
CLR
AA 000000
1 0 0
LD LD 000100
CF 000100SEARCH'G
SRCH LD 000100
68
Reading and Searching Programs Section 4-2
The next LD instruction after the beginning program address will be dis-
played.
This operation searches for the program for a designated bit address. The
program address from which to begin the search can be specified before
starting.
Key Sequence
CF CF CF
Initial display Bit address SRCH SRCH SRCH
1,2,3... 1. From the initial display, specify the bit address to be searched for and press
the CF/SRCH Key to execute. This example shows a search for A20011.
000000 CT00
CLR
¡
CF 000000SEARCH'G
SRCH BIT A20011
The following display will appear.
69
Reading and Searching Programs Section 4-2
2. To continue searching for the same address, press the CF/SRCH Key. The
following display will appear.
70
Editing Programs Section 4-3
Key Sequence
Operation Example In the following instruction block, the instruction for address 000200 will be
changed to LD NOT 000002.
Address Instruction Operand
: : :
000200 LD 000001 Changed to LD NOT 000002.
000201 AND 000200
: : :
71
Editing Programs Section 4-3
1,2,3... 1. From the initial display, access the address where the instruction is to be
changed.
000000 CT00
CLR
¡
000200 CT00
2 0 0 ↓ LD 000001
2. Input the instruction and press the WRITE Key.
AA 000201 CT00
NOT 2 WRITE
LD AND 000200
3. Press the Up Key to check the instruction.
000200 CT00
↑
LD N 000002
Key Sequence
Operation Example In the following instruction block, AND 000100 will be inserted at address
000201.
: : :
000200 LD 000001
AND 000100 will be inserted.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the address where the instruction is to be
inserted.
000000 CT00
CLR
¡
000201 CT00
2 0 1 ↓ AND 000200
2. Specify the instruction to be inserted, and press the WRITE Key.
000201 INS?
AND 1 0 0 INS
AND 000100
3. Press the Down Key to insert the designated instruction. The next program
address will be displayed.
72
Editing Programs Section 4-3
↑ 000201 CT00
AND 000100
Key Sequence
Operation Example In the following instruction block, AND 000200 will be deleted from address
00201.
Address Instruction Operand
: : :
000200 LD 000001
000201 AND 000200 Delete
000202 OUT 000100
: : :
1,2,3... 1. From the initial display, access the address of the instruction to be deleted.
000000 CT00
CLR
¡
000201 CT00
2 0 1 ↓ AND 000200
2. Delete the instruction.
000201 DEL?
DEL
AND 000200
3. Press the Up Key to delete the instruction currently displayed. The next
program address will move forward.
73
Editing Programs Section 4-3
This operation is used to change bit addresses in operands in the user pro-
gram.
Key Sequence
Operation Example In the following instruction block, the operand address at 000200,
CIO 000001, will be changed to CIO 000002.
Address Instruction Operands
: : :
000200 LD 000001 The operand address will be changed to
000201 AND 000200 CIO 000002.
: : :
1,2,3... 1. From the initial display, access the address of the instruction containing the
bit address to be changed.
000000 CT00
CLR
¡
000200 CT00
2 0 0 ↓ LD 000001
2. Specify the new operand, and press the WRITE Key.
000200 CT00
2
LD 000002
000201 CT00
WRITE
AND 000200
3. Press the Up Key to check the operand has been changed.
000200 CT00
↑
LD 000002
This operation is used to change N.O. and N.C. conditions in the user pro-
gram.
Key Sequence
74
Editing Programs Section 4-3
Operation Example In the following instruction block, address 000200 will be changed from LD
000001 to LD NOT 000001.
Address Instruction Operands
: : :
000200 LD 000001 Changed to LD NOT 000001.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the address containing the instruction to be
changed.
000000 CT00
CLR
¡ LD 000000
000200 CT00
2 0 0 ↓ LD 000001
2. Press the NOT Key and then the WRITE Key.
000200 CT00
NOT
LD N 000001
000201 CT00
WRITE
AND 000200
3. Use the Up Key to check that LD has been changed to LD NOT.
000200 CT00
↑
LD N 000001
This operation is used to change the variation of an instruction in the user pro-
gram. Refer to page 110 for further information on key sequences and dis-
plays in MONITOR mode.
Key Sequence
Differentiate up
Program address display WRITE
SHIFT
SET
Differentiate down
SHIFT
RESET
Immediate refresh
TEXT
!
75
Editing Programs Section 4-3
Operation Example In the following instruction block address, 000200 (LD000001) will be
changed to an upwardly differentiated LD instruction.
Address Instruction Operands
: : :
000200 LD 000001 Changed to LD 000001.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the address of the instruction to be
changed.
000000 CT00
CLR
¡
000200 CT00
2 0 0 ↓ LD 000001
2. Using the following key sequence, specify the variation and press the
WRITE Key.
SHIFT
000200
SET
@LD 000001
000201 CT000
WRITE
AND 000200
3. Use the Up Key to check that the variation has changed.
000200 CT00
↑
@LD 000001
Key Sequence
Designated constant
Timer/counter SV display CHG WRITE
Designated word
Operation Example The following example describes how to change the set value for TIM 0001.
1,2,3... 1. From the initial display, access the timer/counter instruction for which the
set values will be changed.
000000 CT00
CLR
¡
76
Editing Programs Section 4-3
000201 TIM
↓ SV #0100
2. Star the set Timer/Counter SV Change 1 operation.
000201SV ?
CHG
#0100
3. The designated word or constant specified for the set value can be
changed from the above display.
Changing a Constant
Input the constant as follows:
CONT 000201SV ?
1 2 0
# #0120
000201 TIM
WRITE
SV #0120
Changing a Word Address
Input the word address as follows:
CH 000201SV ?
SHIFT
*DM 1 0
0010
000201 TIM
WRITE
SV 0010
↓
Timer/counter SV display CHG CHG CLR CLR WRITE
Operation Example The following example describes how to adjust the constant specified for the
TIM 0001 set value.
1,2,3... 1. From the initial display, access the timer/counter instruction for which the
set values will be changed.
000000 CT00
CLR
¡
000201 TIM
↓ SV #0020
2. Start the Timer/Counter SV Change 2 operation.
000201SV U/D?
CHG CHG
#0020
77
Editing Programs Section 4-3
000201SV U/D?
↑ ↓
or #0021
000201 TIM
CLR CLR
SV #0021
000202 CT00
WRITE
LD 000100
78
SECTION 5
Checking and Adjusting Programs
This section describes how to monitor programs in different display modes, for the purpose of checking and making
adjustments. It also includes information on how to change values from various displays for adjusting programs.
79
Reading Program Execution Status Section 5-1
This operation is used to read the program execution status one address at a
time. By monitoring the ON/OFF status of bits or timer/counter Completion
Flags, the execution status of the program can be read from the Programming
Console display. The key sequence is the same as that for reading the pro-
gram.
Key Sequence
Operation Example In the following example, the ON/OFF status of the bits in the program are
read.
Program example
000123
TIM000
#0010
T0000 000100
END(001)
1,2,3... 1. From the initial display, specify the program address to read. In this exam-
ple, program address 123 is specified.
000000 CT00
CLR
¡
000123
1 2 3
2. Read the program. The ON/OFF status of bits will be displayed as “0” or
“1.”
000123 CT00 0
↓
LD 000000
The ON/OFF status of bits will be
displayed as follows:
0: OFF, 1: ON
80
Simple I/O Monitor Section 5-2
000124 CT00 1
↓
AND N 000001
When normally closed bits are ON,
the I/O status is still displayed as " 1."
000125 CT00 0
↓ OUT 000100
000126 CT00 0
↓ TIM 0000
000126 TIM
↓ SV #0010
000127 CT00 0
↓ LD T0000
3. Press the CLR Key to end the operation.
Note When the MON Key is pressed during I/O bit status monitoring, the
Programming Console will be switched to the Simple I/O Monitor op-
eration. To switch back to the I/O Bit Status Monitor operation, press
the CLR Key once more.
This operation is used to monitor present values in I/O memory one bit or one
word at a time.
• There are two methods for I/O monitoring, as follows:
a) Monitoring specified addresses in I/O memory.
b) Specifying program addresses and monitoring the operands of the
corresponding instructions.
• Simple I/O Monitor is available in RUN, MONITOR and PROGRAM
modes.
• When monitoring bit status, the ON/OFF status of the bit can be changed.
Refer to 5-6 Forcing Bits ON/OFF for details.
• When monitoring word data (16-bit data), the contents of the word can be
changed. Refer to 5-5 Changing Word (16-bit) Present Values for details.
↑
CONT
SHIFT
#
Specify area Bit address MON ↓
(To monitor previous/next
bit address)
Specify program address ↓ CLR
81
Simple I/O Monitor Section 5-2
Operation Example In the following example, auxiliary bit (AR) A40109 is monitored.
1,2,3... 1. From the initial display, input the bit address to be monitored. In this exam-
ple, input A40109.
000000 CT00
CLR
¡
CONT AR
SHIFT
#
SHIFT
HR
4 0 1 0 9
000000
BIT A40109
2. Start monitoring.
MON A40109 ^ ON
PV (Bit display)
• Press the Up and Down Keys to monitor either the previous or the next
bit.
• Bit ON/OFF status can be changed from this display.
3. Press the CLR Key to exit Simple I/O Monitor.
82
Simple I/O Monitor Section 5-2
Display Bit
When clock pulses or Condition Flags
ON Always ON Flag
are designated, the bits listed at the
right can be designated, by using the OFF Always OFF Flag
Up and Down Keys. AER Access Error Flag
0.02s 0.02-s clock pulse
0.1s 0.1-s clock pulse
0.2s 0.2-s clock pulse
1s 1-s clock pulse
1min 1-min clock pulse
ER Error Flag
CY Carry Flag
> Greater Than Flag
= Equals Flag
< Less Than Flag
N Negative Flag
OF Overflow Flag
UF Underflow Flag
>= Greater Than or Equals Flag
<> Not Equal Flag
<= Less Than or Equals Flag
Key Sequence
TK
Counter number MON
CNT
83
Simple I/O Monitor Section 5-2
1,2,3... 1. From the initial display, input the number of the timer instruction to be mon-
itored. In this example, input TIM 0010.
000000 CT00
CLR
¡
000000
TIM 1 0
TIM 0010
2. Start monitoring.
Timer PV
T0010 0236
1,2,3... 1. From the initial display, input the DM address to be monitored. In this ex-
ample, input D00100.
000000 CT00
CLR
¡
EM 000000
1 0 0
DM WORD D00100
84
Simple I/O Monitor Section 5-2
2. Start monitoring.
PV (Hexadecimal display)
• Press the Up and Down Keys to monitor either the previous or the next
word.
• Word values can be changed from this display.
3. Press the CLR Key to exit Simple I/O Monitor.
Extended DM E00010
EM
(EM): Current SHIFT Number
DM
bank 000000
(Word address) WORD E00010
Data Registers DR1
DR
(DR) SHIFT Number
IR
000000
Regi DR01
Index Registers IR1
DR
(IR) Number
IR 000000
Regi IR01
85
Simple I/O Monitor Section 5-2
One Operand
Operation Example In the following example, the PV for the TIM instruction at program address
000200 is monitored.
1,2,3... 1. From the initial display, input the program address of the instruction whose
operand is to be monitored. In this example, input program address
000200.
000000 CT00
CLR
¡
000200 CT00 0
2 0 0 ↓ TIM 0000
2. Start monitoring.
Present value
000200
CLR
TIM 0000
1,2,3... 1. From the initial display, input the program address of the instruction whose
operands to be monitored. In this example, input program address 000202.
000000 CT00
CLR
¡
000202 CT00
2 0 2 ↓ MOV(021)
2. Select the operands to be monitored. The following example shows the
display for the first and second operands.
86
I/O Multipoint Monitor Section 5-3
3. Start monitoring.
Present value
000202
CLR
WORD 0011
5-3 I/O Multipoint Monitor
RUN MONITOR PROGRAM
OK OK OK
Operation Example In the following example, T0001, CIO 000001, D00000, and CIO 1225 are
monitored.
1,2,3... 1. Specify the bits and words for monitoring, in succession as shown in the
following steps. The status/present values of the specified bits and words
will appear at the top of the display. Methods for specifying bits or words
are the same as for Simple I/O Monitor.
000000 CT00
CLR
¡
a) Specify T0001 and the present value will appear at the top of the dis-
play.
b) Specify CIO bit 000001 and the status will appear at the top of the dis-
play.
SHIFT
CONT
1 MON 000001 ^ OFF
#
T0001 0100
The present value
for 000001.
The present value
for T 0001.
87
I/O Multipoint Monitor Section 5-3
c) Specify D000000 and the present value will appear at the top of the
display.
EM
MON D00000 1234
DM
000001 ^ OFF
The present value
for D 00000.
The present value
for 000001.
d) Specify CIO 1225 and the present value will appear at the top of the
display.
MON
T0001 0100
1225 0000
3. Press the CLR Key and bit/word being monitored on the top line will be
cleared from monitor operation.
1225 0000
CLR
D00000 1234
Key Sequence
Saving I/O Multipoint Monitor results: I/O Multipoint Monitor display SHIFT CLR
Operation Example
1,2,3... 1. From the I/O Multipoint Monitor display, press the SHIFT then CLR Keys to
return to the initial display.
1225 0000
D00000 1234
SHIFT
000000
CLR
WORD 1225
88
I/O Multipoint Monitor Section 5-3
2. From the initial display, perform any operation other than I/O Multipoint
Monitor.
000000 CT00
CLR
3. When you have finished performing other operations, return to the saved
monitoring status by accessing the I/O Multipoint Monitor display.
SHIFT MON
1225 0000
D00000 1234
Key Sequence
SHIFT CLR
Operation Example From the I/O Multipoint Monitor display, press SHIFT then CLR Keys.
1225 0000
D00000 1234
SHIFT
000000
CLR
WORD 1225
89
Monitor Display Format Section 5-4
SHIFT MON
,–IR
Data display change TR
CLR
,IR+
,IR
,–IR ,–IR
CLR NOT
TR TR C
CLR
,IR+
,–IR ,IR
CLR
TR
CLR
ASCII
D00200 "1A"
,–IR
CLR
TR
90
Monitor Display Format Section 5-4
This operation monitors I/O memory bit status in one word (16 bits) at a time.
• The following words can be monitored:
• I/O bits
• Holding bits
• Data memory
• Data registers
• Work bits
• Auxiliary bits
• Extended data memory
• Index registers
• The status of the 16 bits will be shown on the bottom line of the display
using 1, 0, S, and R as follows:
1: ON S: Force Set
0: OFF R: Force Reset
Key Sequence
Operation Example In the following example, CIO 2670 is monitored using a word (multipoint) dis-
play.
1,2,3... 1. Access the Simple I/O Monitor display and display the word for monitoring.
CIO 2670
2670 F000
SHIFT MON
2670 MON
1111000000000000
• Use the Up or Down Key to display the next or previous word.
• From this display, word values can be changed one bit at a time. Refer
to page 5-5 Changing Word (16-bit) Present Values.
• The Force Set/Reset status of bits will also be displayed. (S: Force Set,
R: Force Reset)
2670 MON
11S100R000000000
Force Set
Force Reset
91
Monitor Display Format Section 5-4
3. Press the CLR Key to stop word monitoring and return to the Simple I/O
Monitor display.
2670 F000
CLR
This operation converts the hexadecimal contents of words from 2’s comple-
ment to a signed decimal data display.
This operation can be performed during Simple I/O Monitor or I/O Multipoint
Monitor.
Key Sequence
Operation Example In the following example, CIO 2670 is monitored using a signed decimal data
display.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor display and display
the word for monitoring.
CIO 2670
2670 FFF0
During I/O Multipoint monitoring, the word at the top of the screen will be
changed.
2. Convert the display format to signed decimal.
2670 -16
CLR
92
Monitor Display Format Section 5-4
5. Press the CLR Key again to return the display from Signed Decimal Mon-
itor to either Simple I/O Monitor or I/O Multipoint Monitor.
2670 FFF0
CLR
This operation converts the hexadecimal contents of word data into unsigned
decimal data for display.
This operation can be performed during Simple I/O Monitor or I/O Multipoint
Monitor.
Key Sequence
Operation Example In the following example, CIO 2670 is monitored using an unsigned decimal
display.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor display and display
the word for monitoring.
CIO 2670
2670 FFF0
During I/O Multipoint Monitor, the word at the top of the screen will be
changed.
2. Convert the display format to unsigned decimal.
2670 &65520
CLR
93
Monitor Display Format Section 5-4
5. Press the CLR Key again to return the display from Unsigned Decimal
Monitor to either Simple I/O Monitor or I/O Multipoint Monitor.
2670 FFF0
CLR
This operation reads the hexadecimal contents of words as ASCII data, and
displays them as ASCII text.
• This operation can be performed during Simple I/O Monitor or I/O Multi-
point Monitor.
• For details on ASCII characters which can be displayed, refer to Appendix
B.
Key Sequence
Operation Example In the following example, D00000 is monitored using an ASCII display.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor display and display
the word for which the display will be changed.
D 00000
D00000 4142
3. Press the CLR Key to exit ASCII display and return to either Simple I/O
Monitor or I/O Multipoint Monitor.
D00000 4142
CLR
94
Changing Word (16-bit) Present Values Section 5-5
!Caution Always confirm safety before changing data even when working in PRO-
GRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If the
status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus Unit is
changed, the load connected to the Unit may operate unexpectedly.
,–IR
TR
,–IR
CLR
TR
,–IR
CLR
TR
ASCII display
D00200 "1A" CHG Enter alphanumeric text WRITE
,–IR
CLR
TR
95
Changing Word (16-bit) Present Values Section 5-5
!Caution Always confirm safety before changing data even when working in PRO-
GRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If the
status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus Unit is
changed, the load connected to the Unit may operate unexpectedly.
Key Sequence
Operation Example The following example changes the present value of D00200.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor and bring up the
word for changing.
D 00200
D00200 001A
D00200 001A
CHG
PV ????
3. Input the new value and return to Simple I/O Monitor or Multipoint I/O Mon-
itor.
SHIFT
B D00200 001B
1 1 WRITE
This operation changes present values for word data using signed decimal
(single-word: –32768 to 32767, double-word: –214783648 to 214783647).
The 2’s complement expression is automatically converted to hexadecimal.
This operation can be performed during Simple I/O Monitor or I/O Multipoint
Monitor. From I/O Multipoint Monitor, the top value on the display will be
changed.
96
Changing Word (16-bit) Present Values Section 5-5
!Caution Always confirm safety before changing data even when working in PRO-
GRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If the
status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus Unit is
changed, the load connected to the Unit may operate unexpectedly.
Key Sequence
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor as signed decimal
display, and bring up the word for changing.
D 00200
D00200 -16
D00200 -16
CHG
PV -?????
3. Input the new value and return to Signed Decimal Monitor.
D00200 -16
SET PV +?????
3 2 7 6 7 WRITE
D00200 +32767
• When inputting positive numbers, press the SET Key; when inputting
negative numbers, press the RESET Key.
• When an error is made inputting, press the CLR Key to return to the
previous display, then enter the value correctly.
Double-word Displays
Operation Example The following example changes the present values of D00201 and D00200.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor as signed decimal
display, and bring up the words for changing.
D 00201, D00200
D00201 D00200
+65520
2. Specify changing the values from the double-word signed decimal display.
D00201 PV?
CHG
+65520
97
Changing Word (16-bit) Present Values Section 5-5
D00201 PV?
RESET -65520
3 2 7 6 8 WRITE
D00201 D00200
-32768
• When inputting positive numbers, press the SET Key; when inputting
negative numbers, press the RESET Key.
• When an error is made inputting, press the CLR Key to return to the
previous display, then enter the value correctly.
This operation changes present values for word data using unsigned decimal
(single-word data: 0 to 65535, double-word: 0 to 4294967295). Conversions
to hexadecimal are performed automatically.
This operation can be performed during Simple I/O Monitor or I/O Multipoint
Monitor. From I/O Multipoint Monitor, the top value on the display will be
changed.
!Caution Always confirm safety before changing data even when working in PRO-
GRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If the
status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus Unit is
changed, the load connected to the Unit may operate unexpectedly.
Key Sequence
Enter values in un
Unsigned Decimal Monitor display CHG
signed decimal WRITE
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor as unsigned deci-
mal display, and bring up the word for changing.
CIO 0100
0100 &65520
0100 &65520
CHG
PV? &?????
3. Input the new value and return to Unsigned Decimal Monitor.
6 5 5 3 5 WRITE
0100 &65535
98
Changing Word (16-bit) Present Values Section 5-5
When an error is made inputting, press the CLR Key to return to the pre-
vious display, then enter the value correctly.
Double-word Display
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor as unsigned deci-
mal display, and bring up the words for changing.
CIO 0101, CIO 0100
0101 0100
&65520
2. Specify changing the values from the double-word unsigned decimal dis-
play.
0101 PV?
CHG
&65520
3. Input the new values and return to Unsigned Decimal Monitor.
6 5 5 3 5 WRITE
0101 0100
&65535
When an error is made inputting, press the CLR Key to return to the previ-
ous display, then enter the value correctly.
5-5-5 Changing PVs from the ASCII Monitor
RUN MONITOR PROGRAM
No OK OK
This operation changes present values for word data using ASCII.
• This operation can be performed during Simple I/O Monitor or I/O Multi-
point Monitor. From I/O Multipoint Monitor, the top value on the display will
be changed.
• For details on ASCII characters which can be displayed, refer to Appendix
B.
!Caution Always confirm safety before changing data even when working in PRO-
GRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If the
status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus Unit is
changed, the load connected to the Unit may operate unexpectedly.
Key Sequence
Operation Example The following example changes the present value for D00000.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor as an ASCII dis-
play, and bring up the word for changing.
D 00000
D00000 "AB"
99
Changing Word (16-bit) Present Values Section 5-5
D00000 "AB"!
CHG
PV "??"
When “ ” is displayed, the text on the lower-left of the keys will be input
when keys are pressed.
3. Input the new value and return to Simple I/O Monitor or I/O Multipoint Mon-
itor.
SFT NOT
D00000 "BC"
WRITE
B C
Key Sequence
Word (Multiple-bit) Monitor display
0 1
CHG WRITE
Operation Example The following example changes the present value of CIO 0001.
1,2,3... 1. Access the Word (Multiple-bit Monitor) and bring up the word to be
changed.
CIO 0001
0001 MON
11110000S00000R0
2. Press the CHG Key to specify changing the present value.
0001 CHG?
CHG
~1110000S00000R0
3. Press the Up and Down Keys to move the cursor to the bit to be changed.
0001 CHG?
↓ ↑
1111~000S00000R0
4. Specify the new value.
0001 CHG?
1
1111~000S00000R0
100
Forcing Bits ON/OFF Section 5-6
The cursor position after inputting a new value varies depending on the last
key pressed for moving the cursor.
Press the Up and Down Keys to confirm the new value.
Press the Down Key Press the Up Key
0 : OFF
1 : ON
SHIFT
SET : Force Set (S) (Not possible in data memory)
SHIFT
RESET
: Force Reset (R) (Not possible in data memory)
0001 MON
WRITE
11111000S00000R0
This operation is used to force bits ON/OFF regardless of any external inputs
or results of user program execution. This operation can be performed during
Simple I/O Monitor or I/O Multipoint Monitor.
!Caution Always confirm safety before setting or resetting bits even when working in
PROGRAM mode. The CPU Unit will refresh I/O even in PROGRAM mode. If
the status of a bit allocated to an Output Unit, Special I/O Unit, or CPU Bus
Unit is changed, the load connected to the Unit may operate unexpectedly.
101
Forcing Bits ON/OFF Section 5-6
Operation Example The following example uses Force Set/Reset to reset bit 00 of CIO 0001.
1,2,3... 1. Access the Simple I/O Monitor or the I/O Multipoint Monitor and bring up
the bit to be Force Set/Reset. The following example shows the I/O Multi-
point Monitor.
Bit 00 of CIO 0001
000100 ^ OFF
000001 ^ ON
From the I/O Multipoint Monitor, the bit at the top of the display will be
changed.
2. When a bit has been Force Set, an “S” will appear and when it has been
Force Reset, an “R” will appear on the display. The forced ON/OFF status
of the bit will not be affected by external input changes or the result of ex-
ecuting a command.
SHIFT
000100 S ON
SET 000001 ^ ON
Key sequence:
SHIFT
SET : Continuous Force Set.
SHIFT
RESET : Continuous Force Reset.
Key Sequence
102
Differential Monitor Section 5-7
Operation Example The following example uses Force Set/Reset to reset bit 00 of CIO 0001.
1,2,3... 1. Access the Simple I/O Monitor or the I/O Multipoint Monitor and bring up
the bit to be Force Set/Reset. The following example shows the I/O Multi-
point Monitor.
Bit 00 of CIO 0001
000100 ^ OFF
000001 ^ ON
From the I/O Multipoint Monitor, the bit at the top of the display will be
changed.
2. The bit will be force-set/reset only while the key is being pressed. While the
key is being pressed, a black square will be displayed.
000100 ~ OFF
SET 000001 ^ ON
Key sequence
Key Sequence
NOT
SET RESET
Operation Example Use the following key strokes to clear all force-set/reset bits.
000000REL FORCED
SET RESET ?
000000REL FORCED
NOT
END
103
Online Editing Section 5-8
Key Sequence
Differentiation up SHIFT ↑
Simple I/O Monitor display detected:
Operation Example The following example detects the differentiate up/differentiate down status of
bit 10 of CIO 0100.
1,2,3... 1. Access the Simple I/O Monitor or I/O Multipoint Monitor display, and bring
up the bit to be monitored.
Bit 10 of CIO 0100
010010 ^ OFF
From the I/O Multipoint Monitor, the bit at the top of the display will be mon-
itored.
2. Set detection of the differentiate up status. In this example, an OFF to ON
change is detected in the status of CIO 010010.
010010 U@OFF
SHIFT ↑
3. When the specified bit turns ON, the display will change and the buzzer will
sound.
010010 ^ ON
010010 D@ ON
SHIFT ↓
5. When the specified bit turns OFF, the display will change and the buzzer
will sound.
010010 ^ OFF
This operation is used when the CPU Unit is in MONITOR mode to overwrite
instructions in user programs.
Key Sequence
104
Online Editing Section 5-8
Operation Example In the following instruction block, the instruction at address 00200 will be
changed to LD NOT 000002.
Address Instruction Operand
: : :
000200 LD 000001 Changed to LD NOT 000002.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the program address containing the instruc-
tion to be changed.
000000 CT00
CLR
¡
000200 CT00 0
2 0 0 ↓ LD 000001
2. Input the new instruction and press the WRITE Key.
AA ONLINE EDIT?
NOT 2 WRITE
LD LD N 000002
3. Press the WRITE Key once more.
000201 CT00 0
WRITE
AND 000200
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
4. Press the Up Key to check the instruction.
000200 CT00 1
↑
LD N 000002
This operation is used when the CPU Unit is in MONITOR mode to add an
instruction to the end of the user program.
Note Refer to 4-1 Inputting Instructions for details on adding instructions in PRO-
GRAM mode.
Key Sequence
Operation Example In the following instruction block, LD 000002 and OUT 000100 are added
before the END(001) instruction.
Address Instruction Operand
: : :
LD 000002 and OUT 000100 are
123456 END
added.
105
Online Editing Section 5-8
1,2,3... 1. From the initial display, access the last program address.
000000 CT00
CLR
1 2 3 4 5 6 ↓
123456 CT00
END(001)
2. Specify the instruction to be added and press the WRITE Key.
AA ONLINE EDIT?
2 WRITE
LD LD 000002
3. Press the WRITE Key once more.
123457 CT00
WRITE
END(001)
4. Continue to specify the next instruction to be added and press the WRITE
Key after each one.
AC ONLINE EDIT?
1 0 0 WRITE
OUT OUT 000100
5. Press the WRITE Key once more.
123458 CT00
WRITE
END(001)
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
6. Use the Up Key to check that the instruction has been added.
123457 CT00 0
↑
OUT 000100
123456 CT00 0
↑
LD 000002
This operation is used when the CPU Unit is in MONITOR mode to insert
instructions into the middle of a user program.
Note Refer to 4-3-2 Instruction Insert for details on inserting instructions in PRO-
GRAM mode.
Key Sequence
106
Online Editing Section 5-8
Operation Example In the following instruction block, AND 000100 will be inserted in front of
address 00201.
Address Instruction Operand
: : :
000200 LD 000001
AND 000100 will be inserted.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the program where the address to be in-
serted.
000000 CT00
CLR
¡
000201 CT00 0
2 0 1 ↓ AND 000200
2. Specify the instruction to be inserted, and press the INS Key.
000201 INS?
AND 1 0 0 INS
AND 000100
3. Press the Down Key. A confirmation message will be displayed, asking
whether or not to execute the instruction insert using Online Edit.
ONLINE EDIT/INS?
↓ AND 000100
4. If the instruction requires more than one operand, specify the set values
(operands), and press the WRITE Key after each.
5. To execute, press the WRITE Key.
000202 CT00 0
WRITE
AND 000200
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
6. Press the Up Key to confirm that the instruction has been inserted.
000201 CT00 0
↑
AND 000100
This operation is used when the CPU Unit is in MONITOR mode to delete
instructions from the user program.
Note Refer to 4-3-3 Instruction Delete for details on deleting instructions in PRO-
GRAM mode.
Key Sequence
107
Online Editing Section 5-8
Operation Example In the following instruction block, AND 000200 will be deleted from address
00201.
Address Instruction Operand
: : :
000200 LD 000001
000201 AND 000200 Delete
000202 OUT 000100
: : :
1,2,3... 1. From the initial display, access the program address of the instruction to
be deleted.
000000 CT00
CLR
¡
000201 CT00 0
2 0 1 ↓ AND 000200
2. Delete the address.
ONLINE EDIT/DEL?
DEL
AND 000200
3. To execute, press the Up Key. The next program address will be shifted
forwards.
This operation is used when the CPU Unit is in MONITOR mode to change bit
addresses used as operands in the user program.
Note Refer to 4-3-4 Bit Address Change for details on changing bit addresses in
PROGRAM mode.
Key Sequence
Operation Example In the following instruction block, the bit address in the instruction at program
address 00200 (LD 000001) will be changed to CIO 000002.
Address Instruction Operand
: : :
000200 LD 000001 The bit address will be changed to
CIO 000002.
000201 AND 000200
: : :
108
Online Editing Section 5-8
1,2,3... 1. From the initial display, access the program address containing the bit ad-
dress to be changed.
000000 CT00
CLR
¡
000200 CT00 0
2 0 0 ↓ LD 000001
2. Specify the new bit address, and press the WRITE Key.
ONLINE EDIT?
2 WRITE
LD 000002
3. Press the WRITE Key once more.
000201 CT00 0
WRITE
AND 000200
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
4. Press the Up Key to check that the address of the bit operand has been
changed.
000200 CT00 0
↑
LD 000002
This operation is used when the CPU Unit is in MONITOR mode to change
N.O. and N.C. conditions in the user program.
Note Refer to 4-3-5 N.O./N.C. Change for details on changing bit addresses in
PROGRAM mode.
Key Sequence
Operation Example In the following instruction block, the instruction at program address 000200 is
changed from LD 000001 to LD NOT 000001.
Address Instruction Operand
: : :
000200 LD 000001 Changed to LD NOT 000001.
000201 AND 000200
: : :
1,2,3... 1. From the initial display, access the program address containing the instruc-
tion to be changed.
000000 CT00
CLR
¡
109
Online Editing Section 5-8
000200 CT00 0
2 0 0 ↓ LD 000001
2. Press the NOT Key and then the WRITE Key.
ONLINE EDIT?
NOT WRITE
LD N 000001
3. Press the WRITE Key once more.
000201 CT00 0
WRITE
AND 000200
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
4. Use the Up Key to check that LD has been changed to LD NOT.
000200 CT00 1
↑
LD N 000001
This operation is used when the CPU Unit is in MONITOR mode to change
the variation of an instruction in the user program.
Note Refer to 4-3-6 Instruction Variation Change for details on changing bit
addresses in PROGRAM mode.
Key Sequence
Differentiate up
Program address display WRITE WRITE
SHIFT
SET
Differentiate down
SHIFT
RESET
Immediate refresh
TEXT
!
Operation Example In the following instruction block, the instruction at address 000200 (LD
000001) will be changed to an upwardly differentiated LD instruction.
Address Instruction Operand
: : :
000200 LD 000001 Changed to upwardly differentiated
000201 AND 000200 @LD 000001.
: : :
1,2,3... 1. From the initial display, access the program address containing the instruc-
tion to be changed.
000000 CT00
CLR
¡
110
Online Editing Section 5-8
000200 CT00 0
2 0 0 ↓ LD 000001
2. Specify the variation and press the WRITE Key.
SHIFT
ONLINE EDIT?
WRITE
SET @LD 000001
3. Press the WRITE Key once more.
000201 CT00 0
WRITE
AND 000200
After pressing the WRITE Key the second time, the altered program will be
executed from the next scan.
4. Use the Up Key to check the variation has changed.
000200 CT00 0
↑
@LD 000001
Key Sequence
Designated constants
Timer/counter SV display CHG WRITE WRITE WRITE
Designated words
Operation Example The following example describes how to change the set value of TIM 0001.
1,2,3... 1. From the initial display, access the timer/counter for which the set value will
be changed.
000000 CT00
CLR
¡
000201 TIM
↓ SV #0100
2. Specify changing the set value from the above display.
000201SV ?
CHG
#0100
3. The set value can be changed from the above display.
111
Online Editing Section 5-8
Changing Constants
Input the constant from the above display.
CONT
1 2 0 WRITE WRITE
#
ONLINE EDIT?
SV #0120
000202 CT00
WRITE
LD 000100
Changing Word Address
Input the word address from the above display.
CH
SHIFT
*DM 1 0 WRITE WRITE
ONLINE EDIT?
SV 0010
000202 CT00
WRITE
LD 000100
Key Sequence
↓
Timer/counter SV display CHG CHG CLR CLR WRITE WRITE
Operation Example The following example describes how to adjust the constant specified as the
set value for TIM 0001.
1,2,3... 1. From the initial display, access the timer/counter for which the set value will
be adjusted.
000000 CT00
CLR
¡
000201 TIM
↓ SV #0020
2. Specify changing the set values from the above display.
000201SV U/D?
CHG CHG
#0020
112
Online Editing Section 5-8
↑ 000201SV U/D?
↓
or #0021
ONLINE EDIT?
CLR CLR WRITE
SV #0021
000202 CT00
WRITE
LD 000100
113
Online Editing Section 5-8
114
SECTION 6
Maintenance Operations
This section includes information on reading and setting the clock, reading cycle time, and reading and clearing error
messages.
115
Clock Read/Change Section 6-1
Note When the CPU Unit is in RUN mode, the clock can be read but can-
not be changed.
This operation is used to read or set the CPU Unit’s internal clock.
• A battery is not installed in CS1-series PLCs when they are shipped.
When the battery is installed in the CPU Unit, the CPU Unit clock will read
as shown below. 00–01–00 = day, month, year; 00:00:00 = hours, min-
utes, seconds; SUN(0) = Sunday.
TIM 00-00-00
00:00:00: SUN(0)
• The CPU Unit’s internal clock will start when the following Clock Read/
Change operation is executed, when the time is read/changed from
another Peripheral Device, when a FINS command is used to read/
change the time, or when the DATE instruction is executed from the user
program.
• The time data for the CPU Unit’s internal clock is stored in the Calendar/
Clock Area (A351 to 354) in the Auxiliary Area.
Key Sequence
↓
Specify: Yr Mth Day Hr Min S
Operation Example The following example shows how to set clock data for the first time.
1,2,3... 1. From the initial display, access the special function display.
000000 CT00
CLR
¡
SHIFT MON
0:CLOCK
FUN
2. Select 0: TIM.
TIM 00-01-01
0
00:00:00: SUN(0)
3. To change the settings, press the CHG Key. When the CHG Key is
pressed, the cursor will be displayed on the digit to be changed.
116
Cycle Time Read Section 6-2
Key Functions
↓
:Moves the cursor to the right.
↑
:Moves the cursor to the left.
0 9
to : Input numeric values.
4. Press the WRITE Key when the time and date have been set.
TIM 98-04-03
WRITE
14:25:58 FRI(5)
5. Press the CLR Key to exit.
This operation is used to display the average cycle time for all programs (the
total of all tasks) that are being executed.
Key Sequence
Operation Example
1,2,3... 1. From the initial display, access the cycle time display.
000000 CT00
CLR
¡
MON
000000CYCLE TIM
112.1MS
117
Reading/Clearing Error Messages Section 6-3
This operation is used to read fatal and non-fatal error messages, to read
messages generated by MSG(046), and to reset error displays.
Key Sequence
Note 1. Fatal operating errors can only be displayed and reset in PROGRAM
mode.
2. If the source of the error is not removed, the error will not be reset and the
error message will continue to be displayed.
3. When errors are read using the Down Key, the error will not be reset and
current errors can be confirmed.
Operation Example
1,2,3... 1. If there is no error, CHK OK will be displayed (and the error read operation
will be finished).
000000 CT00
CLR
000000
FUN
FUN (???)
MON
ERR/MSG
CHK OK
2. If there is an error, the following will be displayed. The example below
shows a memory error.
MEMORY ERR
3. If there are several errors, the next most serious error will be displayed
when the MON Key is pressed. (The order of display is given on the follow-
ing pages.)
MON
CYCLE TIME ERR
118
Reading/Clearing Error Messages Section 6-3
Note If the FAL instruction has being executed, messages recorded for the
MSG(046) instruction will not be displayed until the cause of FAL ex-
ecution has been removed.
MON
MSG
MATERIAL SHORT
5. When all error messages and MSG(046) messages have been cleared,
the following message will be displayed.
MON
ERR/MSG
CHK OK
Error Messages
When CPU Unit operation is not possible, the following message will be dis-
played.
CPU WAIT'G
When several errors have occurred at the same time, the error messages will
be displayed in order from 1 to 21, as listed below. (In order from the most
serious to least serious.)
MEMORY ERR
119
Reading/Clearing Error Messages Section 6-3
7. Program Error
PROGRAM ERR
INTRPT ERR
PC SETUP ERR
CPU BU ERR
SIOU ERR
120
Reading/Clearing Error Messages Section 6-3
SYSBUS ERR
BATT LOW
CPU BU STUP
SIOU SETUP
MSG(046) Messages
The MSG(046) instruction can be used to record up to 8 messages for display
on the Programming Console. These messages will be displayed when the
MON Key is pressed after all other error messages have been displayed. If
more than one MSG(046) instruction has been executed, the following meth-
ods can be used to display the other MSG(046) messages.
• Press the MON Key continuously. The currently displayed message will
be cleared and the next message will be displayed.
• Press the Down Key continuously. The currently displayed message will
not be cleared and the next message will be displayed.
121
Reading/Clearing Error Messages Section 6-3
MSG(046) Instruction
The MSG(195) instruction reads sixteen words of extended ASCII contained
in 16 words from M to M+15 and displays the message on a Peripheral Device
(e.g., the Programming Console). The displayed message can be up to 32
characters long, i.e., each ASCII character code requires eight bits (two dig-
its).
Storage Words
(Leftmost) (Rightmost)
M 4D 41
M+1 54 45
M+2 52 49
M+3 41 4C MSG
MATERIAL SHORT
M+4 20 53
M+5 48 4F
M+6 52 54
Note Data will be displayed in order from the leftmost byte to the
rightmost byte on the Programming Console display.
Note Error messages will not be displayed while the error is occurring.
122
SECTION 7
Memory Card Operations
This section provides information on how to format Memory Cards before use, and procedures for transferring data
between Memory Cards and the CPU Unit.
123
File Memory Operations Section 7-1
Note I/O name table files (extension .SBL) and block comment files (extension
.RGL), cannot be handled from the Programming Console.
For details on how to specify the starting bank for EM area file memory, refer
to Section Section 8 PLC Setup Procedure.
124
Memory Card Format Section 7-2
Note The memory areas that can be transferred or deleted are as follows:
UM Area
I/O memory CIO Area Specify the transfer start
Work Area (WR) address and end address for
each memory area.
Holding Bit Area (HR)
Note One area = 1 file
Auxiliary Bit Area (AR)
DM Area (DM)
EM Area (EM)
Parameter Areas (e.g., PLC Setup)
With CS1-series PLCs, Memory Cards and the specified range of EM File
Memory can be used as file memory. Regardless of whether it’s the UM Area,
I/O memory or the Parameter Areas (e.g., PLC Setup), all data is saved as
files.
CPU Unit
Memory area
UM Area
File memory
CIO
xxxxxxxx.OBJ
Memory Card
HR
WR xxxxxxxx.IOM
I/O memory
AR
DM xxxxxxxx.STD EM File
Memory
EM
Parameter Areas
(PLC Setup, I/O
tables, etc.)
Key Sequence
CONT
Initial display FUN SHIFT
# ↓ 2 Password WRITE
Operation Example
1,2,3... 1. From the initial display, access the Memory Card operations menu.
000000 CT00
CLR
¡
125
File Write Section 7-3
SHIFT
CONT 0:XFER
FUN
# 1:VRFY
2:FORMAT
↓ 3:DEL
2. Select 2: FORMAT.
FORMAT?
2
???? **
3. To format a Memory Card, enter the password.
WRITE
FORMAT'G ~
9 7 1 3
9713 CF
FORMAT END
9713 CF
Note “9713” is a password set by the system for I/O Table Create and
Memory Card Format. It cannot be changed.
4. To format EM File Memory, enter the password.
WRITE
FORMAT'G ~
8 4 2 6
8426 EM
FORMAT END
8426 EM
Note “8426” is a password set by the system for EM File Memory Format.
It cannot be changed.
This operation transfers the UM Area, specified I/O memory area range, or
PLC Setup data from the CPU Unit to a Memory Card or EM File Memory.
Key Sequence
↓
CONT
Initial display FUN SHIFT 0 0 WRITE
#
↑
Transfer start address ↓ Transfer end address WRITE File name WRITE
126
File Write Section 7-3
Operation Example In the following example, CIO 2345 to CIO 2446 in the CIO Area of the CPU
Unit are transferred to a Memory Card as the file “SAMPLE.IOM.”
Note For creation (and transfer to a Memory Card) of an AUTOEXEC file (a file that
automatically transfers data when the power is turned ON), refer to page 130.
1,2,3... 1. From the initial display, access the Memory Card operations menu.
000000 CT00
CLR
¡
SHIFT
CONT 0:XFER
FUN
# 1:VRFY
2. Select 0:XFER to bring up the Memory Card operations menu.
0:PC~CF_CARD
0
1:CF_CARD~PC
3. Select 0: PC CF_CARD.
PC~CF_CARD?(OBJ)
0
XFER TYPE UM<
4. Select CIO as the type of data to be transferred.
PC~CF_CARD?(IOM)
↓
XFER TYPE CIO<
PC~CF_CARD? CIO
WRITE
ST 0000ED 6143
5. Use the Up and Down Keys to select the type of data to be transferred.
UM Area
PC~CF_CARD?(OBJ)
XFER TYPE UM<
CIO Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE CIO<
or
Holding Bit Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE HR<
or
Work Bit Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE WR<
or
Auxiliary Bit Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE AR<
or
127
File Write Section 7-3
DM Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE DM<
or
EM Area
PC~CF_CARD?(IOM)
↑ ↓ XFER TYPE EM0_<
or
Parameter Areas (PLC Setup)
PC~CF_CARD?(STD)
↑ ↓ XFER TYPE STD<
or
Note a) When saving I/O memory areas, each area (CIO Area, Holding Bit
Area, Work Area, Auxiliary Area, DM Area or EM Area) is saved to
a separate file (extension .IOM) within the specified word range.
b) Always select DM< when creating a data file that is automatically
transferred when the power is turned ON (AUTOEXEC.IOM).
c) If EM0_ is displayed, input the number of the EM bank from 0 to C.
d) The Parameter Areas include the PLC Setup, registered I/O ta-
bles, routing tables, and CPU Bus Unit Setup.
6. When CIO, HR, WR, AR, DM, or EM@ data is being transferred, specify
the transfer start word address and the transfer end word address.
Transfer start address: CIO 2345
2 3 4 5
PC~CF_CARD? CIO
ST 2345 ED 6143
PC~CF_CARD? CIO
↓
ST 2345 ED 6143
Transfer end address: CIO 2446
2 4 4 6 PC~CF_CARD? CIO
ST 2345 ED 2446
WRITE
PC~CF_CARD?(IOM)
FILE"0:~ "
0: Memory Card
1: EM File Memory
7. Switch to text input mode to enter the file name.
SHIFT
TEXT PC~CF_CARD?(IOM!
!
FILE"0:~ "
Text input mode
128
File Write Section 7-3
8. When saving data to a Memory Card, input the file name. When inputting
the name from the Programming Console, A to Z and 0 to 9 are available.
The file name may be a maximum of 8 characters. In the following exam-
ple, the file name is SAMPLE.
*EM_
EM_/EXT FUN AA EM AR DR PC~CF_CARD?(IOM!
S A LDM DM P HR L IR
E FILE"0:SAMPLE~ "
It is not necessary to input the file extension (.OBJ for UM Area, .IOM for
memory areas within I/O memory, and .STD for Parameter Areas). The ex-
tension will be automatically added.
Transfer type Extension
OBJ (UM area) .OBJ
CIO, HR, AR, DM, EM@_ .IOM
STD (PLC Setup) .STD
CF CF_CARD~PC?(IOM)
SRCH FILE"0:SAMPLE "
9. Return to normal input mode.
PC~CF_CARD?(IOM)
CLR
FILE"0:SAMPLE~ "
10. Execute the save by pressing the WRITE Key.
PC~CF_CARD? END
WRITE
FILE"0:SAMPLE "
When a file with the same extension and file name already exists on the
Memory Card, the following display will appear.
PC~CF_CARD OVER?
FILE"0:SAMPLE "
11. Use the following procedure to overwrite the existing file on the Memory
Card.
PC~CF_CARD END
WRITE
FILE"0:SAMPLE "
• If you do not want to overwrite the existing file, press the CLR Key and
input a different file name.
• If the volume label or directory name is specified by mistake, a message
will ask if you want to overwrite. If this happens, press the CLR Key and
input the proper file name.
129
File Read Section 7-4
Automatically
transferred at
power ON.
Note When creating an AUTOEXEC.IOM file, be sure to set the start address to
D20000.
It is possible to create AUTOEXEC.IOM files without setting the start address
to D20000. The actual destination of data transferred from the Memory Card
when the power is turned ON, however, will be the (fixed) address starting at
D20000. Do not set the area type or the start address, therefore, to anything
other than D20000.
!Caution Always confirm safety before reading I/O memory data from a Memory Card
even when working in PROGRAM mode. The CPU Unit will refresh I/O even
in PROGRAM mode. If the status of a bit allocated to an Output Unit, Special
I/O Unit, or CPU Bus Unit is changed, the load connected to the Unit may
operate unexpectedly.
130
File Read Section 7-4
Key Sequence
↓
CONT WRITE
Initial display FUN SHIFT
# 0 1
↑
Transfer start address ↓ Transfer end address WRITE File name WRITE
Operation Example In the following example, a file on the Memory Card, SAMPLE.IOM, is trans-
ferred to CIO 2345 to CIO 2446 in the CPU Unit.
1,2,3... 1. From the initial display, access the Memory Card operations menu.
000000 CT00
CLR
¡
FUN SHIFT
CONT 0:XFER
# 1:VRFY
2. Select 0: XFER from the Memory Card operations menu.
0:PC~CF_CARD
0
1:CF_CARD~PC
3. Select 1: CF_CARD PC.
CF_CARD~PC?(OBJ)
1
XFER TYPE UM<
4. Select CIO as the type of data to be transferred.
CF_CARD~PC?(IOM)
↓ XFER TYPE CIO<
WRITE
CF_CARD~PC? CIO
ST 0000ED 6143
5. Use the Up and Down Keys to select the type of data to be transferred.
UM Area
CF_CARD~PC?(OBJ)
XFER TYPE UM<
CIO Area
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE CIO<
or
Holding Bit Area
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE HR<
or
131
File Read Section 7-4
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE WR<
or
Auxiliary Bit Area
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE AR<
or
DM Area
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE DM<
or
EM Area (See note)
CF_CARD~PC?(IOM)
↑ ↓ XFER TYPE EM0_<
or
Parameter Areas
CF_CARD~PC?(STD)
↑ ↓ XFER TYPE STD<
or
Note If EM0_ is displayed, input the number of the EM bank from 0 to C.
6. When CIO, HR, WR, AR, DM, or EM@ data is being transferred, specify
the transfer start word address and the transfer end word address. The
start and end words are specified only when I/O memory is being trans-
ferred.
Transfer destination start address: CIO 2345
3 4
CF_CARD~PC? CIO
2 5
ST 2345ED 6143
CF_CARD~PC? CIO
↓ ST 2345ED 6143
Transfer destination end address: CIO 2446
4 4
CF_CARD~PC? CIO
2 6
ST 2345ED 2446
WRITE CF_CARD~PC?(IOM)
FILE"0:~ "
0: Memory Card
1: EM File Memory
7. Switch to text input mode to enter the name of the file to transfer to the CPU
Unit. (See note.)
SHIFT
TEXT CF_CARD~PC?(IOM!
! FILE"0:~ "
132
File Read Section 7-4
Note The data area to which data is being written does not necessarily have to be
the same as the area from which data was originally read. The data will be
transferred.
It is essential, however, that the number of words in the original transfer file be
greater than or equal to the number of words in the transfer destination area,
as shown below. Any words which exceed the transfer destination area will
not be transferred.
No. of words in Memory Card No. of words in CPU Unit
original transfer file transfer destination area
Transfer destination
start address
Transfer destination end
address
Not transferred
If the number of words in the original transfer file is less than the number of
words in the specified transfer destination area, no data will be transferred.
8. Enter the file name. In the following example, the file name is SAMPLE.
*EM_
EM_/EXT FUN AA EM AR DR CF_CARD~PC?(IOM!
S A LDM DM P HR L IR
E FILE"0:SAMPLE~ "
• Press the Up and Down Keys to move the cursor.
• Change the “0” in the file name to “1” to transfer the file from EM File
Memory instead of the Memory Card.
Note Press the CF/SRCH Key to display the file names on the Memory
Card or EM File Memory. If this function is used, steps 7., 8., and 9.
are not necessary.
CF CF_CARD~PC?(IOM)
SRCH FILE"0:SAMPLE "
CF_CARD~PC?(IOM)
CLR
FILE"0:SAMPLE~ "
10. Execute the transfer by pressing the WRITE Key.
CF_CARD~PC END
WRITE
FILE"0:SAMPLE "
133
File Verify Section 7-5
Reading Memory Card data using the Programming Console is useful, for
example, to make changes to a program by taking only a Memory Card and
Programming Console on-site.
1. Save the program file (XXXXXXXX.OBJ) using the CX-Programmer.
2. Take the Memory Card on-site and install it in the CPU Unit.
3. Connect the Programming Console, and transfer the program file from the
Memory Card to the CPU Unit.
Memory Card
This operation verifies data on a Memory Card or EM File Memory (UM Area,
specified I/O memory areas, or PLC Setup) with internal CPU Unit data.
Key Sequence
↓
CONT
Initial display FUN SHIFT
# 1 WRITE
Verify start address ↓ Verify end address WRITE File name VRFY
Operation Example In the following example, CIO 2345 to CIO 2446 in the CPU Unit are verified
against the Memory Card file “SAMPLE.IOM.”
1,2,3... 1. From the initial display, access the Memory Card operations menu.
000000 CT00
CLR
¡
SHIFT
CONT 0:XFER
FUN
# 1:VRFY
134
File Verify Section 7-5
VRFY? (OBJ)
1
VRFY TYPE UM<
3. Specify CIO as the type of memory to be verified.
VRFY? (IOM)
↓ VRFY TYPE CIO<
VRFY? CIO
WRITE
ST 0000ED 6143
VRFY? (OBJ)
VRFY TYPE UM<
CIO Area
VRFY? (IOM)
↑ ↓ VRFY TYPE CIO<
or
Holding Bit Area
VRFY? (IOM)
↑ ↓ VRFY TYPE HR<
or
Work Bit Area
VRFY? (IOM)
↑ ↓ VRFY TYPE WR<
or
Auxiliary Bit Area
VRFY? (IOM)
↑ ↓ VRFY TYPE AR<
or
DM Area
VRFY? (IOM)
↑ ↓ VRFY TYPE DM<
or
EM Area
VRFY? (IOM)
↑ ↓ VRFY TYPE EM0_<
or
Parameter Areas
VRFY? (STD)
↑ ↓ VRFY TYPE STD<
or
Note If EM0_ is displayed, input the number of the EM bank from 0 to C.
5. When CIO, HR, WR, AR, DM, or EM@ data is being transferred, specify
the transfer start word address and the transfer end word address. The
135
File Verify Section 7-5
start and end words are specified only when I/O memory is being trans-
ferred.
Verify start address: CIO 2345
VRFY? CIO
2 3 4 5
ST 2345ED 6143
VRFY? CIO
↓ ST 2345ED 61430
Verify end address: CIO 2446
4 4
VRFY? CIO
2 6
ST 2345ED 2446
WRITE
VRFY? (IOM)
FILE"0:~ "
0: Memory Card
1: EM File Memory
6. Switch to text input mode to enter the file name.
SHIFT
TEXT VRFY? (IOM!
! FILE"0:~ "
7. Enter the file name. In this example the file name is 0: SAMPLE.
*EM_
EM_/EXT FUN AA EM AR DR VRFY? (IOM!
S A LDM DM P HR L IR
E FILE"0:SAMPLE~ "
• Press the Up and Down Keys to move the cursor.
• Change the “0” in the file name to “1” to verify the file to a file in EM File
Memory instead of the Memory Card.
Note Press the CF/SRCH Key to display the file names on the Memory
Card or EM File Memory. If this function is used, steps 6., 7., and 8.
are not necessary.
CF VRFY? (IOM)
SRCH FILE"0:SAMPLE "
8. Return to normal input mode.
VRFY? (IOM)
CLR
FILE"0:SAMPLE~ "
9. Execute the verification by pressing the VRFY Key.
OK: Files are the same
NG: Files are different.
VRFY? OK (IOM)
VRFY
FILE"0:SAMPLE "
136
File Delete Section 7-6
The operation deletes data from a Memory Card or EM File Memory (UM
Area, specified I/O memory areas, PLC Setup).
Key Sequence
↓
CONT
Initial display FUN SHIFT
# 3 WRITE
Operation Example In the following example, the Memory Card file “SAMPLE.IOM” is deleted.
1,2,3... 1. From the initial display, access the Memory Card operations menu.
000000 CT00
CLR
¡
SHIFT
CONT 0:XFER
FUN
# 1:VRFY
2:FORMAT
↓ 3:DEL
2. From the Memory Card operations menu, select 3:DEL.
DEL ? (OBJ)
3
DELETE TYPE UM<
3. Select CIO as the type of data to be deleted.
DEL ? (IOM)
↓ DELETE TYPE CIO<
WRITE
DEL ? (IOM)
FILE"0:~ "
0: Memory Card
1: EM File Memory
4. Use the Up and Down Keys to select the type of data to be deleted.
UM Area
DEL ? (OBJ)
DELETE TYPE UM<
CIO Area
DEL ? (IOM)
↑ ↓ DELETE TYPE CIO<
or
137
File Delete Section 7-6
DEL ? (IOM)
↑ ↓ DELETE TYPE HR<
or
Work Bit Area
DEL ? (IOM)
↑ ↓ DELETE TYPE WR<
or
Auxiliary Bit Area
DEL ? (IOM)
↑ ↓ DELETE TYPE AR<
or
DM Area
DEL ? (IOM)
↑ ↓ DELETE TYPE DM<
or
EM Area
DEL ? (IOM)
↑ ↓ DELETE TYPEEM0_<
or
Parameter Areas
DEL ? (STD)
↑ ↓ DELETE TYPE STD<
or
Note If EM0_ is displayed, input the number of the EM bank from 0 to C.
5. Switch to text input mode to enter the file name.
SHIFT
TEXT DEL ? (IOM!
! FILE"0:~ "
6. Enter the file name. (See note.)
*EM_
EM_/EXT FUN AA EM AR DR DEL ? (IOM!
S A LDM DM P HR L IR
E FILE"0:SAMPLE~ "
• Press the Up and Down Keys to move the cursor.
• Change the “0” in the file name to “1” to delete a file from EM File Mem-
ory instead of the Memory Card.
Note Press the CF/SRCH Key to display the file names on the Memory
Card or EM File Memory. If this function is used, steps 5., 6., and 7.
are not necessary.
File name search:
CF DEL ? (IOM)
SRCH FILE"0:SAMPLE "
7. Return to normal input mode.
DEL ? (IOM)
CLR
FILE"0:SAMPLE~ "
138
File Delete Section 7-6
139
SECTION 8
PLC Setup Procedure
141
PLC Setup Procedure Section 8-1
Note When in RUN or MONITOR mode, contents of settings can be read, but set-
ting cannot be performed.
This operation is used to read and write data from and to the PLC Setup Area
in the CPU Unit.
Key Sequence
1 Address ↓
Operation Example 1 In the following example, the Startup mode setting (+081) is changed.
1,2,3... 1. From the initial display, access the PLC Setup display.
000000 CT00
CLR
¡
PC SETUP
FUN VRFY
0:MODE 1:PC SYS
2. It is not necessary to input the Startup mode setting address, just select
0:MODE.
0
PC SETUP
+081 PRCN
CHG
PC SETUP ?
+081 PRCN PRCN
Possible changes are
displayed in sequence
PC SETUP ?
↓ +081 PRCN PRG
PC SETUP ?
↓ +081 PRCN MON
PC SETUP ?
↓ +081 PRCN RUN
142
PLC Setup Procedure Section 8-1
PC SETUP
WRITE
+081 RUN
4. Press the CLR Key to return to the PLC Setup display.
CLR
PC SETUP
0:MODE 1:PC SYS
Operation Example 2 In the following example, the cycle time monitoring time is changed to 2,000
ms (2 s).
1. From the initial display, access the PLC Setup display.
000000 CT00
CLR
PC SETUP
FUN VRFY
0:MODE 1:PC SYS
2. To make changes to all settings except the Startup mode, select 1:PC
SETUP, specify the address (from + onwards), and read the set value.
Example: Changing cycle time monitoring time
PC SETUP
1
+000 0000
C
0
PC SETUP
2 9
+209
PC Setup address
(+209: Cycle time monitoring time)
↓ PC SETUP
+209 0000
Set value
When the set value is displayed, pressing the Up or Down Keys will display
the previous or next address.
3. Use the following procedure to change the set word.
PC SETUP ?
CHG
+209 0000 0000
143
PLC Setup Procedure Section 8-1
C PC SETUP ?
8 0 SHIFT 2 8
+209 0000 80C8
PC SETUP
WRITE
+209 80C8
4. Press the CLR Key to return to the PLC Setup display.
144
Appendix A
ASCII Coding Sheet
The following list shows the range of characters that can be displayed on the Programming Console. Symbols
and Japanese “katakana” characters however, cannot be input from the Programming Console.
Right- Leftmost bit
most 0, 1, 2 3 4 5 6 7 A B C D E F
bit 8, 9
0 0 @ P ‘ p 0 @ P ‘ p
1 ! 1 A Q a q ! 1 A Q a q
2 ” 2 B R b r " 2 B R b r
3 # 3 C S c s # 3 C S c s
4 $ 4 D T d t $ 4 D T d t
5 % 5 E U e u % 5 E U e u
6 & 6 F V f v & 6 F V f v
7 ’ 7 G W g w ’ 7 G W g w
8 ( 8 H X h x ( 8 H X h x
9 ) 9 I Y i y ) 9 I Y i y
A * : J Z j z * : J Z j z
B + ; K [ k { + ; K [ k {
C , < L \ l | , < L \ l |
D - = M ] m } - = M ] m }
E . > N ^ n ~ . > N ^ n
F / ? O _ o « / ? O _ o ~
145
Appendix B
Error Messages
Error messages will be displayed on the Programming Console, whenever an operating error is made. Refer to
the following table for operating errors and their remedies.
Error message Remedy
CHK MEM (ROM) Pin 1 on the CPU Unit’s DIP switch is set to ON (write protect). Reset this pin
to OFF (write enabled).
PRGM OVER The last address is not NOP, therefore no more of the program can be input.
Clear the program after the END instruction.
ADR OVER The set address exceeds the last address in the UM Area. Reset the address.
I/O No. ERR I/O data has been input outside the permissible range. Reconfirm the input
ranges for all instructions and input again correctly.
Refer to 6-3 Reading/Clearing Error Messages for information on displaying the error status of the PLC.
147
Appendix C
PLC Setup Coding Sheets
for Programming Console
Use the following coding sheets when setting the PLC Setup from a Programming Console.
Address
10 @@@@
Rack 0, Slot 0
Value (Hex) I/O response time
00 to 17 As above
Address
11 @@@@
Rack 0, Slot 3
Value (Hex) I/O response time
00 to 17 As above
Address
49 @@@@
Rack 7, Slot 9
Value (Hex) I/O response time
00 to 17 As above
Note For the CJ-series PLCs, address go only to address +29 (3 Racks only).
Address
80 @@@@
149
PLC Setup Coding Sheets for Programming Console Appendix C
Address
81 @@@@
Address
83 @@@@ (CS1D CPU Units for Single-CPU Systems and
CS1-H/CJ1-H CPU Units only)
Address
84 @@@@ (CS1-H CPU Units only)
Address
95@@@@ (CS1D CPU Units only)
150
PLC Setup Coding Sheets for Programming Console Appendix C
Address
96@@@@ (CS1D Duplex-CPU Systems only)
Address
121@@@@ (CS1D CPU Units only)
Address
122 @@@@ (CS1D CPU Units only)
Address
123@@@@ (CS1D Duplex-CPU Systems only)
151
PLC Setup Coding Sheets for Programming Console Appendix C
Address
127 @@@@ (CS1D Duplex-CPU Systems only)
Address
128@@@@
Address
129 @@@@ (CS1-H/CJ1-H/CS1D CPU Units only)
Address
130 @@@@ (CS1D Duplex-CPU Systems only)
Not used.
Value (Hex) Duplex Memory Card settings
0 Disabled.
8 Duplex Memory Card check enabled.
Address
136@@@@
152
PLC Setup Coding Sheets for Programming Console Appendix C
Address
144@@@@
Peripheral port
Value (Hex) Data bits Stop bits Parity
00 7 bits 2 bits Even
01 7 bits 2 bits Odd
02 7 bits 2 bits None
04 7 bits 1 bits Even
05 7 bits 1 bits Odd
06 7 bits 1 bits None
08 8 bits 2 bits Even
09 8 bits 2 bits Odd
0A 8 bits 2 bits None
0C 8 bits 1 bits Even
0D 8 bits 1 bits Odd
0E 8 bits 1 bits None
Address
145 @@@@
Peripheral port
Value (Hex) Baud rate
0000 9,600 bps
0001 300 bps
0002 600 bps
0003 1,200 bps
0004 2,400 bps
0005 4,800 bps
0006 9,600 bps
0007 19,200 bps
0008 38,400 bps
0009 57,600 bps
000A 115,200 bps
Note For NT Links: 0000 to 0009 Hex = Normal NT Link, 000A = High-speed NT Link.
Address
147@@@@
Peripheral port
Value (Hex) Host link Unit No.
0000 No. 0
0001 No. 1
to to
001F No. 31
Address
150@@@@
Peripheral port
Value (Hex) Maximum Unit No. in NT Link Mode
0000 No. 0
0001 No. 1
to to
0007 No. 7
153
PLC Setup Coding Sheets for Programming Console Appendix C
Address
160@@@@
RS-232C Port
Value (Hex) Data bits Stop bits Parity
00 7 bits 2 bits Even
01 7 bits 2 bits Odd
02 7 bits 2 bits None
04 7 bits 1 bits Even
05 7 bits 1 bits Odd
06 7 bits 1 bits None
08 8 bits 2 bits Even
09 8 bits 2 bits Odd
0A 8 bits 2 bits None
0C 8 bits 1 bits Even
0D 8 bits 1 bits Odd
0E 8 bits 1 bits None
Address
161@@@@
RS-232C port
Value (Hex) Baud rate
0000 9,600 bps
0001 300 bps
0002 600 bps
0003 1,200 bps
0004 2,400 bps
0005 4,800 bps
0006 9,600 bps
0007 19,200 bps
0008 38,400 bps
0009 57,600 bps
000A 115,200 bps
Note For NT Links: 0000 to 0009 Hex = Normal NT Link, 000A = High-speed NT Link.
Address
162@@@@
RS-232C port
Value (Hex) No-protocol mode delay
0000 0 ms
0001 10 ms
to to
270F 99,990 ms
Address
163@@@@
RS-232C port
Value (Hex) Host link Unit No.
0000 No. 0
0001 No. 1
0002 No. 2
to to
001F No. 31
154
PLC Setup Coding Sheets for Programming Console Appendix C
Address
164@@@@
RS-232C Port
Value (Hex) No-protocol Mode end code
00 00
to to
FF FF
Address
165@@@@
RS-232C Port
Value (Hex) No-protocol Mode reception data volume
00 256
01 1
to to
FF 256
Address
166@@@@
RS-232C port
Value (Hex) Maximum Unit No. in NT Link Mode
0000 No. 0
0001 No. 1
to to
0007 No. 7
Address
195@@@@
Address
197@@@@
155
PLC Setup Coding Sheets for Programming Console Appendix C
Address
198@@@@ (CS1-H/CJ1-H CPU Units only)
Address
208@@@@
Address
209@@@@
Address
218@@@@
156
PLC Setup Coding Sheets for Programming Console Appendix C
Address
219@@@@
Address
220@@@@
Address
221@@@@
157
PLC Setup Coding Sheets for Programming Console Appendix C
Address
222@@@@
Not used.
Special Peripheral Servicing Unit Numbers
Value (Hex) Setting
00 No special servicing
10 to 1F CPU Bus Units 0 to 15 (unit number + 10 Hex)
20 to 7F Special I/O Units 0 to 95 (unit number + 20 Hex)
E1 Inner Board
FC RS-232C port
FD Peripheral port
Address
225@@@@
Address
226@@@@
158
PLC Setup Coding Sheets for Programming Console Appendix C
Address
449@@@@
to
480@@@@
159
PLC Setup Coding Sheets for Programming Console Appendix C
160
Index
bit search, 69
using bit addresses, 70
buzzer operation, 42
)
buzzer volume, 9 force set/reset
clear, 103
continuous, 101
& temporary, 102
functions
CJ Series
All Clear, 5
definition, xvii
buzzer operation, 5, 42
clock cycle time read, 5
read/change, 116 I/O Table Create, 46
connection, 14, 19 I/O Table Verify, 48
panel mounting, 15 instruction variation change, 5
CS Series Memory Clear, 5
definition, xvii monitoring, 6
CX-Programmer, 3 Program Edit, 5
Program Read, 5
cyclic tasks, 44
Program Write, 5
Programming Console, 5
' reading/clearing error messages, 5
selecting tasks, 5, 43
DIP switch special functions, 6
settings, 18 Table Create, 5
display Table Verify, 5
double-word, 97, 99 Timer/Counter SV change, 5
hexadecimal or BCD, 96 unsupported, 7
signed decimal, 97
unsigned decimal, 98
display contrast, 9 ,±-
display format, 90 I/O bit status monitor, 80
I/O Table Create, 46
161
Index
162
Index
general, xix
handling, 7
7±:
operating environment, 7 tasks
previous models cyclic tasks, 44
comparison with, 16 interrupt tasks, 44
programming, 18 Timer/Counter set values, 60
checking program operation, 26 change, 76
inputting basic instructions, 55 constants, 60
inputting instructions, 54 indirect DM addresses, 61
inputting programs, 22 indirect EM addresses, 61
one cyclic task, 3 words, 60
writing and editing programs, 53 word PVs
Programming Console changing, 95
connection, 19
features, 3
functions, 5
operation, 31
setup, 17
Programming Consoles
PLC Setup coding sheets, 149
programs
bit search, 69
checking and adjusting, 79
editing, 71
instruction search, 68
reading and searching, 67
reading designated addresses, 67
reading execution status, 80
PVs
changing from signed decimal monitor, 96
changing from the ASCII monitor, 99
changing from the word monitor, 100
changing from unsigned decimal monitor, 98
6
selecting tasks, 43
simple I/O monitor, 81
standard special instructions
inputting, 62
symbol comparison instructions, 63
bit addresses, 64
constants, 66
indirect DM addresses, 65
indirect EM addresses, 65
instruction variations, 67
163
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 March 1999 Original production
02 May 2001 Information on CJ-series PCs, the CQM1H-PRO01-E Programming Console,
and PLC Setup addresses 219 to 222 added.
03 September 2001 Information on new CPU Units.
Page ix: Addition to introduction at top of page and model numbers added to
manual names.
Page 2: Model numbers added to bottom table and information added after
table.
Pages 9, 15, 18, 20, 32 to 36, and 42: “CS Series” changed to “CS1” and “CJ
Series” changed to “CJ1/CJ1-H/CS1-H.”
Page 46: Note added toward top of page and section and note added to bottom.
Pages 138 to 145: Deleted.
Pages 148 to 154: Moved to Appendix C.
Pages 148, 150, and 151: Note added.
Pages 149 and 152: Information for new addresses added.
Page 151: Information for following addresses moved to correct order: 163, 166.
04 November 2003 The abbreviation for Programmable Logic Controller was changed from PC to
PLC throughout the manual. Information on CS1D Duplex-CPU Systems and
CPU Units for Duplex-CPU Systems was added, including the following changes.
Page ix: Changed introduction at top of page, added model numbers to manual
names, and added extra manuals.
Page 2: Changed information on applicable CPU Units.
Page 8: Changed diagrams to show Key Sheets in English.
Pages 145 to 152: Removed “+” symbol from all addresses, added new address
settings, and added notes indicating whether settings are supported in Duplex-
CPU Systems.
165
OMRON CORPORATION
FA Systems Division H.Q.
66 Matsumoto
Mishima-city, Shizuoka 411-8511
Japan
Tel: (81)55-977-9181/Fax: (81)55-977-9045
Regional Headquarters
OMRON EUROPE B.V.
Wegalaan 67-69, NL-2132 JD Hoofddorp
The Netherlands
Tel: (31)2356-81-300/Fax: (31)2356-81-388
OMRON ELECTRONICS LLC
1 East Commerce Drive, Schaumburg, IL 60173
U.S.A.
Tel: (1)847-843-7900/Fax: (1)847-843-8568
OMRON ASIA PACIFIC PTE. LTD.
83 Clemenceau Avenue,
#11-01, UE Square,
Singapore 239920
Tel: (65)6835-3011/Fax: (65)6835-2711
Authorized Distributor:
Cat. No. W341-E1-04 Note: Specifications subject to change without notice Printed in Japan