Sysmac CJ Series CJ1W-CIF21 Simple Communications Unit: Operation Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 88

SYSMAC CJ Series

CJ1W-CIF21
Simple Communications Unit
Operation Manual
Produced September 2001
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.

'$1*(5 Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.

:$51,1* Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.

&DXWLRQ Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.

OMRON Product References


All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to
an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for anything
else.

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.
Indicates supplementary information on related topics that may be of interest to the user.

1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.

¸ OMRON, 2001
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or
by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con-
stantly striving to improve its high-quality products, the information contained in this manual is subject to change without
notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility
for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.

v
vi
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
4 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
5 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

SECTION 1
Features and System Configuration . . . . . . . . . . . . . . . . . . . 1
1-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Processing Component Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

SECTION 2
Unit Components and Specifications . . . . . . . . . . . . . . . . . . 9
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-2 Component Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

SECTION 3
Preparation for Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3-1 Procedure Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3-2 Installation and Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3-3 Simple Communications Unit Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3-4 Simple Communications Unit Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3-5 PC Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-6 Connected Component Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-7 DM Settings and Component Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-8 Precautions for Component Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3-9 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

SECTION 4
Allocations in the DM Area . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4-1 Data Memory (DM) Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4-2 Shared Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4-3 Individual Unit Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Appendices
A Data Refresh Cycle (Reference Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
B Example Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
C DM Area Settings Assignment Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

vii
About this Manual:
This manual describes the installation and operation of the CJ1W-CIF21 Simple Communications Unit
and includes the sections described below.
Please read this manual and all of the related manuals carefully and be sure you understand the infor-
mation provided before attempting to install and operate the CJ1W-CIF21 Simple Communications
Unit.
Section 1 describes the features and system configuration of the CJ1W-CIF21 Simple Communica-
tions Unit.
Section 2 provides specifications for the CJ1W-CIF21 Simple Communications Unit and describes the
functions of each component.
Section 3 describes preparatory procedures from installation of the CJ1W-CIF21 Simple Communica-
tions Unit to operation of the Unit.
Section 4 describes the interface with the Components provided in the DM Area of the CPU Unit.
The Appendices provide information on the data refresh cycle, an application example, and DM Area
settings assignment sheets.
Details on CPU Unit, Serial Communications Board, and Serial Communications Unit operation can be
found in the following manuals.
Manual Cat. No.
SYSMAC CJ Series W393
CJ1G-CPU##/CJ1G/H-CPU##H
Programmable Controllers Operation Manual
SYSMAC CS Series W339
CS1G/H-CPU##-EV1, CS1G/H-CPU##H
Programmable Controllers Operation Manual
SYSMAC CS/CJ Series W336
CS1W-SCB21/41, CS1W-SCU21, CJ1W-SCU41
Serial Communications Boards/Units Operation Manual
SYSMAC CQM1H Series W363
CQM1H-CPU## Programmable Controllers
CQM1H-##### Inner Boards
Operation Manual
SYSMAC CQM1H Series W365
CQM1H-SCB41 Serial Communications Boards
Operation Manual
SYSMAC CPM2A W352
Programmable Controllers
Operation Manual

ix
PRECAUTIONS
This section provides general precautions for using the CJ1W-CIF21 Simple Communications Unit.
The information contained in this section is important for the safe and reliable application of Programmable
Controllers. You must read this section and understand the information contained before attempting to set up
or operate a PC system.

1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii


2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
4 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
5 Operating Environment Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
6 Conformance to EC Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
6-1 Applicable Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
6-2 Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

xi
Intended Audience 1

1 Intended Audience
This manual is intended for the following personnel, who must also have
knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.

2 General Precautions
The user must operate the product according to the performance specifica-
tions described in the operation manuals.
Before using the product under conditions which are not described in the
manual or applying the product to nuclear control systems, railroad systems,
aviation systems, vehicles, combustion systems, medical equipment, amuse-
ment machines, safety equipment, and other systems, machines, and equip-
ment that may have a serious influence on lives and property if used
improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide
the systems, machines, and equipment with double safety mechanisms.
This manual provides information for 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.

:$51,1* It is extremely important that a PC and all PC Units be used for the specified
purpose and under the specified conditions, especially in applications that can
directly or indirectly affect human life. You must consult with your OMRON
representative before applying a PC System to the above-mentioned applica-
tions.

3 Safety Precautions
:$51,1* Do not attempt to take any Unit apart while the power is being supplied. Doing
so may result in electric shock.

:$51,1* Do not touch any of the terminals or terminal blocks while the power is being
supplied. Doing so may result in electric shock.

&DXWLRQ Tighten the terminal screws on the communication cable screws to the torque
specified in this manual.

&DXWLRQ Refer to this manual when making settings and set the Simple Communica-
tions Unit correctly. Incorrect settings can cause unexpected operation and
may result in property damage or injury.

xii
Application Precautions 4

4 Application Precautions
&DXWLRQ Failure to abide by the following precautions could lead to faulty operation of
the PC or the system, or could damage the PC or PC Units. Always heed
these precautions.

• When transporting the Unit, use special packing boxes. Be careful not to
allow excessive vibration or shock to be applied during transportation and
not to drop the products.
• Store the Unit within the following temperature and humidity ranges:
Storage temperature: –20 to 75•C
Storage humidity: 10% to 90% (with no icing or condensation)
• Install the Unit properly so that it does not fall.
• Always use the power supply voltage specified in the operation manual.
An incorrect voltage may result in malfunction or burning.
• Set the communications distance to within the range specified in the oper-
ation manual.
• Do not place communications cables close to or parallel to high-voltage
lines or power lines.
• Be sure to attach the labels supplied with the Unit or provide other protec-
tive covers when wiring in order to prevent dust or wire cuttings from
entering the Unit.
• Remove the label after the completion of wiring to ensure proper heat dis-
sipation. Leaving the label attached may result in malfunction.
• Wire terminals or connectors with the correct polarity and direction.
• Double-check all the wiring or the setting switches before turning ON the
power supply. Incorrect wiring may result in 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.
• Use the specified connectors or wires.
Terminal block for RS-422/485: AWG 28 to AWG 16, stripped wire length:
7 mm
• Always turn OFF the power supply to the PC before attempting any of the
following. Not turning OFF the power supply may result in malfunction or
electric shock.
• Assembling the Units
• Connecting or wiring the cables
• Connecting or disconnecting the connectors
• Use the communications cables specified in the operation manual.
• Always use the power supply voltages specified in the operation manual.
An incorrect voltage may result in malfunction or burning.
• Double-check the polarity when connecting the RS-422/485. Some
devices may have reverse polarity (+/–) for SDA/SDB and RDA/RDB.
• When using the RS-422/485, operate only after confirming that terminat-
ing resistance has been set correctly.
• 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 the cables. Doing so may break the cables.

xiii
Operating Environment Precautions 5

• Be sure that the terminal blocks, connectors, and other items with locking
devices are properly locked into place. Improper locking may result in
malfunction.
• Use the Unit with the cover mounted properly.
• Wire correctly as specified in the operation manual.
• Take appropriate measures to ensure that the specified power with the
rated voltage and frequency is supplied. Be particularly careful in places
where the power supply is unstable. An incorrect power supply may result
in malfunction.

5 Operating Environment Precautions


&DXWLRQ Install the Unit properly, as described in this manual.

&DXWLRQ Do not operate the control system in the following locations:

• Locations subject to direct sunlight.


• Locations subject to temperatures or humidity outside the range specified
in the specifications.
• Locations subject to condensation due to sudden temperature changes.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.

&DXWLRQ Take appropriate and sufficient countermeasures when installing systems in


the following locations:

• Locations subject to static electricity or other forms of noise.


• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power lines.

xiv
Conformance to EC Directives 6

6 Conformance to EC Directives
6-1 Applicable Directives
• EMC Directives
• Low Voltage Directive

6-2 Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or the
overall machine. The actual products have been checked for conformity to
EMC standards (see the following note). Whether the products conform to the
standards in the system used by the customer, however, must be checked by
the customer.
EMC-related performance of the OMRON devices that comply with EC Direc-
tives will vary depending on the configuration, wiring, and other conditions of
the equipment or control panel on which the OMRON devices are installed.
The customer must, therefore, perform the final check to confirm that devices
and the overall machine conform to EMC standards.
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN61131-2
EMI (Electromagnetic Interference): EN50081-2
(Radiated emission: 10-m regulations)
Low Voltage Directives
Always ensure that devices operating at voltages of 50 to 1,000 VAC or 75 to
1,500 VDC meet the required safety standards for the PC (EN61131-2).
The CJ-series PCs comply with EC Directives. To ensure that the machine or
device in which a CJ-series PC is used complies with EC Directives, the PC
must be installed as follows:
• The PC must be installed within a control panel.
• Reinforced insulation or double insulation must be used for the DC power
supplies.
• PCs complying with EC Directives also conform to the Common Emission
Standard (EN50081-2). When a PC is built into a machine, however, the
structure of the control panel, the affects of other devices, wiring, and
other factors can affect performance, particularly in respect to radiated
emission (10-m regulations). Even when using CJ-series PCs, which
comply with EC Directives, the customer must, therefore, perform final
checks to confirm that devices and the overall machine conform to EMC
standards.

xv
SECTION 1
Features and System Configuration

This section describes the features and system configuration of the CJ1W-CIF21 Simple Communications Unit.

1-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-2 System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-3 Compatible PCs and Components . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1-2 Processing Component Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1
Introduction Section 1-1

1-1 Introduction
1-1-1 Features
Easily Data Transfer Ladder programming is not required to transfer data between the PC (CPU
between the PC and Unit) and supported OMRON components because the Simple Communica-
OMRON Components tions Unit exchanges data between the PC’s DM Area and the OMRON com-
ponents.
Connect a Wide Variety of Connects OMRON components equipped with CompoWay/F and SYSWAY
Components communications functions, including Temperature Controllers, Digital
Timer/Counters, and Digital Panel Meters.
Monitor All of the The PVs and status of Temperature Controllers, Digital Timer/Counters, and
Components from the PC Digital Panel Meters can be monitored in the PC’s DM Area, so all of the con-
nected components can be monitored together.
Easily Change Set values in the connected components can be changed just by changing the
Component SVs corresponding value in the PC’s DM Area.
Connect Multiple Units Simple Communications Units can be connected to a port on the CPU Unit
and to RS-232C ports on Serial Communications Boards/Units, enabling
more than one series of Components to be connected.
Connect up to 32 Components can be connected with unit numbers 0 to 31 for each Simple
Components per Unit Communications Unit.

1-1-2 System Configuration


Connect the PC (CPU Unit) with OMRON components through the CJ1W-
CIF21 Simple Communications Unit as shown in the following diagram.

Simple
CPU Unit Communication Unit

RS-422 or RS-485 (See note.)

32 components max.

Note Use either RS-422 or RS-485.


The two cannot be combined.

2
Introduction Section 1-1

1-1-3 Compatible PCs and Components


Host (PC)
The CJ1W-CIF21 can be connected to a CJ-series, CS-series, CQM1H, or
CPM2A CPU Unit, as well as to a CJ-series, CS-series, or CQM1H Serial
Communications Board/Unit.
PC Model number Name
CJ Series CJ1G-CPU## CPU Unit
CJ1G/H-CPU##H
CJ1W-SCU41 Serial Communications Unit
CS Series CS1G/H-CPU##(-EV1) CPU Unit
CJ1G/H-CPU##H
CS1W-SCB21 Serial Communications Board
CS1W-SCU21/41 Serial Communications Unit
CQM1H CQM1H-CPU## CPU Unit
CQM1H-SCB41 Serial Communications Board
CPM2A CPM2A-##C## CPU Unit

Components
The following table shows the OMRON components equipped with SYSWAY
or CompoWay/F communications that can be connected.
Name Series Model SYSWAY CompoWay/F Comments
number Connection Segment connection
information
(See note 5.)
Tempera- Temperature Control- E5GN OK 1 OK ---
ture Control- lers E5CN OK 1 OK ---
lers
E5EN OK 1 OK ---
E5AN OK 1 OK ---
Digital Controllers, E5CK OK 1 No ---
Standard Models E5EK OK 1 No ---
E5AK OK 1 No ---
Digital Controllers E5EK OK 1 No Communications spe-
(Valve Control) E5AK OK 1 No cialized for value control
are not supported.
Digital Controllers E5CK-T No --- No ---
(Programmable) E5EK-T No --- No ---
E5AK-T No --- No ---
Digital Controllers E5EK-T No --- No ---
(Programmable, E5AK-T No --- No ---
Valve Control)
Temperature Control- E5EJ OK 1 No ---
lers E5AJ OK 1 No ---
Fuzzy Temperature E5AF OK 1 No ---
Controller
Modular Tempera- E5ZN No --- OK ---
ture Controller
Digital Controller E5ZM No --- OK ---
Board
Timers Digital Timer/Counter H8GN No --- OK ---

3
Introduction Section 1-1

Name Series Model SYSWAY CompoWay/F Comments


number Connection Segment connection
information
(See note 5.)
Digital Panel Digital Panel Meter K3GN No --- OK ---
Meters Process Meter K3NX Limited func- 2 Limited func- Some commands can-
Weighing Meter K3NV tionality tionality not be used.
Frequency/Rate K3NR Only the CompoWay/F
Meter variable area can be
read. (See note 3.)
Period Meter K3NP
Up/Down Counting K3NC
Meter
Temperature Meter K3NH
Intelligent Signal Pro- K3TS Limited func- 2 No SYSWAY connection
cessor tionality only (See note 2.)

Note 1. Components that support only SYSWAY or CompoWay/F communications


must be connected with that communications protocol.
2. When a K3TS is connected, connect the other components by SYSWAY
as well. The K3TS cannot be combined with components that communi-
cate by CompoWay/F communications.
3. When CompoWay/F communications are used for some Digital Panel
Meters, present values and set values are stored in BCD format, unlike
Temperature Controllers and Timers. (These values are stored in binary
format with Temperature Controllers and Digital Timer/Counters.)
4. There are some SYSWAY commands that are not supported by OMRON
components. Refer to the component’s manual and confirm the contents
of CJ1W-CIF21 command groups before using SYSWAY communications.
5. When SYSWAY communications are being used, it is necessary to set the
“segment information” to indicate whether Temperature Controllers or Dig-
ital Panel Meters are connected. Refer to Unit Communications Type (Off-
set: +7, +10, +13, ... , +97, and +100) on page 38 for details on setting the
segment information.

4
Processing Component Data Section 1-2

1-2 Processing Component Data


Data Processing Basics Reading and writing are performed cyclically when the Read and Write Com-
mand Bits are ON.

Serial Commu- Simple Component


CPU Unit nications Unit/ Communications
Board Unit
DM Area

Write data Write


Control Data Area CJ
CS
CQM1H Settings
Read data Read
Write Data Area area

Read Data Area

Interface between the The Simple Communications Unit interfaces with the CPU Unit through the
Simple Communications CPU Unit’s DM Area using the RS-232C or peripheral port on the CPU Unit or
Unit and PC an RS-232C port on a Serial Communications Board or Unit.
Interface between the The Simple Communications Unit interfaces with the OMRON components by
Simple Communications transferring data with SYSWAY or CompoWay/F communications.
Unit and the Components

Differences between Data can be written between the Simple Communications Unit and OMRON
SYSWAY and components with SYSWAY or CompoWay/F communications. The methods
CompoWay/F used to read and write data are different in these communications protocols.
(Some components are not limited to just one of these protocols.)
SYSWAY Communications
When SYSWAY communications are being used, there are 5 possible com-
mand groups. Select one of five command groups with which specified data
will be transferred.
Also, the type of component being connected (Temperature Controller Unit or
Digital Panel Meter) must be set when using SYSWAY communications. Dif-
ferent variables are transferred with Temperature Controller Units and Digital
Panel Meters.
CompoWay/F Communications
When CompoWay/F communications are being used, the variables that will
be transferred must be registered beforehand one-by-one. Up to 12 variable
types can be registered. Register the variables that you want to write/read in
the write variable type area and read variable type area.
When CompoWay/F communications are being used, only these registered
variables can be written and read.

5
Processing Component Data Section 1-2

DM Area Structure The following diagram shows the structure of the DM Area used for communi-
cations with the Simple Communications Unit.
CompoWay/F
Read variable type area (27 words max.)
Number of read items Read data area (26 words max.)
Reserved Response monitor
Starting address of read data area Component status
Variable 1 type Variable 1 read data (lower bytes)
(103 words) Variable 1 address Variable 1 read data (upper bytes)
Control data area : :
: :
Simple Communications Unit control
Simple Communications Unit status Variable 12 type Variable 12 read data (lower bytes)
Syntax error address in DM Area Variable 12 address Variable 12 read data (upper bytes)
Unit number 0 to 31
communications control
Unit 0 communications type
Write variable type area (27 words max.)
Starting address of Unit 0 Write data area (26 words max.)
Number of write items
read variable type area
Starting address of Unit 0 Operation command Response monitor
write variable type area Starting address of write data area Operation command
Unit 1 communications type Variable 1 type Variable 1 write data (lower bytes)
Starting address of Unit 1 Variable 1 address Variable 1 write data (upper bytes)
read data area
Starting address of Unit 1 : :
: :
write data area
Variable 12 type Variable 12 write data (lower bytes)
: Variable 12 address Variable 12 write data (upper bytes)
:
:
Unit 31 communications type
Starting address of Unit 31 Read data area (11 words, 18 words for Digital Panel Meter)
read variable type area
Response monitor
Starting address of Unit 31
write variable type area Present temperature (Display value (lower bytes))
Status (Display value (upper bytes))
Target temperature (Display value status)
Alarm 1 SV (Peak hold setting (lower bytes))
Alarm 2 SV (Peak hold setting (upper bytes))
Proportional band (Peak hold status)
:

Note The values in parentheses show the read data for Digital Panel Meters.

Write data area (9 words, 10 words for Digital Panel Meter)


Response monitor
Target temperature (Operation command)
Operation command (Comparison value HH (lower bytes))
Alarm 1 SV (Comparison value HH (upper bytes))
Alarm 2 SV (Comparison value H (lower bytes))
Proportional band (Comparison value H (upper bytes))
:
:

Note The values in parentheses show the write data for Digital Panel Meters.

SYSWAY

6
Processing Component Data Section 1-2

Flow of Data Processing The following flowchart shows the flow of data processing.

Power application

Read starting address in DM Area.

Specify Unit 0.

Read Simple Communications Unit


control setting.

Simple
Communications Unit NO
control setting set to
RUN?

YES

NO
Is there a write command?

YES
Send an operation command
request to the component.

Execute write.

Is there a read command? NO

YES

Execute read from the component.

Specify next Unit.

NO
Completed 32 Units?

YES
Write Simple Communications Unit
status.

7
SECTION 2
Unit Components and Specifications

This section provides specifications for the CJ1W-CIF21 Simple Communications Unit and describes the functions of
each component.

2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-1-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-1-2 Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2-2 Component Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

9
Specifications Section 2-1

2-1 Specifications
2-1-1 Specifications
Item Specification
Power supply voltage 24 VDC (See note.)
Allowable voltage range 20.4 to 26.4 VDC
Power consumption 1.5 W
Ambient operating temperature 0 to 55•C
Ambient operating humidity 10% to 90% (no condensation)
Ambient storage temperature –20 to 75•C
Weight 150 g

Note Provide a 24-VDC power supply to the power supply connector. Re-
fer to 3-2-2 Power Supply Wiring for details.

2-1-2 Dimensions
The following diagram shows the external dimensions of the CJ1W-CIF21
Simple Communications Unit. All dimensions are in millimeters.

90

33 65

2-2 Component Names and Functions


Front View

1. RS-422/RS-485 port

2. RS-422/RS-485 switch (SW1)

5. Status indicators
3. DM starting address
switch (SW2)

4. RS-232C port

10
Component Names and Functions Section 2-2

Side View

SW3

ON
1
2
3
4
5
6
7
8
9
10

6. Communications settings and


DM starting address area
switch (SW3)

Top View
Cover

(If the cover is difficult to


remove, use a small slotted
screwdriver to pry it open.)
7. Terminator switches (SW4)

Bottom View

8. Power supply connector

1. RS-422/RS-485 Port Connects to the Temperature Controllers, Digital Timer/Counters, and Digital
Panel Meters. Use either RS-422 or RS-485 connections; the two methods
cannot be combined in a single CJ1W-CIF21.

11
Component Names and Functions Section 2-2

Terminal Usage with RS-422 Connection Example


an RS-422 Connection

RDA− CJ1W-CIF21 OMRON Component


Receive Data SDB (+) RDB (+)
(Input)
RDB+ RXD
SDA (−) RDA (−)

SDA− RDB (+) SDB (+)


Send Data
(Output) TXD
RDA (−) SDA (−)
SDB+

NC

OMRON Component
Note The maximum wire RDB (+)
length is 500 m.
RDA (−) RXD

SDB (+)

SDA (−)
TXD

Terminal Usage with RS-485 Connection Example


an RS-485 Connection

CJ1W-CIF21 OMRON Component


RDA−
Send/Receive Data SDB (+) RDB (+)
(I/O)
RDB+ SDA (−) RDA (−)

SDA−
Send/Receive Data
(I/O)
SDB+

NC

OMRON Component
RDB (+)
Note The maximum wire
length is 500 m. RDA (−)

Note RS-422 and RS-485 cannot be used together.

12
Component Names and Functions Section 2-2

RS-422/485 Interface Block Diagram

C5V

TXD
SDB

SDA
0V C5V SW4
5V

1 2
SE
SW1
C5V
5V
C5V

RXD
RDB
5V
C5V
SW1 RDA
4
3 SW4

C0V
C0V
0V C0V

2. RS-422/RS-485 Switch Selects RS-422 or RS-485 communications.


(SW1)
RS-422 setting RS-485 setting
SW1 RS-422 RS-485
SW1 SW1
1 OFF ON
ON 1

ON 1

2 OFF ON
2

3 ON OFF
2

3
3

4 OFF ON
4
4

Note The factory setting is set for RS-485 (two-wire) communications. Do


not turn ON both SW1-3 and SW1-4 at the same time. Doing so may
destroy internal circuits.
3. DM Starting Address Sets the starting address of the Simple Communications Unit’s operational
Switch (SW2) settings in the DM Area. This setting is used in combination with the DM start-
ing address area set on pins 9 and 10 of the DIP switch located on the side of
the Unit (SW3). (Refer to 6. Communications Settings and DM Starting
Address Area (SW3) on page 16.) The following tables show the possible set-
tings for the DM starting address switch (SW2) and DIP switch pins 9 and 10
(SW3).

Note 1. Always turn OFF pins 9 and 10 when connecting to a CPM2A PC.
2. When connecting more than one Simple Communications Unit, set the
starting address in the DM Area at least 200 words apart from each other
so that the settings for the various Units do not overlap with each other.

Setting range: 0 to F

13
Component Names and Functions Section 2-2

DM Starting Address Area: D0000 to D1500 DM Starting Address Area: D2500 to D4000
(Pin 9 OFF and pin 10 OFF on SW3) (Pin 9 ON and pin 10 OFF on SW3)
SW2 setting Starting address in DM Area SW2 setting Starting address in DM Area
0 D0000 0 D2500
1 D0100 1 D2600
2 D0200 2 D2700
3 D0300 3 D2800
4 D0400 4 D2900
5 D0500 5 D3000
6 D0600 6 D3100
7 D0700 7 D3200
8 D0800 8 D3300
9 D0900 9 D3400
A D1000 A D3500
B D1100 B D3600
C D1200 C D3700
D D1300 D D3800
E D1400 E D3900
F D1500 F D4000

DM Starting Address Area: D5000 to D6500 DM Starting Address Area: D7500 to D9000
(Pin 9 OFF and pin 10 ON on SW3) (Pin 9 ON and pin 10 ON on SW3)
SW2 setting Starting address in DM Area SW2 setting Starting address in DM Area
0 D5000 0 D7500
1 D5100 1 D7600
2 D5200 2 D7700
3 D5300 3 D7800
4 D5400 4 D7900
5 D5500 5 D8000
6 D5600 6 D8100
7 D5700 7 D8200
8 D5800 8 D8300
9 D5900 9 D8400
A D6000 A D8500
B D6100 B D8600
C D6200 C D8700
D D6300 D D8800
E D6400 E D8900
F D6500 F D9000

14
Component Names and Functions Section 2-2

4. RS-232C Port Connects to the Simple Communications Unit to the RS-232C or peripheral
port on a CPU Unit or to an RS-232C port on a Serial Communications Board
or Unit.
RS-232C Cable Wiring
The following illustration shows the cable wiring for a CJ-series, CS-series, or
CQM1H PC.

Connector Pin Assignments CJ/CS/CQM1H Simple Comm. Unit


Cable connections and
Signal directions Signal
Signal Pin Pin
5 CTS
9 SG 4 RTS FG 1 --- 1
8 NC 3 RXD
7 NC 2 TXD SD 2 SD 2
6 NC
1 NC
RD 3 RD 3
RS 4 RS 4
(On Simple Communications Unit) CS 5 CS 5
--- 6 --- 6
--- 7 --- 7
--- 8 --- 8
SG 9 SG 9

Shield

The following illustration shows the cable wiring for a CPM2A PC.

CPM2A Cable connections and Simple Comm. Unit


Signal directions
Signal Pin Signal Pin
--- 1 --- 1
SD 2 SD 2
RD 3 RD 3
RS 4 RS 4
CS 5 CS 5
--- 6 --- 6
--- 7 --- 7
--- 8 --- 8
SG 9 SG 9
Hood Shield

15
Component Names and Functions Section 2-2

5. Status Indicators Indicate the operating status of the Simple Communications Unit.
Label Status Meaning
RUN Lit Communications have been established between the Simple
Communications Unit and the CPU Unit. The Simple Commu-
nications Unit is operating.
Not lit
The Simple Communications Unit is not operating with the
CPU Unit.
Flashing Communications between the Simple Communications Unit
and the CPU Unit are not established or were interrupted.
ERR/ALM Lit A fatal error occurred. (See note 1.)
Flashing A non-fatal error occurred. (See note 2.)
Not lit Unit operating normally.
COMM1 Flashing Data is being transferred between the Simple Communica-
tions Unit and the CPU Unit.
Not lit Not transferring data
COMM2 Flashing Data is being transferred between the Simple Communica-
tions Unit and connected components.
Not lit Not transferring data

Note 1. The Simple Communications Unit stops operating when a fatal error oc-
curs. Clear the cause of the error and turn the power ON again.
2. The Simple Communications Unit continues operating when a non-fatal er-
ror occurs. Just clear the cause of the error or clear the error and stop/start
operation to restore operation.
6. Communications Sets the communications conditions used to communicate with the connected
Settings and DM Starting components and with the CPU Unit. Remove the cover on the side of the Unit
Address Area (SW3) to access this DIP switch (SW3).
SW3 Pin Function OFF ON
ON

1 Baud rate for communications Normal 9,600 bps 19,200 bps


1 with CPU Unit (See note 3.) High-speed 38,400 bps 57,600 bps
2
3
2 Baud rate for communications Normal 9,600 bps 19,200 bps
with connected components High-speed 38,400 bps 57,600 bps
4
5 3 Data length (See notes 2 and 3.) 7 bits 8 bits
6 4 Parity enable bit (See notes 2 and 3.) Use parity No parity
7 5 Parity (See notes 2 and 3.) Even Odd
8 6 Stop bits (See notes 2 and 3.) 2 bits 1 bit
9 7 Communications with CPU Unit Normal High-speed
10
8 Communications with connected components Normal High-speed
9
DM starting address --- Pin 10 OFF Pin 10 ON
10 area Pin 9 OFF D0000 to D1500 D5000 to D6500
(See notes 4 and 5.)
Pin 9 ON D2500 to D4000 D7500 to D9000

Note 1. All pins are set to OFF at the factory. The factory settings are shaded in the
above table.
2. Pins 3, 4, 5, and 6 set communications conditions between the Simple
Communications Unit and connected components only.
3. The communications conditions with the CPU Unit are fixed to the follow-
ing: 7 data bits, even parity, and 2 stop bits.
4. When connected to a CPM2A CPU Unit, always turn OFF pins 9 and 10.

16
Component Names and Functions Section 2-2

5. When connecting more than one Simple Communications Unit, set the starting
address in the DM Area at least 200 words apart from each other so that the
settings for the various Units do not overlap with each other.
7. Terminator Turn ON pins 1 and 2 if the Simple Communications Unit is at the end of the RS-
Switches (SW4) 422/RS-485 transmission path. Remove the cover on the top of the Unit to access
SW4. If the cover is difficult to remove, use a small slotted screwdriver to pry it
open.
SW4

Enable Disable
terminator terminator

Pin 1 Pin 2
Enable terminator ON ON
Disable terminator OFF OFF

Note 1. Both pins are set to OFF at the factory.


2. The terminating resistance is 235 W with RS-422 communications. Keep the
total combined terminating resistance above 110 W.
3. The terminating resistance is 118 W with RS-485 communications. Keep the
total combined terminating resistance above 54 W.
8. Power Supply Connects to the 24-VDC power supply. Supply +24 V to the red wire and 0 V to
Connector the black wire of the power supply cord provided with the Unit.

17
SECTION 3
Preparation for Operation

This section describes preparatory procedures from installation of the CJ1W-CIF21 Simple Communications Unit to
operation of the Unit.

3-1 Procedure Outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20


3-2 Installation and Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3-2-1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3-2-2 Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3-3 Simple Communications Unit Connections . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3-4 Simple Communications Unit Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3-5 PC Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-6 Connected Component Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-7 DM Settings and Component Communications . . . . . . . . . . . . . . . . . . . . . . . 27
3-7-1 DM Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3-7-2 Starting Communications with the Components . . . . . . . . . . . . . . . 28
3-8 Precautions for Component Communications . . . . . . . . . . . . . . . . . . . . . . . . 29
3-9 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-9-1 Fatal Errors (ERR Indicator Lit) . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-9-2 Non-fatal Errors (ERR Indicator Flashing) . . . . . . . . . . . . . . . . . . . 32

19
Procedure Outline Section 3-1

3-1 Procedure Outline


The following diagram outlines the procedures required to prepare for commu-
nications with the connected OMRON components.

Simple Communications Unit


connections

Simple Communications Unit


settings

PC settings

Connected component
settings

DM Area settings

Communications with
connected components

3-2 Installation and Power Supply Wiring


3-2-1 Installation
Install the CJ1W-CIF21 Simple Communications Unit on a DIN Track that is
35-mm wide. The Unit must not be mounted directly to a panel or other sur-
face.

DIN Track
PFP-100N (1 m)
PFP-50N (50 cm)
PFP-100N2 (1 m)
PFP-M End Plates

20
Installation and Power Supply Wiring Section 3-2

Installing the Unit on DIN Track


Hook the top of the Unit’s mounting bracket onto the top of the DIN Track,
pivot the Unit down completely, and lock the Unit to the bottom of the DIN
Track.

2. Hang the top


hook onto the
DIN Track.

3. Pivot the Unit


down and push
it into place.
1. Pull down the
bottom hook. 4. Lock the
bottom hook.

Note The DIN Track must be installed horizontally. If the Track is installed vertically,
air will not flow properly through the Unit and the Unit may overheat.
Removing the Unit from the DIN Track
Use a standard slotted screwdriver to release the Unit’s bottom hook. Pull the
bottom of the Unit off of the DIN Track.

Slotted screwdriver

21
Installation and Power Supply Wiring Section 3-2

3-2-2 Power Supply Wiring


Use a DC power supply with sufficient capacity and low ripple. We recom-
mend using the OMRON CPM2C-PA201 AC Power Supply Unit.

&DXWLRQ Do not perform a voltage withstand test on the Unit’s DC power supply termi-
nals. The test might damage the Unit’s internal components.

Using a General-purpose Connect the CJ1W-CIF21 Simple Communications Unit to a 24-VDC power
DC Power Supply supply with the power supply cord included with the Unit.

1,2,3... 1. Align the power supply cord’s connector with the connector on the bottom
of the Unit and insert it into the Unit.

Red lead: +24 V


Black lead: 0 V

Power supply cord (Included with the


Simple Communications Unit)
Cable length: 100 cm

2. To remove the power supply cord, hold the cord’s connector, press on the
lock lever to release the connector’s lock, and pull out the connector. Do
not pull on the wires.

Lock lever

22
Simple Communications Unit Connections Section 3-3

Using a CPM2C-PA201 AC If you are using a CPM2C-PA201 Power Supply Unit, use the power supply
Power Supply Unit cord included with the CPM2C-PA201 to connect to the CJ1W-CIF21 Simple
Communications Unit.

Power Supply Cord


(Included with the CPM2C-PA201)
Cable length: 23 cm

Note 1. Use a DC power supply with sufficient capacity and minimum ripple. The
CPM2C-PA201 is recommended.
2. Use double or reinforced insulation on the power supply whenever meeting
the Low Voltage Directive of the EC Directives is necessary.

3-3 Simple Communications Unit Connections


Connect the CJ1W-CIF21 Simple Communications Unit to the PC and con-
nect up to 32 OMRON components through the Unit’s RS-422/RS-485 inter-
face.
Simple
CPU Unit Communication Unit

RS-422 or RS-485 (See note.)

32 components max.

Note Use either RS-422 or RS-485. The two methods cannot be combined.

23
Simple Communications Unit Connections Section 3-3

RS-232C Wiring with 9-pin D-Sub on PC


The following illustrations show the cable wiring between the Simple Commu-
nications Unit and the PC (CPU Unit, Serial Communications Board, or Serial
Communications Unit).
CJ-series, CS-series, CQM1H PC
CJ/CS/CQM1H Cable connections and Simple Comm. Unit
Signal directions
Signal Pin Signal Pin
FG 1 --- 1
SD 2 SD 2
RD 3 RD 3
RS 4 RS 4
CS 5 CS 5
--- 6 --- 6
--- 7 --- 7
--- 8 --- 8
SG 9 SG 9

Shield

CPM2A PC
CPM2A Cable connections and Simple Comm. Unit
Pin Signal directions
Signal Signal Pin
--- 1 --- 1
SD 2 SD 2
RD 3 RD 3
RS 4 RS 4
CS 5 CS 5
--- 6 --- 6
--- 7 --- 7
--- 8 --- 8
SG 9 SG 9
Hood Shield

The following connectors can be used to connect the PC to the Simple Com-
munications Unit.
• CJ-series, CS-series, or CQM1H PC
Unit Port on Unit Model number Length
CPU Unit Built-in RS-232C XW2Z-200T/500T 2 or 5 m
port (D-Sub, 9-pin
female)
Peripheral port CS1W-CN118 + 0.1 m + 2 or 5 m
XW2Z-200T/500T
Serial Communica- RS-232C port (D- XW2Z-200T/500T 2 or 5 m
tions Board/Unit Sub, 9-pin female)

• CPM2A PC
Unit Port on Unit Model number Length
CPU Unit Built-in RS-232C XW2Z-200T/500T 2 or 5 m
port (D-Sub, 9-pin
female)
Peripheral port CPM1-CIF01 + 0.15 m + 2 or 5 m
XW2Z-200T/500T

24
Simple Communications Unit Settings Section 3-4

3-4 Simple Communications Unit Settings


Observe the following two precautions when changing the Unit’s switch set-
tings.
• Always turn OFF the power before changing the Simple Communications
Unit’s settings.
• To prevent malfunctioning from static discharge, never touch the setting
switches when the power is ON.
RS-422/RS-485 Switch (SW1)
Selects whether RS-422 or RS-485 communications are used for communica-
tions with the connected OMRON components.
RS-422 setting RS-485 setting
SW1 SW1

ON 1

ON 1
2

2
3

3
4

4
The following table shows the factory settings (RS-485 communications).
SW1 pin Factory setting Function
1 ON Selects RS-485 communi-
2 ON cations (two-wire communi-
cations).
3 OFF
4 ON

Note See 2. RS-422/RS-485 Switch (SW1) on page 13 for more details on


the function of SW1.
DM Area Starting Address Setting (SW2)
Sets the starting address of the Simple Communications Unit’s operational
settings in the DM Area. This setting is used in combination with the DM start-
ing address area set on pins 9 and 10 of the DIP switch located on the side of
the Unit (SW3).

The following table shows the factory settings for SW2 and SW3 pins 9 and
10.
SW2 SW3 pin 9 SW3 pin 10 Starting address in the DM Area
0 OFF OFF D0000

Note 1. Refer to 3. DM Starting Address Switch (SW2) on page 13 for tables show-
ing all of the possible settings of SW2 and SW3 pins 9 and 10.
2. When connected to a CPM2A CPU Unit, always turn OFF pins 9 and 10.
3. When connecting more than one Simple Communications Unit, set the
starting address in the DM Area at least 200 words apart from each other
so that the settings for the various Units do not overlap with each other.

25
Simple Communications Unit Settings Section 3-4

Communications Settings and DM Starting Address Area (SW3)


Sets the baud rate with the CPU Unit, the baud rate and communications con-
ditions with the connected components, and the area in DM Area where the
first word used by the Simple Communications Unit can be set. Set the same
baud rates and communications settings in the PC and communications com-
ponents. (Set the PC’s communications conditions as follows: 7 data bits,
even parity, and 2 stop bits.)
SW3

ON
1
2
3
4
5
6
7
8
9
10

Pin Factory Function Communications


1 OFF Baud rate = 9,600 bps CPU Unit
2 OFF Baud rate = 9,600 bps Connected com-
3 OFF Data length = 7 bits ponents
4 OFF Parity = Enabled
5 OFF Parity = Even
6 OFF Stop bits = 2 bits
7 OFF Communications mode = Normal (not high-speed) CPU Unit
8 OFF Communications mode = Normal (not high-speed) Connected com-
ponents
9 OFF DM Starting Address Area: D0000 to D1500 ---
10 OFF

Note 1. When connected to a CPM2A CPU Unit, always turn OFF pins 9 and 10.
2. When connecting more than one Simple Communications Unit, set the
starting address in the DM Area at least 200 words apart from each other
so that the settings for the various Units do not overlap with each other.
3. Refer to 6. Communications Settings and DM Starting Address Area
(SW3) on page 16 for more details on SW3 pin settings.
Terminator Switches (SW4)
Turn ON pins 1 and 2 if the Simple Communications Unit is at the end of the
RS-422/RS-485 transmission path. The factory setting for SW4 is both pins
OFF (no terminating resistance.)
SW4

Terminator enabled Terminator disabled


(Both pins ON) (Both pins OFF)

26
PC Settings Section 3-5

Note 1. The terminating resistance is 235 W with RS-422 communications. Keep


the total combined terminating resistance above 110 W.
2. The terminating resistance is 118 W with RS-485 communications. Keep
the total combined terminating resistance above 54 W.

3-5 PC Settings
Make the following settings for the PC (CPU Unit, Serial Communications
Board, or Serial Communications Unit).
Setting name Setting Remarks
Serial communications Host Link ---
mode
Baud rate 9,600/19,200/38,400/57,600 bps Set to match the Sim-
ple Communications
Unit’s setting.
Data length 7 bits ---
Parity enable/disable Enable parity ---
Parity even/odd setting Even ---
Stop bits 2 bits ---
Host Link number 00 ---
(See note 1.)

Note 1. Set the Host Link number to 00. Operation will not be possible with any oth-
er number.
2. The range of DM Area addresses that can be used depends on the PC that
is being connected. Check the applicable DM Area address range in the
CPU Unit and do not exceed it.
3. Although the CS/CJ-series CPU Units support addresses D00000 to
D32767 in the DM Area, the Simple Communications Unit must be allocat-
ed addresses between D00000 and D09999.

3-6 Connected Component Settings


Make the following settings in the components connected to the Simple Com-
munications Unit. Refer to the component’s manuals for details on these set-
tings.
Unit Number Set the component’s unit number between 0 and 31. Set a unique unit number
on each component.
Communications Settings Set the same communications settings that were set for the Simple Communi-
cations Unit in page 25 Simple Communications Unit Settings.
Enable Remote Specify “Enable Communications Writing (Remote)” for the setting mode. If
Communications Writing “Disable Communications Writing (Local)” is specified, it won’t be possible to
change the component’s SVs.
Terminating Resistance Terminating resistance must be set on the components at the ends of the RS-
422/RS-485 communications cable. Turn on the termination resistance switch
on the last component.

3-7 DM Settings and Component Communications


This section explains the basic procedures required to communicate with con-
nected components. Refer to SECTION 4 Allocations in the DM Area for
details on DM settings and setting procedures.

27
DM Settings and Component Communications Section 3-7

Write the following program sections in the user program to establish commu-
nications with the connected components.

3-7-1 DM Settings
Verify that the components that you want to connect are supported by the
CJ1W-CIF21. Determine whether the components will communicate by
SYSWAY or CompoWay/F communications.
Write the following program sections at the beginning of the user program so
that the DM settings are made when the PC is turned ON.
When more than one Simple Communications Unit is connected, set the sys-
tem so that the Control Data Areas and the Individual Unit Areas do not over-
lap.

1,2,3... 1. Parameter Settings in the Control Data Area


• Set the number of connected components (32 max.)
• When using SYSWAY, set each component’s segment information.
• When using SYSWAY, select and set a command group that contains
the values that you want to read or write.
• Set the communications protocol.
• When using SYSWAY, set the starting addresses of each component’s
read/write data areas.
• When using CompoWay/F, set the starting addresses of each compo-
nent’s read/write variable type areas.
2. When using CompoWay/F, set the variable type and variable address of
each variable that you want to read or write. (Set this information in the
read/write variable type area.)
3. When writing data, set the data that you want to write in the write data area.

3-7-2 Starting Communications with the Components


Use the following procedure to start communications with the components.

1,2,3... 1. Set the rightmost digit of the “Simple Communications Unit control” word
in the Control Data Area (the RUN/Stop digit) to 1 (RUN).
2. Turn ON the Read Command Bit or Write Command Bit of the desired
component. (These bits are in the Control Data Area with word offsets +3,
+4, +5, and +6. See Communications Control Bits (Offset: +3, +4, +5, and
+6) on page 37.)
Changes to the following values are recognized only when the Simple Com-
munications Unit control word’s RUN/Stop digit is switched from Stop to RUN.
When one of these values has been changed, switch the Simple Communica-
tions Unit from RUN to Stop and then back to RUN again.
• Segment information
• Command group
• Communications protocol
• Starting addresses of read/write data areas
• Starting addresses of read/write variable type areas
Note Refer to Simple Communications Unit Control (Offset: +0) on page 36 for
details on the RUN/Stop Digit.

28
Precautions for Component Communications Section 3-8

3-8 Precautions for Component Communications


Observe the following precautions when communicating with components.
Time Required to Refresh The time required to refresh read or write data varies with the PC’s cycle time.
Read/Write Data In addition, the refreshing interval is not fixed.
Establishing Turn ON the Simple Communications Unit and the PC at the same time or
Communications with the turn ON the Simple Communications Unit after the PC has started. The Unit’s
PC RUN indicator will flash until communications are established with the PC.
After communications are established, the RUN indicator will be lit or not lit
depending on the status of Simple Communications Unit control.
No Response from PC If communications were established with the PC and later there is no
after Communications response from the PC, the Unit will retry communications with the PC for 2
were Established minutes. If there is no response after 2 minutes, a fatal error will occur and the
ERR indicator will light.
Communications with When an error occurs in communications between the Simple Communica-
Connected Components tions Unit and a connected component, a non-fatal error will occur in the Unit
and the Unit will stop communications with that component. The Unit writes
the corresponding error code in the Response Monitor Area and the ERR indi-
cator flashes, but the Unit continues operating and proceeds to communica-
tions with the next component. The ERR indicator will stop flashing if the Unit
communicates successfully with the next component.
Operating Mode of the It is not possible for the Simple Communications Unit to write data to the CPU
CPU Unit Unit if the CPU Unit is in RUN mode. Just before writing data, the CPU Unit’s
operating mode is checked with the STATUS READ host link command. If the
CPU Unit is found to be in RUN mode, the mode is changed to MONITOR
mode with the STATUS WRITE host link command so that the data can be
written.
When a data write error occurs because the CPU Unit was changed to RUN
mode from a Programming Device, the Simple Communications Unit will
attempt to change the operating mode and write data twice. If these retries
fail, a fatal error will occur and the ERR indicator will light.
Switching the Simple The Simple Communications Unit must be switched from Stop to RUN in
Communications Unit order to validate any changes made in Control Data Area words +7 through
from “Stop” to “RUN” +102. After editing these words, always switch the Unit from RUN to Stop and
then back to RUN again. Refer to Simple Communications Unit Control (Off-
set: +0) on page 36 for details on the RUN/Stop Digit.
Note The Communications Control Area (Read and Write Command Bits) and the
CompoWay/F Read and Write Variable Type Areas are read every scan, so it
is not necessary to switch the Unit from Stop to RUN after these areas have
been edited.
Syntax Errors When a syntax error occurs in the Simple Communications Unit, switch the
Unit from RUN to Stop, edit the location that caused the syntax error, and then
switch the Unit back to RUN.
Syntax errors are non-fatal errors that are cleared by switching the Unit from
Stop to RUN. Non-fatal errors are not cleared just by eliminating the cause of
the error.
DM Area Allocation Errors When a DM Area allocation error occurs, it is possible that the allocated DM
Area words exceed the range of the PC’s DM Area. After correcting the DM
Area allocation, reset the power supply for the Simple Communications Unit.

29
Precautions for Component Communications Section 3-8

DM Area allocation errors are fatal errors that are cleared by turning the
power supply OFF and then ON again. Fatal errors are not cleared just by
eliminating the cause of the error.
Delaying the The communications timeout setting must be extended if you are using a sys-
Communications tem configuration that causes a significant delay in the communications
Response with Connected response between the Simple Communications Unit and the components,
Components
such as wireless communications between the Unit and components. The
communications timeout setting can be set in multiples of 500 ms, up to the
maximum monitoring time of 5.0 s. Set a monitoring time appropriate for your
system.
Note Under normal conditions, it is not necessary to change the communications
timeout setting. In general use a setting of 0, which sets a response monitor-
ing time of 500 ms. Refer to Simple Communications Unit Control (Offset: +0)
on page 36 for details on the communications timeout setting.
Selecting RAM Write Mode When selecting the RAM write mode or backup mode, program the selection
or Backup Mode operation command so that it is sent in only one scan. Some components
write to non-volatile memory when this command is received, so the service
live of the non-volatile memory will be reduced if the command is received
every scan.
DM Area Settings for When more than one Simple Communications Unit is connected, set the sys-
Multiple Simple tem so that the Control Data Areas and the Individual Unit Areas do not over-
Communications Units lap.

30
Troubleshooting Section 3-9

3-9 Troubleshooting
The Simple Communications Unit can detect two kinds of errors: fatal errors
cause the ERR indicator to light and non-fatal errors cause the ERR indicator
to flash. The following tables show the likely causes of these errors and the
process to clear the errors.

3-9-1 Fatal Errors (ERR Indicator Lit)


Error Likely cause and correction
Communications cannot be estab- Check the communications baud rate and other communications settings
lished with the CPU Unit. in the CPU Unit and Simple Communications Unit. Correct the settings
and turn ON the Simple Communications Unit again.
There was a communications error Noise can cause communications errors. If noise is suspected, use cables
with the CPU Unit. and wiring methods that will reduce noise in the communications lines and
turn ON the Simple Communications Unit again.
Cannot write data while the CPU Check whether the CPU Unit is in RUN mode. If so, switch the CPU Unit to
Unit is in RUN mode. MONITOR mode or PROGRAM mode and turn ON the power again.
A watchdog timer error occurred. Watchdog timer errors are indicated in the Simple Communications Unit
(See note.) status word. (Refer to Simple Communications Unit Status (Offset: +1) on
page 36.)
It is possible for noise to affect the Simple Communications Unit’s pro-
cessing. If noise is suspected, take steps to reduce noise around the Unit
or shield the Unit.
The watchdog timer error can be cleared by turning the power supply OFF
and then ON again.
DM allocation error (See note.) The DM allocation may exceed the boundary of the CPM2C’s DM Area.
When a DM allocation error is detected, error code “15” is written to the
Simple Communications Unit Status word (see Simple Communications
Unit Status (Offset: +1) on page 36).
To restore normal operation, correct the DM allocation and switch the Unit
from RUN to Stop and then back to RUN again. Refer to Simple Communi-
cations Unit Control (Offset: +0) on page 36 for details on the RUN/Stop
Digit.

Note Watchdog timer errors and DM allocation errors are indicated in the Simple
Communications Unit status word. (Refer to Simple Communications Unit
Status (Offset: +1) on page 36 for details.)

31
Troubleshooting Section 3-9

3-9-2 Non-fatal Errors (ERR Indicator Flashing)


Error Likely cause and correction
There was a communications error Check whether the communications settings in the components match the
with a component. (See note 1.) settings in the Simple Communications Unit. Correct the settings if neces-
sary. Normal operation will be restored when the cause of the communica-
tions error is corrected.
Noise can cause communications errors. If noise is suspected, use cables
and wiring methods that will reduce noise in the communications lines.
Normal operation will be restored when the cause of the communications
error is corrected.
Syntax error (See note 2.) A syntax error occurs when there is an error in the DM settings.
When a syntax error is detected, error code “02” is written to the Simple
Communications Unit Status (Offset: +1) on page 36) and the DM word
address is written to the Syntax Error DM Address word (see Syntax Error
DM address (Offset: +2) on page 37).
To restore normal operation, correct the setting in the indicated DM word
and switch the Unit from RUN to Stop and then back to RUN again. Refer
to Simple Communications Unit Control (Offset: +0) on page 36 for details
on the RUN/Stop Digit.

Note 1. Details on communications errors can be found in the Response Monitor


Area. See Response Monitor Area (Offset: +0) on page 46 for details on
errors that occur while reading or Response Monitor Area (Offset: +0) on
page 44 for details on errors that occur while writing.
2. Syntax errors are indicated in the Simple Communications Unit status
word. (Refer to Simple Communications Unit Status (Offset: +1) on
page 36 for details.)

32
SECTION 4
Allocations in the DM Area

This section describes the interface with the Components provided in the DM Area of the CPU Unit.

4-1 Data Memory (DM) Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34


4-2 Shared Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4-3 Individual Unit Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

33
Data Memory (DM) Allocation Section 4-1

4-1 Data Memory (DM) Allocation


The following diagram shows the usage of the Unit’s allocated DM words.
Shared Area
(103 words) Individual Areas for General-purpose
Communications Components
Control data area

CompoWay/F

Read variable (27 words max.)


type area

Read data area

(26 words max.)

Write variable
type area (27 words max.)

Write data area

(26 words max.)

SYSWAY

(Temperature Controller: 11 words


Read data area Digital Panel Meter: 18 words)

(Temperature Controller: 9 words


Write data area Digital Panel Meter: 10 words)

34
Shared Area Section 4-2

4-2 Shared Area


The shared area is used to set and monitor values shared by all of the Units
(components).
Structure of the Control The Control Data Area contains 103 words that are used to control operation
Data Area of the Simple Communications Unit and monitor the Unit’s operating status.
Ensure that there are 103 words available for the Control Data Area
regardless of the number of connected Units. The starting DM address is
set with DM Starting Address Switch (SW2). Refer to 3. DM Starting Address
Switch (SW2) on page 13 for details.
Note The first word in this area is set using the DM Starting Address Switch (SW2)
and the DM Starting Address Area Setting (pins 9 and 10 of SW3). Do not
allow the DM Area words used for the Control Data Areas to overlap when
more than one Simple Communications Unit is being used.
Offset Function
+0 Simple Communications Unit control
+1 Simple Communications Unit status*1
+2 Syntax error DM address*1
+3 Communications control for Units 0 to 7
+4 Communications control for Units 8 to 15
+5 Communications control for Units 16 to 23
+6 Communications control for Units 24 to 31
+7 Unit 0 communications type
+8 Starting address of Unit 0 read data area
(Starting address of Unit 0 read variable type area*2)
+9 Starting address of Unit 0 write data area
(Starting address of Unit 0 write variable type area*2)
+10 Unit 1 communications type
+11 Starting address of Unit 1 read data area
(Starting address of Unit 1 read variable type area*2)
+12 Starting address of Unit 1 write data area
(Starting address of Unit 1 write variable type area*2)
: :
: :
+100 Unit 31 communications type
+101 Starting address of Unit 31 read data area
(Starting address of Unit 31 read variable type area*2)
+102 Starting address of Unit 31 write data area
(Starting address of Unit 31 write variable type area*2)

Note 1. These words are used to notify the CPU Unit of the Simple Communica-
tions Unit’s status.
2. The functions in parentheses are for CompoWay/F communications.

35
Shared Area Section 4-2

Simple Communications
Unit Control (Offset: +0)
Bits Setting Range Function
0 to 3 RUN/Stop 1: RUN If this digit is set to 1 after the power is turned ON, the Simple Communica-
0: Stop tions Unit will start communications with components and the CPU Unit. (If
(Digit 160)
a fatal error has occurred, the Unit will not start communications with com-
ponents even if this digit is set to 1.)
The Simple Communications Unit will not communicate with components if
this digit is set to 0.
4 to 7 Communications 0 to 9 Sets the response monitoring time for access from the Simple Communica-
1 timeout (BCD) tions Unit to connected components. The timeout time is set in multiples of
(Digit 16 )
500 ms ((Set value + 1) ™ 500 ms). This setting is usually set to 0, which
sets a response monitoring time of 500 ms.
8 to 15 Number of con- 00 to 32 Specifies the number of components connected to the Simple Communica-
2 nected components (BCD) tions Unit. The Simple Communications Unit will not communicate with
(Digits 16
components if the number of connected components is set to 0.
and 163)

Simple Communications
Unit Status (Offset: +1)
Error condition Bits Setting Range Function
Error occurred 0 to 7 Error code 01, 02, The rightmost 2 digits contain an error code.
(Bit 15 ON) or 15 01: Watchdog timer error (fatal error)
(Digits 160
When this error occurs, the Simple Communications Unit will
and 161)
stop all communications and light the ERR indicator after
writing the “Simple Communications Unit Status” word.
02: Syntax error (non-fatal error)
When this error occurs, the Simple Communications Unit will
stop communications with the components and flash the
ERR indicator after writing the DM address where the error
occurred in the “Syntax Error DM Address” word.
15: DM allocation error (fatal error)
This error occurs when the Unit attempts to read or write a
DM address that does not exist in the CPU. After the error
occurs, the Simple Communications Unit will stop communi-
cations with the components and light the ERR indicator.
Check the range of the PC’s DM area and keep DM allocation
within that range.
8 to 11 Stop flag 0 Operation will stop if an error occurs, and this flag will turn OFF.
(Digit 162)
12 to 15 Error flag 8 A value of 8 (bit 15 ON) indicates that a fatal error has occurred in
the Simple Communications Unit.
(Digit 163
)

36
Shared Area Section 4-2

Error condition Bits Setting Range Function


No error 0 to 7 Unit num- 00 to 31 Indicates the unit number of the last component with which the
occurred ber (BCD) communications were completed. The Unit read data from this
(Digits 160
(Bit 15 OFF) 1
component and transferred that data to the CPU Unit. These dig-
and 16 ) its contain 00 when the power is first turned ON and communica-
tions haven’t been completed for any of the components.
These digits will also contain 00 in the following cases:
1) The “number of connected components” in the Simple Com-
munications Unit Control word (Offset: +0) is set to 00.
2) The “RUN/Stop” setting in the Simple Communications Unit
Control word (Offset: +0) is set to 00.
3) “No Unit connected” is set in the Unit’s Communications Type
word.
8 to 11 Run/Stop 0 or 1 This flag will be ON when the Simple Communications Unit is run-
2 flag ning and OFF when it is stopped.
(Digit 16 )
12 to 15 Error flag 0 A value of 0 (bit 15 OFF) indicates that a fatal error has not
occurred in the Simple Communications Unit.
(Digit 163)
The Unit will not be able to notify the CPU Unit that a fatal error
has occurred in the following cases:
1) The CPU Unit is in RUN mode and DM cannot be written.
2) An error occurred in communications with the CPU Unit.
3) Program memory is write-protected in the PC Setup
(DM 6602).
When one of these 3 errors error occurs, the Simple Communica-
tions Unit will stop all communications and light the ERR indicator.

Syntax Error DM address


(Offset: +2)
Range Function
0000 to 9999 The Simple Communications Unit indicates the DM address where the syntax error occurred.
(BCD) When two or more syntax errors have been detected, the Unit will indicate the DM address that was
detected first.

Communications Control
Bits (Offset: +3, +4, +5,
and +6)
Bit Offset +3 Offset +4 Offset +5 Offset +6
(Units 0 to 7) (Units 8 to 15) (Units 16 to 23) (Units 24 to 31)
0 Unit 7 Read Command Bit Unit 15 Read Command Bit Unit 23 Read Command Bit Unit 31 Read Command Bit
1 Unit 7 Write Command Bit Unit 15 Write Command Bit Unit 23 Write Command Bit Unit 31 Write Command Bit
2 Unit 6 Read Command Bit Unit 14 Read Command Bit Unit 22 Read Command Bit Unit 30 Read Command Bit
3 Unit 6 Write Command Bit Unit 14 Write Command Bit Unit 22 Write Command Bit Unit 30 Write Command Bit
4 Unit 5 Read Command Bit Unit 13 Read Command Bit Unit 21 Read Command Bit Unit 29 Read Command Bit
5 Unit 5 Write Command Bit Unit 13 Write Command Bit Unit 21 Write Command Bit Unit 29 Write Command Bit
6 Unit 4 Read Command Bit Unit 12 Read Command Bit Unit 20 Read Command Bit Unit 28 Read Command Bit
7 Unit 4 Write Command Bit Unit 12 Write Command Bit Unit 20 Write Command Bit Unit 28 Write Command Bit
8 Unit 3 Read Command Bit Unit 11 Read Command Bit Unit 19 Read Command Bit Unit 27 Read Command Bit
9 Unit 3 Write Command Bit Unit 11 Write Command Bit Unit 19 Write Command Bit Unit 27 Write Command Bit
10 Unit 2 Read Command Bit Unit 10 Read Command Bit Unit 18 Read Command Bit Unit 26 Read Command Bit
11 Unit 2 Write Command Bit Unit 10 Write Command Bit Unit 18 Write Command Bit Unit 26 Write Command Bit
12 Unit 1 Read Command Bit Unit 9 Read Command Bit Unit 17 Read Command Bit Unit 25 Read Command Bit
13 Unit 1 Write Command Bit Unit 9 Write Command Bit Unit 17 Write Command Bit Unit 25 Write Command Bit
14 Unit 0 Read Command Bit Unit 8 Read Command Bit Unit 16 Read Command Bit Unit 24 Read Command Bit
15 Unit 0 Write Command Bit Unit 8 Write Command Bit Unit 16 Write Command Bit Unit 24 Write Command Bit

37
Shared Area Section 4-2

Bit Range Function


Write Com- 0: Writing prohibited Setting this bit to 1 allows operation commands and data writes to the component
mand Bit 1: Writing allowed with the corresponding unit number. Data is not written when this bit is set to 0.
When an error occurs while writing data, the appropriate error code is written to
the write data area’s response monitor area. (See Response Monitor Area on
page 46 for details.)
Read Com- 0: Reading prohibited Setting this bit to 1 allows data to be read from the component with the corre-
mand Bit 1: Reading allowed sponding unit number. Data is not read when this bit is set to 0.
When an error occurs while reading data, the appropriate error code is written to
the read data area’s response monitor area. (See Response Monitor Area on
page 44 for details.)

Note There are restrictions on the number of times data can be written to the Tem-
perature Controller’s non-volatile memory. When frequently sending data to a
Temperature Controller, either set the Write Command Bit to 0 after writing is
completed, or set the write mode for the Temperature Controller to RAM write
mode. Also, execute commands to select the RAM write mode and backup
mode in only one scan. Some devices will write to non-volatile memory each
time the modes are selected, and the life of the non-volatile memory will be
exhausted much more quickly if selections are made every scan.
Unit Communications Use the following equation to calculate the offset for a given unit number:
Type (Offset: +7, +10, +13, Offset = 7 + (3 ™ unit number)
... , +97, and +100)
Bits Setting Range Function
0 to 7 Communications 00, 01, Specifies the communications protocol (SYSWAY or CompoWay/F) of the con-
0 protocol or 02 nected component if a component is connected.
(Digits 16
00: No Unit connected
and 161)
01: SYSWAY
02: CompoWay/F
A syntax error will occur and this word’s settings will be invalid if a value other
than 00, 01, or 02 is specified.
8 to 11 Command group 1 to 5 This setting is valid only when SYSWAY (01) is specified for the communica-
2 (valid with (BCD) tions protocol. When SYSWAY is specified, the command group determines
(Digit 16 )
SYSWAY only) which values are read/written when reading or writing data.
The command group setting will be invalid in the following cases:
1) The communications protocol is set to 02 (CompoWay/F).
2) The communications protocol is set to 00 (No Unit connected).
3) The communications protocol is set to 01 (SYSWAY), but the command
group setting is not within the allowed range (1 to 5).
12 to 15 Segment infor- 0, 1, or 2 This setting is valid only when SYSWAY (01) is specified for the communica-
mation tions protocol. The segment information specifies whether a Temperature Con-
(Digit 163)
(valid with troller or Digital Panel Meter is connected with the SYSWAY protocol.
SYSWAY only) The segment information setting will be invalid in the following cases:
1) The communications protocol is set to 02 (CompoWay/F).
2) The communications protocol is set to 00 (No Unit connected).
3) The communications protocol is set to 01 (SYSWAY), but the segment
information setting is not 1 or 2.

Note The command group and segment information settings are valid only when
the communications protocol is set to SYSWAY. These settings are not valid
when the communications protocol is set to CompoWay/F.

38
Shared Area Section 4-2

The following table shows the data that will be read and written for each com-
bination of the command group and segment information settings.
Segment Access Data Command group
information 1 2 3 4 5
1: Temperature Read Present temperature YES YES YES YES YES
Controller Status YES YES YES YES YES
Target temperature YES YES YES YES YES
Alarm 1 SV --- --- YES YES YES
Alarm 2 SV --- --- YES YES YES
Proportional band --- --- --- YES YES
Integral time --- --- --- YES YES
Derivative time --- --- --- YES YES
Heater current --- --- --- --- YES
Heater current status --- --- --- --- YES
Write Target temperature YES YES YES YES YES
Operation command --- YES YES YES YES
Alarm 1 SV --- --- YES YES YES
Alarm 2 SV --- --- YES YES YES
Proportional band --- --- --- YES YES
Integral time --- --- --- YES YES
Derivative time --- --- --- YES YES
Heater burnout detection value --- --- --- --- YES
2: Digital Panel Read Display value YES YES YES YES YES
Meter Display value status YES YES YES YES YES
Peak hold --- YES YES --- YES
Peak hold status --- YES YES --- YES
Bottom hold --- YES YES --- YES
Bottom hold status --- YES YES --- YES
Comparison value (HH) --- --- --- YES YES
Comparison value (H) --- --- --- YES YES
Comparison value (L) --- --- --- YES YES
Comparison value (LL) --- --- --- YES YES
Write Operation command --- --- YES --- YES
Comparison value (HH) --- --- --- YES YES
Comparison value (H) --- --- --- YES YES
Comparison value (L) --- --- --- YES YES
Comparison value (LL) --- --- --- YES YES

39
Shared Area Section 4-2

Starting Address of Read Use the following equation to calculate the offset for a given unit number:
Data Area or Read Offset = 8 + (3 ™ unit number)
Variable Type Area
(Offset: +8, +11, ... , +98,
and +101)
Setting Range Function
Starting Address 0000 to 9999 BCD Specifies the starting DM address in the CPU Unit’s DM area where the data
of Read Data Area (DM address) read from the component will be stored.
(SYSWAY proto- A syntax error will occur if the starting address specified in this word is not BCD.
col)
Starting Address 0000 to 9999 BCD Specifies the starting DM address of the words that show which variables will be
of Read Variable (DM address) read from the component.
Type Area The data that will be read from the component is determined by the variable
(CompoWay/ type and address written in the variable type area.
F protocol) A syntax error will occur if the starting address specified in this word is not BCD.

Note 1. Do not specify words within the Control Data Area


2. When more than one Simple Communications Unit is being used, specify
different DM Area words for each.
Starting Address of Write Use the following equation to calculate the offset for a given unit number:
Data Area or Write Offset = 9 + (3 ™ unit number)
Variable Type Area
(Offset: +9, +12, ... , +99,
and +102)
Setting Range Function
Starting Address of 0000 to 9999 BCD Specifies the starting DM address in the CPU Unit’s DM area containing the
Write Data Area (DM address) data to be written to the component.
(SYSWAY protocol) A syntax error will occur if the starting address specified in this word is not BCD.
Starting Address of 0000 to 9999 BCD Specifies the starting DM address of the words that show which component
Write Variable Type (DM address) variables will be written.
Area The data that will be written to the component is determined by the variable
(CompoWay/ type and address written in the variable type area.
F protocol) A syntax error will occur if the starting address specified in this word is not BCD.

Note 1. Do not specify words within the Control Data Area


2. When more than one Simple Communications Unit is being used, specify
different DM Area words for each.

40
Individual Unit Areas Section 4-3

4-3 Individual Unit Areas


The individual Unit areas are used to monitor and set connected components
individually. The structure of the individual area is different for CompoWay/F
and SYSWAY.

Area Structure for CompoWay/F Communications


Read Variable Type Area When CompoWay/F has been specified as the component communications
(27 words max.) protocol, this “read variable type area” contains the variable type and variable
address settings for the SVs and PVs that will be read.
Offset Contents
+0 Number of read items
+1 Reserved
+2 Starting address of read data area
+3 Variable 1 type
+4 Variable 1 address
+5 Variable 2 type
: :
: :
+23 Variable 11 type
+24 Variable 11 address
+25 Variable 12 type
+26 Variable 12 address

Number of Read Items (Offset: +0)


Range Function
0001 to 0012 Specify the number of variables that you want to read.
(BCD) For example, the variables set in variable 1 type and variable 2
type will be read if the “number of read items” is set to 0002.
A syntax error will occur if the number of items specified in this
word is not between 0001 and 0012 BCD.

Reserved (Offset: +1)


Range Function
0000 Always set this word to 0000.

Starting Address of Read Data Area (Offset: +2)


Range Function
0000 to 9999 Specifies the starting DM address in the CPU Unit’s DM area
(BCD) where the data read from the component will be stored.

Note 1. Do not specify words within the Control Data Area


2. When more than one Simple Communications Unit is being used, specify
different DM Area words for each.

41
Individual Unit Areas Section 4-3

Variable Types (Offset: +3, +5, ... , +23, and +25)


Use the following equation to calculate the offset for a given variable number:
Offset = 1 + (2 ™ variable number)
Range Function
00C0 to 00CF Sets the type of variable data that you want to read.
(Hex) The variable types are predetermined in each component, so refer
to the component’s manual to find the actual variable type.
A syntax error will occur if the variable type specified in this word is
not between 00C0 and 00CF Hex.

Note Depending on the Component, some variable types will not be written unless
the variable type is changed. Refer to the component’s manual for details.
Variable Addresses (Offset: +4, +6, ... , +24, and +26)
Use the following equation to calculate the offset for a given variable number:
Offset = 2 + (2 ™ variable number)
Range Function
0000 to FFFF Sets the variable address of the data that you want to read.
(Hex) The variable addresses are predetermined in each component, so
refer to the component’s manual to find the actual variable
address.

Write Variable Type Area When CompoWay/F has been specified as the component communications
(27 words max.) protocol, this “write variable type area” contains the variable type and variable
address settings for the SVs that will be written.
Offset Contents
+0 Number of write items
+1 Operation command
+2 Starting address of write data area
+3 Variable 1 type
+4 Variable 1 address
+5 Variable 2 type
: :
: :
+23 Variable 11 type
+24 Variable 11 address
+25 Variable 12 type
+26 Variable 12 address

Number of Write Items (Offset: +0)


Range Function
0000 to 0012 Specify the number of variables that you want to write.
(BCD) For example, the variables set in variable 1 type and variable 2
type will be written if the “number of write items” is set to 0002.
Variables will not be written if the “number of write items” is set to
0000; in this case, only the operation command is valid.
A syntax error will occur if the number of items specified in this
word is not between 0000 and 0012 BCD.

42
Individual Unit Areas Section 4-3

Operation Command (Offset: +1)


Range Function
0000 or 0001 The write data area’s operation command is disabled when 0000 is
specified.
The write data area’s operation command is enabled to the compo-
nent when 0001 is specified.
A syntax error will occur if the Operation Command is not 0000 or
0001.

Note There are restrictions on the number of times data can be written to the Tem-
perature Controller’s non-volatile memory. When frequently sending data to a
Temperature Controller, either set the Write Command Bit to 0 after writing is
completed, or set the write mode for the Temperature Controller to RAM write
mode. Also, execute commands to select the RAM write mode and backup
mode in only one scan. Some devices will write to non-volatile memory each
time the modes are selected, and the life of the non-volatile memory will be
exhausted much more quickly if selections are made every scan.
Starting Address of Write Data Area (Offset: +2)
Range Function
0000 to 9999 Specifies the starting DM address in the CPU Unit’s DM area con-
(BCD) taining the data that you want to write to the component.

Note 1. Do not specify words within the Control Data Area


2. When more than one Simple Communications Unit is being used, specify
different DM Area words for each.
Variable Types (Offset: +3, +5, ... , +23, and +25)
Use the following equation to calculate the offset for a given variable number:
Offset = 1 + (2 ™ variable number)
Range Function
00C0 to 00CF Sets the type of variable data that you want to write.
(Hex) The variable types are predetermined in each component, so refer
to the component’s manual to find the actual variable type.
A syntax error will occur if the variable type specified in this word is
not between 00C0 and 00CF Hex.

Note 1. Do not specify words within the Control Data Area


2. When more than one Simple Communications Unit is being used, specify
different DM Area words for each.
3. Depending on the Component, some variable types will not be written un-
less the variable type is changed. Refer to the component's manual for de-
tails.
Variable Addresses (Offset: +4, +6, ... , +24, and +26)
Use the following equation to calculate the offset for a given variable number:
Offset = 2 + (2 ™ variable number)
Range Function
0000 to FFFF Sets the variable address of the data that you want to write.
(Hex) The variable addresses are predetermined in each component, so
refer to the component’s manual to find the actual variable
address.

43
Individual Unit Areas Section 4-3

Read Data Area The starting address of the “read data area” is specified in the “read variable
(26 words max.) type area.” This “read data area” stores the variable data read from the com-
ponent.
Offset Contents
+0 Response monitor
+1 Component status
+2 Variable 1 read data (lower bytes)
+3 Variable 1 read data (upper bytes)
+4 Variable 2 read data (lower bytes)
+5 Variable 2 read data (upper bytes)
: :
: :
+22 Variable 11 read data (lower bytes)
+23 Variable 11 read data (upper bytes)
+24 Variable 12 read data (lower bytes)
+25 Variable 12 read data (upper bytes)
Response Monitor Area (Offset: +0)
This area contains the results of communications when communicating with
the component to read variables.
1,2,3... 1. End Code = 00
When the function’s end code is 00, the “response monitor area” contains
the response code.
Response code Meaning
0000 Indicates normal completion.
0401 Unsupported command
1001 Command length too long
1002 Command length too short
1101 Area type error
1103 Starting address out-of-range error
1104 End address out-of-range error
1003 Number of elements doesn’t match amount of data.
110B Response length too long
1100 Parameter error
2203 Operating error
2. End Code ž 00
When an error occurs and the function’s end code is a value other than 00,
the “response monitor area” contains the end code (error code). The value
of FF in the first two digits indicates that an error occurred during transmis-
sion of the CompoWay/F command.
Error code Meaning
FF04 Address overflow
FF0D Could not execute command.
FF10 Parity error
FF11 Framing error
FF12 Overrun error
FF13 BCC error
FF14 Format error
FF15 Numeric data error
FF16 Sub-address error

44
Individual Unit Areas Section 4-3

Error code Meaning


FF18 Frame length error
FF97 Response data BCC error
3. Timeout error occurred.
Timeout code Meaning
E999 Indicates that there was no response from the compo-
nent.
Component Status (Offset: +1)
163 162 161 160
Component status
Contain the controller status of the component.
Read Data (Offset: +2, +4, ... , +22, and +24)
The read data is contained in two words starting at offset 2 ™ n (n = variable
number.)
Offset Range Function
2™n 0000 to FFFF Contains the lower (rightmost) two bytes of the
(n = variable (Hex) data.
number)
(2 ™ n) + 1 0000 to FFFF Contains the upper (leftmost) two bytes of the
(n = variable (Hex) data.
number)
The variable data read from a component can have a value ranging from
0000 0000 to FFFF FFFF. The read data will be 0000 0000 if a communica-
tions error occurred. The following example shows the contents of the read
data area when a communications error occurred while reading the variable 2
read data.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ 6WDWXV &RQWDLQVWKHFRQWUROOHUVWDWXV
‡ 5HDGGDWD &RQWDLQVWKHGDWDUHDGIURPWKHFRPSRQHQW
‡ 5HDGGDWD &RQWDLQV 
‡ 5HPDLQLQJUHDGLWHPV &RQWDLQ 
Note 1. The decimal point position has to be managed by the user since the com-
ponent’s decimal point position is not transferred in CompoWay/F commu-
nications.
2. BCD format is used with Digital Panel Meters (K3N#). For details, refer to
the manual for the model used.
Write Data Area The starting address of the “write data area” is specified in the “write variable
(26 words max.) type area.” Store the variable data that you want to write to the component in
this “write data area.”
Offset Contents
+0 Response monitor
+1 Operation Command
+2 Variable 1 write data (lower 2 bytes)
+3 Variable 1 write data (upper 2 bytes)
+4 Variable 2 write data (lower 2 bytes)
+5 Variable 2 write data (upper 2 bytes)
: :
: :

45
Individual Unit Areas Section 4-3

Offset Contents
+22 Variable 11 write data (lower 2 bytes)
+23 Variable 11 write data (upper 2 bytes)
+24 Variable 12 write data (lower 2 bytes)
+25 Variable 12 write data (upper 2 bytes)
Response Monitor Area (Offset: +0)
This area contains the results of communications when communicating with
the component to write variables.
1,2,3... 1. End Code = 00
When the function’s end code is 00, the “response monitor area” contains
the response code.
Response code Meaning
0000 Indicates normal completion.
0401 Unsupported command
1001 Command length too long
1002 Command length too short
1101 Area type error
1103 Starting address out-of-range error
1104 End address out-of-range error
1003 Number of elements doesn’t match amount of data.
110B Response length too long
1100 Parameter error
3003 Read-only error
2203 Operating error
2. End Code ž 00
When an error occurs and the function’s end code is a value other than 00,
the “response monitor area” contains the end code (error code). The value
of FF in the first two digits indicates that an error occurred during transmis-
sion of the CompoWay/F command.
Error code Meaning
FF04 Address overflow
FF0D Could not execute command.
FF10 Parity error
FF11 Framing error
FF12 Overrun error
FF13 BCC error
FF14 Format error
FF15 Numeric data error
FF16 Sub-address error
FF18 Frame length error
FF21 Non-volatile memory write error
FF97 Response data BCC error
3. Timeout error occurred
Timeout code Meaning
E999 Indicates that there was no response from the compo-
nent.

46
Individual Unit Areas Section 4-3

Operation Command (Offset: +1)


Refer to the component’s Operation Manual for details on the command
codes for the various CompoWay/F communications functions.
Bits Function
0 to 7 Related information
(Digits 160 and 161) Set any related information required by the CompoWay/F
command code as described in the component’s manual.
8 to 15 Command code
2 3
(Digits 16 and 16 ) Set the CompoWay/F command code as described in the
component’s manual.

Note 1. SVs cannot be written in a scan in which 0600 has been specified for the
command code and related information.
2. Execute commands to select the RAM write mode and backup mode in
only one scan. Some devices will write to non-volatile memory each time
the modes are selected, and the life of the non-volatile memory will be ex-
hausted much more quickly if selections are made every scan.
Write Data (Offset: +2, +4, ... , +22, and +24)
The write data is contained in two words starting at offset 2 ™ n (n = variable
number.)
Offset Range Function
2™n 0000 to FFFF Store the lower (rightmost) two bytes of the SV
(n = variable (Hex) data that you want to write to the corresponding
number) component.
(2 ™ n) + 1 0000 to FFFF Store the upper (leftmost) two bytes of the SV
(n = variable (Hex) data that you want to write to the corresponding
number) component.

If a communications error occurs, the write operation that is in progress will be


stopped and the next process will be performed for the general-purpose com-
munications device.
The following example shows the results of the write operation when a com-
munications error occurred while writing variable 2.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ 2SHUDWLRQ&RPPDQG 7KHRSHUDWLRQFRPPDQGZRQ¶WEHH[HFXWHG
‡ 9DULDEOHZULWHGDWD 7KH69ZLOOEHZULWWHQQRUPDOO\
‡ 9DULDEOHZULWHGDWD 7KH69ZRQ¶WEHZULWWHQ
‡ 5HPDLQLQJZULWHLWHPV 69VZRQ¶WEHZULWWHQ
Note 1. The decimal point position has to be managed by the user since the com-
ponent’s decimal point position is not transferred in CompoWay/F commu-
nications.
2. BCD format is used with Digital Panel Meters (K3N#). For details, refer to
the manual for the model used.

47
Individual Unit Areas Section 4-3

Area Structure for SYSWAY Communications


Read Data Area: The following data will be read from a Temperature Controller when SYSWAY
Temperature Controllers has been specified as the component communications protocol.
(11 words)
The starting address of the “read data area” is specified in the “Control Data
Area.” Select any one of the 5 command groups to specify which PVs and
SVs will be read, although 11 DM words will be allocated to the read data area
regardless of the command group selected.
Offset Data Command group
1 2 3 4 5
+0 Response monitor Read Read Read Read Read
+1 Present temperature Read Read Read Read Read
+2 Status Read Read Read Read Read
+3 Target temperature Read Read Read Read Read
+4 Alarm 1 SV --- --- Read Read Read
+5 Alarm 2 SV --- --- Read Read Read
+6 Proportional band --- --- --- Read Read
+7 Integral time --- --- --- Read Read
+8 Derivative time --- --- --- Read Read
+9 Heater current monitor --- --- --- --- Read
+10 Heater current status --- --- --- --- Read

Response Monitor Area (Offset: +0)


The structure of the response monitor area is the same whether SYSWAY or
CompoWay/F communications are used. See Response Monitor Area on
page 44 for details on the response monitor area.
Read Data (Offset: +1, +3, +4, +5, +6, +7, +8, and +9)
Each word of data read from the Temperature Controller has a value ranging
from 0000 to FFFF. Negative values are expressed as their 2’s complement.
The word will contain 0000 if a communications error occurred. The following
example shows the contents of the read data when a communications error
occurred while reading the target temperature in command group 1.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ 3UHVHQWWHPSHUDWXUH &RQWDLQVGDWDUHDGIURP7HPSHUDWXUH&RQWUROOHU
‡ 6WDWXV &RQWDLQVVWDWXVUHDGIURP7HPSHUDWXUH&RQWURO
OHU
‡ 7DUJHWWHPSHUDWXUH &RQWDLQV
Note The decimal point position has to be managed by the user since the Tempera-
ture Controller’s decimal point position is not transferred in SYSWAY (X for-
mat) communications.
Status (Offset: +2 and +10)
The read data area’s +2 offset word contains the status when reading the
present temperature. The +10 offset word contains the heater current status
when reading the heater current. Refer to the Temperature Controller’s Opera-
tion Manual for details on the status values.

48
Individual Unit Areas Section 4-3

Read Data Area: The following data will be read from a Digital Panel Meter when SYSWAY has
Digital Panel Meters been specified as the component communications protocol.
(18 words)
The starting address of the “read data area” is specified in the “Control Data
Area.” Select any one of the 5 command groups to specify which PVs and
SVs will be read, although 18 DM words will be allocated to the read data area
regardless of the command group selected.
Offset Data Command group
1 2 3 4* 5
+0 Response monitor area Read Read Read Read Read
+1 and +2 Display value Read Read Read Read Read
+3 Display value status Read Read Read Read Read
+4 and +5 Peak hold --- Read Read --- Read
+6 Peak hold status --- Read Read --- Read
+7 and +8 Bottom hold --- Read Read --- Read
+9 Bottom hold status --- Read Read --- Read
+10 and +11 Comparison value (HH) --- --- --- Read Read
+12 and +13 Comparison value (H) --- --- --- Read Read
+14 and +15 Comparison value (L) --- --- --- Read Read
+16 and +17 Comparison value (LL) --- --- --- Read Read
Note When command group 4 is selected, words with offsets +4 through +9 will be
cleared to 0000.
Response Monitor Area (Offset: +0)
The structure of the response monitor area is the same whether SYSWAY or
CompoWay/F communications are used. See Response Monitor Area on
page 44 for details on the response monitor area.
Read Data
Offsets: 163 162 161 160
+1, 4, 7, 10, 12, 14, 16
Read data lower byte (Binary, negative values are
expressed as their 2’s complement)
0000 to FFFF Hex
Offsets: 163 162 161 160
+2, 5, 8, 11, 13, 15, 17
Read data upper byte (Binary, negative values are
expressed as their 2’s complement)
0000 to FFFF Hex
Each two-word value read from the Digital Panel Meter has a value ranging
from 0000 0000 to FFFF FFFF signed binary data. Negative values are
expressed as their 2’s complement. The words will contain 0000 0000 if a
communications error occurred. The following example shows the contents of
the read data area when a communications error occurred while reading the
display value in command group 1.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ 'LVSOD\YDOXH &RQWDLQV 
‡ 'LVSOD\YDOXHVWDWXV &RQWDLQV
Note The decimal point position has to be managed by the user since the Digital
Panel Meter’s decimal point position is not transferred in SYSWAY (X format)
communications.
Status (Offset: +3, +6, and +9)
The read data area’s +3, +6, and +9 offset words contain the status when
reading the display value, peak hold value, or bottom hold value, respectively.

49
Individual Unit Areas Section 4-3

Refer to the Digital Panel Meter’s Operation Manual for details on the status
values.
Write Data Area: The following data will be written to a Temperature Controller when SYSWAY
Temperature Controllers has been specified as the component communications protocol.
(9 words)
The starting address of the “write data area” is specified in the “Control Data
Area.” Select any one of the 5 command groups to specify which SVs will be
written, although 9 DM words will be allocated to the write data area regard-
less of the command group selected.
Offset Data Command group
1 2 3 4 5
+0 Response monitor area Written Written Written Written Written
+1 Target temperature Written Written Written Written Written
+2 Operation command --- Written Written Written Written
+3 Alarm 1 SV --- --- Written Written Written
+4 Alarm 2 SV --- --- Written Written Written
+5 Proportional band --- --- --- Written Written
+6 Integral time --- --- --- Written Written
+7 Derivative time --- --- --- Written Written
+8 Heater burnout detection --- --- --- --- Written
value
Response Monitor Area (Offset: +0)
The structure of the response monitor area is the same whether SYSWAY or
CompoWay/F communications are used. See Response Monitor Area on
page 46 for details on the response monitor area.
Write Data (Offset: +1, +3, +4, +5, +6, +7, and +8)
Set the words of data to be written to the Temperature Controller as binary
data. Negative values are expressed as their 2’s complement.
If a communications error occurs while writing data, the remaining write data
will not be written and the next process for the general-purpose communica-
tions device will be executed. The error code will be written to the response
monitor area.
The following example shows the results of the write operation when a com-
munications error occurred while writing the target temperature in command
group 2.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ 7DUJHWWHPSHUDWXUH 7KH69ZRQ¶WEHZULWWHQ
‡ 2SHUDWLRQ&RPPDQG 7KHRSHUDWLRQFRPPDQGZRQ¶WEHZULWWHQ
Note The decimal point position has to be managed by the user since the Tempera-
ture Controller’s decimal point position is not transferred in SYSWAY (X for-
mat) communications.
Operation Command (Offset: +2)
Store the operation command code (0000 to 0005) in this word. When a com-
mand group that includes the operation command is selected, the corre-
sponding operation command will be sent to the Temperature Controller.
Command code Operation
0000 Don’t perform operation command. (No operation)
0001 Stop auto-tuning.
0002 Start auto-tuning.
0003 Select backup mode.

50
Individual Unit Areas Section 4-3

Command code Operation


0004 Select RAM write mode.
0005 Save the Run/Adjust SV.

Note 1. SVs cannot be written in a scan in which “start auto-tuning” has been spec-
ified.
2. Starting and stopping auto-tuning is possible for E5EK, E5AK, and E5AF
models only.
3. There are restrictions on the number of times data can be written to the
Temperature Controller’s non-volatile memory. When frequently sending
data to a Temperature Controller, either set the Write Command Bit to 0 af-
ter writing is completed, or set the write mode for the Temperature Control-
ler to RAM write mode. Also, execute commands to select the RAM write
mode and backup mode in only one scan. Some devices will write to non-
volatile memory each time the modes are selected, and the life of the non-
volatile memory will be exhausted much more quickly if selections are
made every scan.
Write Data Area: The following data will be written to a Digital Panel Meter when SYSWAY has
Digital Panel Meters been specified as the component communications protocol.
(10 words)
The starting address of the “write data area” is specified in the “Control Data
Area.” Select any one of the 5 command groups to specify which SVs will be
written, although 10 DM words will be allocated to the write data area regard-
less of the command group selected.
Offset Data Command group
1 2 3 4 5
+0 Response monitor area Written Written Written Written Written
+1 Operation command --- --- Written --- Written
+2 and +3 Comparison value (HH) --- --- --- Written Written
+4 and +5 Comparison value (H) --- --- --- Written Written
+6 and +7 Comparison value (L) --- --- --- Written Written
+8 and +9 Comparison value (LL) --- --- --- Written Written
Response Monitor Area (Offset: +0)
The structure of the response monitor area is the same whether SYSWAY or
CompoWay/F communications are used. See Response Monitor Area on
page 46 for details on the response monitor area.
Write Data
Offsets: 163 162 161 160
+2, 4, 6, 8
Write data lower byte (Binary, negative values are
expressed as their 2’s complement)
0000 to FFFF Hex
Offsets: 163 162 161 160
+3, 5, 7, 9
Write data upper byte (Binary, negative values are
expressed as their 2’s complement)
0000 to FFFF Hex
Set the words of data to be written to the Digital Panel Meter as binary data.
Negative values are expressed as their 2’s complement.

51
Individual Unit Areas Section 4-3

If a communications error occurs while writing data, the remaining write data
will not be written and the next process for the general-purpose communica-
tions device will be executed. The error code will be written to the response
monitor area.
The following example shows the results of the write operation when a com-
munications error occurred while writing comparison value (H) in command
group 4.
‡ 5HVSRQVH0RQLWRU$UHD &RQWDLQVWKHHUURUFRGH
‡ &RPSDULVRQYDOXH ++  7KH69ZLOOEHZULWWHQQRUPDOO\
‡ &RPSDULVRQYDOXH +  7KH69ZRQ¶WEHZULWWHQ
‡ &RPSDULVRQYDOXH /  7KH69ZRQ¶WEHZULWWHQ
‡ &RPSDULVRQYDOXH //  7KH69ZRQ¶WEHZULWWHQ
Note The decimal point position has to be managed by the user since the Digital
Panel Meter’s decimal point position is not transferred in SYSWAY (X format)
communications.
Operation Command (Offset: +2)
Store the operation command code (0000 to 0004) in this word. When a com-
mand group that includes the operation command is selected, the corre-
sponding operation command will be sent to the Digital Panel Meter.
Command code Operation
0000 Don’t perform operation command. (No operation)
0001 Reset.
0002 Select backup mode.
0003 Select RAM write mode.
0004 Save the Setting/Adjust values.

Note There are restrictions on the number of times data can be written to the Tem-
perature Controller’s non-volatile memory. When frequently sending data to a
Temperature Controller, either set the Write Command Bit to 0 after writing is
completed, or set the write mode for the Temperature Controller to RAM write
mode. Also, execute commands to select the RAM write mode and backup
mode in only one scan. Some devices will write to non-volatile memory each
time the modes are selected, and the life of the non-volatile memory will be
exhausted much more quickly if selections are made every scan.

52
Appendix A
Data Refresh Cycle (Reference Data)

Data Refresh Cycle


The following table shows the refresh between data refreshes for various communications conditions for
a CJ-series CPU Unit. The actual cycle depends upon the system configuration and size of the user pro-
gram, so these values are given only as guidelines.
Communications Number of Baud rates (bps) Read data Write data Command Refresh
protocol components Host/components items items group cycle
CompoWay/F 16 9,600/9,600 12 ™ 16 = 192 12 ™ 16 = 192 --- 50 s
12 ™ 16 = 192 --- --- 26 s
--- 1 ™ 16 = 16 --- 6s
19,200/19,200 12 ™ 16 = 192 12 ™ 16 = 192 --- 33 s
12 ™ 16 = 192 --- --- 17 s
1 ™ 16 = 16 --- --- 4s
--- 1 ™ 16 = 16 --- 4s
57,600/19,200 12 ™ 16 = 192 12 ™ 16 = 192 --- 30 s
12 ™ 16 = 192 --- --- 15 s
1 ™ 16 = 16 --- --- 3s
--- 1 ™ 16 = 16 --- 3s
8 19,200/38,400 12 ™ 8 = 96 12 ™ 8 = 96 --- 14 s
12 ™ 8 = 96 --- --- 7s
1™8=8 --- --- 2s
57,600/38,400 12 ™ 8 = 96 12 ™ 8 = 96 --- 12 s
12 ™ 8 = 96 --- --- 6s
1™8=8 --- --- 1.5 s
--- 1™8=8 --- 1.5 s
4 9,600/9,600 1™4=4 --- --- 2s
19,200/19,200 1™4=4 --- --- 1s
--- 1™4=4 --- 1s
57,600/38,400 1™4=4 --- --- 1s
SYSWAY 16 9,600/9,600 Yes Yes 4 19 s
Yes No 4 10 s
No Yes 1 3s
19,200/19,200 Yes Yes 4 14 s
Yes No 4 7s
No Yes 1 2s
57,600/19,200 Yes Yes 4 13 s
Yes Yes 1 4s
Yes No 1 2s
No Yes 4 6s
4 9,600/9,600 No No 1 1s
19,200/19,200 Yes No 1 1s
No Yes 1 1s
57,600/19,200 Yes No 4 2s
Yes No 1 1s

Note 1. The refresh cycle is not fixed because the communications response times of the components and
the CPU Unit are not fixed. The refresh cycles shown in the table above are average times.
2. The number of read data items and number of write data items for SYSWAY communications are de-
termined by the command group that has been selected.

53
Data Refresh Cycle (Reference Data) Appendix A

Calculating Data Refresh Cycles


The following formulas can be use to calculate the data refresh cycles. The actual cycle depends upon the sys-
tem configuration and size of the user program, so these formulas are given only as guidelines.

CompoWay/F
Data refresh cycle (Td) =
Tps + (Tcr1 ™ No. of read components) + Component read time + (Tcw1 ™ No. of write components) + Compo-
nent write time + (Tcrw ™ No. of read/write components) + Component read/write time [seconds]

Component read time = Tcr2 ™ (No. of read items - 1) + Tcr2 ™ (No. of read items - 1) + ...... +
Tcr2 ™ (No. of read items - 1)
(For each Component being read)
Component write time = Tcw2 ™ (No. of write items - 1) + Tcw2 ™ (No. of write items - 1) + ...... +
Tcw2 ™ (No. of write items - 1)
(For each Component being written)
Component read/write time =
Tcr2 ™ (No. of read items - 1) + Tcw2 ™ (No. of write items - 1) +
Tcr2 ™ (No. of read items - 1) + Tcw2 ™ (No. of write items - 1) +...... +
Tcr2 ™ (No. of read items - 1) + Tcw2 ™ (No. of write items - 1)
(For each Component being read/written)

CJ-series CPU Units


Baud rates (bps) Tps Tcr1 Tcr2 Tcw1 Tcw2 Tcrw
Host/components
9600/9600 0.19 0.36 0.11 0.33 0.11 0.69
19200/19200 0.12 0.24 0.07 0.21 0.08 0.45
19200/38400 0.13 0.21 0.06 0.20 0.06 0.41
57600/19200 0.07 0.19 0.07 0.15 0.07 0.34
57600/38400 0.08 0.16 0.05 0.13 0.05 0.30

CS-series CPU Units


Baud rates (bps) Tps Tcr1 Tcr2 Tcw1 Tcw2 Tcrw
Host/components
9600/9600 0.19 0.35 0.10 0.33 0.10 0.67
19200/19200 0.12 0.23 0.07 0.21 0.07 0.45
19200/38400 0.13 0.21 0.05 0.20 0.05 0.41
57600/19200 0.07 0.19 0.06 0.16 0.06 0.34
57600/38400 0.09 0.17 0.05 0.14 0.05 0.31

CQM1H CPU Unit


Baud rates (bps) Tps Tcr1 Tcr2 Tcw1 Tcw2 Tcrw
Host/components
9600/9600 0.17 0.35 0.12 0.32 0.12 0.68
19200/19200 0.10 0.23 0.08 0.20 0.08 0.42
19200/38400 0.11 0.20 0.07 0.18 0.06 0.38

54
Data Refresh Cycle (Reference Data) Appendix A

CPM2A CPU Unit


Baud rates (bps) Tps Tcr1 Tcr2 Tcw1 Tcw2 Tcrw
Host/components
9600/9600 0.15 0.34 0.12 0.30 0.12 0.63
19200/19200 0.08 0.21 0.07 0.17 0.08 0.38
19200/38400 0.08 0.18 0.06 0.16 0.06 0.34

Example: The following calculations are for a CJ-series CPU Unit with a 57,600 baud rate to the host, a 38,400
baud rate to the components, and eight E5ZN components. For four of the components (group 1), 2 words are
read and for the other four components (group 2), 2 words are read and 1 word is written.
Data refresh cycle (Td)
= [Time for group 1] + [Time for group 2]
= [Tps + (Tcr1 ™ 4) + (Tcr2 ™ (2 - 1)) ™ 4] + [(Tcrw ™ 4) + (Tcr2 ™ (2 - 1)) + (Tcw2 ™ (1 - 1)) ™ 4]
= [0.08 + (0.16 ™ 4) + (0.05 ™ (2 - 1)) ™ 4] + [(0.30 ™ 4) + (0.05 ™ (2 - 1)) ™ 4]
= 2.32
Td = 2.3 s

SYSWAY
Data refresh cycle (Td) =
Tps + Tsr1 ™ No. of read Components for command group 1 + Tsw1 ™ No. of write Components for command group 1
+ Tsr2 ™ No. of read Components for command group 2 + Tsw2 ™ No. of write Components for command group 2
+ Tsr3 ™ No. of read Components for command group 3 + Tsw3 ™ No. of write Components for command group 3
+ Tsr4 ™ No. of read Components for command group 4 + Tsw4 ™ No. of write Components for command group 4
+ Tsr5 ™ No. of read Components for command group 5 + Tsw5 ™ No. of write Components for command group 5

CJ-series CPU Units


Command group --- 1 2 3 4 5
Baud rates (bps) Tps Tsr1 Tsw1 Tsr2 Tsw2 Tsr3 Tsw3 Tsr4 Tsw4 Tsr5 Tsw5
Host/components
9600/9600 0.20 0.23 0.19 0.23 0.20 0.37 0.34 0.59 0.57 0.66 0.63
19200/19200 0.13 0.16 0.13 0.16 0.13 0.27 0.25 0.44 0.42 0.49 0.46
57600/19200 0.08 0.14 0.10 0.14 0.10 0.24 0.21 0.41 0.38 0.46 0.43

CS-series CPU Units


Command group --- 1 2 3 4 5
Baud rates (bps) Tps Tsr1 Tsw1 Tsr2 Tsw2 Tsr3 Tsw3 Tsr4 Tsw4 Tsr5 Tsw5
Host/components
9600/9600 0.21 0.22 0.19 0.22 0.19 0.35 0.32 0.54 0.52 0.62 0.59
19200/19200 0.14 0.16 0.13 0.16 0.13 0.26 0.24 0.40 0.39 0.45 0.44
57600/19200 0.10 0.11 0.10 0.13 0.10 0.23 0.20 0.37 0.35 0.43 0.41

CQM1H CPU Units


Command group --- 1 2 3 4 5
Baud rates (bps) Tps Tsr1 Tsw1 Tsr2 Tsw2 Tsr3 Tsw3 Tsr4 Tsw4 Tsr5 Tsw5
Host/components
9600/9600 0.20 0.22 0.18 0.23 0.18 0.38 0.34 0.60 0.57 0.69 0.65
19200/19200 0.11 0.15 0.11 0.15 0.12 0.27 0.23 0.44 0.42 0.51 0.48

55
Data Refresh Cycle (Reference Data) Appendix A

CPM2A CPU Units


Command group --- 1 2 3 4 5
Baud rates (bps) Tps Tsr1 Tsw1 Tsr2 Tsw2 Tsr3 Tsw3 Tsr4 Tsw4 Tsr5 Tsw5
Host/components
9600/9600 0.17 0.21 0.17 0.21 0.17 0.36 0.32 0.58 0.55 0.67 0.62
19200/19200 0.10 0.14 0.10 0.14 0.10 0.26 0.22 0.43 0.39 0.49 0.45

Example: The following calculations are for a CJ-series CPU Unit with a 57,600 baud rate to the host, a 19,200
baud rate to the components, four E5CN components, and four E5GN components. Reading and writing are
performed for the four E5CN components (command group 1), and only reading is performed for the four
E5GN components (command group 2).
Data refresh cycle (Td)
= [Time for command group 1] + [Time for command group 2]
= [Tps + Tsr1 ™ 4 + Tsw1 ™ 4] + [Tsr2 ™ 4]
= [0.08 + 0.14 ™ 4 + 0.10 ™ 4] + [0.14 ™ 4]
= 1.60
Td = 1.6 s

56
Appendix B
Example Application

This section shows the system configuration and settings of an example system to help explain how to use the
Simple Communications Unit.

System Configuration
The example system has three E5CN Temperature Controllers connected to the Simple Communications Unit.
Simple Communications
CPU Unit Unit
RUN AD081 DA041
SYSMAC ERR/ALM RUN RUN
CJ1G-CPU44 INH ERC ERC
PROGRAMMABLE
CONTROLLER PRPHL ERH B1 A1 ERH B1 A1
COMM ADJ ADJ

OPEN

MCPWR
MACH MACH
No. No.
BUSY 1 1
x10 x10

0 0
x10 x10

PERIHERAL
1 2

1 2

MODE MODE

PORT

Unit number 0 Unit number 2 Unit number 3


• Connected by CompoWay/F. • Connected by SYSWAY. • Connected by SYSWAY.
• Constantly monitors the PV. • Only reading is performed for • Reading and writing are performed for
• The target temperature is changed command group 1. command group 1.
to100°C b y input condition 0005. • The target temperature is set to
200°C.
• The present temperature (PV) is monitored
continuously.

DM Allocation
The DM allocation is shown in the following table.
Unit settings Area name DM words
All (shared) Control Data Area D00000 to D00102
Unit 0 Unit 0 Read Variable Type Area D00150 to D00154
Unit 0 Write Variable Type Area D00160 to D00164
Unit 0 Read Data Area D00170 to D00173
Unit 0 Write Data Area D00180 to D00183
Unit 2 Unit 2 Read Data Area D00200 to D00210
Unit 2 Write Data Area D00220 to D00228
Unit 3 Unit 3 Read Data Area D00240 to D00250
Unit 3 Write Data Area D00260 to D00268

57
Example Application Appendix B

Communications with CPU Unit


Baud rate: 57,600 bps

Communications with Components


The following settings are used for the RS-485 communications:
Item Setting
Baud rate 19,200 bps
Data bits 7 bits
Parity Even
Stop bits 2 bits

System Preparation
Refer to SECTION 3 Preparation for Operation and make the following preparations.

1,2,3... 1. Connect the Simple Communications Unit.


2. Set switches on the Unit.
3. Make required settings in the PC.
4. Make required settings in the components.

Control Data Area


Items for which the DM Area addresses are shaded must be set. The other DM Area words are used to monitor
status.
Word Bit(s) Function Setting
D00000 0 to 3 RUN/Stop command 0 (“1)
4 to 7 Communications timeout setting 0
8 to 15 Number of connected components 03
D00001 0 to 15 Simple Communications Unit status ---
D00002 0 to 15 Syntax Error DM Address ---
D00003 0 to 7 Read/Write Command Bits for Units 4 to 7 0
8 Unit 3 Read Command Bit 1
9 Unit 3 Write Command Bit 1
10 Unit 2 Read Command Bit 1
11 Unit 2 Write Command Bit 0
12 Unit 1 Read Command Bit 0
13 Unit 1 Write Command Bit 0
14 Unit 0 Read Command Bit 1
15 Unit 0 Write Command Bit 0 (“1)
D00004 0 to 15 Read/Write Command Bits for Units 8 to 15 0000
D00005 0 to 15 Read/Write Command Bits for Units 16 to 23 0000
D00006 0 to 15 Read/Write Command Bits for Units 24 to 31 0000
D00007 0 to 7 Unit 0 Communications protocol 02
8 to 11 Unit 0 Command group 0
12 to 15 Unit 0 Segment information 0
D00008 0 to 15 Starting address of Unit 0 read variable type area 0150
D00009 0 to 15 Starting address of Unit 0 write variable type area 0160

58
Example Application Appendix B

Word Bit(s) Function Setting


D00010 0 to 7 Unit 1 Communications protocol 00
8 to 11 Unit 1 Command group 0
12 to 15 Unit 1 Segment information 0
D00011 0 to 15 Starting address of Unit 1 read data area 0000
D00012 0 to 15 Starting address of Unit 1 write data area 0000
D00013 0 to 7 Unit 2 Communications protocol 01
8 to 11 Unit 2 Command group 1
12 to 15 Unit 2 Segment information 1
D00014 0 to 15 Starting address of Unit 2 read data area 0200
D00015 0 to 15 Starting address of Unit 2 write data area 0220
D00016 0 to 7 Unit 3 Communications protocol 01
8 to 11 Unit 3 Command group 1
12 to 15 Unit 3 Segment information 1
D00017 0 to 15 Starting address of Unit 3 read data area 0240
D00018 0 to 15 Starting address of Unit 3 write data area 0260
D00019 0 to 15 Not used. 0000
to
D00102

Unit 0 Read Variable Type Area (CompoWay/F)


Word Bit(s) Function Setting
D00150 0 to 7 Number of read items 0001
D00151 0 to 15 Reserved ---
D00152 0 to 15 Starting address of read data area 0170
D00153 0 to 7 Variable 1 type 00C0
D00154 0 to 15 Variable 1 address 0000

Note Variable type 00C0 and variable address 0000 indicate the PV (present tem-
perature).

Unit 0 Write Variable Type Area (CompoWay/F)


Word Bit(s) Function Setting
D00160 0 to 7 Number of write items 0001
D00161 0 to 3 Operation Command 0000
D00162 0 to 15 Starting address of write data area 0180
D00163 0 to 7 Variable 1 type 00C1
D00164 0 to 15 Variable 1 address 0003

Note Variable type 00C1 and variable address 0003 indicate the target tempera-
ture.

59
Example Application Appendix B

Unit 0 Read Data Area (CompoWay/F)


Word Bit(s) Function
D00170 0 to 15 Response monitor area
Contains 0000 when communications with the components
are completed normally.
D00171 0 to 15 Status
The component’s status is read to this word.
D00172 0 to 15 Variable 1 read data (lower bytes) (lower 2 bytes of PV)
D00173 0 to 15 Variable 1 read data (upper bytes) (upper 2 bytes of PV)

Note The Temperature Controller’s PV is read to D00172 and D00173 because the
present temperature is registered for the read variable type area.

Unit 0 Write Data Area (CompoWay/F)


Word Bit(s) Function Setting
D00180 0 to 15 Response monitor area ---
Contains 0000 when communications with the com-
ponents are completed normally.
D00181 0 to 7 Operation Command: related information*1 ---
8 to 15 Operation Command: command code*1 ---
D00182 0 to 15 Variable 1 write data (lower bytes)*2 0064
D00183 0 to 15 Variable 1 write data (upper bytes)*2 0000

Note 1. The operation command is set to 0000 (disabled) in the Unit 0 write variable type area, so the com-
mand code and related information are invalid.
2. Sets the hexadecimal equivalent of the target temperature (100•C) which is the variable that was reg-
istered in the Unit 0 write variable type area.

Unit 2 Read Data Area (SYSWAY)


The segment information is 1 and the command group is 1.
Word Function
D00200 Response monitor area
Contains 0000 when communications with the components are com-
pleted normally.
D00201 Present temperature
Contains the PV in binary format. Negative values are expressed as their
2’s complement.
D00202 Status
Contains the status when the PV was read.
D00203 Target temperature (See note.)
Contains the target temperature in binary format. Negative values are
expressed as their 2’s complement.
D00204 Alarm 1 SV (See note.)
Contains the alarm 1 set value in binary format. Negative values are
expressed as their 2’s complement.
D00205 Alarm 2 SV (See note.)
Contains the alarm 2 set value in binary format. Negative values are
expressed as their 2’s complement.
D00206 Proportional band (See note.)
Contains the proportional band setting in binary.
D00207 Integral time (See note.)
Contains the integral time setting in binary.
D00208 Derivative time (See note.)
Contains the derivative time setting in binary.

60
Example Application Appendix B

Word Function
D00209 Heater current monitor (See note.)
Contains the heater current in binary.
D00210 Heater current status (See note.)
Contains the status when the heater current was read.

Note Only the values in D00200 to D00203 are refreshed with the data from the
component because command group 1 is selected in the Communications
Type for the Unit 2. Other read data, D00200 to D00210, is not refreshed.
When communicating with a Temperature Controller through SYSWAY,
always allocate 11 words to the read data area even if the selected command
group limits the number of words actually read.

Unit 2 Write Data Area (SYSWAY)


The segment information is 1 and the command group is 1.
Allocate words D00220 through D00228 to the Unit 2 write data area. In this example data isn’t written to Unit
2, so it isn’t necessary to set data in the Unit 2 write data area.

Unit 3 Read Data Area (SYSWAY)


The segment information is 1 and the command group is 1.
Word Function
D00240 Response monitor area
Contains 0000 when communications with the components are com-
pleted normally.
D00241 Present temperature
Contains the PV in binary format. Negative values are expressed as their
2’s complement.
D00242 Status
Contains the status when the PV was read.
D00243 Target temperature (See note.)
Contains the target temperature in binary format. Negative values are
expressed as their 2’s complement.
D00244 Alarm 1 SV (See note.)
Contains the alarm 1 set value in binary format. Negative values are
expressed as their 2’s complement.
D00245 Alarm 2 SV (See note.)
Contains the alarm 2 set value in binary format. Negative values are
expressed as their 2’s complement.
D00246 Proportional band (See note.)
Contains the proportional band setting in binary.
D00247 Integral time (See note.)
Contains the Integral time setting in binary.
D00248 Derivative time (See note.)
Contains the derivative time setting in binary.
D00249 Heater current monitor (See note.)
Contains the heater’s electrical current in binary.
D00250 Heater current status (See note.)
Contains the status when the heater’s electrical current was read.

Note Only the values in D00240 to D00242 are refreshed with the data from the
component because command group 1 is selected in the Communications
Type for the Unit 3. Other read data, D00244 to D00250, is not refreshed.
When communicating with a Temperature Controller through SYSWAY,
always allocate 11 words to the read data area even if the selected command
group limits the number of words actually read.

61
Example Application Appendix B

Unit 3 Write Data Area (SYSWAY)


The segment information is 1 and the command group is 1.
Word Function
D00260 Response monitor area
Contains 0000 when communications with the components are com-
pleted normally.
D00261 Target temperature
00C8 (200•C)
D00262 Operation command (See note.)
0000
D00263 Alarm 1 SV (See note.)
Set the alarm 1 set value in binary format. Negative values are expressed
as their 2’s complement.
D00264 Alarm 2 SV (See note.)
Set the alarm 2 set value in binary format. Negative values are expressed
as their 2’s complement.
D00265 Proportional band (See note.)
Set the proportional band setting in binary.
D00266 Integral time (See note.)
Set the integral time setting in binary.
D00267 Derivative time (See note.)
Set the derivative time setting in binary.
D00268 Heater burnout detection value (See note.)
Set the heater burnout detection value in binary.

Note Only the target temperature can be written to the component because com-
mand group 1 is selected in the Communication Type for Unit 3. When com-
municating with a Temperature Controller through SYSWAY, always allocate 9
words to the write data area even if the selected command group limits the
number of words actually written.

62
Example Application Appendix B

Ladder Program for DM Settings


The following diagram shows a sample program section used to set the required DM Area values for a CJ-
series CPU Unit.

A20011
(First Cycle Flag) H00000
MOV (21)
#0300
D00000

MOV (21)
#4700
Initial DM settings as shown
D00003 in DM settings tables

:
:
:
:

MOV (21)
#00C8

D00261

W00000 Initialization completed flag

W00000
H0000

MOV (21)
Sets Simple Communications
#0301 Unit to RUN.
D00000

W10000
MOV (21)
This input condition
#C500 (W10000) turns ON the Unit
D00003 0 Write Command Bit.

63
Appendix C
DM Area Settings Assignment Sheets

Control Data Area


D _____ Contents Data
D (+0) Simple Communications Unit control
D (+1) Simple Communications Unit status*1
D (+2) Syntax error DM address*1
D (+3) Communications control for Units 0 to 7
D (+4) Communications control for Units 8 to 15
D (+5) Communications control for Units 16 to 23
D (+6) Communications control for Units 24 to 31
D (+7) Unit 0 communications type
D (+8) Starting address of Unit 0 read data area (Starting address of Unit 0 read variable type area)
D (+9) Starting address of Unit 0 write data area (Starting address of Unit 0 write variable type area)
D (+10) Unit 1 communications type
D (+11) Starting address of Unit 1 read data area (Starting address of Unit 1 read variable type area)
D (+12) Starting address of Unit 1 write data area (Starting address of Unit 1 write variable type area)
D (+13) Unit 2 communications type
D (+14) Starting address of Unit 2 read data area (Starting address of Unit 2 read variable type area)
D (+15) Starting address of Unit 2 write data area (Starting address of Unit 2 write variable type area)
D (+16) Unit 3 communications type
D (+17) Starting address of Unit 3 read data area (Starting address of Unit 3 read variable type area)
D (+18) Starting address of Unit 3 write data area (Starting address of Unit 3 write variable type area)
D (+19) Unit 4 communications type
D (+20) Starting address of Unit 4 read data area (Starting address of Unit 4 read variable type area)
D (+21) Starting address of Unit 4 write data area (Starting address of Unit 4 write variable type area)
D (+22) Unit 5 communications type
D (+23) Starting address of Unit 5 read data area (Starting address of Unit 5 read variable type area)
D (+24) Starting address of Unit 5 write data area (Starting address of Unit 5 write variable type area)
D (+25) Unit 6 communications type
D (+26) Starting address of Unit 6 read data area (Starting address of Unit 6 read variable type area)
D (+27) Starting address of Unit 6 write data area (Starting address of Unit 6 write variable type area)
D (+28) Unit 7 communications type
D (+29) Starting address of Unit 7 read data area (Starting address of Unit 7 read variable type area)
D (+30) Starting address of Unit 7 write data area (Starting address of Unit 7 write variable type area)
D (+31) Unit 8 communications type
D (+32) Starting address of Unit 8 read data area (Starting address of Unit 8 read variable type area)
D (+33) Starting address of Unit 8 write data area (Starting address of Unit 8 write variable type area)
D (+34) Unit 9 communications type
D (+35) Starting address of Unit 9 read data area (Starting address of Unit 9 read variable type area)
D (+36) Starting address of Unit 9 write data area (Starting address of Unit 9 write variable type area)
D (+37) Unit 10 communications type
D (+38) Starting address of Unit 10 read data area (Starting address of Unit 10 read variable type area)
D (+39) Starting address of Unit 10 write data area (Starting address of Unit 10 write variable type area)
D (+40) Unit 11 communications type
D (+41) Starting address of Unit 11 read data area (Starting address of Unit 11 read variable type area)
D (+42) Starting address of Unit 11 write data area (Starting address of Unit 11 write variable type area)
D (+43) Unit 12 communications type
D (+44) Starting address of Unit 12 read data area (Starting address of Unit 12 read variable type area)
D (+45) Starting address of Unit 12 write data area (Starting address of Unit 12 write variable type area)
D (+46) Unit 13 communications type
D (+47) Starting address of Unit 13 read data area (Starting address of Unit 13 read variable type area)

65
DM Area Settings Assignment Sheets Appendix C

D _____ Contents Data


D (+48) Starting address of Unit 13 write data area (Starting address of Unit 13 write variable type area)
D (+49) Unit 14 communications type
D (+50) Starting address of Unit 14 read data area (Starting address of Unit 14 read variable type area)
D (+51) Starting address of Unit 14 write data area (Starting address of Unit 14 write variable type area)
D (+52) Unit 15 communications type
D (+53) Starting address of Unit 15 read data area (Starting address of Unit 15 read variable type area)
D (+54) Starting address of Unit 15 write data area (Starting address of Unit 15 write variable type area)
D (+55) Unit 16 communications type
D (+56) Starting address of Unit 16 read data area (Starting address of Unit 16 read variable type area)
D (+57) Starting address of Unit 16 write data area (Starting address of Unit 16 write variable type area)
D (+58) Unit 17 communications type
D (+59) Starting address of Unit 17 read data area (Starting address of Unit 17 read variable type area)
D (+60) Starting address of Unit 17 write data area (Starting address of Unit 17 write variable type area)
D (+61) Unit 18 communications type
D (+62) Starting address of Unit 18 read data area (Starting address of Unit 18 read variable type area)
D (+63) Starting address of Unit 18 write data area (Starting address of Unit 18 write variable type area)
D (+64) Unit 19 communications type
D (+65) Starting address of Unit 19 read data area (Starting address of Unit 19 read variable type area)
D (+66) Starting address of Unit 19 write data area (Starting address of Unit 19 write variable type area)
D (+67) Unit 20 communications type
D (+68) Starting address of Unit 20 read data area (Starting address of Unit 20 read variable type area)
D (+69) Starting address of Unit 20 write data area (Starting address of Unit 20 write variable type area)
D (+70) Unit 21 communications type
D (+71) Starting address of Unit 21 read data area (Starting address of Unit 21 read variable type area)
D (+72) Starting address of Unit 21 write data area (Starting address of Unit 21 write variable type area)
D (+73) Unit 22 communications type
D (+74) Starting address of Unit 22 read data area (Starting address of Unit 22 read variable type area)
D (+75) Starting address of Unit 22 write data area (Starting address of Unit 22 write variable type area)
D (+76) Unit 23 communications type
D (+77) Starting address of Unit 23 read data area (Starting address of Unit 23 read variable type area)
D (+78) Starting address of Unit 23 write data area (Starting address of Unit 23 write variable type area)
D (+79) Unit 24 communications type
D (+80) Starting address of Unit 24 read data area (Starting address of Unit 24 read variable type area)
D (+81) Starting address of Unit 24 write data area (Starting address of Unit 24 write variable type area)
D (+82) Unit 25 communications type
D (+83) Starting address of Unit 25 read data area (Starting address of Unit 25 read variable type area)
D (+84) Starting address of Unit 25 write data area (Starting address of Unit 25 write variable type area)
D (+85) Unit 26 communications type
D (+86) Starting address of Unit 26 read data area (Starting address of Unit 26 read variable type area)
D (+87) Starting address of Unit 26 write data area (Starting address of Unit 26 write variable type area)
D (+88) Unit 27 communications type
D (+89) Starting address of Unit 27 read data area (Starting address of Unit 27 read variable type area)
D (+90) Starting address of Unit 27 write data area (Starting address of Unit 27 write variable type area)
D (+91) Unit 28 communications type
D (+92) Starting address of Unit 28 read data area (Starting address of Unit 28 read variable type area)
D (+93) Starting address of Unit 28 write data area (Starting address of Unit 28 write variable type area)
D (+94) Unit 29 communications type
D (+95) Starting address of Unit 29 read data area (Starting address of Unit 29 read variable type area)
D (+96) Starting address of Unit 29 write data area (Starting address of Unit 29 write variable type area)
D (+97) Unit 30 communications type
D (+98) Starting address of Unit 30 read data area (Starting address of Unit 30 read variable type area)
D (+99) Starting address of Unit 30 write data area (Starting address of Unit 30 write variable type area)
D (+100) Unit 31 communications type
D (+101) Starting address of Unit 31 read data area (Starting address of Unit 31 read variable type area)
D (+102) Starting address of Unit 31 write data area (Starting address of Unit 31 write variable type area)

66
DM Area Settings Assignment Sheets Appendix C

Read Variable Type Area (CompoWay/F)


D _____ Contents Data Variable name Setting range
D (+0) Number of read items --- 0001 to 0012 BCD
D (+1) Reserved Always 0000 --- ---
D (+2) Starting address of read data area --- 0000 to 9999 BCD
D (+3) Variable 1 type Variable type:
00C0 to 00CF Hex
D (+4) Variable 1 address
Variable address:
D (+5) Variable 2 type 0000 to FFFF Hex
D (+6) Variable 2 address
D (+7) Variable 3 type
D (+8) Variable 3 address
D (+9) Variable 4 type
D (+10) Variable 4 address
D (+11) Variable 5 type
D (+12) Variable 5 address
D (+13) Variable 6 type
D (+14) Variable 6 address
D (+15) Variable 7 type
D (+16) Variable 7 address
D (+17) Variable 8 type
D (+18) Variable 8 address
D (+19) Variable 9 type
D (+20) Variable 9 address
D (+21) Variable 10 type
D (+22) Variable 10 address
D (+23) Variable 11 type
D (+24) Variable 11 address
D (+25) Variable 12 type
D (+26) Variable 12 address

67
DM Area Settings Assignment Sheets Appendix C

Write Variable Type Area (CompoWay/F)


D _____ Contents Data Variable name Setting range
D (+0) Number of write items --- 0000 to 0012 BCD
D (+1) Operation Command --- 0000: disable
0001: enable
D (+2) Starting address of write data area --- 0000 to 9999 BCD
D (+3) Variable 1 type Variable type:
00C0 to 00CF Hex
D (+4) Variable 1 address
Variable address:
D (+5) Variable 2 type 0000 to FFFF Hex
D (+6) Variable 2 address
D (+7) Variable 3 type
D (+8) Variable 3 address
D (+9) Variable 4 type
D (+10) Variable 4 address
D (+11) Variable 5 type
D (+12) Variable 5 address
D (+13) Variable 6 type
D (+14) Variable 6 address
D (+15) Variable 7 type
D (+16) Variable 7 address
D (+17) Variable 8 type
D (+18) Variable 8 address
D (+19) Variable 9 type
D (+20) Variable 9 address
D (+21) Variable 10 type
D (+22) Variable 10 address
D (+23) Variable 11 type
D (+24) Variable 11 address
D (+25) Variable 12 type
D (+26) Variable 12 address

68
DM Area Settings Assignment Sheets Appendix C

Read Data Area (CompoWay/F)


D _____ Contents Data Variable name
D (+0) Response monitor area ---
D (+1) Component status ---
D (+2) Variable 1 read data (lower bytes)
D (+3) Variable 1 read data (upper bytes)
D (+4) Variable 2 read data (lower bytes)
D (+5) Variable 2 read data (upper bytes)
D (+6) Variable 3 read data (lower bytes)
D (+7) Variable 3 read data (upper bytes)
D (+8) Variable 4 read data (lower bytes)
D (+9) Variable 4 read data (upper bytes)
D (+10) Variable 5 read data (lower bytes)
D (+11) Variable 5 read data (upper bytes)
D (+12) Variable 6 read data (lower bytes)
D (+13) Variable 6 read data (upper bytes)
D (+14) Variable 7 read data (lower bytes)
D (+15) Variable 7 read data (upper bytes)
D (+16) Variable 8 read data (lower bytes)
D (+17) Variable 8 read data (upper bytes)
D (+18) Variable 9 read data (lower bytes)
D (+19) Variable 9 read data (upper bytes)
D (+20) Variable 10 read data (lower bytes)
D (+21) Variable 10 read data (upper bytes)
D (+22) Variable 11 read data (lower bytes)
D (+23) Variable 11 read data (upper bytes)
D (+24) Variable 12 read data (lower bytes)
D (+25) Variable 12 read data (upper bytes)

69
DM Area Settings Assignment Sheets Appendix C

Write Data Area (CompoWay/F)


D _____ Contents Data Variable name
D (+0) Response monitor area ---
D (+1) Operation Command ---
D (+2) Variable 1 write data (lower bytes)
D (+3) Variable 1 write data (upper bytes)
D (+4) Variable 2 write data (lower bytes)
D (+5) Variable 2 write data (upper bytes)
D (+6) Variable 3 write data (lower bytes)
D (+7) Variable 3 write data (upper bytes)
D (+8) Variable 4 write data (lower bytes)
D (+9) Variable 4 write data (upper bytes)
D (+10) Variable 5 write data (lower bytes)
D (+11) Variable 5 write data (upper bytes)
D (+12) Variable 6 write data (lower bytes)
D (+13) Variable 6 write data (upper bytes)
D (+14) Variable 7 write data (lower bytes)
D (+15) Variable 7 write data (upper bytes)
D (+16) Variable 8 write data (lower bytes)
D (+17) Variable 8 write data (upper bytes)
D (+18) Variable 9 write data (lower bytes)
D (+19) Variable 9 write data (upper bytes)
D (+20) Variable 10 write data (lower bytes)
D (+21) Variable 10 write data (upper bytes)
D (+22) Variable 11 write data (lower bytes)
D (+23) Variable 11 write data (upper bytes)
D (+24) Variable 12 write data (lower bytes)
D (+25) Variable 12 write data (upper bytes)

70
DM Area Settings Assignment Sheets Appendix C

Read Data Area (SYSWAY: Temperature Controllers)


D _____ Contents Data Command group
1 2 3 4 5
D (+0) Response monitor area Read Read Read Read Read
D (+1) Present temperature Read Read Read Read Read
D (+2) Status Read Read Read Read Read
D (+3) Target temperature Read Read Read Read Read
D (+4) Alarm 1 SV --- --- Read Read Read
D (+5) Alarm 2 SV --- --- Read Read Read
D (+6) Proportional band --- --- --- Read Read
D (+7) Integral time --- --- --- Read Read
D (+8) Derivative time --- --- --- Read Read
D (+9) Heater current monitor --- --- --- --- Read
D (+10) Heater current status --- --- --- --- Read

Read Data Area (SYSWAY: Digital Panel Meters)


D _____ Contents Data Command group
1 2 3 4 5
D (+0) Response monitor area Read Read Read Read Read
D (+1) Display value (Lower bytes) Read Read Read Read Read
D (+2) Display value (Upper bytes) Read Read Read Read Read
D (+3) Display value status Read Read Read Read Read
D (+4) Peak hold (Lower bytes) --- Read Read --- Read
D (+5) Peak hold (Upper bytes) --- Read Read --- Read
D (+6) Peak hold status --- Read Read --- Read
D (+7) Bottom hold (Lower bytes) --- Read Read --- Read
D (+8) Bottom hold (Upper bytes) --- Read Read --- Read
D (+9) Bottom hold status --- Read Read --- Read
D (+10) Comparison value HH (Lower bytes) --- --- --- Read Read
D (+11) Comparison value HH (Upper bytes) --- --- --- Read Read
D (+12) Comparison value H (Lower bytes) --- --- --- Read Read
D (+13) Comparison value H (Upper bytes) --- --- --- Read Read
D (+14) Comparison value L (Lower bytes) --- --- --- Read Read
D (+15) Comparison value L (Upper bytes) --- --- --- Read Read
D (+16) Comparison value LL (Lower bytes) --- --- --- Read Read
D (+17) Comparison value LL (Upper bytes) --- --- --- Read Read

71
DM Area Settings Assignment Sheets Appendix C

Write Data Area (SYSWAY: Temperature Controllers)


D _____ Contents Data Command group
1 2 3 4 5
D (+0) Response monitor area Written Written Written Written Written
D (+1) Target temperature SV Written Written Written Written Written
D (+2) Operation Command --- Written Written Written Written
D (+3) Alarm 1 SV --- --- Written Written Written
D (+4) Alarm 2 SV --- --- Written Written Written
D (+5) Proportional band --- --- --- Written Written
D (+6) Integral time --- --- --- Written Written
D (+7) Derivative time --- --- --- Written Written
D (+8) Heater burnout detection value --- --- --- --- Written

Write Data Area (SYSWAY: Digital Panel Meters)


D _____ Contents Data Command group
1 2 3 4 5
D (+0) Response monitor area Written Written Written Written Written
D (+1) Operation Command --- --- Written --- Written
D (+2) Comparison value HH (Lower bytes) --- --- --- Written Written
D (+3) Comparison value HH (Upper bytes) --- --- ---
D (+4) Comparison value H (Lower bytes) --- --- --- Written Written
D (+5) Comparison value H (Upper bytes) --- --- ---
D (+6) Comparison value L (Lower bytes) --- --- --- Written Written
D (+7) Comparison value L (Upper bytes) --- --- ---
D (+8) Comparison value LL (Lower bytes) --- --- --- Written Written
D (+9) Comparison value LL (Upper bytes) --- --- ---

72
Revision History

A manual revision code appears as a suffix to the catalog number on the front cover of the manual.

Cat. No. W400-E1-01

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 September 2001 Original production

73

You might also like