Omron SYSMAC Link Manual
Omron SYSMAC Link Manual
Omron SYSMAC Link Manual
W367E11
SYSMAC
CS1 Series
SYSMAC LINK
SYSTEM MANUAL
SYSMAC LINK
System Manual
Produced December 1999
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 damage to property.
DANGER
Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
! WARNING
Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
! Caution
Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3...
OMRON, 1999
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any
form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is
constantly 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.
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
1-2
1-3
1-4
1-5
1-6
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSMAC LINK Unit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSMAC LINK Unit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Devices and Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Message Service Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
Unit Components and Switch Settings . . . . . . . . . . . . . . .
2-1
2-2
2-3
2-4
Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mounting to Backplanes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cable Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3
Basic Communications . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
3-2
3-3
3-4
3-5
3-6
SECTION 4
Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
4-2
4-3
4-4
4-5
4-6
4-7
4-8
4-9
4-10
4-11
4-12
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Table Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controlling Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CX-Programmer Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 5
Network Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
5-2
5-3
xi
xii
xii
xii
xiii
xiii
xv
1
2
3
8
10
12
15
17
18
20
20
21
33
34
35
35
36
36
38
41
42
43
44
45
46
50
54
56
57
61
63
67
83
84
85
87
vii
TABLE OF CONTENTS
SECTION 6
Message Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1
6-2
6-3
6-4
SECTION 7
Remote Monitoring and Programming . . . . . . . . . . . . . .
7-1
SECTION 8
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1
8-2
8-3
8-4
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Polling Node Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Node Bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 9
Unit Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-1
9-2
SECTION 10
Inspection and Maintenance . . . . . . . . . . . . . . . . . . . . . . .
10-1 Periodic Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-2 Handling Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-3 Tools and Equipment Needed for Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
92
92
106
109
119
120
123
124
133
139
139
141
142
143
145
146
146
146
Appendices
A
B
C
D
E
Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Auxiliary Area Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPU Bus Unit Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
viii
147
149
151
153
157
159
175
177
! WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section in its entirety and be sure you understand the information provided in the section
and related sections before attempting any of the procedures or operations given.
ix
PRECAUTIONS
This section provides general precautions for using the CS1-series SYSMAC LINK Units and related devices.
The information contained in this section is important for the safe and reliable application of the CS1-series SYSMAC
LINK Units. You must read this section and understand the information contained before attempting to set up or operate a SYSMAC LINK System.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1
Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2
Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3
Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xii
xii
xii
xiii
xiii
xv
xv
xv
xv
xi
Safety Precautions
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.
General Precautions
The user must operate the product according to the performance specifications
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, amusement machines, safety equipment, and other systems, machines, and equipment 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 manual
close at hand for reference during operation.
! WARNING It is extremely important that a PC and all PC Units be used for the specified
purpose and under the specified conditions, especially in applications that can
directly or indirectly affect human life. You must consult with your OMRON
representative before applying a PC System to the above-mentioned
applications.
Safety Precautions
! WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so
may result in electric shock.
! WARNING Do not touch any of the terminals or terminal blocks while the power is being
supplied. Doing so may result in electric shock.
! WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so
may result in malfunction, fire, or electric shock.
! WARNING Provide safety measures in external circuits (i.e., not in the Programmable
Controller), including the following items, in order to ensure safety in the system
if an abnormality occurs due to malfunction of the PC or another external factor
affecting the PC operation. Not doing so may result in serious accidents.
Emergency stop circuits, interlock circuits, limit circuits, and similar safety
measures must be provided in external control circuits.
The PC will turn OFF all outputs when its self-diagnosis function detects any
error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
xii
Application Precautions
! Caution
Application Precautions
Observe the following precautions when using the SYSMAC LINK Unit.
! WARNING Failure to abide by the following precautions could lead to serious or possibly
fatal injury. Always heed these precautions.
Always ground the system to 100 or less when installing the system to protect against electrical shock.
Always turn OFF the power supply or the backup power supply to the PC or the
computer before attempting any of the following. Performing any of the following with the power supply turned ON may lead to electrical shock:
Installing or removing the SYSMAC LINK Unit.
Assembling the Units.
Setting DIP or rotary switches.
Connecting or disconnecting any cables or wiring.
Connecting or disconnecting any connectors.
xiii
Application Precautions
! Caution
Failure to abide by the following precautions could lead to faulty operation or the
PC or the system or could damage the PC or PC Units. Always heed these precautions.
Always use the power supply voltages specified in the operation manuals. An
incorrect voltage may result in malfunction or burning.
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.
Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may
result in burning.
Disconnect the functional ground terminal when performing withstand voltage
tests. Not disconnecting the functional ground terminal may result in burning.
Do not attempt to disassemble, repair, or modify any Units. Any attempt to do
so may result in malfunction, fire, or electric shock.
Be sure that all the mounting screws, terminal screws, and cable connector
screws are tightened to the torque specified in the relevant manuals. Incorrect
tightening torque may result in malfunction.
Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the Unit.
Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
Use crimp terminals for wiring. Do not connect bare stranded wires directly to
terminals. Connection of bare stranded wires may result in burning.
Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring may result in burning.
Wire all connections correctly.
Mount Units only after checking terminal blocks and connectors completely.
Be sure that the communications cable connectors and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
Use special packing box when transporting the SYSMAC LINK Unit. Handle
the product carefully so that no excessive vibration or impact is applied to the
product during transportation.
Check the user program for proper execution before actually running it on the
Unit. Not checking the program may result in an unexpected operation.
Observe the following precautions when wiring the communications cable or
backup power supply cables.
Separate the cables from the power lines or high-tension lines.
Do not bend the cables beyond their natural bending radius.
Do not pull on the cables.
Do not place heavy objects on top of the cables.
Route cables inside conduits.
Before touching the Unit, be sure to first touch a grounded metallic object in
order to discharge any static build-up.
xiv
Conformance to EC Directives
Conformance to EC Directives
6-1
Applicable Directives
EMC Directives
6-2
Concepts
EMC Directives
OMRON devices that comply with EC Directives conform to the related EMC
standards so that they can be more easily built into other devices or machines.
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 Directives will vary depending on the configuration, wiring, and other conditions of the
equipment or control panel in which the OMRON devices are installed. The customer must, therefore, perform final checks to confirm that devices and the overall machine conform to EMC standards.
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility):
EMI (Electromagnetic Interference):
6-3
EN50082-2
EN50081-2
Conformance to EC Directives
The CS1W-SLK11 and CS1W-SLK21 SYSMAC LINK Units comply with EC Directives. To ensure that the machine or device in which these SYSMAC LINK
Units are used complies with EC directives, the SYSMAC LINK Units must be
installed as follows:
1, 2, 3...
xv
SECTION 1
Introduction
This section introduces the features and operations of the SYSMAC LINK Units.
1-1
1-2
1-3
1-4
1-5
1-6
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSMAC LINK Unit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-1 Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSMAC LINK Unit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-1 Basic Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-2 Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-3 Network Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-4 Message Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-5 Remote Programming and Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-6 RAS Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Devices and Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4-1 Basic Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4-2 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5-1 Manually Setting Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5-2 Automatically Setting Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Message Service Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
3
4
4
8
8
8
9
9
9
9
10
10
10
12
12
13
15
Section
Overview
1-1
1-1
Overview
The SYSMAC LINK is an FA network that can send and receive large data packets flexibly and easily among the OMRON CS1-series, C200HX/HG/HE, CVM1,
CV-series, C1000H, C1000HF, C2000H, and CQM1H-series Programmable
Controllers (PCs), as well as IBM PC/AT or compatible computers.
The SYSMAC LINK supports data links that enable data sharing and a message
service that enables sending and receiving data when required. Data link words
can be freely set to create a flexible data link system and effectively use memory
areas.
The network is connected using coaxial cable or optical fiber cable.
Coaxial cable
IBM PC/AT or
compatible
3G8C2-SLK21-E
SYSMAC LINK
Support Board
3G8C2-SLK21-E
SYSMAC LINK
Support Board
CS1-series PC
24-VDC
Backup Power
Supply
100-VAC
Backup Power
Supply
Internetwork
Connections
C200HW-SLK13/SLK14
SYSMAC LINK Unit
C200HX/HG/HE
CVM1,
CV-series PC
C1000H-SLK11
SYSMAC LINK Unit
C1000H, C1000HF,
C2000H
C1000H-APS01
Power Supply
Unit
CV500-SLK11
SYSMAC LINK Unit
Network 2
Controller Link, Ethernet, SYSMAC LINK, SYSMAC NET, etc.
Network 3
Controller Link, Ethernet, SYSMAC LINK, SYSMAC NET, etc.
1-2
Section
1-2
The specialized communications LSIs used in all SYSMAC LINK Units deliver
high speed, reliability, and flexibility in an advanced data link system, while optical fiber cable systems provide high-speed communications with unparalleled
immunity to noise.
In the event of an error or failure in the polling node, another node automatically
takes over management of the SYSMAC LINK System without stopping the entire network. The CX-Net within the CX-Programmer can monitor and/or program PCs anywhere in the network via the SYSMAC LINK System.
The data link function transfers data to and from other nodes automatically, establishing simple but powerful peer-to-peer links between nodes. Data links can
be generated automatically or the user can use the flexibility of manually generating data links to eliminate unused link words, improve data link I/O response
time, and to even create several data link groups in one network.
The data link communications cycle time can be fixed at a constant value, so
even simultaneous remote programming/monitoring and NETWORK READ/
WRITE instructions (RECV(98)/SEND(90)) execution have no effect on the data
link I/O response time.
The data link function allows data exchange not only between PCs but also between PCs and host computers in the network, making it possible to develop
communications software with ease.
Active Communications
1, 2, 3...
Internetwork
Communications
Routing tables can be set up in network PCs so that communications are possible with interconnecting networks or networks one network away from the local
network. This includes both bridging to other SYSMAC LINK Networks or passing gateways to other OMRON networks, including those in SYSMAC NET Link
Systems or SYSMAC BUS/2 Remote I/O Systems.
Remote Access
The CX-Net within the CX-Programmer can access PCs on the local network, on
adjacent networks, or on networks one removed from the local network, including Controller Link and Ethernet Networks. Access can be used to monitor operation and/or manipulate data and programs.
RAS Functions
SYSMAC LINK Units are equipped with three RAS functions (RAS is an acronym for reliability, availability, and serviceability). The Polling Node Backup and
Failed Node Bypass (optical systems only) functions prevent the network from
failing when one Unit fails. The Internode Echo Test function aids in communications troubleshooting.
Remote monitoring of the networks operating status and error logs also aids in
troubleshooting and quick correction of communications problems.
Section
1-2
Unit
classification
CPU Bus Unit
Name
Transmission
path
Optical fiber
cable
Communications
Model
CS1W-SLK21
CS1W-SLK11
Specifications
Setting manually set data links, starting/stopping data links, reading
network status, reading error logs, setting routing tables, testing
networks, changing network parameters settings
Note The CS1 SYSMAC LINK Unit cannot be directly connected to
SYSMAC Support Software.
1-2-2 Specifications
General Specifications
Conform to the specifications of the CS1 Series.
Model
WS02-CXjjE
Section
1-2
Specifications
Model
CS1W-SLK21
CS1W-SLK11
Type
Coaxial
Optical fiber
Unit classification
Applicable PCs
CS1-series PCs
Mounting position
0 to F
Words
allocated to
CPU Bus Units
in DM Area
Settings
25 words/Unit
SYSMAC Link Unit to CPU Unit:
Data link status, network participation status, error information, etc.
100 words/Unit (Only first word of the 100 words is used.)
CPU Unit to SYSMAC LINK Unit:
Polling/polled node setting, starting data links, data link mode (automatic/manual)
settings, number of data link words for automatic data links, etc.
Rotary switch:
Unit number
BNC connector
0.2 ms
Requires an additional 1.5 ms + (No. of words transferred x 0.001 ms) when data
links are used.
Current consumption (supplied
from Power Supply Unit)
Dimensions
35 130 101 mm (W x H x D)
Weight
Standard accessories
Cable bracket
Section
1-2
Specifications
Type
Coaxial
Communications functions
Optical fiber
Communications method
Transmission method
Manchester encoding
Modulation
Baseband
Synchronization
Transmission path
Bus
Daisy chain
2 Mbps (fixed)
2 Mbps (fixed)
Transmission path
Node connection
BNC connector
Number of nodes
62 max.
Send words per node: 508 words max. (254 words in CIO Area + 254 words in DM
Area)
Data link words (send and receive) that can be created in a single CS1-series CPU Unit:
2,966 words max. (CIO Area + DM Area)
Automatic settings: CIO 1000 to CIO 1063 (Data Link Area), D00000 to D00127 (DM
Area)
Manual settings: CIO 0000 to CIO 6143 (entire CIO), entire DM Area (D00000 to
D32767)
Message length
When creating manually set data link tables using CX-Programmer Ver. 1.2 or earlier,
the words that can be set by the user are limited to the same words as for CVM1/CV, as
follows:
CIO Area: CIO 0000 to CIO 2555
DM Area: D00000 to D24575
552 bytes max. (including header)
RAS functions
Error control
Section
1-2
Automatic settings
Manual settings
Areas supporting
data links
CIO Area
DM Area
D00000 to
D00127
CIO Area
CIO 1000
DM Area
D00000
CIO Area
DM Area
CIO Area
Number of words
sent per node
Allocating data
link words
DM Area
Note When creating manually set data link tables using CX-Programmer Ver. 1.2 Service Pack 1, the words that can be set by the user are limited to the same words
as for CVM1/CV, as follows:
CIO Area: CIO 0000 to CIO 2555
DM Area: D00000 to D24575
Message Communications Specifications
Instructions
SEND(90)/RECV(98)
CMND(490)
Application
Message contents
Local node to PC to PC
partner node PC to computer
Possible
Possible (requires program that returns
responses from the computer)
Possible
Possible (requires program that returns
responses from the computer)
Computer to PC
Local node: partner node
RECV(98): 1:1
Number of words sent and
received
Section
1-3
1-3
Set the address of the local node in the network using the rotary switches on the
front of the SYSMAC LINK Unit.
Unit Number
(See pages 20 and 35)
Up to 16 CPU Bus Units (SYSMAC LINK Units, Controller Link Units, Ethernet
Units, Serial Communication Units, etc.) can be mounted on one PC. Of these,
however, only a maximum of four Units may be SYSMAC LINK Units.
Set the unit number of each Unit manually from between 0 to F Hex (0 to 15)
using the rotary switches on the front of the SYSMAC LINK Unit.
Network Parameters
(See page 36)
The following parameters are set with the Support Software (CX-Net within the
CX-Programmer).
Communications cycle time
Maximum node address
Number of polled nodes
Maximum number of frames
Manual Settings
(See page 50)
The areas to be used in creating the data links (CIO Area and/or DM Area) and
the number of data link words for each node are set in parameters in the DM
Area.
Data Link Table Settings
The common link parameters and refresh parameters required by data links
are set using Support Software.
Common link parameters: The same for all nodes
Refresh parameters:
Section
1-3
Communications between the local node and a specified node within the network can be tested. The test settings are made using the Support Software.
Broadcast Test
All the nodes within a specified network can be tested using the Support Software broadcast test function.
Error Log
(See page 133)
If an error occurs in the Unit, the time of the error and the error contents are
logged in EEPROM within the Unit. The logged error information can be read
using the Support Software.
If an error occurs in the polling node, the Unit at another node automatically becomes the polling node and rebuilds the network.
Node Bypass
(See page 139)
If a backup power supply is used with an Optical SYSMAC LINK System, any
node that goes down will be automatically bypassed, preventing the entire network from going down.
Section
1-4
1-4
Programming
Console
Startup node
or
CPU Unit
SYSMAC LINK
+
CX-Programmer
IBM PC/AT or
compatible
1-4-2 CX-Programmer
The CX-Net operations within the CX-Programmer are required when using
manually set data links, or when setting or monitoring detailed settings of the
SYSMAC LINK Unit. This Support Software can be used with a CS1-series PC
and is ideal for the following applications.
Setting manual data links (i.e., creating and storing data link tables).
Starting/stopping data links.
Reading (monitoring) network status.
Reading error logs.
Setting routing tables.
Testing the Network.
Changing network parameters.
Using a Personal Computer as a Peripheral Device
+
CX-Net in
CX-Programmer
IBM PC/AT or
compatible
10
CS1-series PC
SYSMAC
Nodes
LINK Unit
RS-232C
Transmissions
CPU Unit
Section
1-4
+
SYSMAC LINK
Support Board
Setting data link tables
Software
CX-Programmer
Note
External
appearance
Model
WS02-CXjjE
2. Use Ver. 1.2 Service Pack 1 of the CX-Programmer. Settings for CS1-series
SYSMAC LINK Units cannot be made with earlier versions of the CX-Programmer.
3. When creating manually set data link tables using CX-Programmer Ver. 1.2
Service Pack 1, the words that can be set by the user are limited to the same
words as for CVM1/CV, as follows:
CIO Area: CIO 0000 to CIO 2555
DM Area: D00000 to D24575
4. For further details about the CX-Programmer, refer to the CX-Programmer
User Manual.
11
Section
1-5
1-5
Method
Nodes
Page
---
All nodes
20
--Use C100H-TER01
Terminator.
All nodes
Coaxial systems only.
21
Method
Nodes
CS1-series, CVM1,
and CV-series PCs
only
All nodes
Page
20
Method
---
Nodes
All nodes
Page
---
Method
Use the special
connection cable.
Nodes
CVM1 and CV-series
PCs
Page
10
Method
Use the SYSMAC
Support Software or
Programming
Console.
Nodes
CS1-series, CVM1,
and CV-series PCs
only
Page
---
Method
Use the SYSMAC
Support Software or
Programming
Console.
Nodes
Data link startup
node only
Page
45
Note Be sure that the data link mode in the data link parameters in the DM
Area is set to 00 when using manually set data links.
12
Section
1-5
7. Register the data link tables by making the following settings for each node.
Contents
First data link status word
Data link nodes
Area First data link
1
status words
Method
Use the CX-Net
within the
CX-Programmer.
Numbers of data
link words
Area
2
Nodes
All nodes within the
network
Page
46, 68
Note Offsets are used to control where data is placed within the receive
area.
8. Start the data links.
Contents
Start the data links.
Method
Switch the Data link
Start/Stop Bit (see
below) from OFF to
ON using either the
Programming Device,
the user program, the
CX-Net within the
CX-Programmer.
Nodes
Data link startup
node
Page
56, 68
Method
Nodes
Page
56, 68
13
Section
1-5
Method
Nodes
Page
---
All nodes
20
--Use C100H-TER01
Terminator.
All nodes
Coaxial systems only.
21
Method
Nodes
CS1-series, CVM1,
and CV-series PCs
only
All nodes
Page
20
Method
---
Nodes
All nodes
Page
---
Method
Use the special
connection cable.
Nodes
CS1-series, CVM1,
and CV-series PCs
only
Page
10
Method
Use the SYSMAC
Support Software or
Programming
Console.
Nodes
CS1-series, CVM1,
and CV-series PCs
only
Page
---
14
Method
Use the SYSMAC
Support Software or
Programming
Console.
Nodes
Data link startup node
only
The node that is used
to start the data link is
called the startup node.
It is necessary to
decide beforehand
which node will be the
startup node.
Data link startup node
only
Page
45
Section
1-6
Method
Switch the Data link
Start/Stop Bit (listed
below) from OFF to
ON using either the
Programming Device,
or the user program.
Nodes
Data link startup
node
Page
56, 68
Method
Nodes
Page
56, 68
1-6
Remarks
---
Page
20
21
Remarks
---
Page
20
Remarks
---
Page
---
Remarks
CS1-series, CVM1, and
CV-series PCs only
Page
---
15
Section
1-6
Remarks
-----
Page
85
Remarks
Stored in the memory areas of
the source node
16
---
Page
92
SECTION 2
Unit Components and Switch Settings
The names and functions of the SYSMAC LINK Unit components and switch settings are described in this section.
2-1
2-2
2-3
2-4
Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Component Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mounting to Backplanes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cable Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-1 Coaxial Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-2 Optical Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-3 Backup Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
18
19
20
20
21
21
26
30
17
Section
Nomenclature
2-1
2-1
Nomenclature
This section describes the names and components of the SYSMAC LINK Unit.
Optical connectors
Connectors to connect to the SYSMAC LINK Network communications
cable (optical fiber cable).
Power Supply Terminal Block
Connect the backup battery for the node bypass function.
Indicators
LED indicators that display the Unit and network status.
Unit number switch
One rotary switch. The unit number is set in single-digit
hexadecimal for the network to which the PC is connected.
Coaxial connector
Connects to the SYSMAC LINK network communications coaxial cable.
18
Section
Nomenclature
2-1
2-1-2 Indicators
The status of the SYSMAC LINK Units is shown by the indicators listed below.
Optical SYSMAC LINK
Unit (CS1W-SLK11)
Indicator name
RUN
Color
Green
Condition
Meaning
Lit
Not lit
Lit
Not lit
P/S
(power supply ON,
CS1W-SLK11 only)
Green
ERC
(communications
error)
Red
Lit
Red
Not lit
Lit
Not lit
INS (Network
inclusion)
Orange
Orange
Lit
Not lit
Lit
Not lit
Lit
Not lit
Lit
Not lit
Lit
Flashing
Rapid
flashing
Not lit
SD (send)
Orange
RD (receive)
Orange
Orange
Note If the Unit is participating in the network, the SD and RD indicators will light when
sending and receiving the token.
19
Section
Mounting to Backplanes
2-2
2-3
Switch Settings
The SYSMAC LINK Unit provides rotary switches on the front panel with which
to set the node address (NODE NO.) and unit number. You must turn OFF the
PC before setting the rotary switches. If you have changed the settings when the
PC is not turned OFF, you must restart the SYSMAC LINK Unit or the PC to use
the new settings.
Switch Positions
Set the unit number with SW1. Set the node address with SW2 and SW3. The
setting ranges are given in the following table.
Settings Values
Switches
2-3
Range
Remarks
Page
Unit number
(UNIT No.)
0 to F Hex
35
Node address
(NODE No.
101, 100)
01 to 62 decimal
35
Mounting to Backplanes
Up to a total of four SYSMAC LINK Units (coaxial and optical) can be mounted on
the CPU Rack or CS1 Expansion Racks. SYSMAC LINK Units cannot be
mounted on C200H Expansion Racks or Slave Racks.
Note Tighten the screws on the Backplane to a torque of 0.9 N S m.
Tighten the mounting screws on the Units to a torque of 0.4 N S m.
20
Section
Cable Connections
2-4
CPU Rack
(CS1W-BC103, CS1W-BC083, CS1W-BC053, CS1W-BC033, CS1W-BC023)
CPU Rack
SYSMAC LINK Units can be mounted to the
2/3/5/8/10 slots shown in the diagram on the right.
2/3/5/8/10 slots
CS1 Expansion Racks
(CS1W-BI108, CS1W-BI083, CS1W-BI053, CS1W-BI033)
Mount to up to four
of these slots.
3/5/8/10 slots
C200H Expansion Rack
C200H Expansion I/O Rack
SYSMAC LINK Units cannot be
mounted to Expansion I/O slots.
PS:
2-4
Cable Connections
SYSMAC LINK Units can be connected with either coaxial cable or optical fiber
cable. This section describes the procedures required to connect these cables.
Required Components
1, 2, 3...
Connection Procedure
The connection procedure is described briefly below.
1, 2, 3...
21
Section
Cable Connections
2-4
3. Connect the F Adapters to the SYSMAC LINK Units by firmly pushing the
adapter onto the coaxial connector on the Unit and turning the locking ring to
the right until it locks. Start at one end of the network and connect the F
Adapters to the other end in order.
F Adapter
Connector
Terminator
Terminator
Cable Connection
1, 2, 3...
1. Firmly press the F-Adapter into the Unit, and turn the locking ring to the right
until it locks.
Insulation cover
22
Section
Cable Connections
2-4
3. Any bends in the coaxial cable must be 45 mm in radius or greater (six times
the outer diameter of the cable). When laying the cable, make bends of
110 mm in radius or greater (15 times the outer diameter of the cable).
Radius
45 mm minimum
Note
Body
Sleeve
Ferule
Contact
Approx. 24.3 mm
L
Cable
LA
(Unit: mm)
23
Section
Cable Connections
2-4
Cable
4. Spread the tip of the braiding, and insert the sleeve. Using the trimming tool,
push in the sleeve flange forcefully until it fits flush with the braiding.
Sleeve
Ferrule
Shield
Ferrule
Sleeve
Blade
Ferrule
Trimming tool
Conductor
A
Shield
Sleeve
6. Using your fingertips, press down on B on the trimming tool blade, forcing
the blade into the polyethylene, and twist several times. Continuing to press
down on B, withdraw in the direction of arrow D as shown below.
D
Conductor
8. Insert the contact into the contact crimp adapter, and set them inside the
crimp tool die. Insert the cable central conductor into the contact hole until
24
Section
Cable Connections
2-4
the severed face of the polyethylene meets the contact guard. Firmly grasp
the crimp tool handle and crimp.
9. Insert the completed contact subassembly into the body. Gently rotate and
press until the contact wings enter the insulator cavity, and align the contact
tip with the insulator tip. After inserting the contact wings into the cavity, rotate the cable and the body until the body is crimped.
Body
Contact
subassembly
Insulator
10. Open the crimp tool handle, hold the tip of the body to the body stopper as
shown below, and close the handle until the ratchet can no longer turn. Align
the body hole with the hexagonal part of the die and crimp. A correct crimp
should resemble the diagram below.
Body stopper
Crimp height
Cable
Body
Check that the body crimp is correct. If you crimp without holding the tip of the
body to the body stopper, the crimp will be partway along the body as shown in
the diagram on the right.
Wrong
OK
Check that the contact tip is in the same position as the open mouth of the connector.
Body
25
Section
Cable Connections
2-4
Are the plug shells conducting through the connectors at both ends of the coaxial cable?
Are the central conductors conducting through the connectors at both ends of
the coaxial cable?
Provide a space between the bottom of the Unit and the cable as shown below to
ensure a suitable bend radius.
200
137
(Unit: mm)
Note Separate the coaxial cable from other power lines and high-voltage lines to prevent noise.
Required Components
Optical Fiber Cables
Use the following Optical Fiber Cables (Hard Plastic-clad Fiber: H-PCF).
Name
H-PCF cables
Specifications
Black
Orange
26
10 m
50 m
100 m
500 m
1,000 m
10 m
50 m
100 m
500 m
1,000 m
Model
S3200-HCCB101
S3200-HCCB501
S3200-HCCB102
S3200-HCCB502
S3200-HCCB103
S3200-HCCO101
S3200-HCCO501
S3200-HCCO102
S3200-HCCO502
S3200-HCCO103
Section
Cable Connections
2-4
S3200-Hjjjjjjj
Tensioner option
None: Standard (with tension member)
N:
Without tension member
Cable length
jjj
A B
(A/10) x 10B m
Cable color
B:
Black
O:
Orange
Cable specification
L:
With power supply line
C:
Without power supply line
Type
B:
C:
Connectors
Name
Connector
Model
S3200-COCF2011
S3200-COCF2511
Inline Adapter
Note
S3200-COIAT2000
Cord
Cable
Specifications
Use to connect a cable to a node.
(Full-lock connector for crimp-cut cable.)
Use to connect a cable to a node.
(Half-lock connector for crimp-cut cable.)
Use to connect or extend cables.
(Use one adapter for each connection.)
1. Either full-lock or half-lock connectors can be used in a SYSMAC LINK Network, but we recommend full-lock connectors to prevent accidental disconnections during operation.
2. The maximum distance between nodes is slightly shorter for connectors
with crimp-cut cables compared to connectors assembled with adhesive.
Also, the maximum distance is reduced due to extension loss when Inline
Adapters are used to extend cables.
27
Section
Cable Connections
2-4
The following Optical Fiber Cables are available with Connectors already
attached.
Specifications
Length
Optical Fiber Cable Connectors: 2 m
5m
S3200-COCF2011
10 m
S3200-COCF2011
15 m
20 m
Over 20 m
Optical Fiber Cable Connectors: 2 m
5m
S3200-COCF2011
10 m
S3200-COCF2511
15 m
20 m
Over 20 m
Optical Fiber Cable Connectors: 2 m
5m
S3200-COCF2511
10 m
S3200-COCF2511
15 m
20 m
Over 20 m
Note
Model
S3200-CN201-20-20
S3200-CN501-20-20
S3200-CN102-20-20
S3200-CN152-20-20
S3200-CN202-20-20
S3200-CN-20-20
(Specify length (m) when ordering.)
S3200-CN201-20-25
S3200-CN501-20-25
S3200-CN102-20-25
S3200-CN152-20-25
S3200-CN202-20-25
S3200-CN-20-25
(Specify length (m) when ordering.)
S3200-CN201-25-25
S3200-CN501-25-25
S3200-CN102-25-25
S3200-CN152-25-25
S3200-CN202-25-25
S3200-CN-25-25
(Specify length (m) when ordering.)
1. The cables listed above are black and have power supply lines and tension
members, although the power supply lines arent used in the SYSMAC LINK
Network.
2. All of the cables listed above are attached to the connectors with adhesive.
3. Special training is required to assemble Optical Fiber Cables and connectors with adhesive.
Use the following accessories to assemble and test Optical Fiber Cables.
Name
Model
Optical Fiber
Assembly Tool
Optical Power Tester
S3200-CAK1062
S3200-CAT2001H
S3200-CAT2700
Specifications
Crimp-cut tool for the
S3200-COCF2011/2511 Connectors
With S3200-CAT2702 Head Unit and
adapter for the
S3200-COCF2011/2511 Connectors
One meter cable for use with the
S3200-CAT2702 Head Unit
This manual does not provide details on Optical Fiber Cable preparation. For
details, refer to the instructions provided with the S3200-CAK1062 Assembly
Tool.
28
Section
Cable Connections
2-4
sure to cover the unused connectors on the highest and lowest nodes in the network with the provided Optical Connector Covers.
Higher
Note
Lower
Installing Connectors
A special connector is used to connect the Optical Fiber Cable to the SYSMAC
LINK Unit.
This manual does not provide details on Optical Fiber Cable preparation.
Observe the following precautions when connecting the Optical Fiber Cables.
Always turn OFF the PC power supply before connecting Optical Fiber Cables.
Special tools are required to attach Optical Fiber Cables to the connectors.
The cable may disconnect from the connector if the proper tools and methods
are not used during cable assembly.
Insert the connectors completely and always check that the connectors are
locked before starting operation.
If a connector becomes disconnected, the node will be unable to communicate
with other nodes in that part of the network. The network will be divided into two
and communications with the remaining nodes will be unreliable. Be sure not
to remove connectors during communications.
Transmission possible
but unstable.
Isolated
(Transmission not possible)
Cord
Cable
Do not bend the cable too sharply. The minimum radius for bends is 10 cm.
29
Section
Cable Connections
2-4
To prevent the Optical Fiber Cable from being pulled too forcefully, always use
the cable securing bracket and provide space behind the Unit as shown in the
following diagram. Do not exceed the maximum tension for the cord and cable:
Cord: 0 kg (Do not apply any tension.)
Cable: 5 kg
Cord
Cable
60
50
200
Do not place objects on top of the Optical Fiber Cable. The maximum pressure
that can be placed on the cord and cable is as follows:
Cord: 30 kg/10 cm
Cable: 50 kg/10 cm
Inspect the connector before installing it.
Use the following procedure to connect Optical Fiber Cables to a Unit.
Connection Procedure
1, 2, 3...
The following table shows the input specifications required for backup power
supply to SYSMAC LINK Units. Be sure that the backup power supply being
used meets these specifications. (We recommend the OMRON S82K-series
Power Supplies.)
Item
Note
30
Specification
Voltage
24 V DC
Current consumption
Inrush current
1. A label has been placed over the upper surface of the SYSMAC LINK Unit to
prevent wire cuttings from entering the Unit. When wiring the backup power
supply, leave the label in place.
Section
Cable Connections
2-4
Wrong
OK
Backup power
supply
Backup power
supply
Note Unlike the CV500-SLK11, the CS1W-SLK11 does not require an Auxiliary Power
Supply Unit for the node bypass function. Instead, directly connect a 24-VDC
external power source as a backup power supply.
Attach crimp terminals to the power supply cable when connecting the backup
power supply to the SYSMAC LINK Unit.
24 VDC
Backup
power
supply
Crimp Terminals
Use an M3 crimp terminal, as illustrated below.
6.2 mm max.
6.2 mm max.
Model
V1.25-N3A
V1.25-MS3
MOLEX JAPAN
CO., LTD.
VSY1.25-3.5L
RAV1.25-M3
Note
Remarks
Vinyl insulated
forked terminal
Vinyl insulated
round terminal
Vinyl insulated
forked terminal
Vinyl insulated
round terminal
Suitable wiring
range
0.25 to 1.65 mm2
(AWG #22 to #16)
1. Always turn OFF the power to the PC and the backup power supply before
connecting the backup power supply cables.
31
Cable Connections
Section
2-4
2. Separate the backup power supply wires from other power lines and highvoltage lines to prevent noise.
3. Always use a crimp terminal for wiring. Do not connect a wire that has only
been twisted directly to a terminal block.
4. Use recommend crimp terminals.
5. When mounting the crimp terminal, always use the appropriate tools for
each crimp terminal and follow the appropriate installation procedures. Contact the crimp terminal manufacturer for details on the appropriate tools and
procedures. Failure to use the appropriate tools and procedures could
cause cables to break.
6. Measure the length of peeled cable during installation according to the
crimp terminal used and make sure that the peeled length is not too long.
Cover the compressed section of the crimp terminal and cable with vinyl
tape or heat-shrinking tube.
7. Be sure not to reverse the power supply polarity.
8. Tighten the screws on the terminal block firmly. The correct tightening
torque is 0.5 Nm. If the screws are too loose, short-circuit, malfunction or
burning may result.
9. Do not pull backup power supply cables with excessive force.
10. Do not bend backup power supply cables.
11. Do not place any object on top of backup power supply cables.
12. Supply power only after checking the wiring thoroughly.
32
SECTION 3
Basic Communications
A description of the token bus method of communications used in SYSMAC LINK Systems is described briefly in this section, as well as the basic settings necessary for operation.
3-1
3-2
3-3
3-4
3-5
3-6
34
35
35
36
36
38
38
39
33
Section
Memory Areas
3-1
3-1
Token Bus
Communications
To avoid having two nodes attempt to transmit simultaneously, only one node
has the right to transmit at a time. The right to transmit is held by the node that
holds what is called the token, which is passed in sequence from node to node,
beginning with the node with the lowest node address (the polling node, see below).
If the token is passed to a node that does not have data to transmit, the token is
immediately passed to the node with the next higher node address. The node
with the highest node address passes the token back to the node with the lowest
node address. In this way, each node in the network has its turn to transmit data
without interfering with other nodes.
Node
Node
Node
Control
sequence
Connecting cable
(trunk line)
Node
Node
Node
Polling Node
In a SYSMAC LINK Network there is one node, called the polling node, that controls communications in the network. Normally, the Unit with the lowest node address is the polling node. If the polling node fails, the node with the next higher
node address automatically becomes the polling node, preventing the whole
network from failing.
Startup Node
The node that starts the data link in a SYSMAC LINK Network is called the startup node. The data link operates using the parameter settings in the DM Area at
the startup node. With automatic allocation of link words, the DM parameter area
settings are used, and with manual allocation, the common link parameters in
the startup node are used.
Communications Cycle
The token in a SYSMAC LINK Network is first passed from the polling node. The
token is passed in sequence from node to node by node address until it is finally
returned to the polling node. One complete circuit around the network is known
as a token cycle.
At the end of each token cycle, the polling node polls all of the nodes in the network to check whether any nodes have been added to or removed from the network. The updated information on the network is transmitted to all nodes. This
polling and updating process is known as the polling cycle.
34
Section
Memory Areas
3-3
When the control cycle is completed, the polling node once again passes the
token, beginning the next token cycle. Together the token cycle and control cycle
make up the communications cycle, and the time required for the communications cycle is known as the communications cycle time.
Communications cycle
Token cycle
Communications cycle
Polling cycle
Token cycle
Polling cycle
Network Parameters
The communications cycle time is one of the network parameters. The other network parameters are the number of polled units, maximum number of frames,
and the maximum node address. These parameters are transmitted from the
polling node to the other nodes in the network. Refer to 3-5 Network Parameters
for details on the network parameters.
Data is constantly being refreshed in the data link words between the SYSMAC
LINK Unit and the CPU Unit while the data links are operating. By refreshing
data, the CPU Unit sends local node data to the SYSMAC LINK Unit, and receives data from other nodes from the SYSMAC LINK Unit. The interval between data refreshing is called the refresh cycle time. The refresh cycle time can
be monitored using the Support Software.
3-2
Unit Number
Up to four SYSMAC LINK Units can be mounted on a CS1-series PC and used to
connect each Unit to a different SYSMAC LINK Network. Because the PC incorporates bridge and gateway functions, these and other networks can exchange
data via the CPU Unit. If more than one SYSMAC LINK Unit or other CPU Bus
Unit is mounted on a single PC, however, each Unit needs a unit number for
identification.
Use the rotary switches on the front panel to set the unit number.
Setting
Unit No. 6
A total of 16 SYSMAC LINK Units and/or other CPU Bus Units can be mounted
on a single PC. Of these, up to four can be SYSMAC LINK Units.
3-3
35
Section
Memory Areas
Settings
3-5
Node address switches determine the node address. The left switch sets the
tens digit; the right switch sets the ones digit. The node address must be between 01 and 62. Each SYSMAC LINK Unit in a Network must have a unique
node address.
Node number: 7
Node number: 53
Note
1. Always turn OFF the PC power before setting or changing node address.
2. If the node address set on the Unit is outside of the allowed range (01 to 62),
a communications error will occur and the red ERC indicator will light on the
Unit.
3. Each Unit in the network must have a unique node address, so be sure not to
use the same address on more than one Unit.
4. The token is passed from node to node according to node addresses, so the
more dispersed the node addresses are, the greater distance the token has
to travel. In optical fiber systems, the communications cycle time depends
on the distance the token has to travel, so set node addresses in the same
order as the nodes positions in the network if possible.
5. If you change a node address, start up the changed node last, and have it
participate in the network last.
3-4
Setting
Use the Support Software to set the network address in the routing tables in the
CPU Unit (refer to 5-2 Routing Tables). Refer to the Support Software operation
manuals for setting details.
Setting Range
A system can include up to 127 networks. The setting range of the network address is thus 1 to 127 (decimal). (Network address 0 is used to indicate the local
network.)
3-5
Network Parameters
The operation of the SYSMAC LINK Network is determined by the network parameters. Network parameters are set with Peripheral Devices, such as the
Support Software, and are automatically backed up within the SYSMAC LINK
Unit. The network parameters stored in the polling node are used in actual system operation; the network parameters in other Units are ignored.
Network Parameters
The following table shows the network parameters, their default values, and the
ranges within which the parameters can be set by the user. Default values and
setting ranges are in decimal.
Network parameter
36
Default value
Setting range
Automatic
5 to 255
62
2 to 62
1 to 62
10
5 to 255
Section
Memory Areas
3-5
Setting Network
Parameters
Note
37
Section
Memory Areas
3-6
3-6
Memory Areas
The CPU Bus Unit Area and part of the DM Area in the CPU Unit are used to write
or read the status of the nodes and the data links of SYSMAC LINK Units. The
data from the SYSMAC LINK Unit is written to the input words in these areas.
Each CPU Bus Unit is allocated 25 words from between CIO 1500 and CIO 1899
as follows:
Unit No.
DM Area
Unit No.
Words
10
11
12
13
14
15
Each CPU Bus Unit is also allocated 100 words from between D30000 and
D31599 as follows:
Unit No.
38
Words
Words
Unit No.
Words
D30000 to D30099
D30800 to D30899
D30100 to D30199
D30900 to D30999
D30200 to D30299
10
D31000 to D31099
D30300 to D30399
11
D31100 to D31199
D30400 to D30499
12
D31200 to D31299
D30500 to D30599
13
D31300 to D31399
D30600 to D30699
14
D31400 to D31499
D30700 to D30799
15
D31500 to D31599
Section
Memory Areas
3-6
I/O
The words allocated in the CPU Bus Unit Area to a SYSMAC LINK Unit are used
to access the status of the SYSMAC LINK System as shown in the following
table.
Word
Bit
Item
Page
---
+0
0 to 15
---
Inputs
+1
125
125
125
---
4 to 6
---
1: EEPROM error
---
124
124
10
---
11
12 to 14
---
15
124
+2 to +4
0 to 15
40
+5
0 to 13
14 to 15
---
0 to 7
35
8 to 15
36
0 to 7
34
8 to 15
35
+8 to +22
0 to 15
57
+23
0 to 7
Data link status on each node using 4 bits per Unit for each of 62
Units: CPU Unit operating, CPU Unit error, communications error, no
error (data links operating)
8 to 13
15
0 to 10
---
11
0: No power supply
1: Power being supplied (CS1W-SLK11 only)
19
12 to 15
---
+6
+7
+24
39
Section
Memory Areas
3-6
13
12
11
10
Word +2
Bit 15
16
15
14
13
12
11
10
+3
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
+4
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
+5
62
61
60
59
58
57
56
55
54
53
52
51
50
49
Note Even if the local node is disconnected from the network, only the bit corresponding to the local node is turned OFF (i.e., the entire status area participating in the
network is not turned OFF). While the local node is disconnected, the bits corresponding to the other nodes will not be refreshed, even if the participation status
of other nodes changes.
Software Switches (D30000 + 100 Unit Number)
Note Initializes the network parameters registered in the CPU Bus Unit Setting Area in the CPU Unit and
clears the data link tables.
40
SECTION 4
Data Links
The operation of data links, procedures required to establish data links, and methods of monitoring data link operations are
described in this section.
4-1
4-2
4-3
4-4
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Link Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-1 Rotary Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-2 Specifying Data Link Mode and Number of Data Link Words . . . . . . . . . . . . . . .
4-4-3 Data Link Start/Stop Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5 Creating Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5-1 Automatic and Manual Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5-2 Automatic Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5-3 Manually Generating Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5-4 Table Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6 Data Link Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6-1 Automatic Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6-2 Manual Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6-3 Refreshing Data Links with Automatic Settings . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6-4 Refreshing Data Links with Manual Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7 Data Link Table Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8 Controlling Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-1 DM Parameter Area Software Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-2 DATA LINK START/HALT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-3 CX-Net in CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-9 Data Link Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-9-1 Data Link Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-9-2 Word Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-10 Data Link Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11 Data Link Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11-1 Data Link Communications Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11-2 Data Exchange Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11-3 Calculation Examples for Data Link I/O Response Times . . . . . . . . . . . . . . . . . .
4-12 CX-Programmer Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-12-1 Overall Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-12-2 Data Link Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
43
44
45
45
45
46
46
46
47
49
49
50
50
50
52
53
54
56
57
57
57
57
58
60
61
63
63
65
65
67
67
68
41
Section
Introduction
4-1
4-1
Introduction
Data links can be created between PCs or PCs and computers in a SYSMAC
LINK Network to exchange data. This data is transferred between interconnected PCs automatically without requiring the use of normal I/O Units.
Words in the CIO and/or DM Areas are set aside as the data link words in each
PC that is in the data link. Some of the data link words are allocated to the local
node and the rest are allocated to other nodes. Data can be written only to the
words allocated to the local node. During data link refreshing, data written in the
local node is transferred to corresponding words in other nodes memory areas.
The result is that each PC in the data link has a common data link area, the only
difference being in the read/write permissions for the various words in it.
The data link words in each PC are defined by a data link table, which includes
both common link parameters and refresh parameters. The common link parameters define the words output by each node in the data link and are thus the
same for all nodes, and the refresh parameters define the words input by each
node and can thus be different for each node.
Data link tables can be generated automatically or manually. Automatic generation is accomplished simply by setting parameters in the DM Area. Manual generation is accomplished by setting specific data links from the CX-Net in CX-Programmer.
The following diagram shows the operation of a data link among four nodes in a
network. This data link was generated manually.
1000
Node 2
Node 5
Link Area
Link Area
#2
1010
1010
Node 6
Node 8
Link Area
Link Area
1000
#2
1020
#5
#5
#5
#6
1035
1039
#6
#2
1015
1020
1039
1030
1005
#5
1049
#6
1054
Refresh parameters
(can differ from
node to node)
Refresh parameters
(can differ from
node to node)
Common link
parameters
(the same in all
nodes)
42
Refresh parameters
(can differ from
node to node)
Section
4-2
Data link tables can be generated automatically or manually. Data link tables
generated automatically are identical in all PCs in the data link, with the words of
the data areas listed below divided equally among 2, 4, 8, or 16 nodes. The number of words allocated to each node depend on the number of nodes linked and
is given in 4-2-1 Specifications Table later in this section.
CIO Area
DM Area
D00000 to D00127
Manual generation provides much greater flexibility in making data links among
PCs, but require that you manually input the data link tables. Manually generated data links can contain far more words and can use any part of the CIO Area
and/or DM Area, as shown in the following table.
Area
Note
CIO Area
DM Area
D00000 to D32767
1. Use Ver. 1.2 Service Pack 1 of the CX-Programmer. Settings for CS1-series
SYSMAC LINK Units cannot be made with earlier versions of the CX-Programmer.
2. When creating manually set data link tables using CX-Programmer Ver. 1.2
Service Pack 1, the words that can be set by the user are limited to the same
words as for CVM1/CV, as follows:
CIO Area: CIO 0000 to CIO 2555
DM Area: D00000 to D24575
4-2
Data links can be activated and deactivated by turning ON and OFF bit 00 of the
first CPU Bus Link Area word allocated to the SYSMAC LINK Unit in PC memory,
i.e., bit 00 of word D30000 + (100 x unit number).
Description
62 max., 2 min.
Words allocated
CIO Area
2 nodes
32
DM Area
D00000 to D00127
64
4 nodes
16
8 nodes
8
16 nodes
4
32
16
43
Section
4-3
4-3
Unit No.
Words
Unit No.
Words
10
11
12
13
14
15
Name
LNK
CS1W-SLK21
Condition
Meaning
Lit
Flashing
Rapid flashing
Not lit
Note Refer to Setup and Activation in 4-10 Data Link Precautions for details.
44
Section
4-4
4-4
4-4-2 Specifying Data Link Mode and Number of Data Link Words
Set the data link mode to either automatic settings or manual settings, and set
the number of send words per node for automatic settings. These settings are
made in the DM Parameter Area allocated to the SYSMAC LINK Unit.
Word: D30000 + (100 x Unit number)
Bit
Note
8 words
16 words
32 words
64 words
1. Set data link tables in each SYSMAC LINK node on the network when specifying manual data link tables.
2. The data link mode (manual settings or automatic settings) and the data link
system are determined by the data link settings for the startup node.
3. Be sure to set the data link mode (manual settings) and the data link table in
the DM parameter area of the startup node when using manual settings.
4. Be sure to set the data link mode (automatic settings) and the number of
data link words in the DM parameter area of the startup node when using
automatic settings.
5. The data links will not operate unless the settings are correct.
45
Section
4-5
! Caution
Check the following before starting the data links. If the data link table settings or
the DM parameter settings are unsuitable, there is a risk of injury due to unanticipated operation of the system.
a) Manual settings: Check that suitable data link tables have been set in
each data link node. Check that data link tables have been deleted for
nodes not participating in the data links.
b) Automatic settings: Check that suitable DM parameters have been set in
the data link startup node.
! Caution
4-5
Even if the data link table settings or the DM parameter settings are suitable,
check that there will be no adverse effects on the controlled equipment before
starting or stopping the data links.
46
Section
4-5
The differences between manually and automatically set data links are outlined
in the following table.
Item
Automatic setting
Manual setting
Bit 5: 0
Bit 4: 0
Linkable words
To automatically generate data link tables, the data link mode in the CPU Unit
DM Area parameters must be set for automatic generation and the numbers of
words per node in each of the CIO and DM Areas must be set. The data link
mode can be set to CIO Area only, DM Area only, or CIO and DM Areas. You can
select the number of send words to each node using the data link word settings.
Allocated Words
The words allocated to each node for the various word settings are given in the
following table.
47
Section
4-5
Bit 5: 1
Bit 4: 0
Bit 7: 0
Bit 6: 0
Bit 7: 1
Bit 6: 1
CIO:
4 Wds,
DM:
8 Wds
CIO:
8 Wds,
DM:
16 Wds
CIO:
16 Wds,
DM:
32 Wds
CIO:
32 Wds,
DM:
64 Wds
Node 1
Node 1
Node 1
Bit 5: 1
Bit 4: 1
CIO Area
DM Area words
words*
(see note)
1000 to 1003
D00000 to D00007
Node 1
1004 to 1007
D00008 to D00015
Node 2
1008 to 1011
D00016 to D00023
Node 3
1012 to 1015
D00024 to D00031
Node 4
1016 to 1019
D00032 to D00039
Node 5
1020 to 1023
D00040 to D00047
Node 6
1024 to 1027
D00048 to D00055
Node 7
1028 to 1031
D00056 to D00063
Node 8
1032 to 1035
D00064 to D00071
Node 9
1036 to 1039
D00072 to D00079
Node 10
1040 to 1043
D00080 to D00087
Node 11
1044 to 1047
D00088 to D00095
Node 12
1048 to 1051
D00096 to D00103
Node 13
1052 to 1055
D00104 to D00111
Node 14
1056 to 1059
D00112 to D00119
Node 15
1060 to 1063
D00120 to D00127
Node 16
Node 2
Node 3
Node 2
Node 4
Node 5
Node 3
Node 2
Node 6
Node 7
Node 4
Node 8
Note When using a data link that combines C-series SYSMAC LINK Units, CS1-series SYSMAC LINK Units, and CVM1/CV-series SYSMAC LINK Units, LR 00 to
LR 63 in C-series PCs correspond to CIO 1000 to CIO 1063 in CS1/CV-series
PCs and DM 0000 to DM 0127 correspond to D00000 to D00127.
48
Section
4-5
Contents
Local node
send size
CIO Area
DM Area
Refresh
parameters
PC type
CIO Area
DM Area
Set in order the node addresses with which the local node will refresh
data, starting with the data link start addresses set above.
If the address of the local node is set, it will send the specified word
data to other nodes. If the address of another node is set, the local
node will receive the data sent by that node. For example, if you enter 3, 2, 1 as the refresh order, the node addresses will be allocated
in the order 3, 2, 1, starting from the start address. If the local node
address is 1, it will receive data from node 3, then from node 2, and
finally, it will send data itself).
Always include the local node in the refresh node order. Data will not
be received from the local node by another other node if the local
node is not specified.
49
Section
4-6
4-6
Node 2
(CIO Area)
Node 3
(CIO Area)
Node 4
(CIO Area)
1000 to
1015
1000 to
1015
1000 to
1015
1000 to
1015
(Node 1 data)
1016 to
1031
1016 to
1031
1016 to
1031
1016 to
1031
(Node 2 data)
1032 to
1047
1032 to
1047
1032 to
1047
1032 to
1047
(Node 3 data)
1048 to
1063
1048 to
1063
1048 to
1063
1048 to
1063
(Node 4 data)
50
When editing data link table refresh parameters, set the same refresh parameters for all nodes. (Create refresh parameters for each node using the Support
Software, even if the allocations are the same for all nodes. A copy function is
supported that will make identical settings easy.)
Node 1
Node 3
Node 5
Node 7
CIO Area
CIO Area
CIO Area
CIO Area
Section
4-6
To limit receiving from specified nodes and send only or receive only from specified nodes, change the refresh parameters for each node. In the following example, node 5 does not receive data from node 6, and node 6 does not receive data
from node 2. Also, node 8 only receives data.
Node 2
CIO Area
DM Area
Node 5
Node 6
Node 8
CIO Area
CIO Area
CIO Area
DM Area
DM Area
DM Area
Note The send area for node 8 has specified 0 for both the CIO Area and DM Area in
the common link parameters.
Only nodes with refresh parameters will participate in the data links.
Although the node order in the manual settings can be changed as you wish, the
Data Link Area must be created in continuous areas.
Creating Two or More
Data Link Groups in One
Network
The common link parameters are the same for each network. Consequently,
multiple data link groups cannot be created in a SYSMAC LINK Network. Virtual
data link groups, however, can be created using the refresh parameters.
As shown below, if you divide the groups and set the send and receive words for
the nodes within each group, you can set multiple data link groups, as shown in
the following diagram.
51
Section
4-6
It is still necessary to set the total data link words for group 1 and group 2 to within
the maximum number of link words (2,966 words).
Group 2
Group 1
Node 1
Node 2
CIO Area
CIO Area
Node 3
Node 4
CIO Area
CIO Area
Node 2
Node 4
Node 5
Node 6
1000 to 1007
Node 2
1008 to 1015
Node 3
1016 to 1023
Node 4
1024 to 1031
Node 5
1032 to 1039
Node 6
1040 to 1047
Node 7
1048 to 1055
Node 8
1056 to 1063
Refreshed.
Note When using the SYSMAC LINK Units listed below, the node areas outside of the
node address allocated the lowest word addresses (node 2 in the above example) and the node allocated the highest word addresses (node 6 in the above
example) are not refreshed (nodes 1, 7, and 8 in the above example), and can be
used for other applications in the CPU Unit of these SYSMAC LINK Units.
CVM1/CV-series SYSMAC LINK Unit (CV500-SLK11/21)
C200HX/HG/HE SYSMAC LINK Unit (C200HW-SLK13/14/23/24)
C1000H/C200HF/C2000H SYSMAC LINK Unit (C1000H-SLK11/21-V1)
52
Section
4-6
Node 3
CIO Area
0500
Node 4
Node 6
Node 7
0510
0515
0520
Node 7
Node 3
Node 6
0530
0535
Node 8
Node 4
0545
0550
0555
Node 1
Node 2
Note When using the SYSMAC LINK Units listed below, the node areas outside of the
node allocated the lowest word addresses (node 7 in the above example) and
the node allocated the highest word addresses (node 4 in the above example)
are not refreshed (nodes 1, 2, and 5 in the above example), and can be used for
other applications in the CPU Unit of these SYSMAC LINK Units.
CVM1/CV-series SYSMAC LINK Unit (CV500-SLK11/21)
C200HX/HG/HE SYSMAC LINK Unit (C200HW-SLK13/14/23/24)
C1000H/C1000HF/C2000H SYSMAC LINK Unit (C1000H-SLK11/21-V1)
53
Section
4-7
4-7
Node 2
Node 5
Node 6
Node 8
CIO Area
CIO Area
CIO Area
CIO
Area
CIO Area
1000
1000
1005
2
1010
1010
5
1010
1020
6
1024
1025
1015
1025
5
1025
6
1029
1039
1029
DM Area
D00000
DM Area
D00020
2
D00010
D00000
D00015
D00040
6
6
D00014
D00005
D00010
D00030
D00025
DM Area
D00000
5
D00020
DM Area
D00025
D00044
D00029
D00029
In this example, node 5 does not receive data from node 8, and node 6 does not
receive data from node 2. Also, node 8 only receives CIO Area data from the
other nodes
Create the data link tables for each participating node using CX-Net in CX-Programmer. The following settings are required.
Local node send size
PC type
Local node data link start address
Refresh node order
54
Section
4-7
Node 2 Table
Item
Node address
Common link
parameters
Refresh
parameters
Setting
Local node address: 2
Number of words in
CIO Area
Number of words in
DM Area
PC type
Start word CIO
DM
Refresh nodes
Note When creating manually set data link tables for CS1-series SYSMAC LINK
Units, set the PLC type to CV/CVM1.
Item
Node address
Common link
parameters
Refresh
parameters
Setting
Local node address: 5
Number of words in
CIO Area
Number of words in
DM Area
PC type
Start word CIO
DM
Refresh nodes
55
Section
Item
Node address
Common link
parameters
Refresh
parameters
Setting
Local node address: 6
Number of words in
CIO Area
Number of words in
DM Area
PC type
Start word CIO
DM
Refresh nodes
Node 8 Table
Item
Node address
Common link
parameters
Refresh
parameters
Number of words in
CIO Area
Number of words in
DM Area
PC type
Start word CIO
DM
Refresh nodes
4-8
4-8
! Caution
1. The data link mode (manual settings or automatic settings) and the data link
system are determined by the data link settings for the startup node.
2. Be sure to set the data link mode (manual settings) and the data link table in
the DM parameter area of the startup node when using manual settings.
3. Be sure to set the data link mode (automatic settings) and the number of
data link words in the DM parameter area of the startup node when using
automatic settings.
4. The data links will not operate unless the settings are correct.
Check the following before starting the data links. If the data link table settings or
the DM parameter settings are unsuitable, there is a risk of injury due to unanticipated operation of the system.
c) Manual settings: Check that suitable data link tables have been set in
each data link node. Check that data link tables have been deleted for
nodes not participating in the data links.
d) Automatic settings: Check that suitable DM parameters have been set in
the data link startup node.
! Caution
56
Even if the data link table settings or the DM parameter settings are suitable,
check that there will be no adverse effects on the controlled equipment before
starting or stopping the data links.
Section
4-9
: Other settings
Data Link Start/Stop Bit
The data links will start when the bit is turned ON,
or if it is already ON when the power is turned ON.
The data links will be stopped when the bit
is turned OFF.
4-9
57
Section
4-9
Bits
0, 4, 8, 12
Contents
ON if the CPU Unit of the node is operating (RUN or MONITOR
mode).
OFF if the CPU Unit of the node is in PROGRAM mode.
S This flag is invalid if the Data Link Communications Error Flag for
the node is ON.
S If a fatal error (including an FALS instruction) occurs during operation, this flag will remain ON.
CPU Unit
Error Flag
1, 5, 9, 13
S When using this flag in programming, take an AND of NO conditions of it and the local nodes Data Link Active Flag.
ON if there is a fatal error in the CPU Unit of the node.
OFF when the CPU Unit of the node is operating normally.
S This flag is invalid if the Data Link Communications Error Flag for
the node is ON.
Data Link
Communications
Error Flag
Data Link
Active Flag
2, 6, 10, 14
S When using this flag in programming, take an AND of NO conditions of it and the local nodes Data Link Active Flag.
ON if the node has a communications error and is not participating
in the network (if the designated node is not sending data link
data, communications from that node are assumed to be in error).
OFF when the CPU Unit for the node is operating normally (data
link data is being sent continuously from the node).
3, 7, 11, 15
Local node
status
Network
status
Local Node
Data Link
Active Flag
Bit 15 of
first
allocated
data link +
23 words
Startup
Node
Address
Bits 8 to 13
of first
allocated
data link
word + 23
Note
S When using this flag in programming, take an AND of NO conditions of it and the local nodes Data Link Active Flag.
ON if the node is participating in the data links.
OFF if the node is not participating in the data links.
S If this flag is OFF, local communications will not be operating
normally, so there is no guarantee that the status of other flags
will be correct. Consequently, be sure to use this flag with an
AND condition to check the status of other flags.
Startup node addresses 1 to 62 are stored as 1 to 3E Hex.
1. The Data Link Active Flag is for checking the data link system. It is not designed to check for data link errors. To check for data link errors, use the
Data Link Communications Error Flag.
2. The CPU Unit Run Flag, CPU Unit Error Flag, Data Link Communications
Error Flag, and Data Link Active Flag are valid only if the Local Node Data
Link Active Flag is ON. Be sure to use the Local Node Data Link Active Flag
with an AND condition when using any of these flags in programming.
58
Section
4-9
Program Example
Checking Data Link
Participation Status
To check participation of any one node in the data links, take an AND of a NO
condition of the Local Node Data Link Active Flag and the Communications Error
Flag for each node as shown below.
Node A
Data Link Active Flag
Node A: Participating in data links
Local Node Data
Link Active Flag
Node A Communications
Node B
Error Flag
Data Link Active Flag
Node B: Participating in data links
Node B Communications
Error Flag
Node n
Data Link Active Flag
Node n: Participating in data links
Node n Communications
Error Flag
To check for an error in any node in the data links, take an OR of a NC condition of
the Local Node Data Link Active Flag and the Communications Error Flags for all
nodes.
The following example program section shows one way to output and error signal when data links stop for the local node.
59
Section
4-9
Bits 00 to 03
Link No. 1
Link No. 5
Link No. 9
Link No. 13
Link No. 17
Link No. 21
Link No. 25
Link No. 29
Link No. 33
Link No. 37
Link No. 41
Link No. 45
Link No. 49
Link No. 53
Link No. 57
Link No. 61
Bits 04 to 07
Link No. 2
Link No. 6
Link No. 10
Link No. 14
Link No. 18
Link No. 22
Link No. 26
Link No. 30
Link No. 34
Link No. 38
Link No. 42
Link No. 46
Link No. 50
Link No. 54
Link No. 58
Link No. 62
Bits 08 to 11
Bits 12 to 15
Link No. 3
Link No. 4
Link No. 7
Link No. 8
Link No. 11
Link No. 12
Link No. 15
Link No. 16
Link No. 19
Link No. 20
Link No. 23
Link No. 24
Link No. 27
Link No. 28
Link No. 31
Link No. 32
Link No. 35
Link No. 36
Link No. 39
Link No. 40
Link No. 43
Link No. 44
Link No. 47
Link No. 48
Link No. 51
Link No. 52
Link No. 55
Link No. 56
Link No. 59
Link No. 60
Bits 08 to 13: Address of startup
node (01 to 3E Hex)
Bit 15: Local Data Link Active
Flag (ON: data link active;
OFF: data link inactive)
Words
Unit No.
Words
10
11
12
13
14
15
If the Local Node Data Link Active Flag (bit 15 of first word +23) is OFF, the data
link status will be maintained as it was immediately before operation stopped.
This may not be the same as the actual current status. When using the data link
status, first check that the Local Node Data Link Active Flag is ON.
60
Section 4-10
Be sure to consider the precautions listed below when setting up and activating a
data link.
1. Refresh parameters must be set for each node in the data link when manually generating data link tables. When a data link is started in a node that does
not have a data link table, a data link table error will occur and the LNK indicator on that node will flash.
Refresh parameters must be set for all nodes that are included in the common link parameters in the startup node.
2. When data links are automatically generated, the node addresses of all the
nodes in the data link must be in the range resulting from the Communication Unit Settings.
For example, if the settings divide the data link area among nodes number 1
to 4 (16 CIO words and 32 DM words), node 5 cannot participate in the data
link.
3. With manual generation of data link tables, the node address of the local
node must be included in the local refresh parameters.
4. If the beginning CIO or DM word in the refresh parameters is set too large,
the CIO or DM Area will be exceeded during automatic allocation of link
words.
If the data area is exceeded in the startup node, the LNK indicator on the
startup node will flash and the data link will not operate. If the data area is
exceeded in another node, the LNK indicator on that node will flash and it will
not participate in the data link.
5. If the communications cycle time in data link tables is not generated automatically, and the setting for communications cycle time is too short, the
CS1-series SYSMAC LINK Unit (CS1W-SLK11/21) will not participate in the
data links. The LNK indicator on the Unit will flash quickly, and a data link
table communications cycle time settings error (021D Hex) will be registered in the error log. If this CS1-series SYSMAC LINK Unit is the startup
node for the data link, the data link will not be activated. The minimum possible communications cycle time setting can be obtained using the following
calculation:
Minimum possible communications cycle time setting =
Maximum node address 0.01
+ Number of polled Units 0.25
+ Number of Link Units 0.161
+ Total number of words in link area 0.01
+ 5.322 (ms)
Round up the result of this calculation to obtain a value in milliseconds.
The data link table communications cycle time setting error registered in the
error log will contain the following information:
Error code
021D Hex
Detail code
1st byte
Communications cycle
time set in the data link
status (Unit: ms, 2-digit
hexadecimal)
2nd byte
Minimum possible
communications cycle
time setting (Unit: ms,
2-digit hexadecimal)
The value in the 2nd byte of the detail code for 021D registered in the error
history will be the minimum possible communications cycle time setting. For
61
Section 4-10
example, if the communications cycle time is set to 5 ms, and the LNK indicator starts flashing quickly, an error code of 021D 0512 will indicate that
the minimum possible communications cycle time setting is 18 ms (12 Hex).
021D 0512
Error code
Minimum possible communications cycle time setting
Communications cycle time set
Be sure to consider the precautions listed below when adding a node to active
data links.
Adding Nodes
1, 2, 3...
1. The node address of the node being added must be in the common link parameters of the data links.
2. Set data link tables in the node being added. This is not necessary, however,
when using automatic settings with the startup node, although it is necessary to include the node being added in the table of nodes participating in the
data link in the automatic settings.
3. The common link parameters for the node being added must be the same as
for the common link parameters already in operation. If the common link parameters for the node being added are different from the common link parameters already in operation, the node being added cannot participate in
the data link. Refer to the example below.
4. If the communications cycle time for the data link tables is manually set
when a CS1-series SYSMAC LINK Unit is to be added to the data links,
make sure that the value set is not below the minimum possible communications cycle time setting. For details of the values that can be set, refer to the
previous section, Setup and Activation.
Node 1
Node 2
CIO Area
1000
1
1010
1020
2
3
1010
1020
4
1039
Node 4
Startup node
Participating nodes
CIO Area
1000
1
2
3
1030
1030
Node 3
1010
1020
1000
1
2
3
1030
4
1039
CIO Area
CIO Area
1000
1
1010
1020
2
3
1030
4
1039
4
1049
The number of send words for node 4 is set as 20 words in the common link parameters, but the number of send words is set as 10 words in the common link
parameters for other nodes that are already operating. Consequently, node 4
will not participate in the data link network.
62
Section 4-11
Automatic Generation
When data link tables have been generated automatically, the communications
time will be as follows for systems using coaxial cable:
No. of nodes
DM Area only
19 ms
17 ms
18 ms
19 ms
17 ms
18 ms
19 ms
18 ms
18 ms
16
19 ms
18 ms
19 ms
The communications time will be as follows for systems using optical fiber cable:
No. of nodes
DM Area only
21 ms
20 ms
21 ms
22 ms
20 ms
21 ms
22 ms
21 ms
21 ms
16
22 ms
21 ms
22 ms
Manual Generation
When data link tables have been generated manually, the communications
cycle time can be set to a constant value or generated automatically.
The communications cycle time can be set as a constant from 5 to 255 ms in
increments of 1 ms using the Support Software to eliminate variations caused by
noise or other factors. When the communications cycle time is not set as a
constant, it will be generated automatically according to the equations below.
Round the result of the calculation to the nearest millisecond.
Communications cycle time (coaxial cable systems) =
Maximum node address 0.085 ms + maximum number of frames 0.654 ms
+ number of polled units
0.75 ms + number of Link Units
0.056 ms
+ total number of words
0.01 ms + 1.322 ms
Communications cycle time (optical fiber cable systems) =
maximum node address 0.1115 ms + maximum number of frames 0.77 ms
+ number of polled units
0.75 ms + number of Link Units
0.056 ms
+ total number of words
0.010 ms + 1.322 ms
Note The present and maximum values of the communications cycle time can be
monitored from the Support Software.
63
Section 4-11
The examples below calculate the communications cycle time for both coaxial
and optical fiber cable with the following characteristics:
Maximum node address: . . . . . 62
Maximum number of frames: . . 10
Number of polled units: . . . . . . . 4
Number of Link Units . . . . . . . . 32
Total number of words . . . . . . . 2,000
Communications cycle time (coaxial cable systems) =
62
0.085 ms + 10
0.654 ms + 4
0.75 ms + 32
0.056 ms + 2000
0.01 ms + 1.322 ms
= 37.924 ms (38 ms after rounding)
Communications cycle time (optical fiber cable systems) =
62
0.1115 ms + 10
0.77 ms + 4
0.75 ms + 32
0.056 ms + 2000
0.01 ms + 1.322 ms
= 40.727 ms (41 ms after rounding)
Note Data links might not operate correctly if the communications cycle time is set to a
value shorter than that generated automatically by the system. If the LNK indicator on the front of a CS1-series SYSMAC LINK Unit (CS1W-SLK11/12) flashes
quickly (at approximately 100-ms intervals), either automatically set the communications cycle time for the data link table, or manually set the communications
cycle time to a longer value.
Default value
Setting range
62
2 to 62
1 to 62
10
5 to 255
Use the following formulas to calculate the change in the communications cycle
time that results from a change in other network parameters. A positive result
indicates the communications cycle time has been decreased and a negative
result indicates it has been increased. Round the result of the calculation to the
nearest millisecond.
Change of the communications cycle time (coaxial cable systems) =
(old maximum node address - new maximum)
0.085 ms
+ (old maximum number of frames - new maximum)
0.654 ms
+ (old number of polled units - new number)
0.750 ms
Change of the communications cycle time (optical fiber cable systems) =
(old maximum node address - new maximum)
0.1115 ms
+ (old maximum number of frames - new maximum)
0.77 ms
+ (old number of polled units - new number)
0.75 ms
Example Calculations
64
The examples below calculate the change of the communications cycle time for
both coaxial and optical fiber cable when the other network parameters are
changed as shown below:
Maximum node address: . . . . . Changed from 62 to 16
Maximum number of frames: . . Changed from 10 to 13
Number of polled units: . . . . . . . Changed from 4 to 5
Change of the communications cycle time (coaxial cable systems) =
(62 16)
0.085 ms + (10 13)
0.654 ms + (4 5)
0.75 ms =
1.198 ms (1 ms after rounding)
Section 4-11
1. If the maximum node address is set to a value less than the node address of
any nodes in the data link, those nodes will no longer be part of the data
links.
2. If the maximum number of frames is set too low, errors might occur during
the execution of operations such as SEND(90), RECV(98), and CMND(490)
instructions, internode echo tests, and remote monitoring.
3. Lowering the number of polled units will increase the delay between resetting a Unit or turning on its PCs power and its entrance into the network.
PC processing
CPU Bus
Unit service
Execution
Basic processing
I/O refreshing
Programming
Device/Host Link
service
Interrupt processing
for data exchange
Execution
Basic processing
If interrupt processing for data exchange is executed, the PC cycle time will be
lengthened by the time required for the interrupt processing.
Data Processing Time
The time required for interrupt processing for data exchange (data processing
time) can be roughly estimated as shown in the following table.
0.001
0.001
65
Section 4-11
this section, examples illustrating how to calculate the minimum and maximum
I/O response times are given for the configuration shown below.
Coaxial cable
PC 7
PC 1
SYSMAC LINK
Unit
Node 1
Input
Input
Output
LRXXX
LRXXX
SYSMAC
LINK Unit
Node 7
Output
Data link
Item
Condition
62
10
Messages
None
The time required for each of the above items is given below:
Communications Cycle Time
62 0.085 + 10 0.654 + 4 0.75 + 8 0.056 + 192 0.01 + 1.322 = 18.5
] 19 ms (For details, refer to page 63.)
Input ON Response Time
This is the time between an input signal being received and the relevant input bit
actually turning ON. Taken as 1.5 ms in this example.
Output ON Response Time
This is the time between the relevant output bit turning ON in the CPU Unit and
the output signal actually being sent. Taken to be 1.5 ms in this example.
Scan Time for PC 1
Taken to be 25 ms in this example.
Scan Time for PC 7
Taken to be 10 ms in this example.
66
Section 4-11
I/O processing
Input
Data exchange
(1)
Scan time for PC 1
Instruction
execution
(2)
Communications cycle
(3)
Output
Instruction execution
1.5 ms
25 ms x 2
19 ms x 2
10 ms x 2
124.5 ms
15 ms
1. The input bit turns ON just after a scan and so the time required for one more
scan elapses before the input is processed. Therefore a multiplication factor
of 2 is applied to the scan time, as shown in the above table.
2. Processing for the input data is exchanged immediately after the right to
transmit is transferred from PC 1, and so the time required for communications is extended by approximately one communications cycle. Therefore a
multiplication factor of 2 is applied to the communications cycle time, as
shown in the above table.
3. Data is exchanged data with PC 7 just after one scan and so the time
required for one more scan elapses before output processing is performed.
Therefore a multiplication factor of 2 is applied to the scan time, as shown in
the above table.
Note a) A multiplication factor of 3 (not 2) is applied to the scan time for
PC 7 if it is longer than the communications cycle time.
b) The I/O response time will also be affected by noise and other factors.
67
Section 4-12
CX-Programmer Procedures
Minimum Data Link I/O Response Time
Input
Communications cycle
1.5 ms
25 ms
---
10 ms
15 ms
51.5 ms
68
1. Start CX-Net from the CX-Programmer by selecting Tools and then Network Configuration Tool.
2. Open the CX-Server file (*.CDM) in CX-Net or create a new file in CX-Net by
selecting Project and then Open in CX-Net.
3. Start the Data Link Editor to create the data link tables by selecting Data
Link and then Editor.
If creating the same data link tables in all nodes, start the Data Link Engineer from the Data Link Editor by selecting Table and then Data Link Engineer.
If creating different data link tables for each node, create data link parameters for each node by editing tables for each node individually.
4. Check the data link tables from the Data Link Editor by selecting Table and
then Check.
5. Save the data link tables from the Data Link Editor by selecting File and then
Save or Save as.
Section 4-12
CX-Programmer Procedures
CX-Programmer
Node 2, CVM1 PC
Node 1, CS1-series PC
Node 3, CS1-series PC
Note The network settings for the three PCs shown above have already been saved in
the CX-Server file (.CDM). For CX-Server file creation, refer to in the CX-Programmer User Manual.
1. Start CX-Net from the CX-Programmer by selecting Tools and then Network Configuration Tool.
2. Open the CX-Server file (*.CDM) in CX-Net or create a new file in CX-Net by
selecting Project and then Open in CX-Net. In this example, Sample.cdm is
used as the file name. The following dialog box will be displayed.
69
Section 4-12
CX-Programmer Procedures
Creating Data Link Tables
Create the data link tables for each node entered in the CX-Server file. In this
example, the data link tables are created automatically using the Data Link Table
Engineer, then the parameters are changed manually.
Starting the Data Link Editor
1, 2, 3...
1. Select Data Link and then Editor. A dialog box for selecting the type of data
link will appear.
2. Select SYSMAC LINK Data Link Table and then click the OK button. The
Data Link Editor [SYSMAC LINK] will start.
Making Manual Settings
without Using the Data
Link Table Engineer
You can make Manual Settings without using the Data Link Table Engineer.
Create data link tables manually in the following cases.
The send area size is different for each node participating in the data link.
The send node order is not the same as the order of node addresses.
There are nodes that are not receiving data.
Refer to the following example for details.
CIO Area
Node 1
Send (1)
Receive
(3)
Receive
(2)
Node 2
Node 3
Receive
(1)
Receive
(1)
Receive
(3)
Receive
(2)
Send (2)
Send (3)
DM Area
Node 1
70
Node 2
Node 3
Send (1)
Receive
(1)
Receive
(1)
Receive
(3)
Receive
(3)
Receive
(2)
Receive
(2)
Send (2)
Send (3)
CX-Programmer Procedures
1, 2, 3...
Section 4-12
1. Select Data Link and then Editor. A dialog box for selecting the type of data
link will appear.
2. Select SYSMAC LINK Data Link Table and then click the OK button. The
Data Link Editor [SYSMAC LINK] will start.
3. Set the data link communications cycle time in the Cycle Time field under
Common Link. If you select Auto, the optimum communications cycle time
will be automatically calculated according to the data link tables. If you select Manual, set the time manually between 5 to 255 ms (refer to 4-11 Data
Link Characteristics for communications cycle time details).
4. Double click a node address in the Nodes field, or select Table and then Edit
Table Item. The Data Link Table Entry Dialog Box will appear.
Note a) Use Ver. 1.2 Service Pack 1 of the CX-Programmer. Settings for
CS1-series SYSMAC LINK Units cannot be made with earlier versions of the CX-Programmer.
b) If using CX-Programmer Ver. 1.2 or Service Pack 1, select CV/
CVM1 for the PLC type when using a CS1-series SYSMAC
LINK Unit. If a CV/CVM1 PC is set, the manual settings words will
be limited to the same words as for CVM1/CV, as follows:
CIO Area: CIO 0000 to CIO 2555
DM Area: D00000 to D24575
71
Section 4-12
CX-Programmer Procedures
If using CX-Programmer Ver. 1.2 Service Pack 1, select CV/CVM1 for the
PLC type when using a CS1-series
SYSMAC LINK Unit. The words for
manual settings will be limited to the
same words as for CVM1 and CV-series PCs.
Set in order the node addresses with which the local node will refresh data, starting
with the data link start addresses set above. If the address of the local node is set,
it will send the specified word data to other nodes. If the address of another node is
set, the local node will receive the data sent by that node. For example, if you enter
3, 2, 1 as the refresh order, the node addresses will be allocated in the order 3, 2,
1, starting from the start address. If the local node address is 1, it will receive data
from node 3, then from node 2, and finally, it will send data itself). Always include
the local node in the refresh node order. Data will not be received from the local
node by another other node if the local node is not specified.
72
Section 4-12
CX-Programmer Procedures
Node address
Common link
CIO Area size
parameters
DM Area size
Refresh
parameters
PC type
Start word CIO
DM
Refresh nodes
6. Set the settings for node 2 and 3 in the same way. The following example
shows the settings for node 2.
73
Section 4-12
CX-Programmer Procedures
7. The following display will appear when the data link table settings have been
made for all nodes. The example shows node 1 selected.
Item
Common
Link:
Common
link
parameters
Contents
Cycle Time:
Communications cycle
time
Target
Total link CH:
Node
Total number of
link words
Nodes
Node Information
Start Channel:
Start words
Refresh
Parameters
74
Section 4-12
CX-Programmer Procedures
The following example shows the display for node 2.
Use the Data Link Table Engineer if creating data link tables similar to the automatic settings. The Data Link Table Engineer will automatically create data link
tables with the following conditions:
The PC type will be the same for all nodes participating in the data links.
The first word containing the data link status will be the same for all nodes participating in the data links.
The start word for data link area 1 and the start word for data link area 2 will be
the same for all nodes participating in the data links.
The send area sizes will be the same for all nodes participating in the data
links.
75
Section 4-12
CX-Programmer Procedures
Node 2
Node 3
Send (1)
Receive
(1)
Receive
(1)
Receive
(2)
Send (2)
Receive
(2)
Receive
(3)
Receive
(3)
Send (3)
Area 2
Node 1
76
Node 2
Node 3
Send (1)
Receive
(1)
Receive
(1)
Receive
(2)
Send (2)
Receive
(2)
Receive
(3)
Receive
(3)
Send (3)
CX-Programmer Procedures
1, 2, 3...
Section 4-12
1. Select Table and then Data Link Engineer. The Data Link Table Engineer
dialog box will be displayed, as shown below.
2. Make the following settings.
In the Valid Nodes Field, enter the node addresses for the automatic settings.
In the Common Link Parameters Field, set the send size for each node in
the CIO Area and in the DM Area. All nodes must have the same send
sizes.
Set the PC type in the PLC Type Field under Refresh Parameters. Select
CV/CVM1.
In the Start Channel Field, set the first words in the CIO Area and DM Area
data links.
Note If using CX-Programmer Ver. 1.2 Service Pack 1, select CV/CVM1 for the PLC
type when using a CS1-series SYSMAC LINK Unit.
3. Click the OK button. As shown below, a data link table will be automatically
created for all nodes in the Nodes Valid Field. All nodes will have the same
77
Section 4-12
CX-Programmer Procedures
start words and the same send sizes, and the refresh order set in the same
order as the node addresses
This completes the data link tables creation. Next, check and save the data
link tables using the following procedures.
1. Select Data Link Editor SYSMAC LINK, File, and then Save as. The Save
As Dialog Box will appear.
2. Enter the file name (e.g., Sample), specify the directory to which to save,
and click the Save button. The file will be saved with an .sl3 extension (e.g.,
Sample.sl3).
78
Section 4-12
CX-Programmer Procedures
Connecting to the Network
1, 2, 3...
1. Select the PC to connect to the network from the PLC Network Configuration Tool in CX-Net.
Select PC to
connect.
2. Select PLC and then Open. When connected, the display will change as follows:
Turns green
1. Start the CX-Net and select Data Link and then Setup. If connected locally
(i.e., directly to the PC), the Data Link Setup (Local) Dialog Box will appear.
79
Section 4-12
CX-Programmer Procedures
If connected remotely (i.e., through a network), the Data Link Setup (SYSMAC LINK) Dialog Box will appear.
2. Select SYSMAC LINK and then click the OK button. The following dialog
box will appear.
3. Click the Open button. The Open Dialog Box will appear.
4. Select the data link tables file (Sample.sl3), and then click the Open button.
The data link tables will be read as follows:
1. Select the destination PC node address in the Nodes Field under Common
Link, or select the Operate on all Nodes in Network Checkbox. If Operate
on all Nodes in Network is selected, you can transfer data link tables simultaneously to all PCs.
2. Click the Write button.
Data link tables will start to be transferred to the nodes set in the Nodes
Field, or to all the nodes on the same network.
80
Section 4-12
CX-Programmer Procedures
When the transfer is finished, the bottom of the window will be displayed as
follows:
Note If directly connected online with a PC for which the routing tables have not been
set, data link tables cannot be transferred to PCs that are not directly connected
to the network. Perform one of the following to transfer data link tables to PCs on
the network.
Directly connect to a PC in which the routing tables have been set and transfer
the data link tables.
Connect online to a PC on the network, and transfer the data link tables.
Data Link Setup SYSMAC
LINK Dialog Box
Functions
The following table displays the functions of the Data Link Setup (SYSMAC
LINK) Dialog Box.
Button name
Function
Close
New
Open
Info
Save as
Used to display and enter the name of the creator, file title,
comments, etc.
Used to save the edited data link tables (*.sl3).
Edit
Used to edit the data link table that has been read.
Update
Read
Transfers the contents of the file edited in the Data Link Editor to
the Data Link Setup Dialog Box.
Reads the data link table for a specified node.
Write
Verify
Verifies data link tables between nodes and the Data Link Setup
(SYSMAC LINK) Dialog Box.
Deletes data link tables from the nodes.
Delete
1. Start CX-Net and select Data Link and then Status. If connected locally
(i.e., directly connected to a PC), the Data Link Status (Local) Dialog Box will
be displayed. If connected remotely (i.e., through a network), the Data Link
Status Dialog Box will appear.
81
CX-Programmer Procedures
Section 4-12
2. Select SYSMAC LINK and then click the OK button.
The Data Link Status Dialog Box will be displayed.
The status for each of the following will be displayed in the Data Link Status
Dialog Box. The communications cycle time and the refresh cycle time can
be updated only when this window is open or when the data link has been
started or stopped.
82
1. Open the Data Link Status Dialog Box and then select the Stop option button under Operation.
2. Select the Set button. The data link will stop.
SECTION 5
Network Data Exchange
The CS1-series PCs allow data exchange between networks. This section provides the details of the data exchange functions
of the CS1-series PCs via SYSMAC LINK Networks.
5-1
5-2
5-3
84
84
84
85
85
86
86
87
83
Section
5-1
5-1
CS1-series,
C200HX/HG/HE,
C1000H, C1000HF,
C2000H, CVM1, or
CV-series PC
CS1-series, CVM1, or
CV-series PC (see note)
CS1-series,
C200HX/HG/HE,
C1000H, C1000HF,
C2000H, CVM1, or
CV-series PC
Ethernet Network
CS1-series, CVM1, or
CV-series PC (see note)
Note
SYSMAC LINK
Ethernet
PC
Data
84
Gateway
SYSMAC LINK
SYSMAC LINK
Data
Data and communications
protocol gateway
Section
5-2
CS1 or CV-series PC
A CQM1H-series PC supports only one Communications Unit. It cannot function as a data bridge or a data and communications protocol gateway.
Communications across bridges or gateways can include up to three networks, including the local network (data generating network).
Network 2
Network 3
The maximum amount of data that can be sent between networks depends on
the type of networks through which data is being sent. The SYSMAC LINK Network is limited a maximum of 552 bytes of data in any one transmission, including the header. If a transmission passes through a SYSMAC LINK Network, as
shown in the figure on the preceding page, the amount of data is limited to 552
bytes.
Although 2,012 bytes of data (including the header) can be sent and received
with a Controller Link Network, if a transmission between two Controller Link
Network passes through a SYSMAC LINK Network, the amount of data would
need to be limited to 552 bytes per transmission.
Refer to the manual for the network you are using to determine the maximum
amount of data that can be handled.
5-2
Routing Tables
Routing tables are required for data exchange with other networks or when more
than one SYSMAC LINK Unit, Controller Link Unit, or Ethernet Unit is mounted
on the PC. For data exchange with other networks, set a routing table on the local node, destination node, and relay node from a host computer or the Support
Software. Refer to the Support Software manuals for details.
! Caution
The CPU Bus Units will be reset if the routing tables are transferred to the CPU
Unit from a Programming Device. The reset is required to update the routing
table settings. Confirm that the controlled system will not be adversely affected
before transferring the routing tables.
85
Section
5-2
Range
Contents
Destination
network
1 to 127
Relay network
1 to 127
Relay node
Setting Ranges
Item
86
Range
Network address
1 to 127
Unit number
0 to 15
Node address
SYSMAC LINK:
1 to 62
Controller Link:
1 to 32
Ethernet:
1 to 126
Section
5-3
5-3
The following illustration shows an example of local network table settings for a
single PC with more than one CPU Bus Unit.
Ethernet Network
Network address B
SYSMAC LINK System
Network address A
CompoBus/S Network
PS:
SLK
Unit
No.
A
B
a
b
The following illustration shows an example of routing table settings with three
networks connected to one another. Take a look at the relay network table for PC
3. When network A is the destination network for PC 3, B is the relay network and
c is the relay node. When network C is the destination network, B is the relay
network and e is the relay node.
Relay Network Tables
PC 1
Node address a
Network
address A
PC 2
Node address b
Node address c
PC 3
Network
address B
Node address d
PC 4
Node address e
Node address f
Network
address C
PC 5
Node address g
End
netwk
B
C
End
netwk
C
End
netwk
A
C
End
netwk
A
End
netwk
A
B
Relay Relay
netwk node
A
A
b
b
Relay Relay
netwk node
B
Relay Relay
netwk node
B
B
c
e
Relay Relay
netwk node
B
Relay Relay
netwk node
C
C
f
f
87
Section
The routing tables shown below are for the following system.
Unit 5
Node 6
CLK
PC
(1)
Network 10
Unit 4
Node 5
Unit 3
Node 4
Unit 2
Node 3
PC
(2)
SLK CLK
CLK SLK
PC
(3)
Network 20
SLK
PC
(4)
Network 30
PC
(5)
SLK
Unit 0
Node 1
Unit 7
Node 15
PC
(6)
SLK
Unit 1
Node 2
SLK
Unit 5
Node 5
Unit 6
Node 10
Routing Tables on PC 1
Local Network Table
Network
Unit
No.
10
10
10
4
5
Routing Tables on PC 2
Local Network Table
Network
Unit
No.
10
20
3
2
10
Routing Tables on PC 3
Local Network Table
Network
Unit
No.
10
30
4
7
10
Routing Tables on PC 4
Local Network Table
Network
Unit
No.
20
20
20
3
3
Routing Tables on PC 5
Local Network Table
88
Network
Unit
No.
20
20
20
3
3
PC
(7)
5-3
Section
5-3
Routing Tables on PC 6
Local Network Table
Network
Unit
No.
End
netwk
30
10
20
Relay
netwk
30
30
Relay
node
15
15
Routing Tables on PC 7
Local Network Table
Network
Unit
No.
End
netwk
30
10
20
1, 2, 3...
Relay
netwk
30
30
Relay
node
15
15
The following descriptions shows how the above routing tables are used for data
transmission from PC 1 to PC 6 using a SEND(90), RECV(98), or CMND(490)
instruction.
1. PC 1 checks its relay network table, and sends the data to node 5 (PC 3) on
network 10, to send the data to network 30, on PC 6.
2. PC 3 receives the data from PC 6, checks its local network table, and sends
the data to node 5 (PC 6) via CPU Bus Unit with unit number 7, which is connected to network 30.
3. PC 6 checks its local network table and confirms that the data transmitted to
node 5, network 30, is for PC 6. Then PC 6 retrieves the data.
89
SECTION 6
Message Service
This section describes the PC ladder network instructions and FINS commands that can be used to transfer data and control
operation via a SYSMAC LINK System.
6-1
6-2
6-3
6-4
92
92
92
93
93
94
96
98
100
102
103
106
106
107
107
107
108
109
109
109
110
110
110
111
113
114
115
116
116
117
118
91
Section
6-1
6-2
PC-originating Transfers
Computer Responses
A program that returns proper responses for received commands must be prepared and loaded in the computer prior to command reception.
PC Responses
The SYSMAC LINK Unit receives and processes commands and returns the
proper responses automatically. Since all of the processing is handled automatically, you do not need to prepare a routine for command reception in the PC program.
6-2
PC Network Instructions
Data is sent from the PC to other nodes (PCs or computers) using the
SEND(90), RECV(98), or CMND(490) instruction in the PC user program.
Receive data
Node 1
92
Node 2
Node 3
Node 4
Node 5
Section
PC Network Instructions
6-2
Broadcasting Data
Broadcast data
Node 1
Node 2
Node 3
Node 4
Node 5
Packet length
Data content
Ports 0 to 7
(8 ports can be used at the same time for data exchange)
0000: 2 s
0001 to FFFF:
User settings (in increments of 0.1 s, 0.1 to 6553.5 s)
Number of
retries
0 to 15
Note
Range
CIO
Work Area
W000 to W511
Holding Area
H000 to H511
Auxiliary Area
Timer
T0000 to T4095
Counter
C0000 to C4095
Data Memory
D00000 to D32767
1. Writing is not possible to words A000 through A447 in the Auxiliary Area.
2. A maximum of thirteen banks can be used for Expansion DM. For details on
the EM Area and the number of banks, refer to the operation manual for the
PC model that is being used.
93
Section
6-2
Name
Network Instruction
Enabled Flag
Network Instruction
Error Flag
Word
A202
A219
Contents
Bit
Port number corresponds to bit number,
i.e., port 0: bit 00, port 1, bit 00, etc.
Port number corresponds to bit number
plus 8, i.e., port 0: bit 00, port 1, bit 01, etc.
Note With CS1-series PCs, ports 0 to 7 are also used for executing the PMCR (PROTOCOL MACRO) instruction, therefore these flags are used for the 4 instructions: SEND(90), RECV(98), CMND(490), and PMCR(260). When the
PMCR(260) command is being executed, the same port cannot be used for
SEND(90), RECV(98), and CMND(490) instructions.
Communications
Instruction Response
Codes
94
Word
A203
A204
A205
A206
A207
A208
A209
A210
Bits
-----------------
Contents
Port 0 response code
Port 1 response code
Port 2 response code
Port 3 response code
Port 4 response code
Port 5 response code
Port 6 response code
Port 7 response code
Section
PC Network Instructions
6-2
The following timing chart shows the timing of the Port Enabled Flag, Port
Execute Error Flag, and response codes. In this example two commands were
executed for port 0 but there was an error for command 1.
Flag Timing
Command 1
1
Port Enabled Flag
(port 0)
Execution
enabled
Executing
1
Port Execution Error
Flag (port 0)
Command 2
Execution
enabled
Executing
Execution
enabled
0000
Response code
for command 2
Command 1
error occurred
0
Response code for the
previous command
0000
Response code
for command 1
Command Executed
accepted
Command Executed
accepted
Note The new data will be sent if the data in the transmission area is changed while a
command is being executed. Do not change data in the area being transmitted
unless the Port Enabled Flag is ON.
CMND(490) Instructions
1, 2, 3...
The following will affect the Port Execute Error Flag and response code when
you have executed the CMND(490) instruction.
1. A response time-out error.
2. The number of transmission data bytes exceeding the maximum permissible range (more than 021E (542) bytes for SYSMAC LINK Units).
3. The number of response data bytes exceeding the number of reception data
bytes that was set (in this case, no response will be recorded).
Errors other than the above will be shown in the response code in the response
block but will not be shown in the Port Execution Error Flag or response codes.
95
Section
6-2-5
6-2
Format
Ladder Symbol
(90)
SEND
C
D: 1st destination word CIO, W, H, A, T, C, DM, DR*, IR*
Variations
@SEND(90)
*Indirect addressing only
Set the destination node address to $FF to broadcast the data to all nodes in the
designated network or to $00 to send to a destination within the node of the PC
executing the send.
Control Data
Word
Bits 00 to 07
Bits 08 to 15
C+1
C+2
C+3
C+4
Bits 08 to 15:
Set to 0.
1. Number of Words
Set the total number of words to be transferred.
2. Destination Network Address
Set the destination network address to 00 if the destination network address
is a local network. If more than one SYSMAC LINK Unit, Controller Link Unit,
or Ethernet Unit is mounted to the PC, the network of the Unit with the smallest unit address will be considered to be the local network.
3. Destination Node Address
Set the destination node address to FF for broadcasting within the local network. Set to 00 (and set the network address to 00) for transmission to a device at the local node.
4. Destination Unit Address
Set the destination unit to 00 if the destination is a PC. If the destination is a
users application on a computer (NSB), set the destination unit address to
01 (user application 1).
Destination
Address (hexadecimal)
PC (CPU)
00
NSB (computer)
01 (user application)
Inner Board
E1
FE
96
Section
PC Network Instructions
6-2
6. Port Number
Set the communications port number that the SEND(90) instruction will be
sent from.
7. Number of Retries
Set the number of retries for unsuccessful transmissions. You can set the
number between 1 to 15. If 15 has been set, for example, the SEND(90) instructions will be re-transmitted up to 15 times when the PC does not receive
a response from the destination node.
8. Response Monitor Time (Unit: 0.1 S)
Designates the length of time that the PC retries transmission when bit 15 of
C+3 is OFF and no response is received. The default value is $0000, which
indicates 2 seconds. The response function is not used when the destination node address is set to $FF, broadcasting to all nodes in the network.
Range of Control Data
Item
Value
Number of words
00:
01 to 7F:
00:
01 to 3E:
01 to 20:
01 to 7E:
FF:
Local network
Destination network address
Transmission within local node
Destination node address (1 to 62) (SYSMAC LINK)
Destination node address (1 to 32) (Controller Link)
Destination node address (1 to 126) (Ethernet, SYSMAC NET)
Broadcasting
00:
01:
10 to 1F:
E1:
FE:
PC (CPU Unit)
Computer (NSB) user application
Unit number 0 to 15
Inner Board
Unit connected with the network
Response bit
Communications port number
0 (OFF): Required
1 (ON): Not required
0 to 7 (0 to 7)
Number of retries
0 to F (0 to 15)
0000:
2 s (default)
0001 to FFFF: 0.1 to 6,553.5 s with 0.1-s increments (set by the user)
97
Section
6-2-6
6-2
Format
Ladder Symbol
(98)
RECV
C
D: 1st destination word CIO, W, H, A, T, C, DM, DR*, IR*
Variations
@RECV(98)
*Indirect addressing only
Set the source node address to $00 to send data within the PC executing the
instruction.
Control Data
Word
Bits 00 to 07
Bits 08 to 15
C+1
C+2
C+3
C+4
1. Number of Words
Set the total number of words to be transferred.
2. Source Network Address
Set the Source network address to 00 if you send the data to within the local
network. If more than one SYSMAC LINK Unit, Controller Link Unit, or Ethernet Unit is mounted on the PC, the network of the Unit with the smallest unit
address will be considered to the local network.
3. Source Node Address
Set the source node address to 00 for devices at the local node.
4. Source Unit Address
Set the source unit address to 00 if the destination is a PC. If it is a user application on a computer, set the destination unit to 01 (user application 01). For
a BASIC Unit, add 10 to the unit number (0 to F) so that the destination unit
address is from 10 to 1F.
Destination
Address (hexadecimal)
PC (CPU)
00
NSB (computer)
01 (user application)
Inner Board
E1
FE
98
Section
PC Network Instructions
6-2
7. Number of Retries
Set the number of retries for unsuccessful transmissions. You can set the
number between 1 to 15. If 15 has been set, for example, the RECV(98) instructions will be re-transmitted up to 15 times when the PC does not receive
a response from the destination node.
8. Response Monitor Time
Designates the length of time that the PC retries transmission when bit 15 of
C+3 is OFF and no response is received. The default value is $0000, which
indicates 2 seconds.
Range of Control Data
Item
Value
Number of words
0:
01 to 7F:
00:
01 to 3E:
01 to 20:
01 to 7E:
00:
01:
10 to 1F:
E1:
FE:
Local network
Source network address
Transmission within local PC
Source node address (1 to 62) (SYSMAC LINK)
Source node address (1 to 32) (Controller Link)
Source node address (1 to 126) (Ethernet, SYSMAC NET)
PC (CPU Unit)
Computer (NSB), user application
Unit number 0 to 15
Inner Board
Unit connected with the network
Response bit
0 (OFF): Required
0 to 7 (0 to 7)
Number of retries
0 to F (0 to 15)
0000:
2 s (default)
0001 to FFFF: 0.1 to 6,553.5 s in 0.1-s increments (set by the user)
99
Section
6-2-7
6-2
Format
Ladder Symbol
(490)
CMND
Variations
@CMND(490)
The control words, beginning with C, specify the number of bytes of control data
to be sent, the number of bytes of response data to be received, the destination
node, and other parameters.
Control Data
Word
Bits 00 to 07
Bits 08 to 15
C+1
C+2
C+3
C+4
C+5
100
Section
PC Network Instructions
6-2
Unit, Controller Link Unit, or Ethernet Unit with the relevant destination node
address.
Destination
Address (hexadecimal)
PC (CPU)
00
NSB (computer)
01 (user application)
Inner Board
E1
FE
6. Response Bit
Usually set this bit to OFF (0: required). If no response is required, set the bit
to ON (1: Not required).
7. Communications Port Number
Set the communications port number that the CMND(490) instruction will be
sent to.
8. Number of Retries
Set the number of retries for unsuccessful transmissions. You can set the
number between 1 to 15. If 15 has been set, for example, the CMND(490)
instructions will be re-transmitted up to 15 times when the PC does not receive a response from the destination node.
9. Response Monitor Time (Unit: 0.1 S)
Designates the length of time that the PC retries transmission when bit 15 of
C+3 is OFF and no response is received. The default value is $0000, which
indicates 2 seconds.
Note If more than the Number of Bytes to Receive is received, no response will be
stored. If fewer bytes are received, the response data will be stored and the unused memory area of the PC will remain unchanged.
Range of Control Data
Item
Value
00:
01 to 7F:
00:
01 to 3E:
01 to 20:
01 to 7E:
FF:
Local network
Destination network address
Transmission within local PC
Destination node address (1 to 62) (SYSMAC LINK)
Destination node address (1 to 32) (Controller Link)
Destination node address (1 to 126) (Ethernet, SYSMAC NET)
Broadcasting
00:
01:
10 to 1F,
or FE:
E1:
FE:
PC (CPU Unit)
Computer (NSB), user application 1
Response Bit
0 (OFF): Required
1 (ON): Not required
0 to 7 (0 to 7)
Number of retries
0 to F (0 to 15)
0000:
2 s (default)
0001 to FFFF: 0.1 to 6,553.5 s with 0.1-s increments (set by the user)
Note
1. FE, or unit number + 10 (FE can be set when the destination is a SYSMAC
NET Link, SYSMAC LINK Unit, Controller Link Unit, or Ethernet Unit.
2. When broadcasting, there is no response from the nodes. even if the Response Bit has been turned OFF.
101
Section
6-2-8
0000
00
A202
07
Program Example
1200
02H
(011)
KEEP 120000
1200
01
1200
00
1200
00
1200
00
6-2
(030)
@MOV
#000A D00000
(030)
@MOV
#0002 D00001
(030)
@MOV
#0400 D00002
D00000 00
0A Number of words: 10
(030)
@MOV
#0705 D00003
D00001 00
(030)
@MOV
Word
Content
Meaning
#0064 D00004
D00002 04
(040)
@XFER &0010
0000
D00010
D00003 07
(090)
@SENDD00010
D00020
D00000
D00004 00
A202
07
(013)
DIFU
A219
07
120001
1210
00
0000
01
A219
07
1200
00
(011)
KEEP
120002
1200
03
1200
02
(98)
@RECV
1200
02
(030)
@MOV
#0010 D00005
(030)
@MOV
#0003 D00006
(030)
@MOV
#3000 D00007
D00005 00
10 Number of words: 16
(030)
@MOV
#070F D00008
D00006 00
(030)
@MOV
#0000 D00009
D00007 30
2000
D00005
D00008 07
(013)
DIFU
D00009 00
120003
A100
A202
07
1200
02
A219
07
1200
02
1200
03
1210
01
A219
07
(040)
@XFER &0016
2000
D00040
Word
Content
Meaning
Note To execute more than one instruction in sequence at the same port, you must
use the Port Enabled Flags to be sure that only one instruction is being executed
at the same time for any one port.
102
Section
PC Network Instructions
6-2
The following diagram indicates the data flow that will yield the maximum delay
time from the time SEND(90) is executed by the user program to the time the
SYSMAC LINK Unit stores the data in the destination Units memory.
Note Be sure to take into account the time required for data links and program execution, which are not included in the following example.
SEND(90)
executed
Communications cycle
Transmission delay
Reception processing
SYSMAC LINK Unit servicing
(destination node)
LINK Service
processing
(source node)
Data stored
Max. transmission delay = Link servicing interval (source node) + Link service
processing (source node) + Transmission processing + Communications cycle
time + Transmission delay + Reception processing + LINK Unit servicing interval
(destination node) + Link service processing (destination node)
Link Servicing Interval (Source and Destination Nodes)
Links are serviced once per PC execution cycle. Refer to the CS1-series PC Operation Manual for details.
Link Service Processing (Source and Destination Nodes)
Link service processing is the same as the PCs peripheral servicing and is
approximately 1 ms for SYSMAC LINK Units.
Transmission and Reception Processing
Number of words transferred x 0.0045 ms + 4 ms
Communications Cycle Time
Coaxial: Max. node address
0.01 ms + No. of nodes
polled units
0.75 ms + 1.322 ms
Optical: Max. node address
0.01 ms + No. of nodes
polled units
0.75 ms + 1.322 ms
Transmission Delay
Number of words transferred
0.075 ms + No. of
0.133 ms + No. of
0.008 ms + 0.204 ms
Note The I/O response time can increase due to noise or restrictions on the number of
frames that can be transmitted while the data link is operating.
103
Section
6-2
Example
Delay cause
PC cycle time
1 ms
32
0.01 + 32
0.075 + 4
0.75 + 1.322 = 7.042 ms
Transmission processing
256
0.0045 +4 = 5.152ms
Transmission delay
256
Reception processing
256
0.0045 + 4 = 5.152 ms
1 ms
The data flow which will yield the maximum transfer interval from the time the
RECV(98) instruction is executed by the user program to the time the SYSMAC
LINK Unit stores the data in the local Units memory area is described below.
RECV(98) Instruction
Maximum Delay Time
Note Be sure to take into account the time required for data links and program execution, which are not included in the following example.
RECV (98) executed
Data stored
Link service processing (source node)
Link service interval (source node)
104
Section
PC Network Instructions
6-2
Example
32
32
4
256
coaxial cable
halted
Delay cause
PC cycle time
1 ms
2 ms
Communications cycle
32
0.01 + 32
0.075 + 4
0.75 + 1.322 = 7.042 ms
0.204 ms
2 ms
1 ms
256
0.0045 + 4 = 5.152 ms
256
256
0.0045 + 4 = 5.152 ms
105
Section
6-3
6-3
1. They are defined in the application level and do not depend on lower levels
(i.e., the physical and data link levels). This allows them to be used across a
variety of networks and CPU buses. Specifically, they can be used with
SYSMAC LINK, Controller Link, and Host Link networks, and between CPU
Units and CS1 CPU Bus Units.
Note FINS commands are sent with UDP/IP headers when using Ethernet
and with Host Link command headers when using Host Link.
2. FINS commands can be used to access various kinds of devices besides
CPU Units. Devices such as CPU Units, CS1 CPU Bus Units, personal computers (boards), and Inner Boards can be identified and specified by their
unit addresses.
CS1 CPU Bus Unit
Inner Board
CPU Unit
Network 1
Types of FINS
Commands
106
Network 3
There are basically two kinds of FINS commands: Those addressed to CPU
Units and those addressed to CS1 CPU Bus Units. Among FINS commands for
Section
PC Network Instructions
6-3
CPU Units, there are commands addressed to the various models of CPU Unit,
such as the CS1-series CPU Units, CV-series CPU Units, C200HX/HG/HE CPU
Units, and so on. The basic code system is the same, but the detailed specifications vary according to the CPU Unit.
Among FINS commands for CS1 CPU Bus Units, there are commands addressed to SYSMAC LINK Units, to the Controller Link Unit, and so on.
Response Format
Commands have the following format. This data must be stored beginning at first
command word specified as an operand (S) of the CMND(490) instruction.
2 bytes
Command
code
Data
Responses have the following format and are stored beginning at the first response word specified as an operand (D) of the CMND(490) instruction.
2 bytes
01
2 bytes
Response
code
Data
01
Command
code
Command
code
01
02
03
04
05
06
PC mode
01
RUN
Valid
MONITOR
Valid
DEBUG
Valid
PROGRAM
Valid
02
Valid
Valid
Valid
Valid
03
Valid
Valid
Valid
Valid
04
Valid
Valid
Valid
Valid
05
Valid
Valid
Valid
Valid
01
Valid
Valid
Valid
Valid
02
Valid
Valid
Valid
Valid
03
Valid
Valid
Valid
Valid
04
Valid
Valid
Valid
Valid
05
Valid
Valid
Valid
Valid
06
Valid
Valid
Valid
Valid
07
Not valid
Valid
Valid
Valid
08
Not valid
Not valid
Not valid
Valid
01
RUN
Valid
Valid
Valid
Valid
02
STOP
Valid
Valid
Valid
Valid
01
Valid
Valid
Valid
Valid
02
Valid
Valid
Valid
Valid
01
Valid
Valid
Valid
Valid
20
Valid
Valid
Not valid
Not valid
107
Section
0C
21
22
23
Name
PC mode
MONITOR
DEBUG
RUN
6-3
PROGRAM
01
CLOCK READ
Valid
Valid
Valid
Valid
02
CLOCK WRITE
Valid
Valid
Valid
Valid
20
MESSAGE READ
Valid
Valid
Valid
Valid
MESSAGE CLEAR
Valid
Valid
Valid
Valid
FAL/FALS READ
Valid
Valid
Valid
Valid
01
Valid
Valid
Valid
Valid
02
Valid
Valid
Valid
Valid
03
Valid
Valid
Valid
Valid
01
ERROR CLEAR
Valid
Valid
Valid
Valid
02
Valid
Valid
Valid
Valid
03
Valid
Valid
Valid
Valid
01
Valid
Valid
Valid
Valid
02
Valid
Valid
Valid
Valid
03
Valid
Valid
Valid
Valid
04
Valid
Valid
Valid
Valid
05
FILE DELETE
Valid
Valid
Valid
Valid
06
Valid
Valid
Valid
Valid
07
FILE COPY
Valid
Valid
Valid
Valid
08
Valid
Valid
Valid
Valid
09
Valid
Valid
Valid
Valid
0A
Valid
Valid
Valid
Valid
0B
Valid
Valid
Valid
Valid
0C
(see note)
Valid
Valid
Valid
01
FORCED SET/RESET
Not valid
Valid
Valid
Valid
02
Not valid
Valid
Valid
Valid
Note When the PC is in RUN mode, data transfers from files to the program area are
not possible, but transfers from the program area to files are possible.
Name
DATA LINK START (see note)
109
02
110
03
RESET
110
05
06
01
110
01
02
03
111
113
114
08
01
115
02
116
03
116
02
117
03
118
21
108
Page
Section
PC Network Instructions
6-4
6-4
Description
00
Normal completion
01
02
03
Controller error
04
Not executable
05
Routing error
10
11
Parameter error
20
21
22
23
No Unit
24
25
Unit error
26
Command error
30
04
01
Command
code
Response Block
04
01
Command
code
Response
code
109
Section
6-4
02
Command
code
Response Block
04
02
Command
code
Response
code
6-4-3 RESET
Resets the SYSMAC LINK Unit.
No response is returned when this command is executed.
Command Block
04
03
Command
code
01
Command
code
Response Block
05
01
Command
code
Parameters
110
Response
code
20 bytes
20 bytes
PC model
PC version
Node address
Cable type/Common RAM size
Section
PC Network Instructions
6-4
01
Command
code
Response Block
06
8 bytes
01
Command
code
Response
code
Data link status
Participation
list
Status 1
Status 6
Count 1
6 bytes total
Parameters
Count 8
8 bytes total
Note The registered network parameters are compared to the actually network parameters upon power application the first time a Unit joins the network. If the parameters do not agree, bit 2, above, will be turned ON, but the system will not
stop (the actual network parameters will automatically be registered).
111
Section
6-4
Bit
Bit
0
1: Error log records present; 0: No error log records
1: Error log full (64 records)
112
Section
PC Network Instructions
Bit
Byte 1
Byte 2
16 15 14 13 12 11 10 9
Byte 3
24 23 22 21 20 19 18 17
Byte 4
32 31 30 29 28 27 26 25
Byte 5
40 39 38 37 36 35 34 33
Byte 6
48 47 46 45 44 43 42 41
Byte 7
56 55 54 53 52 51 50 49
Byte 8
6-4
62 61 60 59 58 57
02
Command
code
Response Block
06
31 bytes
02
Command
code
Response
code
Network Communications
member data cycle time
Node address of
current polling node
8 bytes
62 bytes
Cyclic
non-fatal errors
Cyclic error
counters
Cyclic
transmission status
Cyclic operation
Parameters
Network member data (response): Four bits are allocated to each node address to provide information on the status of nodes in the network as shown below. The function of each of the 4 bits is shown in the diagram following the table.
Byte
Bits 4 to 7
Bits 0 to 3
Byte 1
Node address 2
Node address 1
Byte 2
Node address 4
Node address 3
Byte 3
Node address 6
Node address 5
Byte 31
Node address 62
Node address 61
Bit
0
1: In network (0: Not in network)
1: Exited because of an error.* (0: Normal exit)
1: Unit does not respond to polling.
Note *Bit 1/5 is used to indicate why the node is not in the network when bit 0/4 is OFF.
Communications cycle time (response): The actual communications cycle
time is provided here in 4-digit hexadecimal in increments of 100 s.
113
Section
6-4
Node address of current polling node (response): The node address of the
Unit that currently is the polling node.
Cyclic operation (response): Indicates the current status of cyclic operation,
as follows:
00: Stopped
01: Active
Cyclic transmission status (response): Indicates the current status of cyclic
transmission, as follows:
00: No transmission
01: Transmission
Cyclic non-fatal errors (response): These eight bytes indicate nodes in which
non-fatal errors occurred in cyclic transmission. When a bit in the following matrix is ON, a non-fatal error occurred in the corresponding node. Bit 0 of the first
byte and bit 7 of the eighth byte are always OFF.
Bit
First byte
15 14 13 12 11 10 9
Second byte
Third byte
23 22 21 20 19 18 17 16
Fourth byte
31 30 29 28 27 26 25 24
Fifth byte
39 38 37 36 35 34 33 32
Sixth byte
47 46 45 44 43 42 41 40
Seventh byte
55 54 53 52 51 50 49 48
Eighth byte
62 61 60 59 58 57 56
03
Command
code
Response Block
06
Command
code
Parameters
114
31 bytes
03
Response
Present
Max.
code
refresh time refresh time
Status flags
Data link
status
Section
PC Network Instructions
Bit
6-4
Present and Max. refresh time (response): The present and maximum data
link refresh times in 4-digit hexadecimal in increments of 1 ms. The range is 0005
to 00FF (5 to 255 ms, in decimal).
Data link status (response): Four bits are allocated to each node address to
provide information on the status of the data links, as shown below. The function
of each of the 4 bits is shown in the diagram following the table.
Byte
Bits 4 to 7
Bits 0 to 3
Byte 1
Node address 2
Node address 1
Byte 2
Node address 4
Node address 3
Byte 3
Node address 6
Node address 5
Byte 31
Node address 62
Node address 61
Bit
01
Command
code
Test data
Response Block
08
Command
code
Parameters
01
Response
code
Test data
Test data (command and response): Up to 512 bytes of test data can be included in the command. This data is transmitted to the indicated node and returned unchanged if communications are normal. If the data returned in the response differs from that transmitted in the command, an error occurred in the
internode echo test.
115
Section
6-4
02
Command
code
Response Block
08
02
Command
code
Parameters
Response
code
Number of
receptions
Number of receptions (response): The number of times that the BROADCAST TEST DATA SEND command has been executed since the last BROADCAST TEST RESULTS READ command was executed.
When this command is executed, the number of receptions data stored in the
destination nodes is cleared. If the number of receptions does not equal the
number of times that the BROADCAST TEST DATA SEND command has been
executed since the last BROADCAST TEST RESULTS READ command was
executed, an error has occurred.
03
Command
code
Test data
Note Make the following control data settings when executing this command:
a) Destination node address:
b) Destination node unit number:
c) Response Bit (bit 13 of C+1):
116
FF (broadcast transmission)
FE (to SYSMAC LINK Units)
ON (response not returned)
Section
PC Network Instructions
6-4
1. When the error log does not have the specified number of records, all the
records that have been stored will be read and an address range overflow
error will result.
2. If the data is too large and exceeds the permissible length of the response
block, the part in excess will not be read and a response length overflow error will result.
Command Block
21
02
Command
code
Beginning
record No.
No. of
records
Response Block
21
02
Command
code
Parameters
No. of
stored
records
No. of
records
10 bytes
10 bytes
Error log
data
Error log
data
Beginning record No. (command): The first record to be read (the first record
number is 0000).
Max. No. of records (response): The maximum number of records that can be
recorded. (The maximum number of records is different for the CPU Unit and the
CPU Bus Units. CS1-series SYSMAC LINK Units have 27 Hex (39) records.)
No. of stored records (response): The number of records that have been recorded.
No. of records (command and response): The number of records read. Specify between 0000 to 0027 (0 to 39 records). If the number of records is not specified, all records to present will be read and a normal response code will be returned. If the number of records causes the response to exceed 540 bytes, records through 540 bytes will be returned along with a normal response code.
Error log data (response): The specified error log records will be returned in
sequence starting from the beginning record number. The total number of bytes
required is calculated as follows:
Number of records
10 bytes
Error code
10th byte
Detail
Minute
Day Hour Year Month
Second
Each data includes the second, minute, hour (0 to 23), date, month, and year
(the rightmost two digits) in BCD specifying the time that the error occurred.
117
03
Command
format
Response Block
21
03
Command
format
118
Response
code
Section
6-4
SECTION 7
Remote Monitoring and Programming
Information on remote programming and monitoring is provided in this section.
7-1
120
120
120
121
119
Section
7-1
7-1
CX-Programmer
Programming Device
SYSMAC LINK Network
Programming
and monitoring
CS1-series, C200HX/HG/
HE, CVM1, or CV-series PC
CS1-series, C200HX/HG/
HE, CVM1, or CV-series PC
Note Remote programming and monitoring are possible from a computer using the
CX-Programmer as a node.
CX-Programmer
Programming Device
SYSMAC LINK Network
CS1-series, C200HX/HG/
HE, or CV-series PC
CX-Programmer
CV-series PC
CV-series PC
CS1-series, CS1-series PC
CVM1, or CVseries PC
120
Section
7-1
Programming/
Monitoring
CS1-series, CVM1, CV-series,
or C200HX/HG/HE-series PC
CX-Programmer
SYSMAC LINK
CS1
CS1, CVM1, or
CV-series PC
Controller Link,
Ethernet, etc.
C200HX/HG/HE CS1-series PC
CVM1 or
CV-series PC
121
SECTION 8
Troubleshooting
Information to help identify and correct errors that might occur is provided in this section.
8-1
8-2
8-3
8-4
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1-1 Error Indications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1-2 Probable Causes and Remedies of Response Code Errors . . . . . . . . . . . . . . . . . .
Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-1 Error Log Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-2 Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-3 Reading and Clearing Error Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Polling Node Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Node Bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
124
124
127
133
133
134
138
139
139
123
Section
Troubleshooting
8-1
8-1
Troubleshooting
This section explains errors that may occur and how to solve them.
Error
log
Probable cause
Remedy
ERC
ERH
Lit
Not lit
Not lit
Lit
---
---
Not lit
Not lit
Not lit
Not lit
---
---
---
---
---
---
---
---
---
---
0214
Hex
0210
Hex
Communications
controller error.
0211
Hex
Table contains
duplicate node
addresses.
Wrong connection to
network (optical fiber
only).
Not lit
Lit
Not lit
INS
Not lit
---
Lit
Not lit
Not lit
Lit
Lit
---
Not lit
Not lit
124
Not lit
Lit
Not lit
---
---
---
---
Section
Troubleshooting
Indicators
RUN
Lit
ERC
---
ERH
Lit
INS
---
Error
log
0001
Hex
0012
Hex
021A
Hex
0012
Hex
021A
Hex
Lit
---
---
Not lit
Probable cause
8-1
Remedy
0012
Hex
PC parameter area
routing tables data is
corrupted.
021A
Hex
---
---
---
---
Terminating resistors
are not mounted
correctly (coaxial
only).
The cable is not
connected correctly.
---
---
---
---
---
---
Node address
exceeds network
parameters
maximum node
address.
Note Calculate the location of the error information in the CPU Bus Unit as follows:
CIO 1500 + unit number x 25 + 1 word.
125
Section
Troubleshooting
8-1
LNK Indicator
Data Links Wont Start
For the data links to operate, first the SYSMAC LINK Units must be operating
and participating in the network. First, check the LNK indicator status by referring to RUN, ERC, ERH, and INS Indicators above, and then use the following
table.
LNK
indicator
Lit
Not lit
Flashing
Rapid
flashing
Probable cause
Remedy
---
Note In this case, the error log (error code 021D Hex) will be stored. Refer to 8-2 Error
Log for details.
Nodes Not Participate in Data Links
For nodes to participate in the data links, first the SYSMAC LINK Units must be
operating and participating in the network. First, check the LNK indicator status
by referring to RUN, ERC, ERH, and INS Indicators above, and then use the following table.
LNK
indicator
Lit
Probable cause
Remedy
---
Flashing
Rapid
flashing
Not lit
Note In this case, the error log (error code 021D Hex) will be stored. Refer to 8-2 Error
Log for details.
126
Section
Troubleshooting
8-1
Sub-code
1: Fatal CPU Unit Error Flag
Upon receipt of some commands, the destination node will issue a request to another
node; the other node is referred to as the third node.
Main code
00: Normal completion
Subcode
00
---
---
01
01
02
03
04
05
Probable cause
Remedy
06
01
02
03
04
05
127
Section
Troubleshooting
Main code
03: Communications
controller error
128
Subcode
01
Probable cause
8-1
Remedy
02
04
01
02
01
02
03
04
01
02
03
04
05
01
02
03
04
06
09
0A
0B
0C
Section
Troubleshooting
Main code
20: Read not possible
Subcode
02
06
07
01
02
03
05
06
07
01
02
03
04
05
06
07
02
03
No clock exists.
01
04
05
08
23: No Unit
Remedy
03
Probable cause
8-1
01
129
Section
Troubleshooting
Main code
25: Unit error
Subcode
02
Remedy
04
05
06
07
I/O bus error (An error occurred during Check the unit and cable connections and
data transfer between the CPU and an issue the ERROR CLEAR command.
I/O Unit.)
09
0A
0D
03
0F
10
130
Probable cause
8-1
Section
Troubleshooting
Main code
Subcode
01
Remedy
The program area is not protected, so it is
not necessary to clear protection.
04
05
06
07
08
09
0A
0B
02
Probable cause
8-1
01
For network relay errors using SEND(90) or RECV(98), check the path of the
command using the routing tables and the nature of the error using the response
code to eliminate the cause of the error.
For network relay errors using CMND(490), the location of the relay error is recorded in the second and third words of the response, as shown below.
Bit
15
14
13
12
11
10
First word
Command code
Bit
15
14
13
12
11
10
Second word
Third word
15
14
13
12
11
10
131
Section
Troubleshooting
8-1
Ethernet:
01 to 7E (1 to 126)
SYSMAC NET: 01 to 7E (1 to 126)
Relay Errors
A relay error is caused when a command fails to reach the Unit to which it has
been sent. A relay error can be caused either by data failing to be passed between Communications Units connected over a network (see example 1), or by
data being passed from a Communications Unit to a Unit that is not a Communications Unit (e.g., to a CPU Unit) (see example 2). A relay error may also occur
if the destination node or the next relay node does not exist.
Example 1:
Data fails to be passed between Communications Units due to a routing table
error.
(2)
(1)
Send
Reply
Example 2:
Data fails to be passed from a Communications Unit to the CPU Unit due to the
Communications Unit being offline from servicing.
(2)
(1)
Send
Reply
Example 3:
Destination node or relay node does not exist.
(1)
(2)
Send
Reply
1, 2, 3...
132
Section
Error Log
8-2
8-2
Error Log
The error log records errors that occur in the SYSMAC LINK Unit and the time
they occur. The error log can be read or cleared using the CX-Net, or the message service (FINS commands for the SYSMAC LINK Unit.)
Specification
No. of records
39 max.
Data code
10 bytes
Configuration of records
Record order
If the number of records exceeds 39, the oldest record will be deleted and the
most recent error recorded.
Error Log Table Configuration
0
Error code
Detail
Min
Day
Hour
Year
Month
Record
(Oldest)
Error code
Detail
Min
Day
Hour
Year
Month
Record
Error code
Detail
Time Information
Min
Day
Hour
Year
Month
Record
(Newest)
The time is recorded in BCD with one byte each for the year (the rightmost two
digits), month, day, hour, seconds, and minutes of the time the error occurred.
133
Section
Error Log
Note
8-2
1. The PCs time information can be read and used in the SYSMAC LINK Unit.
When the time cannot be read from the PC, all error log times will be set to 0.
This can occur for PC startup errors, unit number errors, CPU Unit errors, or
PC model errors. When error logs without times are read from the CX-Net,
they will be dated 0 s, 0 min, 0 hr, 0 day, 0 month, 2000.
2. When replacing the battery for CS1-series PCs, it will be necessary to switch
the power supply ON and reset the internal clock. If the internal clock is not
reset, time information in the error log will not be recorded correctly.
3. The time information will be all zeros for CQM1H-series PCs unless a
Memory Cassette with a clock is mounted in the CPU Unit. The time information will be all zeros in the year 2000 if it is read from Support Software.
Detail code
Contents
1st byte
0001
Hex
00 Hex
0002
Hex
0004
Hex
0006
Hex
Correction
2nd byte
00 Hex
Written to
EEPROM
Yes
Check operating
environment.
Yes
00 Hex
Yes
Yes
Yes
00 Hex
00 Hex
fixed
000E
Hex
000F
Hex
PC initialization error
Yes
0010
Hex
Yes
0011
Hex
PC initialization error
(Time out)
Yes
0012
Hex
Yes
0013
Hex
Yes
134
01 Hex: Read
error
02 Hex: Write
error
01 Hex:
Data link
table
02 Hex:
Network
parameters
03 Hex:
Routing
table
04 Hex: PC
Setup Area
Section
Error Log
Error
code
Contents
Detail code
1st byte
0101
Hex
0103
Hex
0104
Hex
0105
Hex
0106
Hex
0107
Hex
0108
Hex
Correction
2nd byte
Command block
Bits 0 to 7:
Source node address
Bits 8 to 14:
Source Network address
Bit 15:
OFF
Written to
EEPROM
No
No
No
No
No
No
No
Response block
Bits 0 to 7:
Destination node address
Bits 8 to 14:
Destination Network
address
Bit 15:
ON
(1st byte: bits 8 to 15;
2nd byte, bits 0 to 7)
8-2
135
Section
Error Log
Error
code
Contents
0109
Hex
010A
Hex
Transmission failed;
communications controller error
Detail code
1st byte
Correction
2nd byte
Command block
Bits 0 to 7:
Source node address
Bits 8 to 14:
Source Network address
Bit 15:
OFF
Response block
Bits 0 to 7:
Destination node address
Bits 8 to 14:
Destination Network
address
Bit 15:
ON
Written to
EEPROM
No
Yes
No
No
010B
Hex
010C
Hex
010D
Hex
No
010E
Hex
No
010F
Hex
No
0110
Hex
No
0111
Hex
No
0112
Hex
No
0113
Hex
No
0114
Hex
No
0115
Hex
No
0116
Hex
No
136
8-2
Section
Error Log
Error
code
0117
Hex
0118
Hex
Contents
Detail code
1st byte
Correction
2nd byte
Command block
Bits 0 to 7:
Source node address
Bits 8 to 14:
Source Network address
Bit 15:
OFF
Response block
Bits 0 to 7:
Destination node address
Bits 8 to 14:
Destination Network
address
Bit 15:
ON
8-2
Written to
EEPROM
No
Yes
No
Number of
non-participating
nodes
Address of
previous
polling node
Address of
new polling
node
No
0209
Hex
Network parameter
disagreement error
00 Hex
Address of
polling node
Yes
020C
Hex
00 Hex
Error status
(see note)
No
0210
Hex
Error status
(see note)
Yes
0211
Hex
00 Hex
Local node
address
No
0214
Hex
Not specified
Yes
0216
Hex
00 Hex fixed
Backup
power
supply error
distinction:
01 Hex:
OFF to ON
02 Hex: ON
to OFF
Yes
021A
Hex
00 Hex
01 Hex:
Network
parameters
02 Hex:
Data link
tables
03 Hex:
Routing
tables
Yes
021B
Hex
Hardware error
00 Hex
Error status
(see note)
No
0206
Hex
0207
Hex
0208
Hex
No
137
Section
Error Log
Error
code
Contents
Detail code
1st byte
Correction
2nd byte
021C
Hex
Not set
021D
Hex
Communications cycle
time set in the
data link status (Unit: ms,
2-digit hexadecimal)
0220
Hex
Node 1 to 16 removed
(correspond to bits 0 to 15)
Minimum
possible
communications cycle
time setting
(Unit: ms,
2-digit hexadecimal)
0221
Hex
Node 17 to 32 removed
(correspond to bits 0 to 15)
0222
Hex
Node 33 to 48 removed
(correspond to bits 0 to 15)
0223
Hex
Node 49 to 62 removed
(correspond to bits 0 to 13)
Written to
EEPROM
Yes
Yes
Yes
0300
Hex
Packet discarded
Not set
No
0601
Hex
Unit error
Not set
Yes
Note
1. Errors indicated by error codes 0101 to 0116 Hex are logged only when the
frame was discarded because transmission was impossible.
2. Errors indicated by error codes 0220 to 0223 Hex are logged at the same
time as error code 0206 or 0207 Hex (participating nodes reduced). You can
determine the nodes removed from the network. For example, if node 16 is
removed, the following error codes will be generated.
Error code
Error Status
8-2
Information
Meaning
0206 Hex
3E01 Hex
0221 Hex
0001 Hex
The status of each bit indicates that an error has occurred as given in the diagram below.
Send the ERROR LOG READ FINS command (command code 2102) to the
appropriate node. Refer to 6-4-11 ERROR LOG READ.
Send the ERROR LOG CLEAR FINS command (command code 2103) to the
appropriate node. Refer to 6-4-12 ERROR LOG CLEAR.
138
Section
Node Bypass
8-3
8-4
SLK
Node 2
SLK
Node 3
SLK
Node N
PC
PC
PC
PC
Previous polling
node
8-4
Node Bypass
Optical SYSMAC LINK networks can be connected to a backup power supply. If
a backup power supply is provided, the node bypass function of the SYSMAC
LINK Units will operate whenever a node or node power supply fails. The failing
node will be bypassed in the network and the overall network will continue operating, preventing total network shutdown.
In this example, if the Unit assigned node address 3 has an error, the node bypass function will eliminate this node from the network and the remainder of the
network will continue functioning.
Optical transmission path
SLK11
Node 1
SLK11
Node 2
SLK11
Node 3
SLK11
Node 4
PC
PC
PC
PC
Error occurred
Backup power supply
SLK11: SYSMAC LINK Unit
Note
1. With systems using optical transmission paths with a backup power supply,
the backup power supply is given priority. Turn ON the backup power supply
first, then turn ON the PC power supply, or turn ON both the backup power
supply and the PC power supply at the same time. Communications data
will be corrupted is the backup power supply is turned ON and OFF.
2. A 24-VDC backup power supply is supplied directly to CS1-series SYSMAC
LINK Units. With non-CS1-series optical fiber SYSMAC LINK Units, a
100-VAC or 200-VAC backup power supply is supplied using an Auxiliary
Power Supply Unit mounted on the same Rack.
139
SECTION 9
Unit Replacement
The SYSMAC LINK Unit is a network device. If the Unit is damaged, it will affect the entire Network, so always ensure
repairs are undertaken immediately. We recommend that you have a spare SYSMAC LINK Unit on hand so that repairs may
be conducted quickly.
This section describes the replacement procedure and provides cautions for Unit replacement.
9-1
9-2
142
142
142
143
141
Section
9-1
9-1
1. To prevent faulty operation be sure to turn OFF the power to all nodes before
replacing the Unit.
2. When replacing the Unit, do not reconnect that node to the Network before
carrying out the procedures listed below. In particular, a node with a small
address will become the polling node and communicate the initial network
parameter status to other nodes, so there is the chance that network parameters in the entire Network will be damaged.
1. After replacing the CPU Unit, transfer important data, such as DM and Holding Area contents, to the new CPU Unit before restarting operation.
Depending on the program, accidents can occur as a result of incorrect DM
or Holding Area contents.
2. CS1-series SYSMAC LINK Units store data such as data link tables, network parameters, and routing tables in the CPU Unit. When replacing the
CPU Unit, reset these settings using the CX-Net in CX-Programmer.
1. Network parameters are read from the polling node when the Network is
activated and this information is distributed to all nodes in the Network. For
this reason, set the polled/polling node setting in the DM parameter area for
the node replaced to a polled node before reconnecting the Unit to the SYSMAC LINK Network.
DM 30000 + 100 n
n = Unit number
: Other settings
2. Turn the power OFF once, connect the SYSMAC LINK Network and turn the
power ON again. Check that the Unit is participating in the Network.
If the INS indicator is lit and the ERC and ERH indicators are OFF, then the
Unit is in the Network.
142
Section
Replacement Procedure
9-2
3. Return the Polled node/polling node setting of the node in which the Unit
was replaced to polling node.
DM 30000 + 100 n
n = Unit number
: Other settings
4. Restart the SYSMAC LINK Unit or turn ON the power again. Check that the
Unit is participating in the Network.
If the INS indicator is lit and the ERC and ERH indicators are not lit, then the
Unit is in the Network.
Note
9-2
1. Stop the data links before restarting the SYSMAC LINK Unit. Check again
that the network parameters for the node that has been replaced are the
same as for the other nodes.
2. When replacing the Unit, do not reconnect that node to the Network before
carrying out the procedures listed below. In particular, a node with a small
address will become the polling node and communicate the initial network
parameter status to other nodes, so there is the chance that network parameters in the entire Network will be damaged.
Replacement Procedure
Note In CS1-series SYSMAC LINK Units, data is stored in the battery-powered backup SRAM in the CPU Unit. Consequently, a SYSMAC LINK Unit will function as
before simply by making the appropriate hardware settings, even if it is replaced.
The data link tables and routing tables must be reset, however, if the CPU Unit is
replaced.
1, 2, 3...
143
SECTION 10
Inspection and Maintenance
This section contains information describing periodic inspections required by the System.
10-1 Periodic Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-2 Handling Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-3 Tools and Equipment Needed for Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
146
146
146
145
Section 10-3
Mounting conditions
Inspection contents
Standard operation
Inspection method
0 to 55C
Thermometer
Hygrometer
Eyesight
Eyesight
Eyesight
Phillips screwdriver
Eyesight
We recommend that users have backup Units available to make repairs and
minimize down-time if a problem occurs in a SYSMAC LINK Unit.
146
Appendix A
Standard Models
SYSMAC LINK Units
Name
Specification
Model
CS1W-SLK11
Coaxial cable
CS1W-SLK21
Applicable PCs
CS1H-CPU67-E
CS1H-CPU66-E
CS1H-CPU65-E
CS1H-CPU64-E
CS1H-CPU63-E
CS1G-CPU45-E
CS1G-CPU44-E
CS1G-CPU43-E
CS1G-CPU42-E
Cables
Optical Fiber Cable (for CS1W-SLK11)
Optical fiber cables with connectors. Use the following H-PCF cables:
Name
Specification
Black
Orange
Model
10 m
S3200-HCCB101
50 m
S3200-HCCB501
100 m
S3200-HCCB102
500 m
S3200-HCCB502
1,000 m
S3200-HCCB103
10 m
S3200-HCCO101
50 m
S3200-HCCO501
100 m
S3200-HCCO102
500 m
S3200-HCCO502
1,000 m
S3200-HCCO103
Optical connector
S3200-COCF2011
In-line adapter
S3200-COIAT2000
When ordering, specify the optical fiber cable type by adding codes to the model number as shown below.
S3200-H_______
Kind of cable
B: Cord
C: Cable
Color of fiber
B: Black
O: Orange
Length
Option
Blank: Standard
___
A B
N:
Without tension member
(A/10) x 10B m
Tools
The following tools are required when preparing the cables yourself.
Name
Model
Model
---
S3200-CAK1062
Tester set
S3200-CAT2700
Head unit
S3200-CAT2702
---
S3200-CAT2001H
Master Fiber
147
Appendix A
Standard Models
Coaxial Cable (for CS1W-SLK21)
The following coaxial cables are recommended:
Name
Coaxial cable
Model
Maker
5C-2V
Fujikura Densen
ECXF5C-2V
Hitachi Densen
F-Adapter
C1000H-CE001
OMRON
Terminal Resistor
C1000H-TER01
148
Appendix B
Dimensions
CS1W-SLK11 Optical SYSMAC LINK Unit
(Unit: mm)
149
Dimensions
Appendix B
150
Appendix C
Related Auxiliary Area Information
This appendix lists the functions for the SYSMAC LINK Unit in the Auxiliary Area of the CS1-series CPU Units.
Word(s)
A202
Bit(s)
00 to 07
A203 to A210
A219
00 to 15
00 to 07
A302
A401
A402
00 to 15
13
03
07
00 to 15
00 to 15
00 to 15
00 to 15
A410
A417
A427
A501
Function
Communications Port Enabled (Network
Communications Enabled) Flags
Port 0 to 7 Completion Codes
Port 0 to 7 Execute Error (Network Communications
Execute Error) Flags
CS1 CPU Bus Unit Initializing Flags
Duplicate Number Error Flag (fatal error)
CS1 CPU Bus Unit Setting Error Flag
CS1 CPU Bus Unit Error Flag
CPU Bus Unit Duplicate Number
CS1 CPU Bus Unit Error, Unit Number Flags
CS1 CPU Bus Unit Setting Error Unit Number
CS1 CPU Bus Unit Restart Bits
151
Appendix C
152
Appendix D
CPU Bus Unit Area Allocations
The CPU Bus Unit Area of the SYSMAC LINK Unit is allocated in the PCs memory (bit area) according to the unit
number as follows (25 words are allocated per Unit):
Unit No.
Words
Unit No.
Words
10
11
12
13
14
15
System reserved
(1 word)
+1
Error data
(1 word)
Network status
(6 words)
(16 words)
(1 word)
+2
to
+7
+8
to
+23
+24
153
Appendix D
Error Data
Word: CIO 1500 + (25 x unit number) + 1
15
+1
14
13
12
11
10
Bit
14
13
12
11
10
+2
16
15
14
13
12
11
10
+3
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
+4
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
+5
62
61
60
59
58
57
56
55
54
53
52
51
50
49
+6
+7
Bit
Each of these numbers stands for the
node address corresponding to the bit.
When the node belongs to the network,
the corresponding bit will be ON. Bits
14 and 15 of word +5 are always OFF.
Note If the local node is disconnected from the network, only the bit corresponding to the local node is turned OFF
(i.e., the entire status area is not turned OFF). Also, while the local node is disconnected, the bits corresponding to the other nodes will not be refreshed, even if actual status changes.
154
Appendix D
15
14
13
12
11
10
+8
4th
3rd
2nd
1st
+9
8th
7th
6th
5th
+10
12th
11th
10th
9th
+11
16th
15th
14th
13th
+12
20th
19th
18th
17th
+13
24th
23rd
22nd
21st
+14
28th
27th
26th
25th
+15
32nd
31st
30th
29th
+16
36th
35th
34th
33rd
+17
40th
39th
38th
37th
+18
44th
43rd
42nd
41st
+19
48th
47th
46th
45th
+20
52nd
51st
50th
49th
+21
56th
55th
54th
53rd
60th
59th
58th
57th
62nd
61st
+22
+23
Bit
Note If the Local Node Data Link Active Flag (bit 15 of first word +23) is OFF, the data link status will be maintained
as it was immediately before operation stopped. This may not be the same as the actual current status.
When using the data link status, first check that the Local Node Data Link Active Flag is ON.
Power Supply
Word: CIO 1500 + (25 x unit number) + 24
Word
15
14
13
12
+24
11
10
Bit
0: No power supplied
1: Power supplied (CS1W-SLK11 only)
155
Appendix E
DM Area Allocations
Words in the DM Area are allocated to CS1-series CPU Bus Units according to
the unit numbers assigned to them, as shown below. Each Unit is allocated 100
words, of which 1 word is used.
Unit No.
Words
Unit No.
Words
D30000
D30800
D30100
D30900
D30200
10
D31000
D30300
11
D31100
D30400
12
D31200
D30500
13
D31300
D30600
14
D31400
D30700
15
D31500
Note Initializes the network parameters registered in the CPU Bus Unit Setting Area in the CPU Unit and
clears the data link tables.
157
Glossary
address
advanced instruction
An instruction input with a function code that handles data processing operations within ladder diagrams, as opposed to a basic instruction, which makes up
the fundamental portion of a ladder diagram.
allocation
The process by which the PC assigns certain bits or words in memory for various
functions. This includes pairing I/O bits to I/O points on Units.
analog
Something that represents or can process a continuous range of values as opposed to values that can be represented in distinct increments. Something that
represents or can process values represented in distinct increments is called
digital.
I/O Units that convert I/O between analog and digital values. An Analog Input
Unit converts an analog input to a digital value for processing by the PC. An Analog Output Unit converts a digital value to an analog output.
AND
A logic operation whereby the result is true if and only if both premises are true.
In ladder-diagram programming the premises are usually ON/OFF states of bits
or the logical combination of such states called execution conditions.
area
area prefix
A one or two letter prefix used to identify a memory area in the PC. All memory
areas except the CIO Area require prefixes to identify addresses in them.
ASCII
Short for American Standard Code for Information Interchange. ASCII is used to
code characters for output to printers and other external devices.
asynchronous execution
Auxiliary Area
auxiliary bit
backup
A copy made of existing data to ensure that the data will not be lost even if the
original data is corrupted or erased.
BASIC
basic instruction
BASIC Unit
baud rate
The data transmission speed between two devices in a system measured in bits
per second.
BCD
binary
A number system where all numbers are expressed in base 2, i.e., numbers are
written using only 0s and 1s. Each group of four binary bits is equivalent to one
159
Glossary
hexadecimal digit. Binary data in memory is thus often expressed in hexadecimal for convenience.
binary-coded decimal
A system used to represent numbers so that every four binary bits is numerically
equivalent to one decimal digit.
bit
bit address
The location in memory where a bit of data is stored. A bit address specifies the
data area and word that is being addressed as well as the number of the bit within the word.
A Link Adapter used to branch connections to Units in a Link System used either
to prevent the entire System from shutting down for an interruption at only one
point in the System, or to enable connecting more than two Units in one System
when each Unit provides only one connector.
buffer
building-block PC
bus
A communications path used to pass data between any of the Units connected
to it.
bus link
A data link that passed data between two Units across a bus.
byte
A device that is capable of storing programs and data, and executing the instructions contained in the programs. In a PC System, the central processing unit executes the program, processes I/O signals, communicates with external devices, etc.
channel
See word.
character code
checksum
CIM
CIO Area
A memory area used to control I/O and to store and manipulate data. CIO Area
addresses do not require prefixes.
A control system that includes more than one of the following systems: Remote
I/O System, SYSMAC Link System, Host Link System, or SYSMAC NET Link
System.
A table of settings in a SYSMAC LINK System that specifies what words are to
be used in the data links for all PCs in the SYSMAC LINK System. See refresh
parameter table.
160
Glossary
common data
Data that is stored in a memory of a PC and which is shared by other PCs in the
same system. Each PC has specified section(s) of the area allocated to it. Each
PC writes to the section(s) allocated to it and reads the sections allocated to the
other PCs with which it shares the common data.
constant
An input for an operand in which the actual numeric value is specified. Constants
can be input for certain operands in place of memory area addresses. Some operands must be input as constants.
control bit
A bit in a memory area that is set either through the program or via a Programming Device to achieve a specific purpose, e.g., a Restart Bit is turned ON and
OFF to restart a Unit.
control signal
A signal sent from the PC to affect the operation of the controlled system.
Control System
All of the hardware and software components used to control other devices. A
Control System includes the PC System, the PC programs, and all I/O devices
that are used to control or obtain feedback from the controlled system.
controlled system
CPU
A special Unit used with CS1-series PCs that mounts to the CPU bus. This connection to the CPU bus enables special data links, data transfers, and processing.
CPU Rack
The main Rack in a building-block PC, the CPU Rack contains the CPU, a Power
Supply, and other Units. The CPU Rack, along with the Expansion CPU Rack,
provides both an I/O bus and a CPU bus.
C-series PC
Any of the following PCs: C2000H, C1000H, C500, C200H, C40H, C28H, C20H,
C60K, C60P, C40K, C40P, C28K, C28P, C20K, C20P, C120, or C20.
CTS
An acronym for clear-to-send, a signal used in communications between electronic devices to indicate that the receiver is ready to accept incoming data.
CV Support Software
A programming package run on an IBM PC/AT or compatible to serve as a Programming Device for CV-series PCs.
CV-mode
CV-series PC
CVSS
cycle
cycle time
data area
An area in the PCs memory that is designed to hold a specific type of data.
data length
data link
An automatic data transmission operation that allows PCs or Units within PCs to
pass data back and forth via common data areas.
161
Glossary
data link area
A table of settings kept in memory that specifies what words are to be part of a
data link for all PCs involved in the link.
data register
A storage location in memory used to hold data. In CV-series PCs, data registers
are used with or without index registers to hold data used in indirect addressing.
data sharing
An aspect of SYSMAC Link Systems and SYSMAC NET Link Systems in which
common data areas or common data words are created between two or more
PCs.
data transfer
Moving data from one memory location to another, either within the same device
or between different devices connected via a communications line or network.
debug
decimal
A number system where numbers are expressed to the base 10. In a PC all data
is ultimately stored in binary form, four binary bits are often used to represent
one decimal digit, via a system called binary-coded decimal.
decrement
default
A value automatically set by the PC when the user does not specifically set
another value. Many devices will assume such default conditions upon the application of power.
delimiter
A code sent during communications between devices to indicate the end of the
current transmission, but not the end of the entire transmission. See terminator.
destination
The location where an instruction places the data on which it is operating, as opposed to the location from which data is taken for use in the instruction. The location from which data is taken is called the source.
digit
DIP switch
Dual in-line package switch, an array of pins in a signal package that is mounted
to a circuit board and is used to set operating parameters.
distributed control
DM Area
A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit.
DM word
downloading
The process of transferring a program or data from a higher-level or host computer to a lower-level or slave computer. If a Programming Device is involved,
the Programming Device is considered the host computer.
EEPROM
162
Glossary
special control lead connected to the EEPROM chip and can be done without
having to remove the EEPROM chip from the device in which it is mounted.
electrical noise
Random variations of one or more electrical characteristics such as voltage, current, and data, which might interfere with the normal operation of a device.
EM Area
Extended Data Memory Area; an area that can be optionally added to certain
PCs to enable greater data storage. Functionally, the EM Area operates like the
DM Area. Area addresses are prefixes with E and only words can be accessed.
The EM Area is separated into multiple banks.
EPROM
error code
A numeric code generated to indicate that an error exists, and something about
the nature of the error. Some error codes are generated by the system; others
are defined in the program by the operator.
even parity
event processing
A Rack connected to the CPU Rack to increase the virtual size of the CPU Rack.
Units that may be mounted to the CPU Backplane may also be mounted to the
Expansion CPU Backplane.
A Rack used to increase the I/O capacity of a PC. In CV-Series PCs, either one
Expansion I/O Rack can be connected directly to the CPU or Expansion CPU
Rack or multiple Expansion I/O Racks can be connected by using an I/O Control
and I/O Interface Units.
FA
Factory automation.
factory computer
fatal error
An error that stops PC operation and requires correction before operation can
continue.
FCS
FINS
See CV-mode.
flag
A dedicated bit in memory that is set by the system to indicate some type of operating status. Some flags, such as the carry flag, can also be set by the operator
or via the program.
force reset
The process of forcibly turning OFF a bit via a programming device. Bits are usually turned OFF as a result of program execution.
force set
The process of forcibly turning ON a bit via a programming device. Bits are usually turned ON as a result of program execution.
frame checksum
The results of exclusive ORing all data within a specified calculation range. The
frame checksum can be calculated on both the sending and receiving end of a
data transfer to confirm that data was transmitted correctly.
163
Glossary
GPC
handshaking
The process whereby two devices exchange basic signals to coordinate communications between them.
header code
hexadecimal
A number system where all numbers are expressed to the base 16. In a PC all
data is ultimately stored in binary form. Displays and inputs on Programming Devices, however, are often expressed in hexadecimal to simplify operation. Each
group of four binary bits is numerically equivalent to one hexadecimal digit.
host interface
A system with one or more host computers connected to one or more PCs via
Host Link Units or host interfaces so that the host computer can be used to transfer data to and from the PC(s). Host Link Systems enable centralized management and control of PC Systems.
I/O allocation
The process by which the PC assigns certain bits in memory for various functions. This includes pairing I/O bits to I/O points on Units.
I/O Block
Either an Input Block or an Output Block. I/O Blocks provide mounting positions
for replaceable relays.
A Unit mounted to the CPU Rack to monitor and control I/O points on Expansion
CPU Racks or Expansion I/O Racks.
I/O delay
The delay in time from when a signal is sent to an output to when the status of the
output is actually in effect or the delay in time from when the status of an input
changes until the signal indicating the change in the status is received.
I/O device
A device connected to the I/O terminals on I/O Units, Special I/O Units, etc. I/O
devices may be either part of the Control System, if they function to help control
other devices, or they may be part of the controlled system.
I/O point
The place at which an input signal enters the PC System, or at which an output
signal leaves the PC System. In physical terms, I/O points correspond to terminals or connector pins on a Unit; in terms of programming, I/O points correspond
to I/O bits in the IR area.
I/O refreshing
The process of updating output status sent to external devices so that it agrees
with the status of output bits held in memory and of updating input bits in memory
so that they agree with the status of inputs from external devices.
The time required for an output signal to be sent from the PC in response to an
input signal received from an external device.
164
Glossary
I/O Terminal
A Remote I/O Unit connected in a Wired Remote I/O System to provide a limited
number of I/O points at one location. There are several types of I/O Terminals.
I/O Unit
The most basic type of Unit mounted to a Backplane. I/O Units include Input
Units and Output Units, each of which is available in a range of specifications.
I/O Units do not include Special I/O Units, Link Units, etc.
I/O word
A word in the CIO Area that is allocated to a Unit in the PC System and is used to
hold I/O status for that Unit.
A computer that has similar architecture to, that is logically compatible with, and
that can run software designed for an IBM PC/AT computer.
initialize
Part of the startup process whereby some memory areas are cleared, system
setup is checked, and default values are set.
input
The signal coming from an external device into the PC. The term input is often
used abstractly or collectively to refer to incoming signals.
input bit
A bit in the CIO Area that is allocated to hold the status of an input.
Input Block
input device
input point
The point at which an input enters the PC System. Input points correspond physically to terminals or connector pins.
input signal
A change in the status of a connection entering the PC. Generally an input signal
is said to exist when, for example, a connection point goes from low to high voltage or from a nonconductive to a conductive state.
Input Terminal
instruction
A direction given in the program that tells the PC of the action to be carried out,
and the data to be used in carrying out the action. Instructions can be used to
simply turn a bit ON or OFF, or they can perform much more complex actions,
such as converting and/or transferring large blocks of data.
interface
An interface is the conceptual boundary between systems or devices and usually involves changes in the way the communicated data is represented. Interface
devices such as NSBs perform operations like changing the coding, format, or
speed of the data.
interrupt (signal)
A signal that stops normal program execution and causes a subroutine to be run
or other processing to take place.
IOIF
IOM (Area)
A collective memory area containing all of the memory areas that can be accessed by bit, including timer and counter Completion Flags. The IOM Area includes all memory area memory addresses between 0000 and 0FFF.
165
Glossary
JIS
jump
A type of programming where execution moves directly from one point in a program to another, without sequentially executing any instructions in between.
Jumps in ladder diagrams are usually conditional on an execution condition;
jumps in SFC programs are conditional on the step status and transition condition status before the jump.
LAN
least-significant (bit/word)
LED
leftmost (bit/word)
The highest numbered bits of a group of bits, generally of an entire word, or the
highest numbered words of a group of words. These bits/words are often called
most-significant bits/words.
link
A hardware or software connection formed between two Units. Link can refer
either to a part of the physical connection between two Units or a software connection created to data existing at another location (i.e., data links).
Link System
Link Unit
Any of the Units used to connect a PC to a Link System. These include Remote
I/O Units, SYSMAC LINK Units, and SYSMAC NET Link Units.
load
The processes of copying data either from an external device or from a storage
area to an active portion of the system such as a display buffer. Also, an output
device connected to the PC is called a load.
A table that specifies all of the networks that a PC belongs to and the unit numbers of the Units connecting the PC to each of these networks.
master
master number
MCR Unit
megabyte
memory area
most-significant (bit/word)
nesting
166
Glossary
Network Service Board
A device with an interface to connect devices other than PCs to a SYSMAC NET
Link System.
node
One of the positions in a LAN. Each node incorporates a device that can communicate with the devices at all of the other nodes. The device at a node is identified
by the node number.
node number
noise interference
nonfatal error
A hardware or software error that produces a warning but does not stop the PC
from operating.
NOT
A logic operation which inverts the status of the operand. For example, AND
NOT indicates an AND operation with the opposite of the actual status of the operand bit.
NSB
NSU
octal
A number system where all numbers are expressed in base 8, i.e., numbers are
written using only numerals 0 through 7.
odd parity
OFF
The status of an input or output when a signal is said not to be present. The OFF
state is generally represented by a low voltage or by non-conductivity, but can be
defined as the opposite of either.
OFF delay
The delay between the time when a signal is switched OFF (e.g., by an input
device or PC) and the time when the signal reaches a state readable as an OFF
signal (i.e., as no signal) by a receiving party (e.g., output device or PC).
offset
ON
The status of an input or output when a signal is said to be present. The ON state
is generally represented by a high voltage or by conductivity, but can be defined
as the opposite of either.
ON delay
The delay between the time when an ON signal is initiated (e.g., by an input device or PC) and the time when the signal reaches a state readable as an ON signal by a receiving party (e.g., output device or PC).
operand
The values designated as the data to be used for an instruction. An operand can
be input as a constant expressing the actual numeric value to be used or as an
address to express the location in memory of the data to be used.
167
Glossary
operating error
optical communications
A communications method in which signals are sent over optical fiber cable to
prevent noise interference and increase transmission distance.
OR
A logic operation whereby the result is true if either of two premises is true, or if
both are true. In ladder-diagram programming the premises are usually ON/OFF
states of bits or the logical combination of such states called execution conditions.
output
The signal sent from the PC to an external device. The term output is often used
abstractly or collectively to refer to outgoing signals.
Output Block
output device
output point
The point at which an output leaves the PC System. Output points correspond
physically to terminals or connector pins.
output signal
Output Terminal
overflow
The state where the capacity of a data storage location has been exceeded.
overwrite
Changing the content of a memory location so that the previous content is lost.
parity
Adjustment of the number of ON bits in a word or other unit of data so that the
total is always an even number or always an odd number. Parity is generally
used to check the accuracy of data after being transmitted by confirming that the
number of ON bits is still even or still odd.
parity check
Checking parity to ensure that transmitted data has not been corrupted.
PC
PC configuration
The arrangement and interconnections of the Units that are put together to form
a functional PC.
PC System
With building-block PCs, all of the Racks and independent Units connected directly to them up to, but not including the I/O devices. The boundaries of a PC
System are the PC and the program in its CPU at the upper end; and the I/O
Units, Special I/O Units, Optical I/O Units, Remote Terminals, etc., at the lower
end.
PCB
PC Setup
Peripheral Device
Devices connected to a PC System to aid in system operation. Peripheral devices include printers, programming devices, external storage media, etc.
168
Glossary
peripheral servicing
Processing signals to and from peripheral devices, including refreshing, communications processing, interrupts, etc.
PID Unit
polling
present value
The current value registered in a device at any instant during its operation. Present value is abbreviated as PV. The use of this term is generally restricted to timers and counters.
A board onto which electrical circuits are printed for mounting into a computer or
electrical device.
Programmable Controller
A computerized device that can accept inputs from external devices and generate outputs to external devices according to a program held in memory. Programmable Controllers are used to automate control of external devices. Although single-unit Programmable Controllers are available, building-block Programmable Controllers are constructed from separate components. Such Programmable Controllers are formed only when enough of these separate components are assembled to form a functional assembly, i.e., there is no one individual Unit called a PC.
Programming Console
Programming Device
PROM
PROM Writer
A peripheral device used to write programs and other data into a ROM for permanent storage and application.
prompt
A message or symbol that appears on a display to request input from the operator.
protocol
The parameters and procedures that are standardized to enable two devices to
communicate or to enable a programmer or operator to communicate with a device.
PV
Rack
rack number
169
Glossary
Rack PC
A PC that is composed of Units mounted to one or more Racks. This configuration is the most flexible, and most large PCs are Rack PCs. A Rack PC is the
opposite of a Package-type PC, which has all of the basic I/O, storage, and control functions built into a single package.
RAM
Random access memory; a data storage media. RAM will not retain data when
power is disconnected.
RAS
refresh
The process of updating output status sent to external devices so that it agrees
with the status of output bits held in memory and of updating input bits in memory
so that they agree with the status of inputs from external devices.
A table of settings that specifies which words in the data links for a System are to
be refreshed for a particular PC. See common link parameter table.
relay-based control
The forerunner of PCs. In relay-based control, groups of relays are interconnected to form control circuits. In a PC, these are replaced by programmable circuits.
reserved bit
reserved word
A word in memory that is reserved for a special purpose and cannot be accessed
by the user.
reset
The process of turning a bit or signal OFF or of changing the present value of a
timer or counter to its set value or to zero.
response code
A code sent with the response to a data transmission that specifies how the
transmitted data was processed.
response format
Restart Bit
restart continuation
retrieve
The processes of copying data either from an external device or from a storage
area to an active portion of the system such as a display buffer. Also, an output
device connected to the PC is called a load.
retry
The process whereby a device will re-transmit data which has resulted in an error message from the receiving device.
rightmost (bit/word)
The lowest numbered bits of a group of bits, generally of an entire word, or the
lowest numbered words of a group of words. These bits/words are often called
least-significant bits/words.
rising edge
ROM
Read only memory; a type of digital storage that cannot be written to. A ROM
chip is manufactured with its program or data already stored in it and can never
be changed. However, the program or data can be read as many times as desired.
170
Glossary
routing table
Tables of settings that specify what networks a device is a member of and what
nodes must be passed through to reach other specific networks. See local network table and relay network table.
RS-232C interface
RS-422 interface
scan
The process used to execute a ladder-diagram program. The program is examined sequentially from start to finish and each instruction is executed in turn
based on execution conditions. The scan also includes peripheral processing,
I/O refreshing, etc. The scan is called the cycle with CV-series PCs.
scan time
self diagnosis
A process whereby the system checks its own operation and generates a warning or error if an abnormality is discovered.
series
A wiring method in which Units are wired consecutively in a string. In Link Systems wired through Link Adapters, the Units are still functionally wired in series,
even though Units are placed on branch lines.
servicing
The process whereby the PC provides data to or receives data from external devices or remote I/O Units, or otherwise handles data transactions for Link Systems.
set
set value
The value from which a decrementing counter starts counting down or to which
an incrementing counter counts up (i.e., the maximum count), or the time from
which or for which a timer starts timing. Set value is abbreviated SV.
software error
software protect
A means of protecting data from being changed that uses software as opposed
to a physical switch or other hardware setting.
software switch
A Unit that is designed for a specific purpose. Special I/O Units include Position
Control Units, High-speed Counter Units, Analog I/O Units, etc.
SRAM
subroutine
A group of instructions placed separate from the main program and executed
only when called from the main program or activated by an interrupt.
SV
synchronous execution
syntax
The form of a program statement (as opposed to its meaning). For example, the
two statements, LET A=B+B and LET A=B*2 use different syntaxes, but have
the same meaning.
syntax error
An error in the way in which a program is written. Syntax errors can include
spelling mistakes (i.e., a function code that does not exist), mistakes in specify-
171
Glossary
ing operands within acceptable parameters (e.g., specifying read-only bits as a
destination), and mistakes in actual application of instructions (e.g., a call to a
subroutine that does not exist).
SYSMAC LINK System
A communications system used to create data links and enable network communications between PCs.
An optical LAN formed from PCs connected through SYSMAC NET Link Units. A
SYSMAC NET Link System also normally contains nodes interfacing computers
and other peripheral devices. PCs in the SYSMAC NET Link System can pass
data back and forth, receive commands from any interfaced computer, and
share any interfaced peripheral device.
system configuration
The arrangement in which Units in a System are connected. This term refers to
the conceptual arrangement and wiring together of all the devices needed to
comprise the System. In OMRON terminology, system configuration is used to
describe the arrangement and connection of the Units comprising a Control System that includes one or more PCs.
system error
terminator
The code comprising an asterisk and a carriage return (* CR) which indicates the
end of a block of data in communications between devices. Frames within a multi-frame block are separated by delimiters. Also a Unit in a Link System designated as the last Unit on the communications line.
timer
A location in memory accessed through a TC bit and used to time down from the
timers set value. Timers are turned ON and reset according to their execution
conditions.
TR Area
A data area used to store execution conditions so that they can be reloaded later
for use with other instructions.
TR bit
transfer
The process of moving data from one location to another within the PC, or between the PC and external devices. When data is transferred, generally a copy
of the data is sent to the destination, i.e., the content of the source of the transfer
is not changed.
transmission distance
UM area
The memory area used to hold the active program, i.e., the program that is being
currently executed.
Unit
unit address
A number used to control network communications. Unit addresses are computed for Units in various ways, e.g., 10 Hex is added to the unit number to determine the unit address for a CPU Bus Unit.
172
Glossary
unit number
A number assigned to some Link Units, Special I/O Units, and CPU Bus Units to
facilitate identification when assigning words or other operating parameters.
uploading
The process of transferring a program or data from a lower-level or slave computer to a higher-level or host computer. If a Programming Device is involved,
the Programming Device is considered the host computer.
watchdog timer
A timer within the system that ensures that the scan time stays within specified
limits. When limits are reached, either warnings are given or PC operation is
stopped depending on the particular limit that is reached.
WDT
wire communications
A communications method in which signals are sent over wire cable. Although
noise resistance and transmission distance can sometimes be a problem with
wire communications, they are still the cheapest and the most common, and perfectly adequate for many applications.
word
A unit of data storage in memory that consists of 16 bits. All data areas consists
of words. Some data areas can be accessed only by words; others, by either
words or bits.
word address
The location in memory where a word of data is stored. A word address must
specify (sometimes by default) the data area and the number of the word that is
being addressed.
word allocation
The process of assigning I/O words and bits in memory to I/O Units and terminals in a PC System to create an I/O Table.
work area
work bit
work word
A word that can be used for data calculation or other manipulation in programming, i.e., a work space in memory. A large portion of the IR area is always reserved for work words. Parts of other areas not required for special purposes
may also be used as work words.
write-protect
A state in which the contents of a storage device can be read but cannot be altered.
173
Index
AB
automatic generation of data link tables, 47
broadcast test, 116
C
cables
connecting transmission cables, 21
optical, 26
Optical Fiber Cables, 28
characteristics, data link, 63
coaxial cable. See cables
communications
cables, optical, 26
data exchange timing, 65
data processing time, 65
preparations, 12
testing
broadcast test, 116
internode echo test, 115
token bus, 34
communications cycle, 34
communications cycle time, 37
data link, 63
Connectors, installation, 29
Controller Link, network, remote, 120
Controller Link Units, CS1-series PCs, 18
CS1-series PCs, installation, 20
CV-mode commands
command set
BROADCAST TEST DATA SEND, 116
BROADCAST TEST RESULTS READ, 116
CONTROLLER DATA READ, 110
CONTROLLER STATUS READ, 111
DATA LINK STATUS READ, 114
INTERNODE ECHO TEST, 115
NETWORK STATUS READ, 113
errors, 127
for SYSMAC LINK Units, 109118
response codes, errors, 127
CV-mode command set
DATA LINK START, 109
ERROR LOG CLEAR, 118
ERROR LOG READ, 117
HALT DATA LINK, 110
RESET, 110
D
data link, 42, 86
characteristics, 63
communications cycle time, 63
controlling, 43
creating, 46
Data Link Status Flag, 57
halting, 110
precautions, 61
reading data link status, 114
refreshing, 52
starting, 109
status flags, 57
table back-up, 49
tables
automatic generation, 47
manual generation, 49
data links
automatic setting, 13
manual setting, 12
procedures, 12
data read/write services, 92
delay times, 103
dimensions, crimp terminals, 31
EF
EC Directives, xv
error codes, 134
error log, 133
reading and clearing, 138
table, 133
errors
clearing CV-series PCs error log, 118
CV-mode commands, 127
LED indications, 124
reading CV-series PCs error log, 117
flags
Network Instruction Enabled Flag, 94
Network Instruction Error Flag, 94
frames, maximum number, 37
HI
handling precautions, 146
I/O tables, 12, 14
indicators, error indications, 124
inspection, tools and equipment needed, 146
CX-Net, 10
installation, 12
communications cables, 28, 29
connectors, 29
CS1-series PCs, 20
CX-Programmer, 10
175
Index
M
manual generation of data link tables, 49
R
refresh of data link area, 52
response codes, 94
response times, 65
N
network
interconnecting Controller Link networks, 84
interconnecting other OMRON networks, 84
reading network status, 113
remote Controller Link networks, 120
network parameters, 35
setting, 36
S
specifications, 4
backup power supply, 30
standard models, 147
status, data link, 57
O
Optical Fiber Cables, 28
accessories, 28
optical fiber cables. See cables
overview, 2
P
PC
reading CV-series PC status, 111
reading various CV-series PC data, 110
test
broadcast, 116
internode echo, 115
precautions
general, xi
handling, 146
replacing the Unit, 142
programming, remote, 120
176
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Date
December 1999
Revised content
Original production
177