GEK-90477 New In Stock! GE Fanuc Manuals series-one-ic610

GEK-90477 New In Stock! GE Fanuc Manuals series-one-ic610
GEK-90477
New In Stock!
GE Fanuc Manuals
http://www.pdfsupply.com/automation/ge-fanuc-manuals/series-oneic610/GEK-90477
series-one-ic610
1-919-535-3180
GEK-90477A Series One/Series Three Data Communications
User's Manual
www.pdfsupply.com
Email:
[email protected]
GE Fanuc Automation
Programmable
Control Products
Series One”/Series Three”
Data Communications
User’s Manual
GEK-90477A
December,
1986
GFL-002
Warnings, Cautions, and Notes
as Used in this Publication
1 Warning
1
Warning notices are used in this publication to emphasize that
hazardous voltages, currents, temperatures, or other conditions that
could cause personal injury exist in this equipment or may be
associated with its use.
In situations where inattention could cause either personal injury or
damage to equipment, a Warning notice is used.
Caution notices are used where equipment
not taken.
might be damaged if care is
Note
Notes merely call attention to information that is especially significafit
understanding and operating the equipment.
to
This document is based on information available at the time of its publication. While
efforts have been made to be accurate, the information contained herein does not
purport to cover all details or variations in hardware or software, nor to provide for
every possible contingency in connection with installation, operation, or maintenance.
Features may be described herein which are not present in all hardware and software
systems. GE Fanuc Automation assumes no obligation of notice to holders of this
document with respect to changes subsequently made.
GE Fanuc Automation makes no representation or warranty, expressed, implied, or
statutory with respect to, and assumes no responsibility for the accuracy, completeness,
sufficiency, or usefulness of the information contained herein. No warranties of
merchantability or fitness for purpose shall apply.
The following are trademarks
Alarm Master
CIMI’LICITY
CIMPLICITY Control
CIMPLICITY PowerTlUK
CIMPLICITY 90-ADS
CIMSTAR
of GE Fanuc Automation North America, Inc.
Field Control
GEnet
Genius
Genius PowerTRAC
Helpmate
Logicmaster
Modelmaster
PowerMotion
ProLoop
PROMACRO
Series Five
Series 90
@Copyright 1996-1997 GE Fanuc Automation North America, Inc.
All Rights Reserved
Series One
Series Six
Series Three
VuMaster
Workmaster
GEK-90477
Table of Contents
w
PREFACE
This manual provides information
necessary to implement
a serial communications
link
between a Series Six PC or host computer and a Series One, Series One Junior, Series One
Plus, or Series Three PC.
You should become familiar with the operation of the Series One, Series One Junior,
Series One Plus, or Series Three PCs (depending on your application) before reading this
manual. Also, if a Series Six is to be included in your communications link, you may wish
to refer to the Series Six Data Communication
Manual,
GEK-25364,
for complete
information on Series Six Data Communications.
Chapter 1, Introduction,
describes the capabilities
of the Data Communications
Unit
(DCU) and the Data Communications Module (DCM) and possible system configurations
of
Series One, Series One Junior, Series One Plus, and Series Three PCs with a Series Six PC
or host computer.
Chapter 2, Installation and Operation of the Data Communications
Unit for the Series
One, Series One Junior, and Series One Plus PCs, describes the operation of the Data
Communication Unit’s user interfaces and the installation of the DCU.
Chapter 3, Installation and Operation of the Data Communications
Module for the Series
Three PC, describes the operation of the Data Communication
Module’s user interfaces
and the installation of the DCM.
Chapter 4, Electrical
Interface
Circuits, provides the information
cables to connect the DCU or DCM to other devices.
needed
to construct
Chapter 5, Communication Examples. explains how to build the Series Six ladder diaaram
to initiate communications betweena
Skries Six PC and a Series One,-Series One Ju>ior
Series One Plus, or Series Three PC.
1
Chapter 6, Serial Interface
Protocol, provides complete reference information
and DCM serial interace protocol and timing to allow the user to write
communications driver for a host computer or microprocessor.
on DCU
a serial
READER’S
We invite your comments
apd welcume suggesfions
to make this manual more useful.
Today’s Date
Date of Publication
Publication No.
GENERAL
COMMENTS
COMMENTS:
improve
Contents
Organization
Accuracy
Clarity
Completeness
Examples/Illustrations
Referencing/Indexing
Readability
Excellent
Good
Acceptable
Cl
Cl
u
a
u
Cl
0
Cl
Cl
Cl
cl
cl
0
cl
cl
0
Cl
u
u
a
0
CJ
0
a
DETAILED COMMENTS: (Correct, expand, etc. - Please be specific.)
Page
Comment
No.
Other suggestions for improving this document:
As compared to other manufacturers of a similar product, how would you rate this document ?
Superior I3
Comparable
Infer&
Cl
Don’t Know m
D
Commments:
Are you interested in subscribing to a documentation update plan?
Yes II
.
No a
APPLICATION INFORMATION:
Indicate the type of user/reader function that you most nearly represent:
17 System Designer
n
Programmer
0
Distributor
cl
Maintenance
tl
OEM
Cl Operator
Cl installation
Type of Equipment:
c1 Other (Please Specify)
D Series 90-70
Cl Series 90-30
Cl Series 90-20
Cl Series Six
0
0
D Genius l/O
0
Series Five
Series One
Comments concerning
your specific application:
.
Other
I
I
I
I
I
I
From:
Name:
Title:
Company:
Address:
City/State/Zip:
Telephone:
Fold Here
~-~-~--~-~-~~~---~~--~~~~b
No Postage
Necessary
tf Mailed
in The
United States
BUSINESS
REPLY MAIL
FIRST CLASS MAIL PERMIT NO. 995 CHARLOTlESVlLLE,
POSTAGE
WILL BE PAID -BY ADDRESSEE:
ATIEWION
MANAGER TECHNICAL PUBLICATIONS
GE Fanuc Automation
P 0 BOX 8106
CHARLOTTESVILLE VA
North America
229074063
Fold Here
Inc
VA
I
I
I
1
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
GEK-90477
vii
Table of Contents
TABLE
CHAPTER
1:
2:
i
3:
Capabilities
l-l
l-1
Using the DCU or DCM
System Configurations
Using the DCU or DCM
Point-to-Point
Configurations
Mul t idrop Configurations
l-l
l-2
l-3
INSTALLATION
AND OPERATION OF THE DATA
COMMUNICATIONS
UNIT FOR THE SERIES ONE
FAMILY OF PCS
2-l
Description
and Operation of the User Interfaces
for the DCU
LED Indicators
Front Panel Connectors
Programmer
Connector
Communications
Connector
DCU Configuration
Switches
ON/OFF-LINE
Switch
CPU (Unit) ID DIP Switches
Communication
Port Configuration
DIP Switches
External
Power Supply Connector
Power Supply Select Switch
Using the DCU with CPU Pack Power
2-l
2-2
2-3
2-3
2-3
2-4
2-4
2-5
2-6
2-7
2-7
‘2-7
Installing
2-9
the DCU
Power Cycle
CHAPTER
t-
INTRODUCTION
Communication
CHAPTER
OF CONTENTS
Conditions
Affecting
2-10
System Operation
INSTALLATION
AND OPERATION OF THE DATA
COMMUNICATIONS
MODULE FOR THE SERIES THREE
3-l
PC
Description
and Operation of the DCM’s User Interfaces
LED Indicators
Front Panel Connectors
Series Three CPU Connector
Communications
Connector
External Power Supply Connector
Switches
DCM Configuration
ON/OFF-LINE
Switch
Interaction
between the DCM ON/OFF LINE
Switch and the CPU Keyswitch
CPU (Unit) ID DIP Switches
Communicaiton Port Configuration DIP Switches
_
rower Supply Select Switch
Using the DCM with CPU Rack Power
0
Installing
Conditions
3-6
3-7
3-8
3-8
3-10
the DCM
Power Cycle
3 1
312
3-3
3-3
3-3
3-3
3-4
3-4
3-5
Affecting
System Operation
3-l 1
GEK-90477
...
VIII
Table of Contents
TABLE
CHAPTER
4:
ELECTRICAL
DIAGNOSTICS
OF CONTENTS
INTERFACE
CIRCUITS AND
FOR THE DCU AND DCM
Port Characteristics
Communications
4-l
Port Mating
Connector
Cable Select ion
Catalog
CHAPTER
5:
Numbers
4-l
4-2
4-2
for GE Supplied
Cables
4-3
Grounding
4-3
RS-422 Direct Cable Diagrams
Selection of Terminating
Resistors
Point-to-Point
DCU or DCM to Series Six CCM
or Host Computer
Multidrop
RS-422 Cable, 4-Wire
RS-422 Link Connector
Multidrop
RS-422 Cable, Z-Wire
4-3
4-4
4-5
Modem Configuration
Cable Diagrams
Point-to-Point
Modem Configuration
Cable Diagram
Mul t idrop Modem Configuration
Cable Diagram
4-8
4-9
DCU or DCM to Workmaster
Cable Diagrams
DCU or DCM to Workmaster-through
the
Interface
Adapter
DCU or DCM to Workmaster
Directly
through
the RS-422 Port
4-l 1
4-l 1
Test Diagnostics
Power-Up
Loop-Back
4-12
4-12
4-12
Diagnostics
Diagnostics
4-5
4-6
4-7
4-10
4-12
COMMUNICATION
EXAMPLES USING THE
SERIES SIX PC AS A MASTER DEVICE
5-1
Introduction
5-l
SCREQ Registers
Rnnnn: Command Numbers
Rnnnn + 1: Target ID
Rnnnn + 2: Target Memory Type
Rnnnn + 3: Target Memory Address
0
Rnnnn + 4: Data Length
Limitations
on Amount of Data for the
Series One and Series One Junior PCs
Rnnnn + 5: Source Memory Address
5-2
5-2
5-2
5-3
5-3
5-12
5-12
5-12
5-13
GEK-90477
ix
Table of Contents
TABLE
CHAPTER
5:
OF CONTENTS
COMMUNICATION
EXAMPLES USING THE
SERIES SIX PC AS A MASTER DEVICE (Continued)
5-14
Using the Password and Error Checking Features of the
Series One Plus PC
Logging-In
on the Series One Pius CPU
Using the Password
Changing the Password of the Series One Pius PC
User Program Error Checking
5-l 5
5-15
Diagnostic
5-16
Status Words
5-14
Diagnostic
Status Word 1 Error Codes
Series One, Series One Junior, Series One Plus,
and Series Three CPU Error Codes
5-16
5-19
SCREQ Command
5-20
Examples
(Series One/Junior/Plus)
Example 1:
Read From Target Timers and Counters
Example 2:
Read From Target I/O
Write to Target I/O
Example 3:
(Not Series One Junior)
Example 4:
Read From Target User Memory
Example 5:
Write to Target User Memory
(Series One
Example
Example
Example
Example
Example
Example
(Series Three
Example
Example
Example
Example
Example
Example
Example
Example
Plus)
6:
7:
8:
9:
10:
11:
Read From Target Data Registers
Write to Target Data Registers
Write to Target Timer/Counter
Accumulators
Logging-In
with the Password
Change Password
Check Program Error Code
PC Examples)
12:
Read from Target Data Registers
13:
Write to Target Data Registers
14:
Read from Target Timers and Counters
Write to Target Timer/Counter
15:
Accumulators
Read from Target I/O
16:
17:
Write to Target I/O
Read from Target User Memory
18:
Write to Target user Memory
19:
Or Series Three PC Examples)
* (Series One/Junior/Plus
Example 20:
Read PC Type
Read Target Run/Program
Mode
Example 21:
Command
Target
Run/Program
Mode
Example 22:
Read
Target
Diagnostic
Status
Words
Example 23:
Clear Target Diagnostic Status Words
Example 24:
5-21
5-22
5-23
5-24
5-25
5-26
5-27
5-28
5-30
5-31
5-32
5-35
5-36
5-37
5-38
5-40
5-41
5-42
5-43
5-44
5-45
5-46
5-48
5-49
GEK-90477
Table of Contents
X
TABLE
CHAPTER
6:
SERIAL
INTERFACE
OF CONTENTS
PROTOCOL
6-l
Introduction,
Master-Slave
Protocol
Asynchronous
Data Format
Control Character
Coding
Enquiry Response Delay
Normal Sequence*, Master-Slave
Normal Enquiry Sequence
Normal Sequence Protocol Format
Master-Slave
Normal Sequence Flow Charts
Normal Sequence, Master
Normal Response, Slave
Write Data Blocks, Master or Slave
Read Data Blocks, Master or Slave
6-l
6 1
6-2
612
6-3
6-3
6-3
6-5
6-5
6-5
6-10
6-10
Master-Slave
Message Transfers
Header Block
DCU or DCM ID Number
Data Flow Direction
and Memory Type
Target Memory Address
Number of Complete Data Blocks
to Follow Header
Number of Bytes in Incomplete
Last Block
Source ID Number
Text Data Block
Header and Text Data Block Response
Message Termination
Timing Considerations
Serial Link Time-Outs
Turn-Around
Delays
Communication
Errors
lnval id Header
lnval id Data
Invalid NAK, ACK, or EOT
Serial Link Time Out
6-l 1
6-l 1
6-l 2
6-l 2
6-12
6-14
Accessing the CPU Scratch-Pad
Using the Password and Error Checking Features
the Series One Plus PC
Logging-In
on the Series One Plus CPU
Using the Password
Changing the Password of the
Series One Plus PC
User Program Error Checking
6-14
6-l 4
6-l 5
6-16
6-l 6
6-l 6
6-l 6
6-l 6
6-l 8
6-18
6-l 9
6-l 9
6-19
of
6-l 9
6-20
6-20
6-21
6-21
GEK-90477
Tables
xi
TABLES
Number
Description
Page
21.
22.
23.
24.
Communications
Port Configuration
Dip-Switch
Settings
Series One Units of Load (Supplied)
Series One Units of Load (Used)
Power Cycle Conditions Affecting
System Operation
(The user program is assumed to be in CMOS RAM.)
Communications
Port Configuration
Dip-Switch
Settings
Series Three Units of Load (Supplied)
Series Three Units of Load (Used)
Power Cycle Conditions Affecting
System Operation
(The user program is assumed to be in CMOS RAM)
Mapping of Series One References to Target Addresses
Mapping of Series One JR References to Target Addresses
Mapping of Series One Plus References to Target
Addresses
Mapping of Series Three References to Target Addresses
Unit Lengths of Source and Target Memory Types
Maximum Amount of Data for Series One and
Series One Junior Memory Types 1, 3, and 7
Source Memory Address
Series One Plus CPU Scratch-Pad
Addresses
Diagnostic Status Word Error Codes
Series One, Series One Junior, Series One Plus,
Series Three CPU Error Codes
Control Character Codes
Serial Link Time-Outs
Series One Plus CPU Scratch-Pad
Addresses
2-6
2-7
2-8
2-10
31.
32.
33.
34.
.
51
52.
53.
.
54
55.
.
56
.
57
58.
59
.
5'10
61.
62.
63.
3-7
3-8
3-9
3-11
5-5
5-6
5-7
5-9
5-12
5-13
5-13
5-14
5-17
5-19
6-2
6-17
6-20
GEK-90477
xii
Figures
\
FIGURES
Number
Description
Page
11.
12.
.
13
14
.
21.
22.
23.
24.
31.
32.
33.
34.
41.
42.
43.
Point-To-Point
Configuration
(Direct)
Point-To-Point
Configuration
(Using Modems)
Mul t idrop Configuration
(Direct)
Mul t idrop Configuration
(Using Modems)
Front, End, and Rear View of the DCU
Location of the DCU Configuration
Switches
Dip-Switch
Settings for CPU ID Selection
Connecting
the Programmer,
DCU, and CPU
Front and Rear View of the DCM
Location of the DCM Configuration
Switches
Dip-Switch
Settings for CPU ID Selection
Connecting
the DCM to the CPU
Communications
Connector Pin Assignments
Assembly of Mating Connector
Link Connector used when a DCU or DCM is removed
f ram a Multidrop
Chain
Loop-Back Test Connector
Serial Data Format
Data Transfer from Master to Slave
Data Transfer from Slave to Master
N Sequence, Master
N Response, Slave
Write Data Blocks, Master or Slave
Read Data Blocks, Master or Slave
Serial Header Format
l-2
l-2
l-3
l-3
2-l
2-4
2-5
2-9
3-l
3-4
3-6
3-10
4-l
4-2
4-6
44.
61.
62.
63.
64.
65.
66
6-7
6-8
4-13
6-l
6-4
6-4
6-6
6-7
6-8
6-9
6-l 1
GEK-90477
1-1
Introduction
\
CHAPTER 1
INTRODUCTION
The serial interface
to the Series Onefn family of PCs is essentially
the same as the
interface
to the Series ThreeTn PC. For this reason the user information
for both have
been combined into one manual.
The differences
are primarily
related to the physical
package which affects the installation
of the interface.
To differentiate
between the two
interfaces,
the terms below are used throughout
this manual.
Data Communications
Unit (DCU)
-
Data Communications
Module (DCM) -
This
chapter
describes
the
capabilities
communications
with the Series One Family
Three programmable
cant rol lers.
COMMUNICATIONS
CAPABILITIES
Series One, Series One Junior,
and Series One Plus PC Interface
Series Three PC Interface
and
system
configurations
of programmable
controllers
for
serial
and Series
USING THE DCU OR DCM
The DCU and DCM provide a serial, RS-422 interface
between a Series One, Series One
Junior, Series One Plus, or Series Three PC and a device such as a Series Six’” PC,
Workmasterfn
computer
or other host computer.
Memory types that can be accessed
through the DCU or DCM include:
0
0
l
0
0
Discrete input and output points,
Timer and counter accumulator
references
Three PC data registers),
Scratchpad
(including
using the password
capability
for the Series One Plus PC),
User logic, and
Diagnostic
information.
(and Series One Plus PC and Series
and
the
user
logic
error
checking
Using the CCM2 protocol,
the host computer
or Series Six PC can have supervisory
control over one or more PCs of the Series One family or one or more Series Three PCs.
The data transfer
rates as well as other communications
parameters
for the DCU and
DCM are DIP-switch
selectable.
The primary data transfer rate for direct connections
is
19.2 kBps. Other data transfer
rates are provided for special purpose interfaces
which
include modem configurations.
SYSTEM CONFIGURATIONS
USING THE DCU OR DCM
A system configuration
refers to the way in which various devices are combined to form a
communications
net work.
both point-to-point
and mul t idrop
As explained
below,
configurations
are possible through the DCU or DCM. For details on constructing
cables,
see Chapter 4, Electrical
Interface
Circuits.
In all configurations,
the Series One, Series One Junior, Series One Plus, or Series Three
PC is the Slav; device, and the host computer,
Workmaster,
or Series Six PC is the
master device.
A slave can respond only to requests from a master.
Tn Trademark
of General
.
Electric
Company.
GEK-90477
Introduction
l-2
When a Workmaster computer or other host computer
must be written to handle the protocol requirements
interface Protocol.
POINT-TO-POINT
is the master device, host software
as explained in Chapter 6, Serial
CONFIGURATIONS
In the point-to-point
configuration,
only two elements can be connected to the same
communication line. The communication line can be connected directly using the M-422
electrical interface capability (4000 feet, 1200 meters, maximum), or connected through
modems and an M-232
to M-422 adapter unit for longer distances over telephone lines.
TPK.A.40369
MASTER
Figure 1 .l
SLAVE
POINT-TO-POINT
CONFIGURATION
(DIRECT)
TPK.A.40370
.
UASTER
?
l
SERIES SIX PC
OR
HOSTCOUPUTER
Jb*
I RS-232 q' MODEM '
.
4
SLAVE
l
RS-232
RS-422 SERIESONE$UNIOR/PLUS
RS-232
1 UOOEM 1
1 ADAPTER L
c
.
UNIT
SERIESTHREEPC
4
l
l
Figure 1.2
POINT-TO-POINT
CONFIGURATION
(USING MODEMS)
4
GEK-90477
MULTIDROP
1-3
introduction
CONFIGURATIONS
This configuration permits the connection
of a host computer or Series Six! PC to a group
of Series One, Series One Junior,
Series One Plus, or Series Three PCs. As with
point-to-point
connections,
either
M-422
capability
or modems
can be used.
A
maximum of 8 slaves can be connected using RS-422. The maximum distance between
the two end devices in the multidrop is 4000 feet (1200 meters).
When RS-232 modems are used, an M-232
adapter unit must be included
M-422 signals from the DCU or DCM to RS-232 signals for the modems.
to convert
TPK.A.40371
4
MASTER
SERIES SIX PC
OR
HOST COMPUTER
b
L
SLAVE
\
9
RS-422
l
SLAVE
7
,
Figure
1.3 MULTIDROP
?
SERIES ONE/JUNIOR/PLUS
.
OR
SERIESTHREEPC
.
.
I
1
SERIES ONE/JUNIOR/PLUS
OR
SERIES THREE PC
CONFIGURATION
(DIRECT)
TiK.A.40372
c
MASTER
*
SERIES SIX PC
OR
HOST COMPUTER
l
*rL
RS-232
' RS-232
k
L RS-232 1
MODEM I 'r 1 YODEM
1 ADAPTER
,
6
UNIT
l
4
rL
*
1 UODEM
*Up to 8 slave devices
Figure
can be multidropped
1.4
MULTIDROP
SLAVE
I
.
r
.
RS-232
RS-232
.
RS-422 SERIES ONE~$NIOR/'PLUS
1 mit:TER 1
from the RS-232 Adapter
CONFIGURATION
SLAVE
.
,
l
.
RS-422 SERIESONE&UNIOR/PLUS
1
SERIESTHREEPC
.
1
SERIES THREEPC
Unit.
(USING MODEMS)
1
GEK-90477
Installation
and Operation
of the DCU
2-1
CHAPTER 2
AND OPERATION OF THE DATA COMMUNICATIONS
FOR THE SERIES ONE FAMILY OF PCS
INSTALLATION
This chapter describes
and the installation
lc6loccM105A).
UNIT
the operation
of the user interfaces
(LEDs, switches,
and ports)
of the
Data
Communications
Unit
(DCU)
(IC6lOCCMlOOA,
NOTE TO SERIES ONE PLUS USERS
Use only the
communications
DESCRIPTION
Data
with
AND OPERATION
The various indicator
shown in Figure 2.1.
lights,
Communications
Unit
the Series One Plus PC.
(lC6lOCCM105A)
OF THE USER INTERFACES
connectors,
and configuration
for
FOR THE DCU
DIP switches
for the DCU are
TPA.C.40221
PROCGAUUEP
COhfQEC’JA
\
FRCNT
VIEW
Figure
2.1
FRONT,
END, AND REAR VIEW OF THE DCU
GEK-90477
Installation
and Operation
of the DCU
2-2
\
LED INDICATORS
The six status
LED’s on the front
of the DCU convey
the following
inform$tion:
Status LED
State
Description
DATA
On
Data being transferred to and from the
communication port.
Off
Data not being transferred to and from the
communication port or data incorrect due
to:
1. Parity overrun or framing errors;
2. Invalid header, data block, control
character, or checksum;
3. Time out on serial link. (Refer to
Chapter 6 for more information on the
protocol used).
DIAG
PWR
On
Power-up hardware diagnostics have passed.
Off
Power-up hardware diagnostics have failed.
On
5 V dc power to DCU is connected.
Off
5 V dc power to DCU is not connected.
NOTE
Power to the DCU can be supplied from the rack power supply or an
external
supply.
When the power supply select switch is in the EXT
position, power must be supplied through the external
power supply
connector on the side of the DCU. See Figures 2.1 and 2.2.
GEK-90477
installation
and Operation
of the DCU
2-3
Status LED
State
Description
RUN
On
The CPU is in the RUN mode.
Off
The CPU is not in the RUN mode.
On
The battery which provides memory back-up
in the CPU is not OK.
Off
The battery which provides memory back-up
in the CPU is OK.
On
There is an error; check the error code on
the programmmer display and take the
appropriate action.
There is no CPU error.
BATT
CPU
Off
*
L
FRONT
PANEL
CONNECTORS
Two connectors on the front of the DCU provide an interface
1.
2.
Programmer (Programmer Connector),
External serial device (Communications
Programmer
to:
Connector).
Connector
The programmer connector is the mating connector which mates with the programmer
and connects with the CPU.
This permits use of the programmer while the DCU is
connected to the CPU. See Figures 2.1 and 2.4.
Communications
Connector
The communications
connector (2%pin female, D-type) provides a serial interface
external devices. A pin-by-pin description of this connector is shown in Chapter 4.
to
GEK-90477
Installation
DCU CONFIGURATION
The configuration
and Operation
2-4
of the DCU
SWITCHES
switches
are located
on the right
side of the DCU as shown below.
TPK.A.40373
-
ON/OFF
LINE SWITCH
COMMUNICATION
PORT
ore SWITCHES
-
-
UNIT ADDRESS
DIP SWITCHES
EXTERNAL
POWER SUPPLY
CONNECTOR
END
VIEW
Figure
ON/OFF-LINE
2.2
LOCAT
ON OF THE DCU CONF IGURATION
SWITCHES
Switch
The ON/OFF-LINE
switch, wh ch is directly
above the DIP switches on the right side of
the DCU, enables or disables serial communications
with the Series One, Series One
Junior, or Series One Plus CPU.
OFF LINE:
Serial communication
CPU is under control
between the DCU and the CPU
of the attached programmmer.
ON LINE:
Serial communication
between
the
programmer
is disabled if attached.
DCU
and
CPU
is disabled
is enabled
and the
and
the
GEK-90477
Installation
and Operation
2-5
of the DCU
CPU (Unit) ID DIP Switches
The bottom group of eight DIP switches located on the right side of the DCU determines
the CPU ID of l-90.
The switch configuration associated with each ID is shown in Figure
23. .
TPA.A.40223
EXAMPLE OF UNIT
lo SwlTcH SElllWM.
EkAMPLE SWITCH IS SET
FOR UNIT -ESS
9.
00
b
4
I
,
UYlT
ID
,
1
,
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
,
,
,
)
/
.)
,
,
/
,
,
L
,
,
,
,
,,
,
)
I!
x
:
1
1
X
x
X
X
x
x
X
X
X X
_
Figure 2.3
x
1
xe
X
xx
x.
x .x.
x XI
x XIX
1
DIP SYlTCH
POSITIOu
8 7.615'4 3~2 1
1X X X X X
X~~
I
.x
Ix
OX
lx
Xl
,X X
x!
Ix
.
_Xi
IX
.X
Xl
X Xi
X , XtlXX
~.
XXIX
~
41
42
43
44
45
46
47
48
49
SO
51
52
53
54
55
61
62
63
64
65
DIP WITCH
POSITION
J7.6
514.3!2;1,
1
X X!X Xi IX +
1
[X!XiXiXiXl
1
X X X(XiXfX
1 X
1 !
1 .X,
67
60
69
!
1
WIT
ID
x lx1 I
1 40
Ix
x xl
Ix x
I
x x
x
xxx
xxlxx
.I
X
0
DIP SUXTCH
WIT
POSTTIOY
ID
817 6.51413 .2 1
1
Xl31
I
Ix
32
33
_~ xx
I !
OX. .
34
.I
x
35
36
37
..i.~~:XX
!
_ x X X
1
38
.X
x
X
39
1
1
I
ix
xl 1 ,x
Xl .X1 Xi
x _I
X xl
71 IX 1x.x1 I
X
x xi ,x
xl x XIX1
xx
, xx
tX X
X x
XX
XX
1 XA
1x1 !
~ IXIXJ
71
72
73
74
75
76
79
80
81
Xl X11 83
XX
184
XXX]
85
X
X
1 T11
IX
x.
L X
' .xl 1
I
xl
XI
Ixl
xl I
XT
'XT x
XLX
x11 .x
1
Xl x
x1.x
1x1 x
.
X
IX
I,
T
x lXlX!Xj
I I (
x, I Ix,
x lx!
x lxix
x XI !
x xl ix
X~XIXL
x xlxlx
' I
1 x
Lx
(XX/
x
.
x ix
I f
= Switch in the ON position
DIP-SWITCH
SETTINGS FOR CPU 16 SELECTION
GEK-90477
installation
Communication
and Operation
Port Configuration
2-6
of the DCU
DIP Switches
The top group of eight DIP switches on the right side of the DCU determines
the set-up
parameters
for the communication
port (refer to Figure 2.2 for location of the switches).
The settings
for the communication
set-up
parameters
are shown in Table 2.1.
To
execute
the Loop Back Test, the ON/OFF-LINE
SWITCH must be in the OFF-LINE
mode. Switches 7 and 8 are not used.
Table 2.1
COMMUNICATIONS
PORT CONFIGURATION
DATA RATE SELECTION (BPS)
*300
1200
9600
19.2 k
DIP-SWITCH
DIP-SWITCH NUMBER
1
2
OFF
OFF
ON
OFF
OFF
ON
ON
ON
DIP-SWITCH NUMBER
PARITY SELECTION
3
Parity ENABLED (Odd parity
generated and checked).
*Parity DISABLED (No parity
is generated or checked).
LOOP-BACK TEST
(Special Connector Required)
Enabled
*Disabled
TURN-AROUND DELAY
OFF
DIP-SWITCH NUMBER
4
ON
OFF
DIP-SWITCH NUMBER
5
OFF
ON
* 0 ms delay
10 ms delay
DIP-SWITCH NUMBER
6
ON
OFF
POWER-UP MODE**
Program/Stop Mode
*Run Mode
*Factory set default posit ion.
**See section, Power Cycle Conditions
ON
Affecting
System Operation.
SETTINGS
GEK-90477
Installation
and Operation
EXTERNAL
POWER SUPPLY
2-7
of the DCU
CONNECTOR
The external
power supply connector
(see Figure 2.2) allows the
operating power (5 V dc at 0.5 A) from an external
power supply.
cable is provided with the DCU for external power supply connection.
follows:
White: +5 V dc (+S%) at 0.5 amps
Black: Logic ground of power supply
Green: Power system ground
DCU” to receive its
A three conductor
Its color code is as
POWER SUPPLY SELECT SWITCH
There is a power supply select switch on the back of the module to select internal (CPU)
or external power for the DCU. An adjacent
label indicates
correct
switch orientation
for each selection.
USING THE DCU WITH CPU RACK
POWER
It is recommended
that a Series One high-capacity
power supply, IC610CHSllOA,
114A,
120A, or l24A be used when installing
a DCU in a system.
If a high-capacity
power
supply is not used, then the DCU should be powered by an external +5 V dc power supply.
If a standard (low capacity)
Series One power supply is used with the DCU, inconsistent
CPU or communications
operation will result.
NOTE
l
Even if a high-capacity
power supply is being used in the CPU rack,
inconsistent
CPU or communications
operation
may be observed
depending on the number and unit load of I/O modules installed
in
the rack. Refer to Tables 2.2 and 2.3 for units of load supplied by
the different
racks and used by I/O modules and other system
devices.
Table 2.2 SERIES ONE UNITS*
CATALOG NUMBER
DESCRIPTION
+5 V
IC610CHSlOOA
ICdlOCHSllOA
IC6lOCHS114A
IC610CHSl20A
ICdlOCHSl24A
IC6lOCHS130A
ICdlOCHS134A
*
x
**
S-slot
S-slot
S-slot
100slot
100slot
100slot
100slot
std cap
hi cap
hi cap 24 V dc
hi cap
hi cap 24 V dc
hi cap
hi cap 24 V dc
OF LOAD (SUPPLIED)
POWER SUPPLIED IN UNITS OF LOAD
+24 V EXT
+24 V
+9 V
40
140
140
140
140
140
140
80
80
80
160
160
170
170
20
40**
40
40**
40
so**
50
10
10
10
-
1 unit = 10 mA
If an external sensor is connected to the 24 V + and - terminals
on the power supply,
the current used by the sensor (up to a maximum of 100 mA), should be deducted from
the available listed units of load.
GEK-90477
Installation
and Operation
Table 2.3 SERIES ONE UNITS*
CATALOG NUMBER
IC6lOCPUlOlC
IC6lOCPUlOSA
IC610PRGlOOB
IC6lOPRGlOSA
1C610MDL101A
IC6lOMDLlOZA
IC610MDLlO3A
IC610MDLlObA
1C610MDL105A
IC6lOMDL106A
IC61OMDL107A
IC6lOMDLllOA
IC61OMDLlllA
IC610MDLllZA
IC610MDLllSA
IC61OMDL124A
IC61OMDL125A
IC610MDLL26A
IC610MDL127A
IC610MDL15lA
IC610MDLLSZA
IC610MDLl53A
IC610MDLlStA
IC6lOMDLlSSA
IC6lOMDL156A
IC6lOMDL157A
IC610MDL158A
IC610MDL175A
IC610MDL176A
IC610MDL180A
IC610MDL182A
IC610CCMlOOA
IC610CCMlOSA
ICdlOCCMllOA
IC6lOCCMlllA
IC6lOPER151A
IC610PER154A
*l unit = 10 mA.
2-8
of the DCU
DESCRIPTION
(CIRCUITS)
OF LOAD (USED)
POWER USED IN UNITS OF LOAD
+24 V
+9 V
+5 V
25
CPU
25
CPU
Programmer
6
6
Programmer
Inp 24 V dc sink (8)
Inp 24 V dc src (16)
I/O 24 V dc (4/4)
I/Relay Out 24 V dc (4/4)
Thumbwheel Interf (4x16)
Inp 24 V dc sink w LEDs (16) Inp 24 V dc sink load (16) Hi Speed Counter (1)
Inp 24 V ac/dc (8)
Inp 24 V ac/dc sauce (16)
I/O Fast Response (4/Z)
I/O Simulator (8)
Inp 115 V ac (8)
Inp 115 V ac isolated (4)
Inp 230 V ac (8)
Out 24 V dc sink (8)
Out 24 V dc sink (16)
Out 24 V dc sink (4)
Out 24 V dc sink/src (4)
Out 24 V dc src (8)
Out 24 V dc sink w LEDs (16) Out 24 V dc sink w LEDs (16) Out 24 V dc src w LEDs (16) Out 115/230 V ac (8)
Out 115/230 V ac isol (4)
Out Relay (8)
Out Relay (16)
Data Comms Unit
30
Data Comms Unit
30
I/O Link Local Module
60
I/O Link Remote Module
60
Printer I/F
26
'Low Cost PROM Writer
80
Calculations
are based on the worst case--all
5
5
1
2
2
20
1
3
3
7
1
13
8
1
1
1
1
2
5
1
1
3
4
4
20
16
8
34
48
-
10
19
7
6
10
24
23
6
11
3
4
1
10
l
10
10
-
-
inputs and outputs on.
GEK-90477
Installation
and Operation
of the DCU
2-9
.
INSTALLING
To install
THE DCU
the DCU:
1. Set the internal/external
power switch to the desired position.
2. Position
the CPU (unit) ID and port configuration
DIP switches
to the desired
position (see Figure 2.3 and Table 2.1).
3. With the Series One, Series One Junior,
or Series One Plus CPU power off,
connect the DCU to the CPU and the programmer
to the DCU (if desired) as
shown in Figure 2.4.
If, before powering
up, the ON-LINE/OFF-LINE
switch
is placed in the ON-LINE
position, after power up the PWR, RUN, and DIAG indicators
should light in that order.
For more information
on power--up conditions
affecting
the CPU and communications
status see Table 2.4.
NOTE
The Series One CPU version
must be Revision
B or later.
TPK.A.40374
L’
BOTTOM SIDE
OF SERIES ONE
PROGRAMMER
COMMUNICATIONS
CONNECTS TO
SERIIES ONE/JUNIOR/PLUS
CPU
Figure
2.4
CONNECTING
THE PROGRAMMER,
DCU, AND CPU
GEK-90477
installation
POWER CYCLE
and Operation
CONDITIONS
of the DCU
AFFECTING
2-10
SYSTEM OPERATION
When power is cycled, the resulting CPU and communications
status d6pends upon the
position of the DCU ON-LINE/OFF-LINE
switch and power-up mode switch, whether the
programmer is attached or detached, the programmer mode switch position, and the
condition of the CPU battery.
See Table 2.4.
Table 2.4
POWER CYCLE CONDITIONS
AFFECTING
SYSTEM OPERATION
(The user program is assumed to be in CMOS RAM).
DCU
PROGRAMMER
RESULTING CPU AND COMMUNICATIONS
STATUS ON POWER CYCLE
ON-LINE/
OFF-LINE
SWITCH
POWER-UP
MODE DIP
SWITCH 6
ATTACHED/
DETACHED
MODE KEYSWITCH
POSITION
On-Line
Off(Run)
Attached
Run
CPU in Run mode with communications active.
On-Line
On(Prog)
Attached
Run
CPU in Program mode with
communications active only for
the following serial requests:
Read or command Run/Program and
Read Diagnostic Status Words.
The DCU will return in the status
code a hexadecimal 10 to indicate
that a power cycle has occurred.
Off-Line
On or
Off
Not
Attached
Off-Line
*
On or
Off
Attached
CPU is in the same mode in which
it powered down, communication is
inactive since the unit is off
line. (Communications will be
active on off line to on line
transition).*
-
CPU is in whatever mode the keyswitch is set for with communications not active.
For Series One CPUs versions A or 6, the resulting
same, but the resulting
CPU status is that the CPU
communications inactive.
communications
is in Program
status is the
mode with the
GEK-90477
Installation
and Operation
of the DCU
2-11
NOTE
The following
statuses
condition
in the CPU.
Table 2.4
POWER CYCLE
DCU
result
CONDITIONS
only
when there
AFFECTING
PROGRAMMER
is a
low
battery
SYSTEM OPERATION
(continued)
RESULTING CPU AND COMMUNICATIONS
STATUS ON POWER CYCLE
ON-LINE/
OFF-LINE
SWITCH
POWER UP
MODE DIP
SWITCH 6
ATTACHED/
DETACHED
MODE KEYSWITCH
POSITION
Off Line
On or Off
Not
Attached
CPU in Program mode with communications inactive since unit is off
line.
On Line
On(Prog)
Not
Attached
CPU in Program mode with communications active. DIAG LED will be
ON and and RUN LED will be OFF.
On Line
Off
(Run)
Not
Attached
CPU in Program mode with communications inactive. DIAG and RUN
will be OFF. Unit must be
manually set to Program/Stop mode
and the E-21 error cleared (if it
has occurred) before commmunications can resume.
GEK-90477
Installation
INSTALLATION
and Operation
of the DCM
3-1
This chapter describes the operation
of the DCM’s user interfaces
(LEDs, switches,
ports) and the installation
of the Data Communications
Module (DCMI (IC630CCM300).
DESCRIPTION
AND OPERATION
The various indicator
shown in Figure 3.1.
lights,
connectors,
and configuration
mn
DIP switches
0
MO
-0
a
:n
(n
CPU
I
0
l
‘.
:*
.
l.
:* .
l.
:* .
3
.:*
:*
.3
:*
.
:a.
:*
0
l
4
\
.couu ,
0+
l
l
0
4
c
,
q
-a-
Figure
3.1
and
OF THE DCM’S USER INTERFACES
for the DCM are
TPK.A.40007
*
*
CHAPTER 3
AND OPERATION
OF THE DATA COMMUNICATIONS
MODULE
c1
FOR THE SERIES THREE PC
FRONT
AND REAR VIEW OF THE DCM
GEK-90477
Installation
and Operation
3-2
of the DCM
LED INDICATORS
The three status LED’s on the front of the DCM convey the following
infor”mation:
Status LED
State
Description
DATA
On
Data being transferred to/from the
communication port.
Off
Data not being transferred to/from the
communication port or data incorrect
due to:
1
0
20
30
DIAG
PWR
Parity overrun or framing errors;
Invalid header, data block, control
character, or checksum;
Time out on serial sink.
On
Power-up hardware diagnostics have
passed.
Off
Power-up hardware diagnostics have
failed.
On
5 V dc power to DCM is connected.
Off
5 V dc power to DCM is not connected.
NOTE
Power to the DCM can come from the Series Three CPU or external
supply depending on position of power select switch.
When the
power supply select switch is in the EXT position, power must be
supplied through the external power supply connector on the front
of the DCM. See Figure 3.1.
GEK-90477
FRONT
installation
and Operation
3-3
of the DCM
PANEL CONNECTORS
a-
Three connectors
1.
2.
3.
on the front
of the DCM provide
Series Three CPU (CPU Connector);
External serial device (Communications
External power supply.
Each of these interfaces
are described
an interface
to:
Connector);
and
below.
Series Three CPU Connector
The CPU connector
(25pin
male, D-type) ties the DCM to the Series Three CPU. All
communication
with the Series Three, as well as operating
power (if the power supply
The cable
select switch
is set to internal)
is transmitted
through
this interface.
(lC630CBL395A)
is provided with each DCM for the link.
Communications
Connector
The communications
devices.
A detailed
External
connector
description
(25pin
female, D-type)
connects the DCM to external
(pin by pin) of this connector is shown in Chapter 4.
Power Supply Connector
The external power supply connector allows the DCM to receive its operating
power (5 V
Users with
Series Three
power
supply
dc at 0.5 A) from
an external
supply.
lC630PWR3OOA require an external
power supply to operate a DCM. Other Series Three
power supplies may or may not necessitate
the use of an external power supply for proper
operation of the DCM. This is dependent on the number and type of I/O modules in the
CPU rack.
Refer to Tables 3.2 and 3.3. A three conductor
cable is provided with the
DCM for external power supply connection.
Its color code is as follows:
WHITE:
BLACK:
GREEN:
+5V DC (+ 5%) at 0.5 amps
Logic gr&nd of power supply
Power system ground.
GEK-90477
Installation
DCM CONFIGURATION
and Operation
of the DCM
3-4
SWITCHES
The ON/OFF line switch is located on the front of the DCM.
switches are located on the back of the DCM as shown below.
The othk
configuration
TPK.A.40226
.
.
I
-ON
L
t
I
PWR
EXT
I
IN1
LL
Figure
ON/OFF-LINE
3.2
LOCATION
OF THE DCM CONFIGURATION
Switch
The ON/OFF-line
disables the serial
switch which
communications
is recessed on the front panel
with the Series Three CPU.
OFF LINE: Serial communication
CPU is under control
ON LINE:
SWITCHES
between the DCM
of the programmer.
Serial communication
between
programmer
is not functional.
the DCM
of the
DCM
enables
or
and CPU
is disabled,
and
and
is enabled,
and the
CPU
the
GEK-90477
Installation
and Operation
of the DCM
3-5
NOTE
The terminal
LED indicator
on the face
identifies
the status of the serial link between
Terminal
Terminal
Interaction
LED ON:
LED OFF:
between the DCM ON/OFF-LINE
DCWCPU
DCM/CPU
of the Series Three
the DCM and CPU.
interface
interface
enabled.
disabled.
switch and the CPU Keyswitch
In order to establish or maintain
the serial link between the DCM and the Series Three
CPU, the CPU keyswitch
must be in the Run 1 or Run position,
and the DCM
ON/OFF-LINE
switch in the ON-LINE
position.
If the CPU keyswitch
is ever taken out
of the Run l/Run position when the serial link is enabled, the link will become disabled
and the TERMINAL
LED will turn off.
To re-enable
1.
2.
communications:
Put the CPU keyswitch back in Run 1 or Run position,
Cycle the ON/OFF-LINE
switch on the DCM with the final
LINE.
position
NOTE
Once the link is established
and the TERMINAL
LED is on, the
Series Three CPU can be put in either Stop/Program
or Run mode*
by a serial request from the master device on the link.
See the
application
examples in Chapter 5.
being
ON
GEK-90477
Installation
and Operation
of the DCM
3-6
CPU (Unit) ID DIP Switches
The top group of eight DIP switches
located on the back of the DCM (see Figure 3.2),
determine
the CPU ID of l-90.
The switch configuration
associated
with each ID is
shown in Figure 3.3.
TPK.A.40223
\
EXAMPLE OF UNIT
SWITCH SETTlNGS.
EXAUPLE SWlTCH IS SET
Fm UNIT ADDRESS9.
10
L
la0
1
I
L
r
I
I
Jcr>
m
Iw
.
/
Jo
NOT
USE0
%E;
]b
)m
WO-
,
1
UNIT
ID
2
3
4
5
6
07
DIP WITCH
POSITION
~8 7 6.514 3'2.1,
I
1,X
X
xx
Xl
x
x
xx
1
Ix ~X,X x
9
10
. I
1
,
,
,
,
,
,
,
,
,
,
,
/
,
,
,
)
,
,
,
,
,
,
,
,
,
,
1
20
21
22
23
24
25
26
lx
x
x
x
x x
1
.x
xxx1
~ xx
I .X.X
,x.
,
I .x.x. x
I!
14
15
16
17
18
19
Ix1
x,
X
AX
1
1
28
I
I
29
30
I.1
XXX
Ix
59
1 - 1 _X_X.X_Xi _ 60
3.3
= Switch
XX
JX
Xx
51
52
53
54
55
56
57
27
X
Figure
31
32
33
34
35
36
37
38
39
40
_
XI x xl 41
xx
42
I 1 lx x. ,x
43
I
x xix1 , 44
x xix x
45
. X.11..
. 46
x
47
X
x
X
48
.X.
x x, 49
50
11
12
13
x
x.
UNIT
ID
x
in the
1
58
DIP WITCH
UUIT
POSITION
ID
81716 51413 211
1 X'XlX X!XI 61
Ix
I 62
63
IX
64
i
IX
,X Xf
x
'.
XX
65
x
x
~66
Xt,
,
Xt, !X
T
67
.x
xx
68
X
XXX
69
,x
xl
70
x
xi
x
71
. ,x .x1 ,x
72
1 1 ..
x ,xl Ix x, 73
T
x XI
74
X
Ix, x x
x
75
.
IX
XXX
76
x x x x, 77
OX
,xx,
1 78
, 1 /x,x
1 .x1 79
Ix x
Ix i 80
/XX
1Xx1
81
1
Ix x, x
I 82
IX X
X -Xi 83
lxx
xx
84
1 I Ix x OX x,x
85
xxx
86
x x.x
X
87
I
x x,x,
Ix
08
X XIX! X X
89
_ . .X.X1X1X. 1 L 90
,
SWITCH
POSITION
18 7 615]413!2!1
xlxlx_xl Ix 1
xixlx xlxi ,
1
I
[l
X x!x!x,xix]x
1
Xl
IX
X.
xlI 1
1 , X .~
Xix
1
X
XI ! ,
X
XI x,
Xl
~XIX (
X
x1x1x
X~
Xi 1 [ ~
_. .x
xl I Ix
X
X~ ix1 (
X
x ix/x
x,
ixlxl I .
r x11
x Xl ;x
xl
x xix; (
XT
rx xlxix (,
xl x I
xi .x
. x.
,xl x
x, 1
x Ix
xx+
X iX
X
.x lx
x
X<
OX Ix
xx.
x Ix
X,XiX ,,
, X .XX
f .X' x x,
x.,
i .X
X./x] I(, (
DIP
OU position
DIP-SWITCH
SETTINGS
FOR CPU ID SELECTION
i
GEK-90477
Installation
Communication
and Operation
Port Configuration
of the DCM
3-7
DIP Switches
The bottom group of eight DIP switches
on the back of the DCM selects the mode of
operation for the communication
port (refer to Figure 3.2 for location of switches).
The
various settings
for the communication
set up parameters
are shown in Table 3.1. To
execute the loop-back test the ON/OFF-LINE
switch must in the Off-Line
mode.
Table 3.1
COMMUNICATIONS
PORT CONFIGURATION
DATA RATE SELECTION (BPS)
*300
1200
9600
19.2 k
PARITY SELECTION
DIP-SWITCH
SETTINGS
DIP-SWITCH NUMBER
1
2
OFF
OFF
ON
OFF
OFF
ON
ON
ON
DIP-SWITCH NUMBER
3
Parity ENABLED (Odd parity
generated and checked).
*Parity DISABLED (No parity
is generated or checked).
ON
OFF
l
LOOP-BACK TEST
(Special Connector Required)
Enabled
*Disabled
TURN-AROUND DELAY
* 0 ms delay
10 ms delay
KEYING SIGNAL
Enabled
*Disabled
*Factory
set default
posit ion.
DIP-SWITCH NUMBER
4
ON
OFF
DIP-SWITCH NUMBER
5
OFF
ON
DIP-SWITCH NUMBER
6
ON
OFF
.
GEK-90477
Installation
and Operation
of the DCM
3-8
POWER SUPPLY SELECT SWITCH
There is a power
internal
(CPU) or
switch orientation
in this chapter for
supply select switch on the back of the module for fhe selection
of
external
power for the DCM.
An adjacent
label indicates
correct
for each selection.
See the section, External Power Supply Connector,
information
on the installation
of an external power supply.
USING THE DCM WITH CPU RACK
POWER
Users with Series Three power supply IC630PWR300A
require an external
5 V dc power
supply to operate
the DCM.
If power supply IC630PWR300A
is used with the DCM,
inconsistent
CPU or communications
operation
will result.
NOTE
Even if a high-capacity
power supply is
inconsistent
CPU or communications
depending on the number and unit load
the rack. Refer to Tables 3.2 and 3.3
the different
racks and used by I/O
devices.
Table 3.2
CATALOG NUMBER
IC63OPWR30OA
IC63OPWR31OA
IC63OPWR314A
IC630PWR320A
IC63OPWR324A
* 1 unit = 10 mA.
SERIES THREE
UNITS*
DESCRIPTION
Standard
P.S.
Hi Cap.
P.S.
115/230
115/230
Hi Cap.
Hi Cap.
Hi Cap.
P.S.
P.S.
P.S.
24 Vdc
Remote
Remote
being used in the CPU rack,
operation
may be observed
of I/O modules installed
in
for units of load supplied by
modules
and other
system
OF LOAD
(SUPPLIED)
i
POWER SUPPLIED IN UNITS OF LOAD
Vat
Vat
I/O
I/O
115/230Vac
24 Vdc
+5v
+12v
250
300
300
300
300
100
200
200
200
200
b
GEK-90477
Installation
and Operation
Table 3.3 SERIES THREE
ZATALOG NUMBER
IC630CPU301A
IC630MDL301A
IC630MDL302A
IC630MDL303A
IC630MDL304A
IC630MDL306A
IC630MDL310A
IC630MDL311A
IC630MDL316B
IC630MDL324A
IC630MDL325A
IC630MDL326A
IC630MDL327A
IC630MDL351A
IC630MDL352A
IC63OMDL353A
IC63OMDL354A
IC630MDL356A
IC630MDL357A
IC630MDL366A
IC630MDL367A
IC630MDL368A
IC630MDL375B
IC630MDL376B
IC630MDL380A
IC630CCM300A
IC63OCCM3lOA
IC630CCM311A
IC630PER320A
IC630PER321A
IC630PER330A
IC63OPER331A
* 1 unit
= 10 mA.
DESCRIPTION
(CIRCUITS)
3-9
of the DCM
UNITS*
OF LOAD (USED)
POWER USED IN UNITS OF LOAD
+12 v
+5 V
CPU/Programmer Unit
Inp 24 V dc sink (16)
Inp 24 V dc sink (32)
Inp 5-12 V dc sink (32)
I/O 24 V dc sink (16/16)
Inp 24 V dc sink w LEDs (32)
Hi Speed Counter (1)
Inp 24 V ac/dc src (16)
Analog Inp 1-5, l-10 V dc (2)
I/O Simulator (16)
Inp 115 V ac (16)
Inp 115 V ac isolated (8)
Inp 230 V ac (16)
Out 24 V dc sink (8)
Out 24 V dc sink (16)
Out 24 V dc sink (32)
Out 5-12 V dc sink (32)
Out 24 V dc sink w LEDs (32)
Out 24 V dc src (16)
Analog Out l-5 V dc, 4-20 mA (2)
Analog Out -10 to +lO V dc (2)
Analog Out O-10 V dc, 4-20 mA (2)
Out 115 V ac (16)
Out 115 V ac isolated (8)
Out Relay 5-265 ac/dc (16)
Data Comms Module
I/O Link Local
I/O Link Remote
I/O Link Local F'brOpt P-P
I/O Link Remote Fbr Opt P-P
I/O Link Local F'brOpt M-P
I/O Link Remote F%r Opt M-P
Calculations
are based on the worst case--all
150
11
5
5
9
8
20
9
30
11
17
6
9
2
4
10
16
10
2
33
33
33
4
4
4
50
80
80
80
80
80
80
inputs
-
10
18
39
30
39
64
l
-
-
and outputs
on
GEK-90477
Installation
INSTALLING
To install
1.
2.
3.
4.
and Operation
of the DCM
3-10
THE DCM
the DCM:
Set the internal/external
power switch to the desired position.
Position the unit address (ID) and port configuration
DIP switches to the desired
position (see Figure 3.3 and Table 3.1).
Mount the DCM in the Series Three rack or outside the rack within about 5 feet
of the CPU.
With the Series Three power off, connect
the DCM to the CPU using cable
IC630CBL395A
as shown in Figure 3.4.
If, before powering up, the DCM ON-LINE/OFF-LINE
switch is placed in the ON-LINE
position and the Series Three CPU switch is in the RUN position, after power up the PWR
and DIAG indicators
on the DCM should light in that order.
In addition,
the RUN and
For more information
on power-up
TERMINAL
indicators
on the CPU should light.
conditions affecting
the CPU and communications
status see Table 3.4.
TPK.A.40458
Figure
3.4
CONNECTING
THE DCM TO THE CPU
GEK-90477
Installation
POWER CYCLE
and Operation
CONDITIONS
3-11
of the DCM
AFFECTING
SYSTEM OPERATION
When the power is cycled, the resulting CPU and communications
status
position of the DCM ON-LINE/OFF-LINE
switch as shown in Table 3.4.
Table 3.4
a
depends
upon the
POWER CYCLE CONDITIONS AFFECTING
SYSTEM OPERATION
(The user program is assumed to be in CMOS RAM).
DCM
CPU KEY-SWITCH
On-Line
Run
CPU in Run mode with TERMINAL mode
indicator ON.
Off-Line
Run
CPU in Run mode with TERMINAL mode
indicator OFF.
RESULTING CPU AND C.OMMUNICATIONS
STATUS ON POWER CYCLE
\
GEK-90477
Electrical
ELECTRICAL
Interface
INTERFACE
Circuits
4-1
CHAPTER 4
CIRCUITS AND DIAGNOSTICS
FOR THE DCU AND DCM
This chapter describes the port characteristics,
cables, and diagnostics for the DCU and
DCM. Since the characteristics
of the communications port on the DCU and DCM are
nearly identical, the information in this chapter (with marked exceptions) applies to both.
PORT CHARACTERISTICS
The communications
port on the DCU and DCM is a 25pin,
The pin definitions for the port are given below.
female,
D-type
connector.
TPK.A.40375
PIN
PIN
14
/
PIN 4
SIGNAL DEFINITION
7
LOGIC GROUND
IO
RTS,RS-422 OUTPUT+
II
RTS,RS-422 OUTPUT- (DAISY CHAIN OUT1
I2
CTS ICLEAR TO SEND),RS-422 INPUT+
I3
I4
CTS,RS-422 INPUT TRANSMIT DATA,RS-422 OUTPUT + (DAISY CHAIN OUT)
15
TRANSMIT DATA,RS-422 OUTPUT - (DAISY CHAIN OUTI
I6
RECEIVE DATA,RS-422 INPUT - (DAISY CHAIN OUT)
17
RECEIVE DATA,RS422,1NPUT
19
KEYOUT RELAY (+I
20
22
KEYOUT RELAY (-1 >
TRANSMIT DATA,RS-422 OUTPUT + (DAISY CHAIN IN1
23
TRANSMIT DATA,RS-422 OUTPUT - (DAISY CHAIN IN1
24
RECEIVE DATA,RS-422 INPUT - (DAISY CHAIN IN1
25
RECEIVE DATA,RS-422 INPUT+
(DAISY CHAIN OUT)
l
+ [DAISY CHAIN OUT)
* -FOR DCM ISERIESTHREE ONLY1
NO CONNECTION FOR DCU
(DAISY CHAIN INI
+ ONLY PINS WITH SIGNAL CONNECTIONS ARE LISTED
Figure 4.1
COMMUNICATIONS
CONNECTOR
PIN ASSIGNMENTS
GEK-90477
Electrical
COMMUNICATIONS
Interface
4-2
Circuits
PORT MATING
CONNECTOR
A mating 2%pin male, D-type
connector
is provided
Figure 4.2 as a guide to assemble this connector.
with
each
DCM
a”nd DCU.
Use
TPK.A.40009
c,
FRICTION TAPE OR
EQUIVILANT
TO INCREASE
STRENGTH
OF CLAMP
1
3
25 PIN
MALE
CONNECTOR
\
I
Figure
4.2
ASSEMBLY
r
OF MATING
CONNECTOR
CABLE SELECTION
The following
cables will provide acceptable
operation,
at a maximum of 4000 feet (1200
meters) and a maximum
transmission
rate of 19.2 kbps, for an W-422
communication
system using DCUs or DCMs when other guidelines are followed:
Manufacturer
Manufacturer’s
BELDEN
BELDEN
NEC
(Equivalents
Under conditions
distances.
Number
9184
9302
222PISLCBT
of these cables will provide
where
electrical
noise
acceptable
operation).
is low, it may be possible
to extend
the maximum
GEK-90477
Electrical
CATALOG
NUMBERS
Some fixed
length
Interface
Circuits
4-3
FOR GE SUPPLIED
CABLES
cables as listed below can be purchased through GE.
DESCRIPTION
Workmaster to Adapter Unit
DCU or DCM to Asynchronous/Joystick
Card
DCU or DCM to Adapter Unit
Comms Link/Test Connector
CATALOG NUMBER
LENGTH
IC630CBL390B
IC630CBL391A
3 feet (1 meter)
13 feet (4 meters)
IC630CBL392A
IC630CCM394A
10 feet (3 meters)
-
GROUNDING
CARE SHOULD BE EXERCISED
TO ENSURE THAT BOTH THE
DCU OR DCM AND THE DEVICE TO WHICH IT IS CONNECTED
ARE
GROUNDED
TO
A
COMMON
POINT
IN
DIRECT
CONNECTIONS.
FAILURE
TO DO SO COULD
RESULT
IN
DAMAGE TO THE EQUIPMENT.
RS-422 DIRECT
CABLE DIAGRAMS
The RS-422 signal nomenclature
M-422
EIA standard as follows:
used in this
manual
can
be cross
referenced
tc, the
.
I
CCM SIGNAL NAME
RS-422
RS-422
RS-422
RS-422
out + (TXD+)
out - (TXD-)
in
in
+ (RXD+)
- (FtXD-)
RS-422 STANDARD SIGNAL NAME
B
A
B'
A'
During a mark condition (logic l), B will be positive with respect to A.
condition (logic 0), B will be negative with respect to A.
During
a space
.
GEK-90477
Electrical
Interface
Circuits
4-4
When connecting the DCU or DCM to a non-Series Six master device using the M-422
standard, the non-Series Six device’s line receiver must contain “fail safe” capabilitiy.
This means that in an idle, open, or shorted line condition, the output of the line receiver
chip must assume the “marking” state.
NOTE
When using RS-422, the twisted pairs should be matched so that
both transmit signals make up one twisted pair and both receive
If this is not done,
signals make up the other twisted pair.
cross-talk
can occur and severely affect the performance
of the
communication system.
SELECTION
OF TERMINATING
RESISTORS
It is necessary to terminate
an M-422
link with the proper resistance in order to
minimize reflection on the line. For point-to-point
links with a master and a single
slave, the factory-supplied
resistor with a value of 150 ohms has been found to provide
satisfactory termination for cable lengths of 10 feet to 4000 feet.
This resistor should be installed in the connector at either end of a point-to-point
or
multidrop link between the receive data (+) and receive data (-1 pins. No termination
resistor is needed for intermediate
drops on a multidrop link. The daisy chain out
connections are provided to allow direct soldering of the terminating resistor.
In a multidrop configuration
(where terminating
resistors
are installed
at the first and
last drops only), it may be necessary to replace the factory
supplied terminating
resistor
at the last active receiver
in the communication
link. This resistor should be between
120 ohms and 240 ohms; its actual value will vary with the distance from the master
transmitter and the number of drops on the multidrop link.
GEK-90477
Electrical
POINT-TO-POINT
Interface
4-5
Cjrcuits
DCU OR DCM TO SERIES SIX CCM OR HOST COMPUTER
TPK.A.40225
PIN
MASTER
DEVICE
SERIES
SIX
CCMZ
OR
HOST
l
\
0
0
3
3
3
3
0
=
4
TXD +
TXD-
I8 1 .17 r -x
25
24
/‘
RXD +
RXD -
I
I
1
7
GND
RS-422 CABLE,
SLAVE
DEVICE
c
c
1
t
0
0
=I
Rc::
I 5’
-I
I
DCU
OR
DCU
c
c
0
0
1 7
2%PIN FEUALE
250PIN MALE
\
l INSTALL 'IERYINATINGRESISTOR
MULTIDROP
PIN
.
!-I
! ! =
I
1
3
>
I
.
r;-PIN MALE
FEMALE
E-PIN
(PINNUMBERS
ARE FOR SERIESSIX 32 PORTONLYI
4-WIRE
TPK.A.40227
(PIN NUMBERS ARE FOR SERIES SIX 32 PORT ONLY)
MASTER
DEVICE
.
\
0
=
0
0
0
3
SERIES
SIX
CCY2
OR
HOST
3
=
q
=
-
TXD+
TXDRXD+
RXDRTS
CTS
3
3
0
0
0
9
250PIN FEMALE
b
\
-
GND
250PIN YALE
a--
t-
1 I6
1 I4
1 I5
7
RXD +
RXD TXD +
TXD RTS +
RTS-c=
CTS CTS +.
RXD +
RXD TXD +,
TX0 GND
=
-
/
0
0
0
0
C
SLAVE
DEVICE
c
DCU
OR
DCY
=
c
=
c
0
0
=
.
0
<
250PIN FEMALE
ZS-PIN MALE
,
RXD
RX0
TXD
TX0
RTS
RTS
CTS
CTS
GND
+ INSTALL TERYINATING RESIST0
+
+.
+
+
25PIN MALE
=
-
0
0
r
c
SLAVE
DEVICE
c
c
DCU
OR
DCY
0
\
2S-PIN
FEMALE
' GEK-90477
M-422
Electrical
Interface
4-6
Circuits
LINK CONNECTOR
To simplify
the user wiring associated with 4-wire multidrop
configurations,
two sets of
M-422
terminations
are provided in the connector (daisy chain in and daisy chain out).
This allows you to have only one wire or solder connection
per pin. In the event that a
DCU or DCM on an intermediate
drop is disconnected
from the chain, however,
a link
connector
(catalog number IC630CCM394A)
must be installed
on the connector
of the
disconnected
drop to enable communications
further down the link. Figure 4.3 illustrates
the link connector.
TPK.A.40008
COW
0
TXD-
0
0
0
0
0
,1X0+
0
0
0
0
0
0
j,
RXD+
-
RXD-
-
0
TXD-
0
TXD+
I
A
INTER NAL
CONNEC TIONS
25PIN FEMALE
CONNECTOR
Figure
4.3
LINK
CONNECTOR
USED WHEN A DCU OR DCM IS REMOVED
FROM A MULTIDROP
CHAIN
GEK-90477
Electrical
Interface
4-7
Circuits
.
MULTIDROP
M-422
CABLE,
2-WIRE
NOTE
A two-wire
M-422
multidrop
link may be implemented
by tying
RXD+ and TXD+ together at the DCU or DCM. This results in one
signal path which is a 2-wire M-422
multidrop.
When implementing
a 2-wire M-422
link with a host, the host must
contain
a tri-state
transmitter
which maintains
idle lines in a
Also, some host equipment
may not allow
high-impedance
state.
tying RXD and TXD together.
In this case, the user must use the
4-w ire mul t idrop.
TPK.A.40228
+
3
[PIN NUUBERS ARE fOR SERIES SIX J2 PORT GNLYI
PIN
/
TX0
PIN
11
1
/
SLAVE
DEVICE
RX0 +
TX0 RX0 -
DCU
OR
DCu
GND
1
25-W
FEMALE
1
J
X-PIN MALE
25-PIN UAiE
25-PIN FEYALE
NOTE
WEwUIRIWG
K-422 MULTIDROP
CABLES,
REFLECTIONS ON THE TRANSUISSION LINE
CAR BE REDUCEDBY CONFIGURING THE
CABLE IW A 3AlSY CHAIN FASHION AS
Mwu
BELOW.
MASTER
SlAVE MO.3
SLAVE NO.1
SLAVE MO.2
ALSO If lSRECOuMENDEDT0
MAKE ANY
WEtESSM’f CONNECTlObINSIDETHE CMLE
CONNECTOR TO BE WOUNTEDON THE Cut,
DCU OR DCU. 17 1s NOT RECOMMENDEDTO
USE fERUtNAL STRIPSOR OTHER TYPES
Of COMNECTORS ALONG THE LENGTHOF
fM TRANSMlSSlON LINE.
e
3
RX0 +
TX0 +
RX0 TX0 RTS+
RTSCTSCTS+
GND
2S-PIN MALE
0
0
SLAVE
DEVICE
M
c
c
t
c
DotR"
DCu
0
0
\
E-PIN FEUALE
NOTE
TERYINATINGRESISTORS
WOULD NOT BE INSTALLED
AT INTEKEDIATE DROPS.
*INSTALL TERUINATING RESISTOR
GEK-90477
MODEM
Electrical
Interface
CONFIGURATION
4-a
Circuits
CABLE
DIAGRAMS
In many cases, it is impossible to obtain a direct connection between
communications
system.
If greater distance between elements is needed,
introduced
into the configuration.
elements
of a
modems can be
The modems used on multidrop links must be switched-carrier,
carrier-sense,
full-duplex
modems.
These modems allow Request-to-Send/Clear-to-Send
control of the modem.
The modem carrier is turned on by the same signal that controls data transmission in the
direct connection.
The RTS and CTS signals correspond to the Standard Data Terminal
explained below.
Equipment
usage as
l
When the DCU or DCM is not transmitting,
the false state.
the handshake output line (RW
l
When the DCU or DCM has received
handshake output line is set to true.
l
After an optional turn-around delay, the DCU or DCM will check the handshake
input line (CTS) and begin transmittina
the data if the handshake input line is
true.
l
When the DCU or DCM has compl eted transmitting
line (FITS) will be set false.
0
If the handshake input line (CTS) changes back to false before the DCW or DCM
is finished transmitting,
the DCU or DCM will stop transmitting
at a character
boundary and wait for the handshake input line (CTS) to change back to true.
l
When flow control is used, the device implementing it must also guarantee that
(CTS) will become false anytime (RTS) is set to false at the end of a data block
a command
to transmit
data,
is in
some data,
the handshake
the
output
These rules explain the transmit function only. The standard DTE data receive function
is independent of the RTS and CTS handshake lines. The DTE is able to receive data at
any time.
GEK-90477
Electrical
Interface
Circuits
4-9
NOTE
If RTS and CTS are not being used for modem control,
these signals
must be jumpered
together
at the DCU or DCM connector or the
M-232 connector of the adapter unit.
POINT-TO-POINT
MODEM
CONFIGURATION
CABLE DIAGRAM
TPK.A.40229
PIN
9
UASTER 3
DEVICE o
?
SERiES 3
SIX
CCU2
3
OR
3
HOST
0
TX0
RX0
RTS
CTS
25-PIN FEMALE
0
0
3
DCU
OR
DCY
3
3
3
0
9
2S-PIN FEMALE
MODEL1 -2
-5
UODEM
-4
I
7,
.
0
IN
0
OUT
IN
OUT
C
c
.
4
=
-
GND
I=
0
\
ZS-PIN MALE
PIN
RXD+
RXDTXD+
TXDCTS+
CTSRTS+
RTSGND
PIN
.
25 w 24
?--x
22
23
12
13
IO
ll
7
’ . -x
. ?-x
L I -x
r
4
2%PIN MALE
*INSTALL TERMINATING RESISTOR
32
PORT
RS-232
25 PIN
FEUALE
0
I
t
Z-PIN MALE
.
\
Z3 _
45 I_
PIN
?
3
c
c
GND
SME
DEVICE
v
l
1-j
I I
! I
II
I
,
I
1
I
I
I
I
.
I
I
I
II
I
I
tl
)(z
=
>c3
=
25
24
22
23
12
13
IO
II
I7
RS-232
ADAPTER
UNIT
t
OUT+ =
OUT-IN+
INOUT+ OUT- =
IN+
INI
GND -
250PIN MALE
IC63OCCM3908
c
c
0
0
25 PIN
FEMALE
31
PORT
RS-422
GEK-90477
Electrical
MULTIDROP
Interface
MODEM
4-10
Circuits
CONFIGURATION
CABLE DIAGRAM
e-
TPK.B.40230
TELEPHONE
LINE
25PIN MALE
PIN
l
SLAVE
DEVICE
DCU
OR
DCY
2s b -
*
0
3
'
RX0 - 24,+->(iix
TX0 + 221-
4
-
TXDCTS+
CTS RTS+
RTSGM0
-
3
3
0
0
-
23
IO
II
7
l
2%PIN FEMALE
25PIN MALE
PIN
*
0
3
DCU
OR
DCU
'
3
3
0
0
25PIN FEMALE
-
=a
-
-cx
I
ii
”
-
10
II
7
)(z
l
.
SLAVE
DEVICE
, --c)(
1 1
!:
! i =
XI
PIN
?
2s
24
22
23
I3
12
RXO+
RX0 TXD+
TXDCTS+
CTSRTS+
RTSGND
25PM
2s
24
22
23
I2
I3
IO
II
7
MALE
*INSTALL TERYlNATlffiRESISTOR
ZS-PIN
R$-232
MAPTER UNIT
,
OUT+ OUT- IN+
=
INOUT+ OUT- IN+
IN- 11
GM0
+
MALE
0
0
0
I
c
P
c
PIN
JI
PORT
0
3
J2
PORT
RS-422
e,
RS-232
-
IN
OUT
IN
OUT
-
GM0
3
3
c
0
0
0
0
.~
25PIN YALE
25PIN
FEMALE
25PIN
FEMALE
l
RS-232
ADAPTER UNIT
PIN
OUT+
OUTIN +
INOUT+
OUTIN+
INGM0
2%PJW MALE
PIN
\
0
=
31
PORT
RS-422
=
-
I
32
PORT
3
-
IN
OUT
IN
OUT
RS-232
_L
2%PIN
FEMALE
0
3
25PIN
FEMALE
3
3
0
>
=
GND
+
25PIN
MALE
GEK-90477
Electrical
Interface
Circuits
DCU OR DCM TO WORKMASTER
COMPUTER
The DCU or DCM can be connected
two ways:
0
0
4-11
CABLE DIAGRAMS
to a Workmaster
computer
(operating
as a host)
From the DCU or DCM through the Adapter Unit (lC630CCM3906)
to the
Workmaster
RS-232 port on the Combination
Adapter Card, or
Directly
from the DCU or DCM through the RS-422 port on the optional
Workmaster
Asynchronous/Joystick
Interface card (IC640BGB311 A).
DCU OR DCM TO WORKMASTER
THROUGH
THE INTERFACE
ADAPTER
TPK.A.40376
PIN
,
D
RX0
0
0
0
0
g-PIN MALE
2
TXD
3
CTS
5
RTS
1 -
1 -
f-!
! !
PIN
7
13
’ 2
4
w
SERIAL
PORT
ON COMBINATION
ADAPTER CARD
OR
DCU
25PIN FEMALE
IN
25 PIN
FEUALE
I
c;
GND
1
I
1
25-P N MALE
PIN
v
DCU
IN
OUT
OUT
PIN
SLAVE
DEVICE
in
RXD +
RXD TXD +
TXD CTS+
CTSRTS+
RTS-
25
24
22
23
12
GND
25PIN
13
+-r
IO
1
(
!
v
I
1
I;
I
\
I
!
I
I
v
I; x
I
I
I
ll '_X"X
I
I
7
w
MALE
*INSTALL TERMINATINGRESISTOR
-
r 1+1 1 -x
L -
I
-
2s
24
! 22
+ . 23
I2
I3
, IO
1 II
7
I
25PIN
OUT+
OUTIN+
IN
ou;+
OUTIN+
IN
GNi
MALE
1
IC630CCM3900
RS-232
ADAPTER
UNIT
25 PIN
FEMALE
Jl
PORT
RS-422
GEK-90477
Electrical
Interface
DCU OR DCM TO WORKMASTER
Circuits
DIRECTLY
4-12
THROUGH
THE RS-422 PORT
e
TPK.A.40377
PIN
WORKMASTER
ASYNCHRONOUS/
JOY STICK CARD
9-P IN MALE
PIN
.
.
6
TXD + 2 1 o
TXD6 , -tx
ORXD+3io
fQo(7 :+-x&i
ORTS+4
\1
fiTS 8 , --x
CTS+51CTS9 .+-x
GND
I . .
*
4
f-1
f i ><
i!
!!
1 ! x
1;
f ! x
LI
25PlN FEMALE
125
+I 24
1 22
: 23
t 12
+. 13
1 IO
4 II
d 7
*
25PlN
.
RXD+:
RXD -:
TX0 + :
3
3
)
TX0 -: 3
CTS + L 3
CTS -1
)
RTS+:
3
RTS-1
2
GND
: 3
*
MALE
/I
0
0
C
SLAVE
DEVICE
DCU
OR
DCM
25Pt N FEMALE
+iNSTALLTERMINATINGRESISTOR
TEST DIAGNOSTICS
There are three sets of diagnostics
which are performed
upon the DCU
hardware.
These tests verify that the on board hardware is in working order.
and
DCM
l
POWER-UP
DIAGNOSTICS
When the DCU or DCM is powered
1.
2.
3.
up, the following
diagnostic
test is run.
A write/read
test is performed on all of the DCU or DCM RAM.
A checksum is calculated
on all of the DCU or DCM PROM.
The result
compared to a pre-calculated
value that is stored in PROM.
The communication
USARTS are programmed and checked for proper operation.
lf any of
inoperable.
performed.
LOOP-BACK
is
the above tests fail, the DIAG LED is turned off and the DCU or DCM is
When the power is cycled, the DCU or DCM is reset and the above tests are
DIAGNOSTICS
The loop-back
diagnostics
test
the DCU or DCM hardware
and communications
connector.
To execute the diagnostics,
the DCU or DCM must be Off Line and connected
to the CPU.
Also, the loop-back
test must be selected by placing configuration
DIP
switch 5 in the ON position.
The loop-back
test performs
the following
test sequence:
(5
1.
The power-up
diagnostics
DIAG LED will be turned
ON .
2
A serial loop-back
test using the special test connector
performed.
This procedure verifies
that all of the serial
operational.
l
A test pattern
then compared
above are performed.
If
OFF and if the diagnostics
shown in Figure 4.4 is
interface
hardware
is
is written
to the communications
port.
The received
to the transmitted
pattern for error detection.
When executing
the Loop-Back
Diagnostics,
diagnostic
testing is passing and BLINKING
attempted
but is not passing.
3.
these diagnostics
fail, the
pass, the DIAG LED will be
pattern
is
the DATA LED Will be ON if the
if the loop-back
verification
is being
With the DCU connected to the Series One or Series One Junior CPU or the DCM
connected to the Series Three CPU, a request will be made for data from the
CPU.
If this request is honored, the DATA LED will remain ON and if the
request fails, the DATA LED will be turned OFF.
TPK.A.40158
COMM
CfSI2 0
4
II
0
-0
IO 0
-0
0
0
0
0
0
0
0
0
0
0
0
IT
0
lir
0
IK
O
I4
_I
RX0-
TXD1
lXD+
>
SPIN MALE
CONNECTOR
Figure
4.4
LOOP-BACK
TEST CONNECTOR
GEK-90477
Communication
CHAPTER
5
EXAMPLES
USING THE
AS A MASTER
DEVICE
COMMUNICATION
This
chapter
communications
Plus, or Series
5- 1
Examples
explains
how
to
between
a Series
Three PC.
build
Six
the
Series
PC and a Series
SERIES
Six
ladder
One, Series
SIX
PC
diagram
One Junior,
to
initiate
Series One
INTRODUCTION
When a Series Six PC is part
Series
Three
PC, the Series
communications.
of a communications
link with a Series One/Junior/Plus
Six PC is the master
and therefore
the only
initiator
or
of
The SCREQ
function
programmed
into the Series Six CPU must be executed
to initiate
communications.
The Communications
Control
Module
(CCM2
or CCM3
in CCM2
mode>
in the Series Six CPU rack uses the information
supplied
by this function
to establish
communications
with the DCU or DCM and execute
a transfer
of data to or from
the
Series One, Series One Junior,
Series One Plus, or Series Three PC.
Refer
to the
Series
Six
Data
Communications
Manual,
GEK-25364,
for
details
on
using
the SCREQ command.
There are differences
in memory
types between
Series One, Series
One Junior,
Series One Plus, or Series Three PCs and the Series Six PC which affect
the
The differences
are explained
in this
programming
of the SCREQ command registers.
chapter,
and a number
of application
examples
are included
to assist
the
reader.
NOTE
PROM Revision
the DCU or DCM.
D or later
is required
for
communications
CCM3 PROM Revision
with the DCU or DCM.
C or later
is required
for
communciations
CCM2
with
The revision
letter
can be found on the labels attached
to the
socketed PROMS located on the component side of the module.
On
this label is a 3-digit
number followed
by a dash followed
by a
3-digit
number.
The revision
letter
is after
the second 3-digit
number, and it may differ
from
PROM
to PROM
on the module.
The correct revision letter is the highest of the letters.
GEK-90477
Communication
5-2
Examples
\
SCREQ REGISTERS
The six SCREQ
Rnnnn
Rnnnn
Rnnnn
Rnnnn
Rnnnn
Rnnnn
*
are defined
registers
+
+
+
+
+
as follows:
Command
Number
(must be valid
Target*
ID
Target
Memory
Type
Target
Memory
Address
Data Length
Source*
Memory Address
1
2
3
4
5
in Series Six to Series One/Junior/Plus
always
the Series
One/Junior/Plus
Series Six PC.
Rnnnn:
COMMAND
Port
06100
06101
06102
06103
06111
06112
06113
(17D4H)
(17D5H)
(17D6H)
(17D7H)
(17DFH)
(17EOH)
(17ElH)
(1838H)
(1839H)
(183AH)
(183BH)
(1843H)
(1844H)
(1845H)
Rnnnn + 1: TARGET
DCU
or DCM)
or Series Three communications!
Series Three
PC and the source
the target
is
is always
the
NUMBERS
31 of CCM2
No Op
READ from target
to source
READ from target
to source
READ from target
to source
WRITE to target
from source
WRITE to target
from source
WRITE to target
from source
Port
06200
06201
06202
06203
06211
06212
06213
or
for
Register
Table
Input Table
Output
Table
Register
Table
Input Table
Output
Table
J2 of CCM2
No Op
READ from target
to source
READ from target
to source
READ from target
to source
WRITE to target
from source
WRITE to target
from source
WRITE to target
from source
Register
Table
Input Table
Output
Table
Register
Table
Input Table
Output
Table
ID
For
This is the identification
number of the target device.
Series Three CPU, this number is the DCU or DCM ID number
a Series One/Junior/Plus
or
and can range from 1 to 90.
GEK-90477
Rnnnn
The
t 2:
target
Communication
TARGET
memory
MEMORY
Rnnnn
t 3:
the Series
One/Junior/Plus
and Series
Three
PCs are:
Type
Timer/Counter
Accumulators
Discrete
I/O
CPU Scratch
Pad Memory
User Logic Memory
1
3
6
7
9
Registers
5-3
TYPE
types used with
Number
*Data
Examples
and
Data
Registers*
DCU or DCM Diagnostic Status Words
exist
TARGET
in the Series
MEMORY
Three
CPU
only.
ADDRESS
The target
memory
address
specifies
the relative
address within
the Series One. Series
One Junior,
Series One Plus, or Series Three
CPU where
the transfer
is to begin.
The
valid ranges given below are for communications
initiated
by the Series Six PC.
Memory
Type
1:
The target
memory
address
specifies
the
Timer/Counter
or Data
Register
where
the data
transfer
is to begin.
See Tables
5.1, 5.2, 5.3 and 5.4 for the
Series One Plus and Series Three
reference
mapping
of Series One, Series One Junior,
numbers
into reference
numbers
used for communication.
Also, see application
examples
1, 6, 7, 8, 12, 13, 14 and 15.
Valid
Range
Series
One
1-64 decimal
Series
One Junior
l-21
decimal
Series
l-128
One Plus
decimal
Series
l-192
Three
decimal
Type 3: The target
memory address specifies the group of 8 discrete I/O points
where the data transfer
is to begin.
See Tables 5.1, 5.2, 5.3, and 5.4 for mapping of
Series One, Series One Junior, Series One Plus, and Series Three discrete
I/O reference
examples
numbes into reference
numbers used for communication.
A so, see application
2, 3, 16, and 17.
Memory
Valid
Range
Series
One
l-48
decimal
Series
One Junior
l-32
decimal
Series
l-64
One Plus
decimal
Series
l-128
Three
decimal
GEK-90477
Communication
Examples
5-4
Memory
Type 6: The target
memory
address specifies
the CPU Scratch-Pad
byte (8-bits)
at which
the data transfer
is to begin.
Address
0 is used to access the RUN/STOP mode
and address 22 is used to access the PC type.
TWO bytes must be read or written.
See
application
examples
9, 10, 11, 20, 21, and 22.
Valid
Range
Series One
0 or 22 dec
Series One Junior
~0 or 22 dec
Series One Plus
0, 2, 4, or 22 dec
Series Three
0 to 22 dec
The Scratch-Pad
for the Series
One
Plus
has been
expanded
to accommodate
See the section
“Using
the Password
password
and program
error
check
features.
Error Checking
Features
of the Series One Plus PC”, later in this chapter.
Memory
Type
bits) at which
Valid
Range
7: The target
memory
address specifies
the User-Logic
memory word
the data transfer
is to begin.
See application
examples
4, 5, 18, and 19.
Series One
O-1723 dec
Series One Junior
O-699 dec
Series One Plus
O-1723 dec
the
and
(16
Series Three
O-4094 dec
Memory
Type 9: The Target
Address
specifies
the DCU or DCM Diagnostic
Status Word
-(16 bits) at which the data transfer
is to begin.
The only valid starting
address for Series
One, Series One Junior,
Series One Plus, and Series Three is 0. See application
examples
23, 24.
Valid
Range
Series One
decimal
0
Series One Junior
0 decimal
Series One Plus
0 decimal
Series Three
0 decimal
UER-YU~~
/
Table
L0mmunlcaIlon
5.1
txamples
5-5
ONE REFERENCES TO TARGET
(MEMORY TYPES 1 AND 3)
MAPPING
ADDRESSES
OF SERIES
--________1
I
MEMORY
TYPE
SERIES
ONE
REFEREfKE
MAPPED
SERIES
ADDRESS
ONE
REFERENCE
DEC HEX
MAPPED
SERIES
ADDRESS
ONE
REFERENCE
DEC HE_X
MAPPED
SERIES
ADDRESS
OriE
REFERENCE
DES HEX
MAPPED
ADDRESS
DEC
i
HEX /
Type
Timers/
600 . . . 01
01
620
. . . 17
11
Counters
601
02
621
. . . 18
12
.
602
. . . 03
03
622
. . . 19
.
603
. . . 04
04
623
. . . 20
.
604
. . . 05
05
624
. . . 21
15
644
.
605
. . . 06
06
625
. . . 22
16
645
.
I
I
j
I
1
I
I
i
i
i
II
l
. . . 02
640
. . . 33
27
660
. . . 49
31 i
641
. . . 34
22
661
. . . 50
32 j
13
642
. . . 35
23
662
. . . 51
33 /
14
643
. . . 36
24
663
. . . 52
34;
. . . 37
25
664
. . . 53
35
. . . 38
26
665
. . . 54
36 1
37 1
I
38 ;
.
606
. . . 07
07
626
. . . 23
17
646
. . . 39
27
666
. . . 55
607
. . . 08
08
627
. . . 24
18
647
. . . 40
28
667
. . . 56
.
610
. . . 09
09
630
. . . 25
19
650
. . . 41
29
670
. . . 57
39 I
.
611
. . . 10
OA
631
. . . 26
1A
651
. . . 42
2A
671
. . . 58
3A 1
.
612
. . . 11
06
632
. . . 27
1B
652
. . . 43
2B
672
. . . 59
38 /
.
613
. . . 12
OC
633
. . . 28
1C
653
. . . 44
2C
673
. . . 60
3C :
.
612
. . . 13
00
634
. . . 29
ID
654
. . . 45
20
674
. . . 61
3D;
l
615
. . . 14
OE
635
. . . 30
1E
655
. . . 46
2E
675
. . . 62
3E :
.
616
. . . 15
OF
636
. . . 31
1F
656
. . . 47
2f
676
. . . 63
3F /
617
. . . 16
10
637
. . . 32
20
657
. . . 48
30
677
. . . 64
40
l
/ External
ooo-007...01
01
loo-707...09
09
I
I/O
OlO-017w.02
02
llO-117...10
OA
/
.
ozo-027...03
03
120-127...11
OB
1
I
.
0300037...04
04
1300137...12
OC
.
040-oi7...05
05
140-147...13
OD
!
.
0500057...06
06
150~157...14
OE
.
060-067...07
07
.
0700077...08
08
Internal
160~167...15
OF
260-267...23
17
3600367...31
1F
Coils
1700177...16
10
270-277...24
18
3700377...32
20
.
.
zoo-207...17
11
300-307...25
19
210~237...18
12
3100317...26
1A
ZZO-227...19
13
3200327...27
1B
2300237...20
14
330-337...28
1C
240-247
15
340-347
1D
2500257...22
16
350-357...30
1E
i
j
fI
/
I
.
.
.
l
. . . 21
. . . 29
Shift
4000407...33
21
soo-507...41
29
Register
410.417...34
22
5100517...42
2A
Points
4200427...35
23
520-527...43
2B
.
.
.
.
.
4300437...36
24
5300537...44
2c
4400447...37
25
5400547...45
20
450-457
26
550-557...46
2E
4600467...39
27
560-567...47
2F
4700477...40
28
5709577...48
30
. ..38
i
GEK-90477
Communication
Table 5.2 MAPPING
Examples
5-6
OF SERIES ONE JR REFERENCES
(MEMORY TYPES 1 AND 3)
TO TARGET
ADDRESSES
T
MEMORY
TYPE
SERIES
ONE
MAPPED
SERIES
ONE
MAPPED
SERIES
ONE
JUNIOR
ADDRESS
JUNIOR
ADDRESS
JUNIOR
REFERENCE
DEC HEX
REFERENCE
DEC HEX
REFEREWE
MAPPED
ADDRESS
DEC
HEX
Timers/
600
. . . 01
01
610
. . . 09
09
620
. . . 17
11
Counters
601
. . . 02
02
611
. . . 10
OA
621
. . . 18
12
602
. . . 03
03
612
. . . 11
06
622
. . . 19
13
603
. . . 04
04
613
. . . 12
OC
623
. . . 20
14
&04
. . . 05
05
614
a.. 13
OD
624
. . . 21
15
605
. . . 06
06
615
. . . 14
OE
606
. . . 07
07
616
. . . 15
OF
607
. . . 08
08
617
. . . 16
10
1D
External
ooo-007...01
01
I/O
OlO-017...02
02
0200027...03
03
030-037...04
04
040-047
05
l
. . 05
0500057...06
06
060-067...07
07
0700077...08
08
1300137...12
OC
Internal
140-147...13
00
240-247 . . .21
15
340-347 . . .29
Coils
1500157...14
OE
250-257...22
16
350-357...30
1E
160~167...15
OF
2600267...23
17
3600367...31
1F
3709377...32
20
1D
1700177...16
10
2700277...24
18
zoo-207...17
11
3000307...25
19
ZlO-217...18
12
310-317v.26
1A
220-227...19
13
320-327...27
18
2300237...20
14
3300337...28
1C
Shift
1400147...13
OD
2400247...21
15
3400347...29
Register
150-157...14
OE
2500257...22
16
3500357...30
1E
Points
1600167...15
OF
260-267m.23
17
3600367...31
1F
3700377...32
20
1700177...16
10
2700277...24
18
200-207...17
11
3000307...25
19
2100217...18
12
310-317...26
1A
2200227...19
13
3200327...27
1B
2300237...20
14
330-337...28
1C
GEK-90477
Communication
Table 5.3 MAPPING
MEMORY
TYPE
SERIES
ONE
PLUS
REFERENCE
Examples
5-7
OF SERIES ONE PLUS REFERENCES
(MEMORY TYPE 1)
MAPPED
ADDRESS
DEC HEX
SERIES
ONE
PLUS
REFERENCE
MAPPED
SERIES
ADDRESS
OEC HEX
ONE
PLUS
REFERENCE
TO TARGET
SERIES
MAPPED
ADDRESS
DEe HEX
ADDRESSES
ONE
PLUS
REFERENCE
MAP?ED
j
ADDRESS
i
DE[ HEX
i
/ Timers/
600
. . . 01
01
620
. . . 17
11
640
. . . 33
21
660
. . . 49
31
/ Counters
i
I
I
.
601
. . . 02
02
621
. . . 18
12
641
. . . 34
22
661
. . . 50
32
602
. . . 03
03
622
. . . 19
13
642
. . . 35
23
662
. . . 51
33
j
603
. . . 04
04
623
. . . 20
14
643
. . . 36
24
663
. . . 52
34
j
604
. . . 05
05
624
. . . 21
15
644
. . . 37
25
664
. . . 53
35
'
605
. . . 06
06
625
. . . 22
16
645
. . . 38
26
665
. . . SC
36
606
. . . 07
07
626
. . . 23
17
646
. . . 39
27
666
. . . 55
37
607
. . . 08
08
627
. . . 24
18
647
. . . 40
28
667
. . . 56
38
.
610
. . . 09
09
630
. . . 25
19
650
. . . 41
29
670
. . . 57
39
.
611
. . . 10
OA
631
. . . 26
1A
651
. . . 42
2A
671
. . . 58
3A
,
.
612
. . . 11
OB
632
. . . 27
18
652
. . . 43
28
672
. . . 59
38
1
I
i
I
i
,
,
.
613
. . . 12
OC
633
. . . 28
1C
653
. . . 44
2C
673
. . . 60
3C
614
. . . 13
00
634
. . . 29
1D
654
. . . 45
20
674
. . . 61
3D
.
615
. . . 14
OE
635
. . . 30
1E
655
. . . 46
2E
675
. . . 62
3E
.
616
. . . 15
OF
636
. . . 31
1F
656
. . . 47
2F
676
. . . 63
3F
617
. . . 16
10
637
. . . 32
20
657
. . . 48
30
677
. . . 64
40
l
.
f
1
I
t
0
I
!
I
l
.
l
l
l
I
!1 Data
1 Registers
f
.
I
I
I
.
I
i
.
,
.
t
i
.
1
j
.
!
.
I
I
I
.
1
.
.
l
l
j
400-401
. . . 65
41
440-441
. . . 81
51
500-501
. . . 97
61
540-541
. . - 113
71
402-403
. . . 66
42
442-443
. . . 82
52
502-503
. . . 98
62
542-543
. . 114
72
404-405
. . . 67
43
444-445
. . . 83
53
504-505
. . . 99
63
544-545
115
73
406-407
. . . 68
44
446-447
54
506-507
. . 100
64
546-547
116
74
410-411
. . . 69
45
450-451
. . . 84
. . . 85
55
510-511
. . 101
65
550-551
117
75
412-413
. . . 70
46
452-453
. . . 86
56
512-513
. . 102
66
552-553
118
76
414-415
. . . 71
47
454-455
. . . 87
53
514-515
. . 103
67
554-555
..
..
..
..
..
119
77
416-417
. . . 72
48
456-457
. . . 88
58
516-517
. . 104
68
556-557
. . 120
78
420-421
. . . 73
49
460-461
. . . 89
59
520-521
. . 105
69
560-561
. . 121
79
422-423
. . . 74
4A
462-463
. . . 90
5A
522-523
. . 106
6A
562-563
. . 122
7A
424-425
. . . 75
4B
464-465
. . . 91
58
524-525
. . 107
6B
564-565
. . 123
78,
426-427
. . . 76
4C
466-467
. . . 92
SC
526-527
. . 108
6C
566-567
. . 124
7C :
70
430-431
. . . 77
40
470-471
. . . 93
SD
530-531
. . 109
60
570-571
. . 125
432-433
. . . 78
4E
472-473
. . . 94
SE
532-533
. . 110
6E
572-573
. . 126
7E i
.
434-435
. . . 79
4F
474-475
. . . 95
SF
534-535
. . 111
6F
574-575
7F
.
436-437
. . . 80
50
476-477
. . . 96
60
536-537
. . 112
70
576-577
. . 127
. . 128
80
i
GEK-90477
Examples
Communication
5-8
Table 5.3 (Cont.) MAPPING OF SERIES ONE PLUS REFERENCES
TARGET ADDRESSES (MEMORY TYPE 3)
-
I
' MEMORY
TYPE
-
SERIES
ONE
PLUS
REFERENCE
i
MAPPED
ADDRESS
DEC HEX
TO
7
SERIES
ONE
MAPPED
PLUS
ADDRESS
REFERENCE
DEL
HEX
SERIES
ONE
PLUS
REFEREPKE
MAPPED
ADDRESS
DEC
HEX,
I
I(
External
ooo-007...01
01
loo-107...09
09
700-707...
57
1
I
I/O
OlO-017...02
02
llO-117...10
OA
710-717...
58
3A /
ozo-027...03
03
120-127...11
OB
720-727...
59
3B f
.
030-037...04
04
130-137...12
OC
730-737...
60
3C
.
@40-047...05
05
140-147...13
OD
740-747...
61
30
.
0500057...06
06
150~157...14
OE
750-757...
62
.
060-067...07
07
760-767...
63
3E 1
I
3F 1
.
070-077 . . .08
08
770-777...
64
40 i
Irltema?
160-167...15
OF
ZOO-267...23
17
360-367...
31
1F
COllS
170~177...16
10
270~277...24
18
370-377...
32
20;
19
I
I
l
.
zoo-207...17
11
300-307...25
.
210~217...18
12
310-317...26
1A
.
220-227...19
13
320-327...27
1B
.
230-237...20
14
330-337a.28
1C
.
240-247...21
15
340-347 . . .29
1D
1
I
I
.
2500257...22
16
350-357..
1E
1
Shift
4000407...33
21
500-507...41
29
4100417...34
22
SlO-517w.42
2A
Points
420-427v.35
23
520-527...43
2B
.
.
.
.
.
430-437...36
24
530-537...44
2c
4400447...37
25
540-547 . . .45
20
450-457...38
26
5500557...46
2E
460-467...39
27
5600567...47
2F
4700477...40
28
570-577...48
30
6000607...49
31
6100617...50
32
6200627m.55
33
6300637...52
34
i Register
j
I
i,
/
I
39 I
I
i Timer/
i Counter
/Up Status
.
.
.
.
.
!
640-647 . . .53
35
6500657...54
36
6600667...55
37
6700677...56
38
.30
1
i
ULn-aJ~i
txamples
~urrirrwr~IC;armn
(
Table 5.4
MEMORY
TYPE
MAPPING
OF SERIES THREE REFERENCES
(MEMORY TYPE 1)
SERIES
MAPPED
THREE
ADDRESS
REFERENCE
5-9
DEC HEX
SERIES
MAPPED
THREE
ADDRESS
REFERENCE
DEC HEX
TO TARGET
SERIES
MAPPED
THREE
ADDRESS
REFERENCE
DEC HEX
ADDRESSES
SERIES
MAPPED --I
,
THREE
ADDRESS:
REFEGENCE
DEC
HEX
I
Data
500-501
. . . 01
01
540-541
. . . 17
11
600-601
Registers
502-503
. . . 02
02
542-543
. . . 18
12
.
504-505
. . . 03
03
544-545
. . . 19
13
.
506-507
. . . 04
04
546-547
.
510-511
. . . 05
05
550-551
. . . 20
. . . 21
.
512-513
. . . 06
06
552-553
.
514-515
. . . 07
07
.
516-517
. . . 08
.
520-521
.
. . . 33
21
640-641
. . . 49
31'
602-603
. . . 34
22
642-643
. . . 50
22i
604-605
. . . 35
23
644-645
. . . 51
33
14
606-607
. . . 36
24
646-647
. . . 52
34:
15
610-611
. . . 37
25
650-651
. . . 53
35,
. . . 22
16
612-613
. . . 38
26
652-653
. . . 54
36j
554-555
. . . 23
17
614-615
. . . 39
27
654-655
. . . 55
37'
08
556-557
. . . 24
18
616-617
. . . 40
28
656-657
. . . 56
38
. . . 09
09
560-561
. . . 25
19
620-621
. . . 41
29
660-661
. . . 57
39
522-523
. . . 10
OA
562-563
. . . 26
1A
622-623
. . . 42
2A
662-663
. . . 58
3a
.
524-525
. . . 11
06
564-565
. . . 27
18
624-625
. . . 43
2B
664-665
. . . 59
39
.
526-527
. . . 12
OC
566-567
. . . 28
1C
626-627
. . . 44
2C
666-667
. . . 60
3C
.
.
530-531
. . . 13
00
570-571
. . . 29
10
630-631
. . . 45
20
670-671
61
50
532-533
. . . 14
OE
572-573
. . . 30
1E
632-633
. . . 46
2E
672-673
::E
.
534-535
. . . 15
OF
574-575
. . . 31
1F
634-635
. . . 47
2F
674-675
1:: 62
. 63
.
536-537
. . . 16
10
576-577
. . . 32
20
636-637
. . . 48
30
676-677
:: . 64
LO
>F
Timer/
200
. . . 65
41
240
. . . 97
61
300
. ..129
81
340
. ..161
Al
Counter
201
. . . 66
42
241
. . . 98
62
301
. . . 130
82
341
. . .162
A2
202
. . . 67
43
242
. . . 99
63
302
. . .131
83
342
. . .163
A3
203
. . . 68
44
243
. . .100
64
303
. . . 132
84
343
.*_.164
AC
204
. . . 69
45
244
. ..lOl
65
304
. . .133
85
344
. ..165
A5
205
. . . 70
46
245
. . . 102
66
305
. . .134
86
345
. .166
A6
206
. . . 71
47
246
. ..103
67
306
. . . 135
87
346
. . .167
A7
207
. . . 72
48
247
. ..104
68
307
. . . 136
88
347
. . .168
A8
210
. . . 73
49
250
. . .105
69
310
. . . 137
89
350
. . .169
A9
211
. . . 74
4A
251
. . .106
6A
311
. . . 138
8A
351
. . .170
A0
212
. . . 75
4B
252
. ..107
68
312
. . . 139
88
352
. . .171
AB
213
. . . 76
4C
253
. ..108
6C
313
. . . 140
8C
353
. . .172
AC
214
. . . 77
40
254
. ..109
60
314
. . . 141
80
354
. . .173
AD
Accumulators
.
.
.
.
.
.
.
.
.
.
.
.
215
. . . 78
4E
255
. ..llO
6E
31s
. . .142
8E
355
. . .174
AE
216
. . . 79
4F
256
. ..\ll
6F
316
. . . 143
8F
356
. . .175
AF
.
217
. . . 80
50
257
. ..112
70
317
. . . 144
90
357
. . .176
80
.
220
. . . 81
51
260
. ..113
71
320
. ..145
91
360
. ..177
Bl'
.
.
.
.
221
. . . 82
52
261
. ..114
72
321
. . . 146
92
361
. . .178
82'
222
. . . 83
53
262
. ..115
73
322
,.. 147
93
362
. . .179
83,
223
. . . 84
54
263
. ..116
74
323
. . . 148
94
363
. ..180
84
224
. . . 85
55
264
. . . 117
75
324
. . .149
95
364
. . .181
B5;
.
225
. . . 86
56
265
. . . 118
76
325
. . . 150
96
365
. . .182
86;
.
226
. . . 87
57
266
. ..119
77
326
. . . 151
97
366
. . .183
87 j
.
227
. . . 88
58
267
. . . 120
78
327
. . . 152
98
367
. . .184
88
.
230
. . . 89
59
270
. . . 121
79
330
. . . 153
99
370
. . .185
B9;
.
d231
. . . 90
5A
271
. . . 122
7A
331
. . . 154
9A
371
. . .186
BA
l
j
.
232
. . . 91
58
272
. . . 123
78
332
. . . 155
98
372
. . .187
1
/
BB i
.
233
. . . 92
5C
273
. ..124
7C
333
. . . 156
9C
373
. . .188
BC'
.
234
. . . 93
50
274
. . . 125
70
334
. . . 157
90
374
. . .189
BD
235
. . . 94
SE
275
. . . 126
7E
335
. . . 158
9E
375
. . .190
BE
.
236
. . . 95
SF
276
. ..I27
7F
336
. . . 159
9F
376
. . .191
BF
.
237
. . . 96
60
277
. ..I28
80
337
. . . 160
A0
377
. . .192
co
l
4
I
i
btK-Yu4~
l
Lommun~cat~on txamples
Table 5.4 (Cont.)
MAPPING
OF SERkS
5-10
THREE
(MEMORY
MEMORY
TYPE
SERIES
MAPPED
SERIES
THREE
ADDRESS
WFREtJCE
DEC HEX
THREE
REFERENCE
REFERENCES
TO TARGET
ADDRESSES
TYPE 3)
MAPPED
SERIES
ADDRESS
DEC HEX
THREE
REFERENCE
MAPPED
SERIES
ADDRESS
DEC HEX
THREE
REFERENCE
1
MAPPED
ADDRESS
DEC HEX,
Type
External
000-007
. . . 01
01
200-207
. . . 17
11
400-407
. . . 33
21
600-607
. . . 49
3:
I/O
010-017
. . . 02
02
210-217
. . . 18
12
410-417
. . . 34
22
610-617
. . . 50
32
.
.
.
.
.
.
.
.
.
.
.
.
.
.
020-027
. . . 03
03
220-227
. . . 19
13
420-427
. . . 35
23
030-037
. . . 04
04
230-237
. . . 20
14
430-437
. . . 36
24
040-047
. . . 05
05
240-247
. . . 21
15
440-447
. . . 37
25
050-057
. . . 06
06
250-257
. . . 22
16
450-457
. . . 38
26
060-067
. . . 07
07
260-267
. . . 23
17
460-467
. . . 39
27
070-077
. . . 08
08
270-277
. . . 24
18
470-477
. . . 40
28
100-107
. . . 09
09
300-307
. . . 25
19
500-507
. . . 41
29
110-117
. . . 10
OA
310-317
. . . 26
1A
510-517
. . . 42
2A
120-127
. . . 11
06
320-327
. . . 27
1B
520-527
. . . 43
28
130-137
. . . 12
oc
330-337
. . . 28
1C
530-537
. . . 44
2c
140-147
. . . 13
00
340-347
. . . 29
10
540-547
. . . 45
2D
150-157
. . . 14
OE
350-357
. . . 30
1E
550-557
. . . 46
2E
160-167
. . . 15
OF
360-367
. . . 31
1F
560-567
. . . 47
2F
170-177
. . . 16
10
370-377
. . . 32
20
570-577
. . . 48
30
4000-4007
. . 51
33
4200-4207
. . 67
43
4400-4407
. . 83
53
I/O
4010-4017
. . 52
34
4210-4217
. . 68
44
4410-4417
. . 84
54
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4020-4027
. . 53
35
4220-4227
. . 69
45
4420-4427
. . 85
55
4030-4037
. . 54
36
4230-4237
. . 70
46
4430-4437
. . 86
56
Internal
4040-4047
. . 55
37
4240-4247
. . 71
47
444094447
. . 87
57
4050-4057
. . 56
38
4250-4257
. . 72
48
4450-4457
. . 88
58
4060-4067
. . 57
39
4260-4267
. . 73
49
7000-7007
. . 89
59
4070-4077
. . 58
3A
4270-4277
. . 74
4A
7010-7017
. . 90
5A
4100-4107
. . 59
35
4300-4307
. . 75
4B
7020-7027
. . 91
5B
4110-4117
. . 60
3C
4310-4317
. . 76
4C
7030-7037
. . 92
5C
4120-4127
. . 61
30
4320-4327
. . 77
40
7040-7047
. . 93
50
4130-4137
. . 62
3E
4330-4337
. . 78
4E
7050-7057
. . 94
SE
4140-4147
. . 63
3F
4340-4347
. . 79
4F
7060-7067
. . 95
5F
4150-4157
. . 64
40
4350-4357
. . 80
50
7070-7077
. . 96
60
4160-4167
. . 65
41
4360-4367
.* 81
51
4170-4177
. . 66
42
4370-4377
. . 82
52
GEK-90477
Communication
Table 5.4 (Cont.)
MEMORY
SERIES
TYPE
THREE
MAPPING
REFERENCE
L
Examples
5-11
OF SERIES THREE REFERENCES
(MEMORY TYPE 3)
MAPPED
SERIES
ADDRESS
THREE
DEC HEX
REFERENCE
MAPPED
SERIES
ADDRESS
THREE
DEC HEX
REFERENCE
TO TARGET
MAPPED
ADDRESS
DEC HEX
ADDRESSES
SERIES
MAPPED
THREE
ADDRESS
REFERENCE
DE{ HEX
(
Tvpe
Shift
9000-9007
. . 97
61
9100-9107
..105
69
Registers
9010-9017
. . 98
62
9110-9117
JO6
6A
63
9120-9127
..107
6B
.
9020-9027
. . 99
.
9030-9037
. .100
64
9130-9137
..108
6C
.
9040-9047
. .101
65
9140-9147
..109
60
.
9050-9057
. .102
66
9150-9157
..llO
6E
.
9060-9067
. .103
67
9160-9167
..lll
6F
.
9070-9077
. .104
68
9170-9177
..llZ
70
Timer/
000-007
. ..113
71
100-107
. ..Vl
79
Counter
010-017
. . . 114
72
110-117
. ..122
7A
020-027
. ..115
73
120-127
. ..123
78
030-037
. ..116
74
130-137
. ..124
7C
up status
.
.
.
.
.
1
040-047
. ..117
75
140-147
. ..I25
70
050-057
. ..118
76
150-157
. ..126
7E
060-067
. ..119
77
160-167
. ..127
7f
070-077
. ..120
78
170-177
. ..128
80
,1
I
_
A
GEK-90477
Communication
Examples
5-12
-JMu
Rnnnn t 4: DATA
LENGTH
This is the data length of the source (Series Six) memory
To determine
the source data length,
source and target memory types.
Table 5.5
somE
(SERIESsix)
1:
7
-9
UNIT LENGTHS
OF SOURCE AND
MEMORY TYPE
Registers
Inputs and Outputs
3:
it is necessary
type.
to compare
TARGET
UNIT LENGTH
the unit
MEMORY
lengths
of the
TYPES
LENGTH ACCESSIBLE
1 Reg
= 16 bits
1 Point = 1 bit
Register(s)
Multiples of 8 Points
1
SERIES ONE, JUNIOR/PLUS,
SERIES THRE E ?JE>lORYTYPE
1:
1:
3.
61
7 ..
9.
l
Timer/Counter Accumulator
Data Registers (Series
One Plus and Three Only)
Discrete I/O
Scratch Pad Bytes
User Logic Word
Diagnostic Status Word
UNIT LENGTH
LENGTH ACCESSIBLE
1 Accum = 16 bits
1 Data = 8 bits
Reg
1 Point = 1 bit
1 Byte = 8 bits
1 Word = 16 bits
1 Word = 16 bits
Accumulator(s)
Multiples of 2 Reg
Multiples of 8 Points
2 Bytes
Word(s)
5 Words
*
c
Example:
registers!
However,
inputs, the
If you want to read 5 target
Timer/Counter
accumulators
the Data Length is 5 registers
since the unit length
is the
if you want to read the 5 target Timer/Counter
accumulators
Data Length is 5 Accum. x 16 Points/Accum.
= 80 Points.
into *Series Six
same for each.
into Series Six
Example:
If you want to read 8 target discrete I/O into Series Six inputs, the Data Lenth
is 8 points since the unit length is the same for each. Discrete
I/O and Series Six I/O can
only be accessed in multiples of 8.
Refer to the communication
and source memory types
Limitations
on Amount
examples
in this
chapter
for
of Data for the Series One and Series
other
combinations
One Junior
of target
PCs
For communications
with the Series One Plus and Series Three PCs, the maximum amount
of data which can be transferred
is limited only by the maximum size of the Series One
Plus or Series Three memory type being accessed.
For communications
with the Series One and Series One Junior
PCs, the maximum
amount of data which can be transferred
is limited by the maximum size of memory types
6 (Scratch Pad> snd 9 (Diagnostic
Status Words). But the maximum amount of data which
can be transferred
is limited further
for memory types 1 (T/C Accumulators),
3 (l/O and
Shift Registers), and 7 (User Logic) as shown in Table 5.6.
GEK-90477
Communication
Examples
5-13
Table 5.6 MAXIMUM
AMOUNT OF DATA FOR SERIES ONE AND
SERIES ONE JUNIOR MEMORY TYPES 1, 3, AND 7
TYPE OF COMMUNICATION
REQUEST
MAXIMUM AMOUNT OF DATA FOR EACH COMMUNICATION
SERIES ONE PC*
SERIES ONE JR PC
Read from Memory Type 1
(T/C Accumulators)
Write to Memory Type 1
(T/C Accumulators)
58 Ace
Read from Memory Type 3
(I/O and Shift Reg)
Write to Memory Type 3
(I/O and Shift Reg)
368 I/O
46 Bytes
24 I/O
3 Bytes
Read from Memory Type 7
(User Logic)
Write to Memory Type 7
(User Logic)
75 Words
150 Bytes
25 Words
50 Bytes
45 Words
90 Bytes
20 Words
40 Bytes
* CPU Revision
116 Bytes
All 21 Act
Communication Not
Supported
42 Bytes
Communication Not
Supported
176 I/O
22 Bytes
No I/O, Communication
Times Out
C or later.
Rnnnn + 5: SOURCE
MEMORY
ADDRESS
*
This is the memory address of the source device (Series Six CPU) at which
to begin. The command number specifies the source memory type.
Table 5.7
MEMORY TYPE
SOURCE
MEMORY
the transfer
is
ADDRESS
SOURCE ADDRESS
RANGE
.
DESCRIPTION
Register Table
Model 60, 2K memory
Model 60, 4K memory
Model 600, Model 6000 &
Series Six Plus
l-256
l-1024
l-1024*
Input Table
Output Table
Input or output. The
number must begin on the
beginning of a byte
boundary: 1, 9, 17 0 0
l-1024
l-1024
l
l
*If the Series Six Model 600, 6000, or the Series Six Pius contains 8K of registers,
the range is 1-8192.
If it contains 16K of registers, then the range is 1-16384.
then
GEK-90477
Communication
USING THE PASSWORD AND ERROR
SERIES ONE PLUS PC
The addressing
5-14
Examples
for the Series
CHECKING
One Plus Scratch-Pad
FEATURES
OF THE
is as follows:
Table 5.8 SERIES ONE PLUS CPU SCRATCH-PAD
SERIES ONE PLUS
ADDRESSES
(Hex)
SUB-COXNAXD
(Hex)
ADDRESSES
DESCRIPTION
PC Yode
0000
0002
0009
OOOA
0003
0006
0004
OOOA
0016
Sub-command
for executing
the functions:
Logging-In
with the Password
Changing
the Password
Grammar Checking
Reading
Error
Address
Location
of the error
code generated
bvw
Grammar check
and of the error
location
in the user program
Password
Write
Location
PC Type
or writing
the PC mode (RUN/STOP)
and reading
the PC type are the same for
One Plus as for the Series One/Junior
and Series Three PCs (see application
examples
20-22).
The password
and error
checking
features
are available
only for the
Series
One Plus PC and require
the use of a sub-command
written
to 0002H
of the
Scratch-Pad
(see explanation
below).
Reading
the Series
LOGGING-IN
ON THE SERIES ONE PLUS CPU USING THE PASSWORD
If a password
has been assigned,
either
using the manual programmer
or through
communications,
you must log in before executing
each communications
request
to
memory type 1 (T/C Accumulators),
3 (l/O and Shift Registers), or 7 (User Logic).
If you
do not log in, the commmunications
request for these memory types will fail.
It is not
required
to log in for communications
requests to memory types 6 (Scratch-Pad)
and 9
(Diagnostic
Status
Words).
Logging
in is done by executing
a write command
from
registers
to the Scratch-Pad
beginning at address 0002H. The write command will write
5 registers of information
as follows:
Rn
Rn+l
Rn+2
Rn+3
Rn+4
0900*(Hex)
0000
0000
0000
Where
OO09H is the subcommand written to Scratch-Pad
address O002H, and where xxxx is the existing password
in BCD (Valid range O-9999). A value of 0 is equivalent
to no password.
xxxx**(BCD)
Also see appljcation
example
9.
*
The least signif icant byte
the Series Six register.
of the subcommand
**
The most significant
Series Six register.
of the password
byte
occupies
occupies
the most significant
the most significant
byte of
byte of the
GEK-90477
Communication
5-15
Examples
‘\
CHANGING
THE
PASSWORD
OF THE
SERIES
ONE
PLUS
PC
First,
you must log
Changing
the password is a 2-step operation.
Then you must execute
another
write
command
preceding
sect ion.
Series One Plus Scratch-Pad
beginnng
at address 0002H.
The write
registers
of information
as follows:
Rn
Rn+l
Rn+2
Rn+3
Rn+4
Also
see application
The least
the Series
**
The most significant
Series Six register.
example
significant
byte
Six register.
PROGRAM
byte
ERROR
A complete
program
error
One Plus CPU as explained
initiating
in the
to the
write
5
OAOO*(Hex)
Wh ere OOOAH is the subcommand written to Scratch-Pad
address OOOZH, and where xxxx is the new password entered
0000
0000
in BCD. Valid range O-9999. A value of zero is
0000
equivalent to no password.
xxxx**(BCD)
*
USER
in as explained
from registers
command
will
the error
check
10.
of
the
subcommand
of
the
password
occupies
occupies
the
the
most
most
significant
significant
byte
byte
of
of
the
CHECKING
check
below.
can
and reading
be initiated
the error
at any
code
time
on a program
in the Series
is a 4 step operation.
To initiate
the error
check,
write
to the Series One Plus Scratch-Pad
2.
If the contents
of address
Read the error
code from
Scratch-Pad
address 0004H.
0004H
is zero,
there
is no error
code.
If the contents
of address 0004H is not zero.
then this is the error code.
Go to the next step to find the location
of the first
error
in the user program.
3.
To find the location
addess 0002H.
4.
Read the location
is the
location
from
of the
error,
the subcommand,
address 0002H.
write
the
0003H,
subcommand,
the Scratch-Pad
address 0004H.
error in user memory.
The
from
a Series
1.
0006H,
contents
to
Six
register
Scratch-Pad
of address
0004
of the first
Table 5.9 defines the errors which may be found in a user program when the Series
Plus CPU is transitioned
from PROGRAM to RUN. Also see application
example
11.
One
GEK-90477
Communication
5-16
Examples
1
DIAGNOSTIC
STATUS WORDS
There
are 5 Diagnostic
Status
Words
in the DCU
regarding
the communications
activity
on their ports.
When
reading
(word number
the
Diagnostic
and
the Diagnostic
Status
Words,
the transfer
1) and all 5 words must be read.
An external
Status Words by specifying
memory
type 9.
DCM
which
store
can start
only
with address 0
device can read or write/clear
Diagnostic
Status
Word Kurnber
Bit
16
9
Communications
Most recent
communication
(Error
Code)
1
2
3
8
Port
Number
of
Successful
Number
of
Aborted
Number
of
Header
Number
of
Data
information
Number
1
Communications
Port
Next most recent
communication
(Error
Code)
Conversations
Conversations
on Communications
on Communications
Port
Port
t
4
5
Re-tries
Block
on Communications
Re-tries
Port
on Communications
Port
.
.
NOTE
in
communications,
unexpected
difficulties
experience
from
the
Series
the
Diagnostic
Status
Words
the value in the upper
One/Plus/Junior
or Series Three and compare
codes
and lower
bytes
of Diagnostic
Status
Word 1 with the error
listed
in Table 5.9
If
you
retrieve
DIAGNOSTIC
Table
Word
STATUS WORD 1 ERROR CODES
5.9 contains
1.
a list
of all
of
the
error
codes
that
are
reported
in Diagnostic
Status
GEK-90477
Communication
Examples
Table
DIAGNOSTIC
5.9
5-l 7
STATUS
WORD
ERROR
CODES
DESCRIPTION
ERROR CODE
HEX
DEC
00
Successful
transfer.
01
A time
02
An external
device
attempted
the CPU scratch
pad that
is
3
03
An external
I/O point.
4
04
An external
available
out
occurred
device
in
on
the
serial
attempted
to
not
to
link.
write
data
allowed.
read
or
device
attempted
to access
a particular
memory type.
to
write
more
5
05
An external
device
attempted
to read or write
of bytes
to Timer/Counter
or register
memory,
or the diagnostic
status
words.
memory,
6
06
An external
nonexistent
device
attempted
to read
Timer/Counter
accumulated
7
07
An external
data bytes.
device
specified
the
a section
a nonexistent
data
of
than
is
an odd number
user-logic
or write
one
or register
transfer
of
or more
values.
zero
c
8
08
An external
device
attempted
to write
to protected
memory.
This will
be the error
code if an attempt
is made to
Write
to user-logic
memory while
the CPU is in the RUX
This is also
returned
if the password
is active
mode.
and the CPU is locked.
9
09
An external
an invalid
OA
An external
nonexistent
10
device
memory
attempted
type.
device
attempted
diagnostic
status
to
transfer
to read
words.
or
data
write
to
one
or
or
from
more
GEK-90477
Communication
5-l 8
Examples
Table 5.9 (Cont.)
DIAGNOSTIC
STATUS WORD ERROR
CODES
DESCRIPTION
ERROR CODE
HEX
DEC
11
OB
An external
device
attempted
to
at an invalid
user-logic
memory
12
oc
Serial
transfer
13
OD
Serial
communication
was aborted
was retried
three
times.
15
OF
Unit
with
20
14
One or more of the following
errors
data block
transfer:
An invalid
STX character
was
a>
b)
An invalid
ETB character
was
An invalid
ETX character
was
c)
d)
An invalid
LRC character
was
or overrun
e)
A parity,
framing,
communication
was retried
was aborted
three
times.
address
in ENQUIRY was
unit
address
specified
to
did
beginning
address.
after
a data
after
a header
correct
in the
block
transfer
but does not
HEADER block.
occurred
agree
during
15
The DCU or
an external
22
16
The DCU or DCM expected
to receive
an ACK or
character
and did not receive
either
one.
26
1A
A time
a port
29
1D
An error
occurred
when data was being
transferred
between
the DCU and the Series
One, Series
One Junior,
or the Series
One Plus CPU or the DCM and the
Series
Three CPU.
30
1E
or
A parity,
framing,
serial
header
transfer.
31
1F
A parity,
framing,
serial
data block
occurred
during
in
to CTS b eing
a
received,
received,
received,
received,
error
occurred.
21
out
due
DCM expected
device
and
transfer
data
or scratch-pad
receive
an EOT character
not receive
it.
an attempt
an inactive
from
NAK
to transmit
state
too
on
long.
overrun
error
occurred
during
a
or overrun
transfer.
error
occurred
during
a
GEK-90477
Communication
Examples
5-19
SERIES ONE, SERIES ONE JUNIOR, SERIES ONE PLUS,
AND SERIES THREE ERROR CODES
There are certain
errors detected
by the Series One/Junior/Plus
or Seiies
Three
CPU
during communication
at tempts.
If this error
occurs
it will
be displayed
on the Series
One/Junior/Plus
or Series Three programmer
display
with
the
following
codes.
In
addition,
these error codes can be obtained
from the Series One Plus CPU by an external
device using a serial request.
See application
example
11.
Table 5.10 SERIES ONE, SERIES ONE JUNIOR,
SERIES ONE PLUS, SERIES THREE CPU ERROR CODES
DIAGNOSTIC STATUS CODE
REPORTED
1D Hex
00 Hex
ERROR CODE
DISPLAYED ON
PROGRAMMER
TYPE OF ERROR
CONDITIOX
E02
Instruction and I/O data wrong.
Input programmed as an Output.
EZL
Parity error in user program
memory.
E31
Watchdog timer timed out.
E41*
I/O module configuration change
since last power up. Invalid
I/O to CPU transfer.
L
No Error Code
PROGRAX/RUK keyswitch set to
program; DCU to CPU cable
disconnected; CPU not accepting
communication request.
EOl
Incorrect entry of instruction
and data wrong, operand on write
to user program instruction
and/or data has parity error on
write to user program, cannot
write to user program memory.
(Program in PROM or RAM
defective).
El0
All user program memory
locations used.
* Series Three only.
Some of
returned
transfers
the above error
conditions
also cause diagnostic
in Diagnostic
Status
Word 1. Other
conditions
(diagnostic
status code “00 hex”).
status
will
be
code “1 D hex”
to be
reported
as successful
GEK-90477
SCREQ
Communication
COMMAND
Examples
5-20
I
EXAMPLES
This section contains
application
examples for programming
the Series Six to initiate
serial communications
with a Series One, Series One Junior, Series One Plus, and Series
Three PC. Examples l-5 apply to Series One, Series One Junior, and Series One Plus PCs
only; examples 6-l 1, to Series One Plus PCs only: examples 12-19, to Series Three PCs
only: and examples 20-24, to Series One, Series One Junior, Series One Plus, and Series
Three PCs.
EXAYPLE
1
2
3
4
5
4
7
8
9
10
11
PC
TITLE
Page
Series
Series
Series
Series
Series
One/Junior/Plus
One/Junior/Plus
One/Plus
One/Junior/Plus
One/Junior/Plus
Read from Target Timers and Counters
Read from Target I/O
Write to Target I/O
Read from Target User Memory
Write to Target User Memory
5-21
5-22
5-23
5-24
5-25
Series
Series
Series
Series
Series
Series
One
One
One
One
One
One
Read from Target Data Registers
Write to Target Data Registers
Write to Target Timers and Counters
Logging-In with the Password
Change Password
Check Program Error Code
5-26
5-27
5-28
5-30
5-31
5-32
Plus
Plus
Plus
Plus
Plus
Plus
l
12
13
14
15
16
17
18
19
20
21
22
23
24
Series
Series
Series
Series
Series
Series
Series
Series
All
All
All
All
All
Three
Three
Three
Three
Three
Three
Three
Three
Read from Target Data Registers
Write to Target Data Registers
Read from Target Timers and Counters
Write to Target Timers and Counters
Read from Target I/O
Write to Target I/O
Read from Target User Memory
Write to Target User Memory
5-35
5-36
5-37
5-38
5-40
5-41
5-42
5-43
Read PC Type
Read Target Run/Program Mode
Command Target Run/Program Mode
Read Target Diagnostic Status Words
Clear Target Diagnostic Status Words
5-44
5-45
5-46
NOTE
Users with Series Three CPUs with date codes prior to 8408XxXx
will
be unable
to write
directly
to DATA
REGISTERS
or
TIMER/COUNTER
accumulated
values - the DCM will NAK the
HEADER block.
Contact
G.E. Product Service for information
on
upgrading
the CPU. The catalog number for the Series Three CPU
upgrade kit is IC630CPU390A.
An alternate
way of writing
this
kind of data into the register
table is to write it into the unused
portion of the I/O table and then move it into the register table via
user logic.
5-48
5-49
GEK-90477
Communication
Examples
READ FROM TARGET
(SERIES ONE/JR/PLUS)
Example 1:
5-21
.
TIMERS AND COUNTERS
Read 5 Series One/Junior/Plus
Timer/Counter
accumulated
values
and store in the Series Six data registers
starting
at Register
1.
The taraet ID is 10. The communication
is to take place on the Jl
port of rhe Series Six CCM.
R nnnn
Rnnnn
Rnnnn
Rnnnn
(+lI
(+2)
(+3)
=
=
=
Rnnnn
Rnnnn
(+4)
(+5)
=
=
The Series
Six ladder
from
target
to
06101
(decimal)
COMMAND
NUMBER
- read
source Register
Table.
00010 ID OF TARGET
DEVICE
- 10.
ters.
00001 MEMORY
TYPE OF TARGET
- Timers/Coun
00001
MEMORY
ADDRESS
OF TARGET
- Start
reading
from
Series
One/Junior/Plus
T/C
accumulator
reference
600.
See
Tables
5.1, 5.2, and 5.3 for mapping
of Series
One/Junior/Plus
Timer/Counter
reference
numbers
to reference
numbers
used for
communication.
00005 DATA
LENGTH
- 5 words (5 registers)
of data in Series
00001 Memory
Address
of Source - Start storing
Six at Register
1.
logic
is shown
below:
00101
10001
+ --
1 [
l
-----------------~---~~~~~~~~~~~~~~~~~~~~~~~L~~~~~~-~~~~----------
00101
+ --
1 [ --- [
(OS >-+
ROlOO
+06101
+OOOlO
BLOCK NOVE
+OOOOl +00005 +OOOOl
+OOOOl
I+--( >-+
+OOOOO
1 00101 ROlOO
+-- 1 [ ---[SCREQ]
The low byte of a Series
low byte of a Series Six
register.
One/Junior/Plus
The
register.
Timer
or Counter
accumulator
is stored
in the
high byte is stored
in the high byte of a Series Six
GEK-90477
Example
Communication
Examples
2:
FROM
READ
Read
store
target
Jl .
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
(+3)
=
=
=
Rnnnn
Rnnnn
(+4)
(+5)
=
=
The Series
Six ladder
TARGET
5-22
I/O (SERIES
ONE/JR/PLUS)
the first
16 Series One/Junior/Plus
external
WO
points
and
in Series Six Input Status Table starting
at Input point 1. The
ID is 10. The communication
is to take place on CCM port
- Read from
target
to source
Input
06102 COMMAND
NUMBER
Status Table.
00010 ID OF TARGET
DEVICE
- 10.
00003 MEMORY
TYPE OF TARGET
- Discrete
l/O.
00001
MEMORY
ADDRESS
OF TARGET
- Beginning
address
in
Series One/Junior/Plus/l/O
table - I/O point number
1. See Tables
5.1, 5.2, and 5.3 for mapping
of Discrete
I/O reference
numbers
to
reference
numbers
used for communication.
00016 DATA
LENGTH
- 16 Input points.
00001
MEMORY
ADDRESS
OF SOURCE
- Begin storing
in Input
Status Table at address 1.
logic
is shown
below:
00102
l
00102
+ --
1 I --- [
ROlOO
+o61oz
+ooOlO
BLOCK MOVE
+00003 +OOOOl
I+--(
+00016
+00001
>-+
+OOooo
00102
ROlOO
+ -- 1 [ ---[sCREQ]
I/O from
following
the Series One/Junior
format
(only the first
will be stored
in the Series Six
8 I/O in the example
are shown).
Series Six Inputs l-8
8
7
6
5
4
3
2
1
7
6
5
4
3
2
1
0
Series Three I/Q points O-7
Input
Status
Table
in the
GEK-90477
Example
Communication
3:
5-23
Examples
WRITE TO TARGET
I/O (SERIES
ONE/PLUS)
Write
16 Series
One/Plus
internal
I/O points
(pointsn 160-177)
Series Six Output
Status
Table starting
at output
point 33. The
ID is 10. The communication
is to take place on CCM port Jl.
to target
from source
Output
= 06113 COMMAND
NUMBER - write
Status Table.
= 00010 ID OF TARGET DEVICE - 10.
= 00003 MEMORY TYPE OF TARGET
- Inputs or outputs.
= 00015 MEMORY
ADDRESS
OF TARGET
- Start
writing
to Series
One internal
I/O point
160. See Tables 5.1 and 5.3 for mapping
of
Series One and Series
One Plus discrete
I/O reference
numbers
to
reference
numbers
used for communication.
= 00016 DATA
LENGTH
- 16 points.
= 00033 MEMORY
ADDRESS
OF SOURCE
- Start
transfer
in Series
Six at Output Status Table reference
33.
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(t3)
Rnnnn
Rnnnn
(t4)
(t5)
(+l)
(t2)
The Series Six ladder
+ -- 1
from
target
logic
is shown
below:
00103
[ --_--_---_-_-_---_______-______-_____-__----------_------_-___-___
(OS)-+
l
00103
+ --
ROlOO
1 I --- [
BLOCKYOVE
+06113 +OOOlO +00003 +00015 +00016
I+--( I-+
+00033 +OOOOO
00103
ROlOO
+---1 [ ---[SCREQ]
to be sent to Series One/Junior/Plus
I/O must be stored in the Series Six Output
The sample
format
shows the relationship
Table before
execution
of the serial
request.
above of Series Six Outputs to their corresponding
Series One/Junior/Plus
I/O (only first 8
Outputs
outputs
in the example
are shown).
Series
40
167
.4
39
38
Six Inputs 33-40
37
36
35
34
33
166 165 164 163 162 161 160
Series Three I/O points 160-167
NOTE
Based on the timeouts
in Table 6.2, Series
writeen-to
from the Series Six PC.
One Junior
l/O
cannot
be
GEK-90477
Example
Communication
Examples
READ FROM TARGET
4:
5-24
USER MEMORY
(SERIES
ONE/JR/PLUS)
Read
the
first
16 words
of
the
user
program” in the Series
One/Junior/Plus
CPU and store
them
in Series six data registers
starting
at Register
1. The Target
ID is 10. The commmkation
is
to take place on CCM port Jl.
06101
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
=
=
(t3)
=
Rnnnn
Rnnnn
(t4)
=
(4
=
The Series
Six ladder
- Read from target
to source Register
COMMAND
NUMBER
Table.
00010 ID OF TARGET
DEVICE
- 10.
00007 MEMORY
TYPE OF TARGET
- User-Logic
memory.
00000
MEMORY
ADDRESS
OF
TARGET
Read
from
Series
One/Junior/Plus
user program
beginning
at address 0.
00016 DATA
LENGTH
- 16 words (16 registers).
00001
MEMORY
ADDRESS
OF SOURCE
- Store
in Series
Six
beginning
at Register
1.
logic
is shown
below:
00104
/r\P \
10004
r
1 _---------_------_-_--------_----__-------_-_----_-_-_--__________
1
+--I
00104
+ --
1 I --- [
(US
/-+
ROlOO
BLOCK MOVE
+Of)lOl +OOOlO +00007 +ooooo
ROlOO
00104
+-- 1 [ ---[SCREQ]
I+-(
+OOOM
+00001
+ooooo
>-+
GEK-90477
Example
Communication
5-25
Examples
WRITE TO TARGET
5:
USER MEMORY
(SERIES ONE/JR/PLUS)
Write
to the first
16 words
of the user program
in the
Series
One/Junior/Plus
CPU from
program
data stored
in Series Six data
Registers
1-16.
The target
ID is 10. The communications
will take
place on the Jl port of the CCM in the Series Six.
The CPU must
be placed
in Program/Stop
mode either
using the keyswitch
or a
serial request before
writing
to User Logic.
Rnnnn
06111
COMMAND
NUMBER
- Write
to target
from
source
Register
Table.
Rnnnn
Rnnnn
Rnnnn
(tl)
(t2)
(t3)
Rnnnn
Rnnnn
(t4)
(t5)
The Series
Six
= 00010 ID OF TARGET
DEVICE
- 10.
= 00007 MEMORY
TYPE OF TARGET
- User-Logic
memory.
= 00000
MEMORY
ADDRESS
OF
TARGET
Start
writing
User-Logic
memory
address 0.
= 00016 DATA
LENGTH
- 16 words (16 registers).
= 00001
MEMORY
ADDRESS
OF SOURCE
- Start
transfer
Series Six at Register
1.
ladder logic
is shown
1
from
below:
00105
/np\
.
\U3
/-+
10005
1 r
+ --I
to
--_----_-----I--_-----~~-~-~~~~-~-------~------~------~--~-~--~~~~
l
00105
+ --
ROlOO
1 1--- C
+06111
00105
ROlOO
+-- 1 [ ---[SCREQ]
BLOCK ?lOVE
+OOOlO +00007 +OOOOO +00016
I+-(
+OOOOl +OOOOO
I-+
GEK-90477
Example
Communication
Examples
5-26
READ FROM TARGET
6:
DATA
REGISTERS
(SERIES ONE PLUS)
Read 64 Series One Plus Data Registers
and store
registers
starting
at Series
Six
Register
1.
Communication
to take place on CCM port Jl.
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
(+3)
=
=
=
Rnnnn
(+4)
=
Rnnnn
(+5)
=
The Series
Six ladder
in-Series
Six data
Target
ID is 10.
06101 (decimal)
COMMAND
NUMBER
- Read from target
to source
Register
Table.
00010 ID OF TARGET
DEVICE
- 10.
00001 MEMORY
TYPE OF TARGET
- Register
memory.
00065 MEMORY
ADDRESS
OF TARGET
- Start reading
from Series
One Plus Register
400.
See Table
5.3 for mapping
of Series
One
Plus data register
reference
numbers
to reference
numbers
used for
communication.
00032 DATA
LENGTH
- 64 Series One Plus registers
(32 Series Six
registers).
00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six at Register
1.
logicis shown below:
OOLO6
/T\P\ .
10006
00106
+ --
I [
ROlOO
BLOCK MOVE
--a
[
+06101 +OOOlO +OOOOl +00065 +00032
I
00106
+
-a
I+-(
b+
+OOOOl +OOOOO
ROlOO
1 1--- [ SCREQ]
Series
data registers
are 8-bits
long therefore
two of these registers
will be
to one 16-bit
Series Six register.
The least significant
of the two Series One
registers
will be transferred
to the least significant
byte of the corresponding
One Plus
transferred
Plus data
Series Six register
(see sample
format
below):
.
Series Six Register
1
High Byte
Low Byte
Series One Plus Register 2 Series One Plus Register 1
(address 400)
3 (address 401)
GEK-90477
Example
Communication
5-27
Examples
WRITE TO TAl?G;T
7:
DATA
REGISTERS (SERIES ONE PLUS)
Write to the 64 Series One Plus data registers from Series Six data
ID is 10.
registers
starting
at Series Six Register
1. Target
Communication
to take place on CCM port Jl.
06111 COMMAND NUMBER - Write to target from source Register
Table.
= 00010 ID OF TARGET DEVICE - 10.
= 00001 MEMORY TYPE OF TARGET - Register memory.
= 00065 MEMORY ADDRESS OF TARGET - Start reading from Series
One Plus Register
400. See Table 5.3 for mapping of Series One
Plus data register reference numbers to reference
numbers used for
communication.
00032 DATA LENGTH - 64 Series One Plus registers (32 Series Six
registers).
00001 MEMORY ADDRESS OF SOURCE - Start sending from Series
Six Register 1.
R nnnn
Rnnnn(+l)
Rnnnn(t2)
Rnnnn(t3)
Rnnnn
Rnnnn
The Series Six ladder
logic is shown below:
00107
10007
1
(OS)-+
----‘------------~~--------~--~--~----------------------~-~-.-~~--~-
l
00107
+ --
ROlOO
1 [ --- [
BLOCKYOVE
+06111 +OOOlO +OOOOl +00065 +00032
I
00107
+ --
I+-(
>-+
+OOOOL +OOOOO
ROlOO
1 1---[SCREQ]
Series One Plus data registers
are 8-bits
long therefore
two of these registers
will be
written-to
from one 16-bit Series Six register.
The least significant
of the two Series
One Plus data registers
will be’ written-to
from the least significant
byte of the
corresponding
Series Six register (see sample format below):
Series
Series Six Register
1
High Byte
Low Byte
One Plus Register
2 Series One Plus Register
(address
401)
(address
400)
1
GEK-90477
Example
Communication
Examples
5-28
WRITE TO TARGET TIMER/COUNTER
(SERIES ONE PLUS)
8:
ACCUMULATORS
Write
to 2 Series One Plus Timer/Counter
accumula*tors
from
Six registers
starting
at Series Six Register
1.
Target
ID
Communication
to take place on CCM port Jl.
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
(+3)
=
=
=
Rnnnn
Rnnnn
(+4)
=
(+5)
=
The Series
Six ladder
06111
(decimal)
COMMAND
NUMBER
- Write
to target
from
source Register
Table.
00010 ID OF TARGET
DEVICE - 10.
00001 MEMORY
TYPE OF TARGET
- Register
memory.
00001
MEMORY
ADDRESS
OF
TARGET
Start
writing
to
Timer/Counter
1 (referenced
as T/C 600 in the user program).
See
Table
5.3 for mapping
of Timer/Counter
reference
numbers
to
reference
numbers
used for communication.
00002 DATA
LENGTH
- 2 accumulators
(2 registers).
00001 MEMORY
ADDRESS
OF SOURCE
- Start writing
from Series
Six Register
1.
logic
is shown
below:
00109
10009
+ -1
1
r
1
Series
is 10.
(OS)-+
---------------------~---~~~~~-------------------cI----------------
l
00109
+ --
ROlOO
1 [:--- 1
+06111
BLOCK MOVE
I+-(
+OOOlO +OOOOl +OOOOl +OOOOZ +OOOOl +OOOOO
I-+
1
ROlOO
00109
+ -- 1 c---[SCREQ]
NOTES ON WRITING
l
TO TIMER/COUNTER
Values
can be written
referenced
by a timer
ACCUMULATORS
at any time
to Timer/Counter
accumulators
or counter
in Series One Plus user logic.
which
are
not
GEK-90477
l
Communication
5-29
Examples
If a timer is programmed
in Series One Plus user logic and the input to that timer is
open, the value of the accumulator
will always be zero. If, however,
the input to the
timer
is closed and the timer
is timing,
the accumulator
will assume the value
written to it and will resume timing out from that value.
Once the timer
has timed
out, the accumulator
will accept n&w values, and if the value is below the preset, the
timer “coil”
is reset and the timer
will start
timing
from
the new accumulator
va ue
to the preset.
When the timer is reset, the accumulator
will always assume the va ue
of zero.
in Series One Plus user logic, it can be
he
Once the counter
has counted
out,
accumulator
will accept
new values,
and if the value is below the preset, the counter
“coil” is reset and the counter
will start counting
from
the new accumulator
value to
the preset.
When the counter
is reset,
the accumulator
will always assume value of
When
written
a counter
accumulator
to unless
the
reset
is programmed
input
is on.
zero.
must be placed
in Ser ies
Prior
to execution
of the serial
request,
data to be tra nsferred
Six registers as follows:
T he low byte of a Series One PI us Timer
or Counter
accumu lator
The high by te of
must be stored
in the low byte of the corresponding
Se ries Six register.
in the high byte o f the
the Series One Plus timer or counter
accumulator
must be stored
Series
Six register.
GEK-90477
Example
Communication
9:
Examples
LOGGING-IN
5-30
WITH PASSWORD (SERIES ONE PLUS)
Log-in on the Series One Plus CPU in which the password 1234 has
been
assigned
previously
(by
the
manual
programmer
or
communications).
Rnnnn
Rnnnn (+lJ
Rnnnn (+2)
Rnnnn (t3)
=
=
=
Rnnnn (+4)
Rnnnn (4)
=
=
The Series Six ladder
06111 (decimal)
COMMAND
NUMBER
- Write
to target
from
source Register Table.
00002 ID OF TARGET DEVICE - 2.
00006 MEMORY TYPE OF TARGET - Scratch-Pad.
00002
MEMORY
ADDRESS
OF TARGET
- Start
writing
to
Scratch-Pad
address 02.
00005 DATA LENGTH - 5 registers.
00001 MEMORY ADDRESS OF SOURCE - Start sendina from Series
Six Register 1. See explanation
below:
logic
is shown below:
00109
--_-_--_-_-_____-(OS)-+
KHo9
ROlOO
+-- IC --- [
+06111 +OOOOZ
BLOCK MOVE
+00006 +OOOOZ +00005
;+-( >-+
+00001 +ooooo
00109
ROlOO
+-- IL ---[SCREQ]
To log-in on the Series One Plus, the contents of 5 Series Six registers as shown below
must be written to the Scratch-Pad
of the Series One Plus CPU starting
at address 0002.
In this example,
Register
1 contains the subcode for logging-in
and Register 5 contains
The password must have been assigned previously
(using the manual
the password.
programmer
or communications
as shown in application
example 10).
ROOOl
R0002
R0003
R0004
R0005
0900 (Hex)
0000
0000
0000
1234 (Hex)
GEK-90477
Example
Communication
Examples
CHANGE
10:
5-31
PASSWORD (SERIES ONE PLUS)
Change
the password
to the Series One Plus CPU to”0100
(BCD).
If
has been assigned
previously,
you must
first
log in
according
to the instructions
in example
9. If a password
has not
been assigned,
you do not need to log in.
a password
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
(+3)
Rnnnn
Rnnnn
(+4)
=
(+5)
=
The Series
Six ladder
00110
+ --
1 I:--- [
logic
is shown
below:
ROlOO
+06111
I
+ --
=
=
=
06111
(decimal)
COMMAND
NUMBER
- Write
to target
from
source Register
Table.
00002 ID OF TARGET
DEVICE
- 2.
00006 MEMORY
TYPE OF TARGET
- Scratch-Pad.
00002
MEMORY
ADDRESS
OF
TARGET
Start
writing
to
Scratch-Pad
address 02.
00005 DATA
LENGTH
- 5 registers.
00001 MEMORY
ADDRESS
OF SOURCE
- Start sending from Series
below:
Six at Register
1. See explanation
BLOCK XOVE
+00002 +00006 +00002 +00005
I+-(
>-+
+00001 +ooooo
00110
ROlOO
1 1---[SCREQ]
To change the password, the contents
of 5 Series Six registers
as shown
below
must be
written
to the Scratch
Pad starting
at address 0002.
In this example,
Register
1 contains
the subcode for changing
the password
and Register
5 contains
the new password.
ROOOl
R0002
R0003
R0004
R0005
* Enter
this
BCD
OAOO (Hex)
0000
0000
0000
0100 (BCD*)
value
in HEX mode from
the Display
Reference
Tables
function
GEK-90477
Communication
CHECK
Example 11:
5-32
Examples
Checking
execution
PROGRAM
ERROR CODE (SERIES ONE
for a user program
of 4 communication
error and
requests.
its
PLUS)
location
requires
the
1. To inititate the error check, write Register 1 containing
the subcommand
(0300 Hex)
to the Series One Scratch-Pad
starting at address 0002. This initiates
the error check.
Rnnnn
Rnnnn (+l)
Rnnnn (+2)
Rnnnn (t3)
Rnnnn (t4)
Rnnnn (t5)
2.
= 06111 (decimal)
COMMAND
NUMBER
- Write
to target
from
source Register Table.
= 00002 ID OF TARGET DEVICE - 2.
= 00006 MEMORY TYPE OF TARGET - Scratch-Pad.
= 00002
MEMORY
ADDRESS
OF TARGET
- Start
writing
to
Scratch-Pad
address 02.
= 00001 DATA LENGTH - 1 register.
= 00001 MEMORY ADDRESS OF SOURCE - Start sending from Series
Six Register 1.
To read the error code, read the Series One Plus Scratch-Pad
Rnnnn
Rnnnn (tl)
Rnnnn (t2)
Rnnnn (t3)
Rnnnn (t4)
Rnnnn (4)
address 0004.
= 06101 (decimal) COMMAND NUMBER - Read from target to source
Register Table.
= 00002 ID OF TARGET DEVICE - 2.
= 00006 MEMORY TYPE OF TARGET - Scratch-Pad.
= 00004
MEMORY
ADDRESS OF TARGET
- Start
reading
from
Scratch-Pad
address 0004.
= 00001 DATA LENGTH - 1 register.
= 00002
MEMORY
ADDRESS OF SOURCE - Start storing
in Series
Six Register 2.
3. If the contents
of Scratch-Pad
address 0004 are 0, then there is no error.
If the
contents are not 0, initiate the error location check by writing
Register 3 containing
the subcommand (0600 Hex) to Series One Scratch-Pad
address 0002.
R nnnn
4.
Rnnnn (tl)
Rnnnn (t2)
Rnnnn (t3)
=
=
=
Rnnnn (t4)
Rnnnn (t5)
=
=
06111 (decimal)
COMMAND
NUMBER
- Write
to target
from
source Register Table.
00002 ID OF TARGET DEVICE - 2.
00006 MEMORY TYPE OF TARGET - Scratch-Pad.
00002 MEMORY
ADDRESS
OF TARGET
- Start
writing
to
Scratch-Pad
address 0002.
00001 DATA LENGTH - 1 register.
00003 MEMORY ADDRESS OF SOURCE - Start sending from Series
Six Register 3.
To read the location of
Scratch-Pad
address 0004.
R nnnn
Rnnnn (tl)
3
Rnnnn (t2)
Rnnnn (t3)
=
=
=
Rnnnn (t4)
Rnnnn (4)
=
=
the
error
in user
memory,
read
the
Series
One
Plus
06101 (decimal) COMMAND
NUMBER - Read from target to source
Register Table.
00002 ID OF TARGET DEVICE - 2.
00006 MEMORY TYPE OF TARGET - Scratch-Pad.
00004 MEMORY
ADDRESS OF TARGET
- Start
reading
from
Scratch-Pad
address 004.
00001 DATA LENGTH - 1 register.
00004 MEMORY
ADDRESS OF SOURCE - Start storing
in Series
Six Register 4.
GEK-90477
Communication
The Series
1.
Six ladder
logic
the error
check.
Initiate
5-33
Examples
is shown
below:
10011
+ --
1 [
00111
(OS)-+
-_-L_-_----_-___-----~-~~-~-~-~~~~~~----~-~---~~~~~~~~~~~----~----
00111
ROlOO
1 i:--- [
+ --
I+--(
BLOCK MOVE
+06111
2. Read the error
+OOOOZ
+00006
+OOOOZ
+OOOOl
+OOOOl
code.
10112
+ --1 r----_-___----_--------_-_-_-____--_-_---_______-______________-_-J
’
L
1 [
00112
(OS)-+
ROlOO
00112
+ --
>-+
+OOOOO
BLOCK MOVE
--a
[
I+-(
>-+
+06
3. Initiate
the error
location
check.
10013
+ -4
1
00113
(OS)-+
L -------__----_-_-_-_~~~~~~~~~~~~~~--~-~---------~--------------~
r
I 00113
+-- 1 [ ---
ROlOO
1
+06111
I
4. Read the location
BLOCK MOVE
+OOOOZ +00006 +OOOOZ +OOOOl
of the error
>-+
+OOOOO
code.
10114
+-- 1 [ ~~~---~---_)----------------~-~----------------------------------~-
1 00114
+-- 1 [ ---
I+-(
+00003
00114
(OS)-+
ROlOO
[:
BLOCK MOVE
I+-(
-+06101 +OOOOZ +00006 +00004 +OOOOl +00004 +OOOOO
b+
Communication
GEK-90477
5-34
Examples
ROlOO
00111
+-_1 [-----[SCREQ]
I I
I I
00112
+ --
1 1-- +
00113
+ -- 1 c--
I
+--
+
00114
I
1 [ -- +
The Series
above
ROOOl
Six registers
used
are defined
as follows:
-
R0002 R0003
-
R0004
-
in the
communications
The
subcommand
(0300
Hex),
address
0002,
must
be placed
programmer.
Receives
the Series One Plus error
address 0004.
The
subcommand
(0600
Hex),
addess
0002,
must
be placed
programmer.
Receives
the
Series
One
Plus
memory.
written
in this
code
written
in this
error
shorn
requests
to
Scratch-Pad
by the
register
from
Scratch-Pad
to Scratch-Pad
register
by the
location
in
user
GEK-90477
Example
Communication
Examples
5-35
READ FROM TARGET
12:
DATA REGISTERS
Read 64 Series One Plus Data Registers
registers
starting
at Register
1. Target
to take place on CCM port Jl.
R nnnn
Rnnnn
Rnnnn
Rnnnn
(tl)
=
(t2)
(t3)
=
=
Rnnnn
(+4)
=
Rnnnn
(t5)
=
The Series
Six ladder
(SERIES THREE)
and store in Series Six data
ID is 10. *Communication
06101 (decimal)
COMMAND
NUMBER
- Read from target
to source
Register
Table.
00010 ID OF TARGET
DEVICE - 10.
00001 MEMORY
TYPE OF TARGET
- Register
memory.
00001 MEMORY
ADDRESS
OF TARGET
- Start
reading
from Series
Three
Register
1. See Table 5.4 for mapping
of Series Three data
register
numbers
to
reference
numbers
used
for
reference
communication.
- 64 Series Three
registers
(32 Series
Six
00032 DATA
LENGTH
registers).
00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six at Register
1.
logic
is shown
below:
00106
(OS )-+
10006
1 r
+ -- 1 L------------L--------~~~~~~-_~---------------------------~---~-----
l
00106
ROlOO
+--1 [--- C
+06101
BLOCK MOVE
+00010
+00001
+00001
I+-(
+00032
+00001
I-+
+ooooo
00106
ROlOO
+-- 1 [ ---[SCREQ]
Series
Three
data registers
are 8-bits
long therefore
two of these
registers
will
be
The least significant
of the two
Series
transferred
to one 16-bit
Series Six register.
Three data registers
will be transferred
to the least signif icant byte of the corresponding
Series Six register
(see sample format
below):
Series
High Byte
Series
Three Register
(address
501)
Six
2
Register
1
Low Byte
Series
Three Register
(address
500)
1
GEK-90477
Example
Communication
Examples
5-36
WRITE TO TARGET
13:
DATA
REGISTERS (SERIES THREE)
Write
to the 64 Series Three
registers
starting
at Register
to take place on CCM port Jl.
Rnnnn
06111
Table.
COMMAND
NUMBER
data registers
from
1. Target
ID is 10.
- Write
to target
from
Series
Six data
Communication
source
Register
Rnnnn(t1)
R nnnn( t2)
Rnnnn(t3)
= 00010 ID OF TARGET
DEVICE - 10.
= 00001 MEMORY
TYPE OF TARGET
- Register
memory.
= 00001 MEMORY
ADDRESS
OF TARGET
- Start reading
Three
Register
1. See Table 5.4 for mapping
of Series
register
numbers
to reference
numbers
reference
R nnnn( t4)
= 00032
DATA
LENGTH
- 64 Series Three registers
(32 Series Six
registers).
= 00001 MEMORY
ADDRESS OF SOURCE - Start sending from Series
from Series
Three
data
used for
communication.
R nnnn( t5)
Six Register
The Series
Six ladder
logic
is shown
1.
below:
10007
00107
1 [ --- [
+ --
00107
ROlOO
BLOCKMOVE
+06111
00107
+--
+OOOlO
+OOOOl
+OOOOl
I+-(
+00032
+OOOOl
>-+
+OOOOO
ROlOO
1 [ ---[SCREQ]
Series
Three
data
registers
are 8-bits
long therefore
two of these
registers
will
be
written-to
from
one 16-bit
Series Six register.
The least significant of the two Series
be written-to from
the least significant byte of the
Three data registers will
corresponding
Series Six register
(see sample format below):
Series
High Byte
Series
Three Register
(address
501)
*
Six Register
2
1
Low Byte
Series Three Register
(address
500)
1
GEK-90477
Communication
Example
READ FROM TARGET
(SERIES THREE)
14:
Three
Read 64 Series
them in Series
Communications
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(tl)
=
(t2)
(t3)
=
=
Rnnnn
Rnnnn
(+4)
=
(4)
=
The Series
5-37
Examples
Six ladder
TIMERS
AND
COUNTERS
Timer/Counter
Six registers
takes place
starting
through
accumulator
at Register
1.
CCM port Jl.
values
and store
Target
ID is 10.
06101 COMMAND
NUMBER
- Read from target
to source Register
Table.
00010 ID OF TARGET
DEVICE - 10.
00001 MEMORY
TYPE OF TARGET
- Register
memory.
00065 MEMORY
ADDRESS
OF TARGET
- Start reading
from Series
Three Timer/Counter
0 (accumulator
referenced
as 200).
See Table
5.4 for mapping
of Series Three
Timer
and Counter
accumulator
reference
numbers
to reference
numbers
used for communication.
00064 DATA
LENGTH
- 64 accumulator
references
(64 registers).’
00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six at Register
1.
logic
is shown below:
00108
10008
+ -4
1 r -------------------------~~-~------------------------~~--~--~----~1
(OS)-+
l
00108
+-- 1 [ ---
ROlOO
I:
I+-(
BLOCK YOVE
+061Ol
+OOOlO
+OOOOl
+00065
+00064
+OOOOl
I-+
+OOOOO
I
00108
ROlOO
+ -- 1 c---[SCREQ]
The
low
byte
of a Series
Three
Timer
or Counter
The high byte of a Series
a Series Six register.
stored in the high byte of a Series Six register.
accumulator
Three Timer
is stored in the low byte of
or Counter
accumulator
is
GEK-90477
Example
Communication
5-38
Examples
WRITE TO TARGET
(SERIES THREE)
15:
TIMER/COUNTER
ACCUMULATORS
Write to 2 Series Three Timer/Counter
accumulat*or
values from
Series Six registers
starting
at Register
1. Target
ID is 10.
Communication
to take place on CCM port Jl.
Rnnnn
Rnnnn (+l)
Rnnnn (+2)
Rnnnn (+3)
=
=
=
Rnnnn (+4)
Rnnnn (+5)
=
=
The Series
Six ladder
06111 (decimal)
COMMAND
NUMBER
- Write
to target
from
source Register Table.
00010 ID OF TARGET DEVICE - 10.
00001 MEMORY TYPE OF TARGET - Register memory.
00065
MEMORY
ADDRESS
OF TARGET
- Start
writing
to
Timer/Counter
0 (accumulator
reference
200). See Table 5.4 for
mapping
of Timer/Counter
accumulator
reference
numbers
to
reference numbers used for communication.
00002 DATA LENGTH - 2 accumulators
(2 registers).
00001 MEMORY ADDRESS OF SOURCE - Start writing
from Series
Six Register 1.
logic
is shown
below:
00109
10009
/np
00109
+ -- 1 [ ---
\
ROLOO
[
BLOCK MOVE
+06111
+OOOlO
+OOOOl
+00065
+00002
+OOOOl
+oOOOO
I+-(
I-+
I
00109
ROlOO
+ -- 1 [ ---[SCREQ]
NOTES ON WRITING
l
TO TIMER/COUNTER
ACCUMULATORS
Values can be written
at any time to Timer/Counter
accumulators
referenced by a timer or counter in Series Three user logic.
which
are not
GEK-90477
Communication
Examples
5-39
0
If a timer
is programmed
in Series Three user logic and the input to that timer
is
open,
the programmed
preset
will
always
override
any
value
written
to
the
accumulator.
If, however,
the input to the timer
is closed and the iimer
is timing,
the accumulator
will
assume the value
written
to it and will
resume
timing
down
from
that value.
Once the timer
has timed
out, the accumulator
will accept
new
values but the timer
will not timedown
again; it must be reset first.
When the timer
is reset, the accumulator
will always assume the preset value.
l
When a counter
accumulator
is programmed
in Series
Three
User Logic,
it can be
written
to unless
the reset
input
is on.
Once
the counter
has counted
out, the
accumulator
will accept
new values
but the counter
will
not count
down again;
it
must be reset first.
When the counter
is reset, the accumulator
will always assume
the preset value.
Prior to execution
of the serial
request,
data to be transferred
must be placed
in Series
Six registers
as follows:
The low byte of a Series Three Timer
or Counter
accumulator
must be stored
in the low byte of the corresponding
Series Six register.
The high byte of
the Series Three timer
or counter
accumulator
must be stored
in the high byte of the
Series Six register.
GEK-90477
Communication
16:
Example
READ
5-40
Examples
FROM
l/O (SERIES THREE)
TARGET
Read the 400 Series Three external
I/O points
Six Input Status Table starting
at Input 1.
Communication
to take place on CCM port Jl.
Rnnnn
Rnnnn(t1)
R nnnn( +2)
R nnnn( t3)
=
=
=
R nnnn( +4)
Rnnnn(+S)
=
=
The Series Six ladder
ancfstore
in Series
Target
ID is 10.
06102 (decimal) COMMAND NUMBER - Read from target to source
Input Status Table.
00010 ID OF TARGET DEVICE - 10.
00003 MEMORY TYPE OF TARGET - Series Three I/O.
00001 MEMORY ADDRESS OF TARGET - Start reading from Series
Three I/O point 1. See Table 5.4 for mapping of Series Three
discrete
I/O reference
numbers
to reference
numbers
used for
communication.
00400 DATA LENGTH - read 400 I/O points.
00001 MEMORY
ADDRESS OF SOURCE - Start storing
in Series
Six at Input 1.
logic is shown below:
10010
+ -- 1
00110
c
(OS >-+
~--~-~~--~-L-----~-~~~~~~~~~---~----------------------------------
L
00110
+ --
ROlOO
1 [ --- [
BLOCK MOVE
+06102
+OOOlO
+00003
I+-(
+00400
+OO001
+00001
>-+
+00000
00110
ROlOO
+-- 1 [ ---[ SCREQ]
I
I/O from the Series Three will be stored in the Series Six Input
following
format (only the first 8 I/O in the example are shown).
Series Six Inputs l-8
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
0
Series Three I/O points O-7
Status
Table
in the
GEK-90477
Example
Communication
WRITE TO TARGET
17:
5-41
Examples
I/O (SERIES
THREE)
Write
16 Series Three
internal
I/O points
(points
7000 - 7017) from
Series Six Output
Status Table starting
at Output
point 33. Target
ID is 10. Communication
to take place on CCM port Jl.
- Write
to target
from Soufce
Output
= 06113 (COMMAND
NUMBER
Status Table.
= 00010
ID OF TARGET
DEVICE
- 10.
= 00003 MEMORY
TYPE OF TARGET
- Series Three l/O.
= 00089 MEMORY
ADDRESS
OF TARGET
- Start
writing
to Series
Three
internal
l/O point 7000.
See Table 5.4 for mapping
of Series
Three
discrete
I/O reference
numbers
to reference
numbers
used
for communication.
= 00016 DATA
LENGTH
- write 16 I/O points.
= 00033 MEMORY
ADDRESS
OF SOURCE
- Start transfer
in Series
Six at Output
point 33.
Rnnnn
R nnnn(+l )
R nnnn(+2)
R nnnn(+3)
R nnnn(+4)
R nnnn(+5)
The Series
Six
ladder
logic
is shown
below:
00111
+ --
(OS >-+
1 1
_____-__c_-_-_-----_--_____-___--___-_-_-___-__-_-_------_----_-___
l
00111
+ --
1
ROlOO
c--- [
+06113
BLOCK YOVE
+OOOlO +00003 +00089 +00016
I+--( >-+
+00033
+ooNIo
00111
ROlOO
+-- 1 1---[SCREQ]
Outputs
before
of Series
example
to be sent
execution
Six
to
Series
of the serial
outputs
to their
Three
I/O must be stored
in the Series Six Output
The sample format
shows the relationship
request.
corresponding
Series Three
I/O (only first
8 outputs
are shown).
Series Six Inputs 33-40
38
37
36
35
34
33
40
39
7007 7006 7005 7004 7003 7002 7001 7000
Series Three I/O points 7000-7007
Table
above
in the
GEK-90477
Example
Communication
18:
READ
5-42
Examples
FROM
TARGET
USER
MEMORY
(SERIES
THREE)
Read the first 64 words of the user program in the Series Three
CPU and store in Series Six data registers
starting
at Register
1.
Target ID is 10. Communication
to take place on CCM port Jl.
Rnnnn
= 06101 (decimal) COMMAND NUMBER - Read from target to
Register Table.
= 00010 ID OF TARGET DEVICE - 10.
= 00007 MEMORY TYPE OF TARGET - User-Logic
memory.
= 00000 MEMORY ADDRESS OF TARGET - Start reading from
Three User Program address 0.
= 00064 DATA LENGTH - 64 words (64 registers).
Each Series
user instruction
is at least 2 bytes).
= 00001 MEMORY
ADDRESS OF SOURCE - Start storing
in
Six at Register 1,
Rnnnn(+l)
Rnnnn(t2)
R nnnn( t3)
Rnnnn(t4)
Rnnnn(t5)
The Series Six ladder
+ --
1
source
Series
Three
Series
logic is shown below:
c-------------------------------------------------------------------
(OS)--+
l
00112
+ --
ROlOO
1 1--- [I
+06101 +OOOlO
00112
ROlOO
+-- IC ---[SCREQ]
BLOCK MOVE
+00007 +OOOOO +00064
I+-(
+OOOOl
+OOOOO
>-+
GEK-90477
WRITE TO TARGET
Example 19:
5-43
Examples
Communication
USER MEMORY
(SERIES THREE)
Write to the first
64 words of the user program
in the Series Three
CPU
from
program
data
stored
in Series
Six Registers
1-128.
Target
ID is 10. Communication
to take place
on CCM port
Jl.
The CPU must
be placed
in Program/Stop
mode using
the serial
request
in Example
22 before writing
to tarqet
user memory.
06111
Rnnnn
Rnnnn(t1)
R nnnn( +2)
Rnnnn(t3)
=
=
=
R nnnn( t4)
=
Rnnnn(t5)
=
The Series
Six ladder
(decimal)
COMMAND
NUMBER
- Write
to target
from
source Register
Table.
00010 ID OF TARGET
DEVICE
- 10.
00007 MEMORY
TYPE OF TARGET
- User-Logic
memory.
00000 MEMORY
ADDRESS
OF TARGET
- Start reading
from Series
Three user program
address 0.
00064
DATA
LENGTH
- 128 bytes,
each
Series
Three
user
instruction
is at least 2 bytes (64 regsisters).
00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six at Register
1.
logic
is shown
below:
00113
10013
00113
ROlOO
+-- 1 [ --- [
+06111
00113
ROlOO
+-- 1 c---[SCREQ]
BLOCK MOVE
tOOO10 +00007 +OOOOO +00064 +OOOOl
I+-(
+OOOOO
b+
GEK-90477
Example
Communication
READ
20:
5-44
Examples
PC TYPE
(SERIES ONE/JUNIOR/PLUS
OR SERIES THREE)
Read the PC Type code from the Series
One/Junior/Plus
or Series
Three
CPU and store in Series Six Register
1. The target ID is 10.
The communication
will take place over the Jl port of the CCM in
the Series Six.
- Read from target
to source
Register
= 06101 COMMAND
NUMBER
Table.
= 00010 ID OF TARGET
DEVICE
- 10.
= 00006 MEMORY
TYPE OF TARGET
- Scratch
Pad.
= 00022 MEMORY
ADDRESS
OF TARGET
- Read from
Series
One
Scratch
Pad beginning
at address 22.
= 00001 DATA
LENGTH
- read 2 bytes (1 register).
= 00001
MEMORY
ADDRESS
OF SOURCE
- Store
in Series
Six
beginning
at Register
1.
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(t2)
(t3)
Rnnnn
Rnnnn
(t4)
(t5)
The Series
Six ladder
logic
is shown
below:
10014
+
1 [
-a
00114
+ --
00114
---------a-----
I
-_-_--------________~~~~~~~~~~~~~-~~~-~-~---~-~
1 E
---(OS-+
ROLOO
-a-
[
+06101
+00010
BLOCKMOVE
+00006
+00022
I+-(
+00001
+oooo1
+ooooo
00114
ROlOO
+ -- 1 [ ---[SCREQ]
For
this
example:
The data from the Series One/Junior/Plus
Series Six register
as follows:
Series
Six Register
1
3
1
1
1
or Series
Three
will
be stored
in the
Content
0101
0202
0303
0707
(Hex)
(Hex)
(Hex)
(Hex)
(for
(for
(for
(for
Series
Series
Series
Series
One)
One Junior)
One Plus)
Three)
>-+
GEK-90477
Example
Communication
5-45
Examples
READ TARGET RUN/PROGRAM
MODE
(SERIES ONE/JUNIOR/PLUS
OR SERIES THREE)
21:
Read the Series
One/Junior/Plus
or Series
Three
dperation
mode
and store in Series Six Register
1. The Target
ID
(RUN/PROGRAM)
is 10. The communication
will
take place
on the Jl port
of the
CCM.
Rnnnn
Rnnnn
Rnnnn
(+l)
(t2)
Rnnnn
(t3)
Rnnnn
Rnnnn
(t4)
(+5)
The Series
= 06101
Table.
= 00010
= 00006
COMMAND
NUMBER
-
Read
from
target
to source
Register
ID OF TARGET
DEVICE
- 10.
MEMORY
TYPE
OF TARGET
- Series
One/Junior/Plus
or
Series Three Scratch
Pad.
= 00000
MEMORY
ADDRESS
OF TARGET
- Start
reading
from
Scratch
Pad address 0.
= 00001 DATA
LENGTH
- read 2 bytes (1 register).
= 00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six at Register
1.
Six ladder
logic
is shown
below:
00115
10015
+ --
1 I -__-_------_------_-__--________----__----_-_-_----------_--_---_--
(OS)-+
l
ROlOO
00115
+-- 1 1-cm f
BLOCK ?lOVE
+06101
+OOOlO
+00006
+OOOOO +OOOOl
I
I+-(
+OOOOl
>-+
+OOOOO
I
00115
ROlOO
+-- 1 1---[ SCREQ]
For
this
example:
The data from the Series
register
as follows:
One/Junior/Plus
Series Six Register
1
or Series
Three
will
be stored
in the
Contents
0101 (Hex) or
00257 (Dee)
-
if CPU in RUN mode
8080 (Hex) or
32896 (Dee)
-
if CPU in PROGRAY mode
3
Series
Six
GEK-90477
Example
Communication
22:
Examples
5-46
COMMAND TARGET RUN/PROGRAM
MODE
(SERIES ONE/JUNIOR/PLUS
OR SERIES THREE)
Command
the
Series
One/Junior/Plus
or Series
Three
CPU
operational
mode (RUN/PROGRAM)
from Series Six Register
1.
The target ID is 10. The communication
is to take place on the Jl
port of the CCM.
= 06111 COMMAND
NUMBER - Write to target from source Register
Table.
= 00010 ID OF TARGET DEVICE - 10.
= 00006 MEMORY TYPE OF TARGET - Scratch pad.
= 00000
MEMORY
ADDRESS
OF TARGET
- Start
writing
to
Scratch-Pad
address 0.
= 00001 DATA LENGTH - write 2 bytes (1 register).
= 00001 MEMORY ADDRESS OF SOURCE - Start reading from Series
Six at Register 1.
Rnnnn
Rnnnn (+l)
Rnnnn (+2)
Rnnnn (+3)
Rnnnn (+4)
Rnnnn (+5)
The Series Six ladder
logic is shown below:
00116
1 10016
+-- I [_-_-_---____---_-__-~~~-~-~~-~----~-~~~~-~-~-----~-~--------------(OS)-+
l
ROlOO
00116
+
-0
1
--a
[
[
I
BLOCK MOVE
+06111 +OOOlO +00006 +OOOOO +OOOOl +OOOOl
I+-(
>-+
+OOOOO
00116
ROlOO
+-- 1 c---[SCREQ]
For this example:
The data to be sent to the Series One/Junior/Plus,
the Series Six register as follows:
Series Six Register
1
or Series Three
must be stored
in
Contents
0101 (Hex) or
00257 (Dee)
-
to Command CPU to RUN mode
8080 (Hex) or
32896 (Dee)
-
to Command CPU to PROGRAY mode
GEK-90477
Communication
Examples
5-47
NOTE
Users with
Series Three CPUs with date codes prior
to 8408%~~~
and are executing
user programs
in PROM will experience
difficulty
using this request
since the user program
is in PROM.
In this case
the CCM will report the following
for this request:
SERIES THREE MODE
RUN mode
PROGRA.?l/STOPmode
PROM
DCM reports RUN mode
DCM reports RUN mode
RAM
DCM reports RL.3 mode
DCM reports PROGRA?l mode
GEK-90477
Example
Communication
5-48
Examples
READ TARGET DIAGNOSTIC
(SERIES ONE/JUNIOR/PLUS
23:
Read
from
Series Six
CCM
Rnnnn
Rnnnn
Rnnnn
Rnnnn
(+l)
(+2)
(t3)
=
=
=
Rnnnn
Rnnnn
(t4)
(t5)
=
=
port
target
DCU
Registers
l-5.
J2. The Target
STATUS
WORDS
OR SERIES
THREE)
or DCM Diagnostic
The communication
ID is 36.
Statui
is to
Words l-5
take place
to
on
06201 COMMAND
NUMBER
- Read from
DCU or DCM to source
Register
Table.
00036 ID OF TARGET
DEVICE - 36.
00009 MEMORY
TYPE OF TARGET
- Diagnostic
Status Word.
00000 MEMORY
ADDRESS
OF TARGET
- Begin
read from
Status
Word 1.
00005 DATA
LENGTH
- 5 words (5 registers).
00001 MEMORY
ADDRESS
OF SOURCE
- Start
storing
in Series
Six Register
1.
The Series Six ladder logic
is shown
below:
10017
l
00117
ROlOO
+-- I[ --- C
+06201
BLOCK MOVE
+00036
+00009
+OOOOO
I+-(
+00005
+OOOOl
I-+
+OOOOO
1 00117
ROlOO
+-- 1 I:---[SCREQ]
For more
chapter.
information,
see the section
on Diagnostic
Status
Words
and error
codes
in this
GEK-90477
Communication
Examples
5-49
CLEAR TARGET DIAGNOSTIC STATUS WORDS
(SERIES ONE/JUNIOR/PLUS
OR SERIES THREE)
Example 24:
Clear the
target
DCU
or DCM
Diagnostic
writing
zeroes
to
them
from
Series
Six
communication
is to take place on CCM port
36 .
Rnnnn
Rnnnn
Rnnnn
Rnnnn
Rnnnn
Rnnnn
The Series
(+l)
(t2)
(t3)
(t4)
(t5)
=
=
=
=
=
Six ladder
Stat”;
Words
l-5
by
Registers
1-5.
The
J2. The target
ID is
06211 COMMAND
NUMBER
- Write
from source
Register
table
to
DCU or DCM Diagnostic
Status Words.
00036 ID OF TARGET
DEVICE
- 36.
00009 MEMORY
TYPE OF TARGET
- Diagnostic
Status Word.
00000 MEMORY
ADDRESS
OF TARGET
- Start with status word 1.
00005 DATA
LENGTH
- 5 words (5 registers).
00001
MEMORY
ADDRESS
OF SOURCE
- Begin
writing
from
Series
Six register
1. Series Six Registers
l-5
should
be cleared
before execution.
logic
is shown
below:
00118
/AP\ .
10018
.
+
-a
00118
1 [
--a
ROlOO
r.
+06211
BLOCK NOVE
+00036 +00009 +OOOOO +00005 +00001
I+--(
>-+
+ooooo
00118
ROlOO
+-- 1 1---[sCREQ]
For more
chapter.
information,
see the section
on Diagnostic
Status
Words
and error
codes
in this
GEK-90477
Serial
Interface
Protocol
SERIAL
6-l
CHAPTER
INTERFACE
6
PROTOCOL
P
The purpose of this chapter is to provide complete information
on DCU and DCM serial
interface
protocol and timing to allow the user to write a serial communications
driver
for a host computer or microprocessor.
INTRODUCTION,
MASTER-SLAVE
PROTOCOL
The serial interface
protocol used for DCU and DCM data communications
is based on the
Master-Slave
portion of CCM protocol developed for Series Six data communications.
As
used with the DCU or DCM, the host will always be the master and the DCU or DCM will
always be the slave.
For a complete
description
of all aspects of Series Six CCM
protocol, see Chapter 4 of the Series Six Data Communications
Manual, GEK-25364.
ASYNCHRONOUS
DATA
FORMAT
Data transferred
across the physical channel will be sent serially one bit at a time. The
data is divided into 8-bit bytes and is transferred
using an asynchronous
format.
Figure
6.1 shows the data format.
If parity is selected, an additional
parity bit is sent.
TPK.A.40015
l
BIT 0
BIT I
START
LSe'
BIT2
BIT 3
BIT 4
BIT 9
BIT IO
.
DATA
l ODDOR
NONE VIADIPSWITCHSELECTION
ON DCM
NOTE: WHEN PARITY IS DISABLED,BIT 9 IS NOT
INCLUDED IN THE TRANSMISSION.
Figure
6.1 SERIAL
DATA
FORMAT
GEK-90477
The 8-bit
explained
blocks.
Serial
Interface
binary data is transferred
with
parity
and block check codes.
As will
be
in detail later, the data transfer
consists of a 17-byte
header fhllowed
by data
The data transfers can be in either direction
and are specified by the header.
CONTROL
CHARACTER
The control characters
in Table 6.’ I .
CODING
used in the serial
Table 6.1
ABBREVIATION
SOH
STX
ETX
EOT
7
EhQ
ACK
NAK
ETB
ENQUIRY
6-2
Protocol
interface
CONTROL
HEX VALUE
01
02
03
04
05
06
15
17
protocol
CHARACTER
and their
meaning
are given
CODES
MEANING
Start of Header
Start of Text
End of Text
End of Transmission
Enquiry
Acknowledgment
Negative Acknowledgment
End of Transmission Block
RESPONSE DELAY
me enquiry response delay is a timed delay inserted between the receipt of an enquiry
This is done so that idle slaves,
sequence from a master and the response by a slave.
which monitor any active link between the master and a slave, will not be confused by
enquiry
sequences occurring
during transmission
of the data text.
When an idle slave
timer of 10 ms plus 4
recognizes
an apparent
enquiry sequence, it starts an internal
character
times.
If any other character
is received before the timer times out, the idle slave disregards
Therefore,
any device transmitting
data text on a multidrop
link should
the enquiry.
ensure that there will be no gaps in the text greater than 2 character
times SO an idle
slave will not misinterpret
data as an enquiry sequence.
GEK-90477
Serial
Interface
6-3
Protocol
.
NORMAL
SEQUENCE*,
MASTER-SLAVE
E
Normal
Enquiry
Sequence
The form of the Normal (N) Enquiry Sequence from the master to the target slave DCU
or DCM and the response by the target slave DCU or DCM is shown below.
In data
communications
involving
a DCU or DCM, the DCU or DCM is always the slave (target)
and the Series Six or host computer is always the master (source).
TPK.A.40366
I
BYTE
ENQUIRY
CHARACTER
SENT FROM
SOUffCE [MASTER)
TO SLAVE ITARGET
RESPONSE
CHARACTER
SENT FROM
SLAVE (TARGET)
TO SOURCE MASTER)
I
BYTE
I
BYTE
OR
Target
N
..
Address
:
ENQ
ACKorNAK
:
:
If the slave response
retry
the enquiry.
communication.
Normal
ASCII coded “N” (4E in HEX coding) used to specify
Normal
Sequence operation --sent as a single byte.
Target address is the target ID number (set with the DCU Unit ID
DIP switches)
to which the master is attempting
communications
plus 20H (ASCII coded “!I’ though “z” or 21 through 7A in HEX
coding&sent
as a single byte.
ASCII control character
meaning enquire--sent
as a single byte.
negative
acknowledge
or
Response
from
slave
meaning
acknowledgment
--sent as a single byte.
to a master enquiry is invalid, the master will delay a short time
The master will retry
the enquiry
32 times before aborting
Sequence Protocol
The general format
for
Figure 6-2 shows a data
6.3 shows a data transfer
is always the initiator
of
*
and
the
Format
a successful
communication
is shown in Figures 6.2 and 6.3.
transfer
from the source device to the target device and Figure
from the target device to the source device.
The source device
the request; the target device receives the request.
The term, Normal Sequence, is retained
Series Six Data Communications
Manual
from the explanation
(GEK-25364).
of CCM protocol
in the
GEK-90477
Serial
Interface
Protocol
6-4
8- TPK.A.40366
CHARACTER
SENT FROM
SOURCE DEVICE
(MASTER1
CHARACTER
SENT FROM
TARGET DEVICE
tSLAVE1
Figure
6.2
DATA
TRANSFER
FROM MASTER
TO SLAVE
TPK.A.40367
CHARACTER
SENT FROM
SOURCE DEVICE
(MASTER1
CHARACTER
SENT FROM
TARGET DEVICE
(SLAVE1
Figure
*
6.3
DATA
TRANSFER
FROM SLAVE TO MASTER
The maximum size of a data block is 256 bytes for the Series One Plus and Series
Three PCs. Because of limitations
of accessing
Series One or Series One Junior
memory through the DCU, the standard time outs for CCM protocol
shown in Table
6.2 restrict
the transmission
length of a single request to less than one full data
block. For more information
see the section, Text Data Blocks.
GEK-90477
Master-Slave
Serial
Interface
Normal
6-5
Protocol
Sequence Flow Charts
To fully understand how the protocol
and accompanying
explanation.
operates
Normal
6.4)
Sequence,
Master
(See Figure
under error
conditions
see ;he flow
Start N Sequence.
Start N. Enquiry.
Has enquiry been retried 32 times?
If YES, send EOT to slave and exit N Sequence.
If NO, send N Enquiry (N, Target Address, ENQL
Read N Enquiry response.
Is there a time-out
or error in response (response not an ACK or a NAK)?
If yes, delay 10 ms or the turn-around
delay if it is not 0 ms, increment
Enquiry retry count, and return to “Start N Enquiry”.
If NO, send the header to the slave.
Read response to header.
Is there a time-out
on the response? (Condition
4, Table 6.2)
If YES, send an EOT and exit the initiate
sequence.
If NO, is response an ACK or NAK?
If YES, has header been retried 3 times?
If YES, send EOT and exit initiate
sequence.
If NO, return to “Send Header”.
If NO, go to “Read or Write Data Blocks” depending on the direction
transfer.
Normal
Response,
Slave (See Figure
charts
the
of
N
data
6.5)
Start N Response.
Read N Enquiry.
Is N Enquiry sequence correct?
If NO, return to “Read N Enquiry”.
If YES, Start timer of 10 ms plus 4 character
times.
Is timer done?
If NO, have any characters
arrived?
If NO, go to “Is Timer Done?“.
If YES, go to “Read N Enquiry”.
If YES, send N Enqui ry Response.
Read header.
Is there a time-out
between ENQ response and the first character
of the header?
If YES, send EOT and exit.
If NO, is header OK?
If NO, has header been retried 3 times?
If YES, send EOT and exit.
If NO, send NAK and return to “Read Header”.
If YES, >end ACK and go to “Read and Write Data Blocks” depending
direction
of data transfer.
on the
GEK-90477
Serial
Interface
6-6
Protocol
kS6-84-0057
MASTER-SLAVE:
N SEQUENCE
I
PROTOCOL
(MASTER)
INCREMENT
N ENQUIRY
RETRY
COUNT
DELAY
W
TURK
10
I& RESPONSE’
AROUND
NOT 0 MSEC
r-
RETRY
HEADER
P
SEND
HEADER
i
I
NO
1YES
NO
%EE CONDITION 1, TABLE 6.2
%EE CONDITIOti4, TABLE 6.2
Figure
6.4
N SEQUENCE,
MASTER
GEK-90477
Serial Interface
Protocol
6-7
+CS6-84-0058
READ
fu
ENQUIRY
I
CHAR
BEFORE
SEND
ENGUIRY
RESPONSE
ISEE CONDITION 2, TABLE 6.2
2SEE CONDITION_3, TABLE 6.2
Figure
6.5
N RESPONSE, SLAVE
GEK-90477
Serial
Interface
Protocol
6-8
kS6-84-0059
SEND
EOT
DATA
WRITE
DATA
.
BLOCK
NEXT
BLOCK
.
I
6
SET UP
NEXT DATA
BLOCK
4
ISEE CONDITION 6, TABLE 6.2
%EE CONDITION48, TABLE 6.2
Figure
6.6 WRITE DATA
BLOCKS,
MASTER
OR SLAVE
GEK-90477
Serial
Interface
Protocol
6-9
PC%-844060
SEND
EOT
I
I
SEND
ACK
READ
EOT
I
SEND LOT
TO END
SESSION
1
9EE CONDITION 5, TABLE 6.2 +QGNCE
2SEE CONDITION 7, TABLE 6.2
2SEE CONDITION 8; TABLE 6.2
4
Figure
6.7
READ DATA
I
/
BLOCKS,
MASTER
OR SLAVE
GEK-90477
Write
Serial
Data Blocks,
Interface
Master
6-10
Protocol
or Slave (See Figure
6.6)
Write data block.
e
Is there a time-out
on the data block response? (Condition
6, Table 6.2)
If YES, is data block response ACK or NAK?
If NO, is data block response ACK or NAK?
If not ACK or NAK, send EOT to other device and exit.
If ACK or NAK, is it a NAK?
If YES, has data block been retried 3 times?
If NO, return to “Write Data Block”.
*If NO, is it last data block?
If NO, set up next data block and return to “Write Data Block”.
If YES, send EOT to end session.
Is this device a Master?
If YES, exit N Sequence.
If NO, read EOT.
Is there a time-out
on EOT or is character not an EOT? (Condition
8, Table 6.2)
If there is a time-out
or the character
is not EOT, send EOT and exit N Response.
If EOT is OK, session is complete.
Exit N response.
Read Data Blocks,
Master
or Slave (See Figure
6.7)
Read data block.
Is there a time-out
on the first character of the data block? (Condition
5, Table 6.2)
If YES, send an EOT and exit.
If NO, is there a time-out
on the entire data block? (Condition
7, Table 6.2)
If YES, send an EOT and exit.
If NO, is the data block OK?
If NO, has the data block been retried 3 times?
If YES, send EOT and exit.
If NO, send NAK and return to “Read Data Block”.
If YES, send ACK.
“Is it the last data block?
If NO, return to “Read Data Block”.
If YES, read EOT.
Is there a time-out
on the EOT or is the character
not an EOT?
If there is a time-out
or the character
is not EOT, send EOT and exit.
If EOT is OK, is this device a master?
If NO, the session is complete, exit N Response.
If YES, send EOT to end session, exit N Sequence.
l
*
For Series One and Series One Junior communications,
only one partial data block
can be sent per request based on the time outs in Table 6.2. Therefore,
it is always
the
last.
The flow
chart
and accompanying
explanation
describe
the full
functionality
of CCM2 protocol.
GEK-90477
Serial
MASTER-SLAVE
Interface
6-l 1
Protocol
MESSAGE TRANSFERS
As explained
before,
when the master
wishes
to initiate
a data
transfer,
it issues a
The
receiving
device
responds
by sending
a
three-character
enquiry
sequence.
three-character
acknowledge
or negative
acknowledge
sequence.
This establishes
a link
which permits
the transfer
of a message.
Message transfers
consist of a 17-byte
header,
sent by the master,
followed
by a block of data.
HEADER
BLOCK
A header block
header specifies
is sent before
the text
data block
to describe
transfer
of data.
The
the direction
of the data transfer,
the amount
and location
of the data to
be transferred,
and the destination
of the transfer.
The header
is composed
of 17 bytes;
the header format
is shown in Figure 6.8.
_
.
S
0
H
1
D0J
ID
DATA
FLOW
DIR
2
3
4
DCU
MEM
TYPE
ADD
ECU
MEM
ADD
COMP
DATA
MSB
LSB
BLKS
LAST
BLK
09
10
12
DCU
MEM
5
67
A
NO
11
NO
BYTES
13
.
(OlH)
DCU (target)
ID Number (not encoded
the same as the
target
address)
BYTES
4 + 5
Data flow direction,
DCU memory type
BYTES
6 + 7
Most significant
byte
of address
of requested
data
BYTES
8 + 9
Least
significant
byte
of address
of requested
data
BYTES 10 + 11
Number
of
complete
data
blocks
to
follow
the header
Series
One and Series
One Junior
data
communications,
byte
is always
zero).
BYTES 12 + 13 Number of bytes
in incomplete
last
block.
BYTES 14 + 15
Source
ID Number
BYTE 16 ETB (17H)
BYTE 17 LRC (Exclusive
“OR” of Bytes
2-15)
BYTE
BYTES
1 SOH
2 + 3
Figure
The
information
in bytes
2-15
hexadecimal
values
are 30H-39H
than one byte, the most signif icant
6.8
SERIAL
HEADER
are
ASCII
coded
(O-9) and 41 H-46H
byte is transmitted
(In
this
FORMAT
hexadecimal.
(A-F).
For
first.
Valid
ASCII
fields
requiring
coded
more
GEK-90477
Serial
Interface
Protocol
6-12
DCU or DCM ID Number
The DCU or DCM ID (target ID) is the identification
number of the DCU or DCM and it is
set with DIP switches= This number can range from 1 to 90. (In ASCII coded HEX: 01 to
5A). This is not encoded the same as the Target-__Address in the enquiry sequence.
See
the section, Normal Enquiry Sequence, in this chapter.
Data Flow Direction
and Memory
Bytes 4 and 5 inform
type involved.
Type
the DCU or DCM of the direction
of the transfer
and the memory
Byte 4 - Direction
1
CONTEKTS OF
BYTE 4
DEC HEX ASCII
30
38
48
56
Byte 5 - Memory
DATA FLOW DIRECTION
4
0
8
Read from DCU or DCM
Write to DCU or DCM
Type
CONTENTS OF
BYTE 5
DEC HEX ASCII
*
49
31
1
50
32
3
54
55
57
36
37
39
6
7
9
TARGET ME?IORY TYPE
(Memory Type 1) Data Registers* and CPU
Timer/Counter Memory
(Memory Type 3) CPU Discrete I/O Status
values (External and Internal Input/Output
values, shift registers, and Timer/Counter
complete* bits)
(Memory Type 6) CPU Scratch Pad Memory
(Memory Type 7) CPU User Logic Memory
(Memory Type 9) DCU or DCM Diagnostic
Status Words
Timer/Counter
complete references
Plus and Series Three CPUs only.
Target Memory
and Data Registers
can be accessed
in Series
One
Address
The target meiory
address specifies
the address
Series Three CPU where the transfer is to begin.
within
the Series
One/Junior/Plus
or
GEK-90477
Serial Interface
Protocol
6-l 3
Memory Type 1 The target memory address specifies the Timer/Counter
accumulator
or
Data Register (Series One Plus and Series Three PCs only) where the data transfer
is to
begin. The mapping of reference numbers to numbers used for the target memory address
is shown in Tables 5.1 (Series One), 5.2 (Series One Junior), 5.3 (Series One Plus), and 5.4
(Series Three).
Valid
Range
Series One
OOOlH-0040H
Series One Plus
OOOlH-0080H
Series One Junior
OOOlH-0015H
Series Three
OOOlH-OOCOH
Memory Type 3 The target memory address specifies the Input or Output point where the
data transfer
is to begin.
The transfer
begins with the byte that contains the specified
The mapping of discrete
I/O reference
numbers to numbers used for
Input or Output.
target memory address is shown in Tables 5.1 (Series One), 5.2 (Series One Junior). 5.3
(Series One Plus), and 5.4 (Series Three).
Valid
Range
Series One
OOOlH-0030H
Series One Plus
Series One Junior
OOOlH-OOZOH
OOOlH-0040H
(excluding 0009H-OOOBH)
Memory Type 6 The target memory
which the data transfer is to begin.
Valid
Range
address
specifies
Series One
Series One Junior
OOOOH or 0016H
OOOOH or 0016H
Series Three
OOblH-0080H
the CPU Scratch-Pad
Series One Plus
OOOOH, OOOZH,
OOO4H, or 0016H
reference
at
Series Three
OOOOH or 0016H
l
The address can be either OOOOHto access CPU operation mode status or OO16t-i to access
PC Type status.
Operation
mode and PC type each consist of 2 bytes.
See the section,
Accessing the CPU Scratch Pad.
Memory Type 7 The target memory address specifies
the User-Logic
memory word at
which the data transfer
is to begin. Timer and Counter instructions
must be written
in
their entirety
(2 words or 4 bytes).
To clear User-Logic
memory, write FF to each byte
to cleared.
Valid
Range
Series One
OOOOH-06BBH
Series One Junior
OOOOH-02BBH
Memory Type 9 The target memory address
which the data transfer
is to begin. The only
5 words (10 bytes) must be read or written.
Valid
Range
Series One
OOOOH
See the section,
Diagnostic
Series One Plus
OOOOH-06BBH
Series Three
OOOOH-OFFEH
specifies
the Diagnostic
Status Word at
valid target memory address is OOOOH. All
Series One Junior
OOOOH
Status Words, in Chapter
Series One Plus
OOOOH
5 for the definition
Series Three
OOOOH
of each word.
GEK-90477
Serial
Interface
Number of Complete
Protocol
Data Blocks
to Follow
6-14
Header
*
This specifies the number of 256-byte
data blocks to be transferred
following
the header.
This number
can range from
0 to 20H for
Series
One Plus or Series
Three
communications,
but must be 0 for Series One or Series One Junior communications
using
the serial time outs in Table 6.2. For more information,
see the section on Text Data
Blocks.
The information
below defines the unit length and accessible
lengths for each Series
This information
will help you to
One/Junior/Plus
and Series Three memory
type.
determine how many 8-bit bytes are required for a particular
transfer.
SERIES ONE/JUNIOR/PLUS
SERIES THREE MEMORY TYPE
1:
1:
61.
3
7.
l
9.
0
Number
Timer/Counter Accumulator
Data Registers (Series
One Plus and Three Only)
Discrete
Scratch Pad
I/O
Bytes
User Logic Word
Diagnostic Status Word
of Bytes
in IncomPlete
ACCESSIBLE LENGTHS
UNIT LENGTH
1 Accum = 16 bits
1 Data Reg =
8 bits
1 Point ==8 1bits
bit
Byte
1 Word = 16 bits
1 Word = 16 bits
Accumulator(s)
Multiples of 2 Reg
Multiples
2
of 8 Points
Bytes
Word(s)
5 Words
Last Block
This specifies the number of bytes in the last data block.
data blocks is zero, this number specifies the total number
When the number of complete
of bytes to be transferred.
For Series One Plus and Series Three communications,
this number of bytes in the last
block
can vary
from
0001 H to OOFFH.
For Series One and Series One Junior
communciations,
this number is restricted
because of the limitation
of accessing memory
through the DCU. For more information,
see the section on Text Data Blocks.
Source ID Number
The source ID number is the identification
CPU, this ranges from 1 to 5AH.
number
of the source device.
For a Series Six
GEK-90477
Serial
interface
6-l 5
Protocol
Text Data Block
The maximum data block size is 256 (OOFFH) bytes for Series One Plus and Series Three
CPUs but is less than this for Series One/Junior
CPUs using the time outs in Table 6.2.
This does not affect reading or writing
to memory types 6 (Scratch Pad) or 9 (Diagnostic
Status Words).
Reading and writing
to memory types 1 (T/C Accumulators),
3 (l/O and
Shift Registers), and 7 (User Memory) are restricted
as shown in the table below.
TYPE OF COMMUNICATION
REQUEST
MAXIMUM AMOUNT OF DATA FOR EACH COMMUNICATION
SERIES ONE PC*
Read from Memory Type 1
(T/C Accumulators)
Write to Memory Type 1
(T/C Accumulators)
Read from Memory Type 3
(I/O and Shift Reg)
Write to Memory Type 3
(I/O and Shift Reg)
Read from Memory Type 7
(User Memory)
Write to Memory Type 7
(User Memory)
* CPU Revision
116 Bytes
58 Act
Communication Not
Supported
368
I/O
46 Bytes
24
I/O
3 Bytes
SERIES ONE JR PC
All 21 Act
42 Bytes
Communication Not
Supported
176 I/O
22 Bytes
No I/O, Communication
Times Out
75 Words
150 Bytes
25 Words
50 Bytes
45 Words
90 Bytes
20 Words
ZIO Bytes
C or later.
NOTE
If you are writing
a CCM protocol
interface
for the Series One or
Series One Junior, the time outs for conditions
5, 6, and possibly 7
in Table 6.2 must be lengthened
to transfer
more data per request.
The time outs in the Series Six CCM2 and CCM3, however,
are
fixed and cannot be made lonaer.
The text data block always starts with a Start-Of-Text
(STX) character
which is followed
by the text.
The text
is followed
by an End-Of-Text
(ETX) character.
This is then
followed
by the text
data checksum.
This checksum
is used to verify
the data’s
integrity.
The checksum, (LRC) is an exclusive r’OR’f of all the text data bytes.
When 16-bit information
(registers or user logic) is being transferred
in a text data block,
the least significant
byte is transferred
first followed by the most significant
byte.
GEK-90477
HEADER
Serial
Interface
AND TEXT DATA
6-16
Protocol
BLOCK
RESPONSE
The header and text data blocks are responded to with an acknowledge
(ACK)
acknowledge (NAK).
An ACK means that the header or text was acceptable
permission to the sending device to start sending the next data block.
A NAK means that the header or text
the header or data. The unacceptable
or negative
and grants
was not acceptable and asks for a retransmission
header or text is retried three times.
of
MESSAGE TERMINATION
After the ACK to the final text data block has been received,
the device receiving
the
ACK sends an End-Of-Transmission
(EOT) character
to close the serial link. The master
always terminates
the link with an EOT.
TIMING
CONSIDERATIONS
Serial Link Time-Outs
A time-out
occurs on a serial link when the DCU or DCM does not receive a response, a
header, or data from another device within a fixed amount of time.
Time-outs
are used
on the serial link for error detection,
error recovery, and to prevent missing end-of-block
sequences.
Whenever a serial link time-out
occurs, the DCU or DCM will abort the
conversation
and send an EOT to the other device.
After an EOT, a new enquiry sequence
must be sent to restore communications.
Refer to Table 6.2 for time-outs
at any point in
the serial protocol.
Turn-Around
Delays
Turn-around
delay options of 0 to 10 ms for the DCU or DCM can be selected
by DIP
switch.
A lo-ms
turn-around
delay should be selected
when using modems in the
half-duplex
mode of operation
or when
using
full-duplex
modems
in multidrop
configurations.
This delay allows a computer or Series Six the time needed to signal the
modem to turn on and ringing on the line to stop before actual transmission
of data.
The DCU or DCM will delay 10 ms before
header, or the start of a text data block.
When the 10 ms turn-around
serial time-outs
in Table 6.2.
delay
is selected,
sending
the
a control
time
character,
is automatically
the start
of
added to the
GEK-90477
Serial Interface
Protocol
6-l 7
NOTE
If a time out occurs when actual data is being transmitted
t; or
from and Series One and Series One Junior CPU, try reducing the
number of bytes to be transmitted.
Table 6.2 SERIAL
LINK TIME-OUTS
CONDITION
TIME OUT WITH TURN AROUND DELAY OF
0 MS
10 MS
1. Wait on ACK/NAK following ENQ
2. Wait on start of header following
ACD of ENQ
3. Wait on header to finish
Data Rate (bps)
300
1200
9600
19200
4. Wait on ACK/NAK following header
5. Wait on start of data following
ACK of header
6. Wait on ACK/&AK following data block
7. Wait on data block to finish
Data Rate (bps)
300
1200
9600
19200
8. Wait on EOT to close link
800
800
810
810
2670
670
670
670
2680
680
680
680
2000
20000
2010
20010
20000
20010
33340
8340
8340
8340
33350
8350
8350
8350
800
810
GEK-90477
Serial
Interface
COMMUNICATION
ERRORS
Serial Link communication
1.
2.
3.
4.
6-18
Protocol
errors
are divided into four groups:
Invalid Header
invalid Data
Invalid NAK, ACK or EOT
Serial Link Time Outs
The different
errors
are outlined
in the following
four sections:
NOTE
If you experience
communication
errors,
retrieve
the Diagnostic
Status Words for troubleshooting
information.
For the format
of
the diagnostic
status words,
see the section,
Diagnostic
Status
Words, in Chapter 5.
Invalid
Header
The following
device.
errors
cause the header
to be invalid
and therefore
NAK’ed
by the target
Incorrect LRC (header checksum).
No SOH.
No ETB.
Parity, overrun, of framing error.
Invalid unit ID number (does not match resident unit ID number).
lnval id memory type.
Attempted
to access Series One Plus memory which is password protected.
Invalid header character (not O-9, A-F).
Invalid address for specified memory address (see description
of memory types).
Number of complete blocks and number of bytes in last block both = 0
Number of bytes in last block not even when the memory type is 1, 6, 7, or 9.
Reading from or writing to discrete I/O while the CPU is in Stop/Prog mode.
Writing to PC type in the scratch pad.
Writing to user logic while the CPU is in Run mode.
Writing a partial instruction
to user logic.
Reading timer/counter
references in Stop/Prog mode.
Writing to timer/counter
references in Stop/Prog mode or Run mode.*
Reading timer/counter
references in Stop/Prog mode.*
l
* Invalid
but does not get NAK’ed.
The header is retried a maximum of three times. If the DCU or DCM is connected
to the
Series Six CCM and the header still has one of the errors listed, the CCM will abort the
session and send and EOT to the DCU or DCM. The DCU or DCM then waits for an ENQ
to start a new session.
GEK-90477
lnterf
6-19
ace Protocol
Data
Invalid
If any
header
Serial
of
the
following
errors
occur,
the
same
procedure
is followed
as for
m
an
invalid
l
Incorrect
LRC (checksum)
. No STX
l No ETB or ETX
Note:
ETX must occur in last block
l Parity,
Overrun?
or Framing
Error
l
Invalid
NAK, ACK, or EOT
If the DCU or DCM
is expecting
received
that is not one of these,
to the other device.
Serial
only
one of these control
characters
and a character
is
the DCU or DCM aborts
the session and sends an EOT
I
Link Time Out
If at any time during
the conversation
the DCU or DCM times out waiting
device,
the conversation
is aborted
and an EOT is send to the other device.
ACCESSING
THE CPU SCRATCH
for
the
other
PAD
There
are only 2 fields
within
the Series
One, Series One
Scratch
Pad that can be accessed:
the CPU RUN/STOP
field
Series
One Plus
CPU
Scratch
Pad contains
more
fields
following
sect ions.
Junior,
or Series Three
CPU
and the PC Type field.
The
which
are discussed
in the
The RUN/STOP
field
address 0 with a length
Memory
l
l
These
To put
Scratch
To put
Scratch
numbers
can be written
to or read
of 2 bytes only.
the CPU
Pad.
the CPU
Pad.
from
using
Type
6 and starting
Run
mode,
write
OlOlH
to address
OOOOH and 000 1H in the
in Stop
mode,
write
8080H
to address
OOOOH and 000 1H in the
in
(0101 H and 8080H)
also
indicate
the CPU
mode
when
this
field
is read.
The PC Type can only be read using memory
type 6 and starting
address
0016H
with
a
This field
indicates
whether
the CPU is a Series One, Series One
length
of 2 bytes only.
Junior,
Series One Plus, or Series Three CPU.
e
l
l
l
Series
Series
Series
Series
One CPU = OlOlH.
One Junior
CPU = 0202H
One Pius CPU = 0303H
Three CPU = 0707H
GEK-90477
Serial
Interface
Protocol
USING THE PASSWORD AND ERROR
ONE PLUS PC
6-20
CHECKING
FEATURES
OF THE
SERIES
for the Series One Plus Scratch-Pad
The addressing
Table 6.3
SERIES ONE PLUS
ADDRESS
(Hex)
SERIES ONE PLUS
SUB-COElMAKD
(Hex)
0000
0002
0009
OOOA
0003
0006
0004
OOOA
0016
is as follows:
CPU SCRATCH-PAD
ADDRESSES
DESCRIPTION
PC Yode
Sub-command for executing the functions:
Logging-In with the Password
Changing the Password
Grammar checking
Reading Error Address
Location of the error code generated by
Grammar check and of the error location
in the user program
Password Write Location
PC Type
Reading or writing
the PC mode (RUN/STOP)
and reading the PC type are the same for
the Series One Plus as for the Series One/Junior
and Series Three PCs (see application
examples 20-22).
The password and error checking
features
are available
dnly for the
Series One Plus PC and require the use of a sub-command
written
to OOOZH of the
Scratch-Pad
(see explanation
below).
Logging-in
on the Series
One Plus CPU using the Password
either
using the manual
programmer
or through
If a password has been assigned,
communications,
you must log in before executing
a communications
request to memory
request for these memory
types 1, 3 and 7. If you do not log in, the communications
types will fail. It is not required to log in for communications
requests to memory types
is done by executing
a CCM
6 (Scratch Pad) and 9 (Diagnostic
Status Words). Logging-In
protocol write command
to the Scratch-Pad
beginning at address 0002 (Hex). The write
command will write 10 bytes of information
as follows.
00
(Hex)
09 (Hex)
00
00
00
00
00
00
XX (BCD)
xx (BCD)
Where 0009H is the subcommand written to Scratch-Pad
address OOO2H, and where xxxx (BCD) is the existing
password (Valid range O-9999). A value of 0 is equivalent
to no password.
(Password, most significant digits).
(Password, least significant digits).
GEK-90477
Chanqinq
Serial Interface
the Password
6-21
Protocol
of the Series One Plus PC
Changing the password is a 2-step operation.
First, you must log in as explained
in the
preceding section.
Then you must execute another write command to the Series One Plus
Scratch Pad beginning
at address 0002.
The write
command
will write
10 bytes of
information
as follows.
00
OA
00
00
00
00
00
00
XX
XX
(Hex)
(Hex)
(BcD)
(BcD)
User Program
Where OOOAH is the subcommand written
to Scratch-Pad
address
OOO2H, and where xxxx (BCD) is the new password
(Valid
range O-9999).
A value
of 0 is equivalent
to no
password.
(Password,
(Password,
most
least
significant
significant
digits).
digits).
Error Checking
A complete program error check can be initiated
One Plus CPU as explained below.
Reading
at any time
on a program
in the Series
the error code is a 4 step operation.
1.
To initiate
Scratch-Pad
the error check,
address 0002H.
2.
Read the error code from the Scratch Pad address the contents of address 0004H. If
the contents of address 0004 is zero, there is no error code. If the contents of address
0004 is not zero, then this is the error code. Go to the next step to find the location
of the first error in the user program.
3.
To find the location
address 0002.
4.
Read the location of the error from the Scratch-Pad
address 0004.
address 0004 is the location of the first error in user memory.
of
the
write
error,
the subcommand,
write
0003H,
the subcommand,
Table 5.9 defines the errors which may be found
Plus CPU is transition
from PROGRAM to RUN.
to the
0006H,
in a user program
Series
One Plus
to Scratch-Pad
The contents
of
when the Series One
GEK-90477
Index
INDEX
Accessing the CPU Scratch Pad, 5-44,
5-45, 5-46, 5-47, 5-48, 6-19
ACK, 6-2
Asynchronous
Data Format, 6-l
Cable Selection, 4-2
Cables,
DCU or DCM to Workmaster
through
the Interface Adapter, 4-11
DCU or DCM to Workmaster
Directly
through the RS-422 Port, 4-12
Mul tidrop Modem Configuration,
4-10
Mul t idrop RS-422 Cable, 4-Wire, 4-5
Multidrop
RS-422 Cable, 2-Wire, 4-7
Point-to-Point
DCU or DCM to Series
Six CCM or Host Computer, 4-5
Point-to-Point
Modem Configuration,
4-9
Cables, GE Catalog Numbers, 4-3
Capabilities
of DCU and DCM, l-l
Change Password, 5-20, 5-31
Check Program Error Code, 5-20, 5-32
Clear Target Diagnostic
Status Words,
5-20, 5-49
Commands, Series Six SCREQ, 5-2
06100, 06200 No Op 5-2
06101, 06201 Read from Target to
Source Register Table, 5-2
06102, 06202 Read from Target to
Source Input Table, 5-2
06103, 06203 Read from Target to
Source Output Table, 5-2
06111, 06211 Write to Target from
Source Register Table, 5-2
06112, 06212 Write to Target from
Source Input Table, 5-2
06113, 06213 Write to Target from
Source Output Table, 5-2
Command Numbers, 5-2
Command Target Run/Program
mode,
5-20, 5-46
Communication
Errors, 6-l 8
Communications
Port Configuration
DIP
Switches (DCU), 2-6
Communications
Port Configuration
DIP
Switches (DCM), 3-7
Communications
Connector (DCU), 2-3
Communications
Connector (DCM), 3-3
Configuration
Switches Co&,
2-4
Configuration
Switches (DCM), 3-4
Configuring
the DCU Communications
Port, 2-6
Configuring
the DCM Communications
Port, 3-7
Control Character Coding, 6-2
Data Flow Direction
and Memory
Type, 6-l 2
Data Length, 5-12
Data Rate Selection (DCU), 2-6
Data Rate Selection (DCM), 3-7
DCM Configuration
Switches, 3-4
DCU Configuration
SWitches, 2-4
DCU ID DIP Switches, 2-5
DCM ID DIP Switches, 3-6
DCU or DCM ID Number, 6-12
Description
and Operation of User
Interfaces (DCU), 2-1
Description
and Operation of User
Interfaces (DCM), 3-l
Diagnostic Status Words, 5-16,
5-48, 5-49
Discrete I/O, 5-3, 6-13,
Electrical
Interface Circuits,
4-l
ENQ, 6-2
Enquiry Response Delay, 6-2
EOT, 6-2
Error Checking for Series One Plus,
5-14, 5-15, 6-21
Error Codes, Diagnostic
Status
Word 1, 5-16
Error Codes, Series one, Series One
Junior, Series Three, 5-16...19
ETB, 6-2
ETX, 6-2
External Power Supply Connector
(DCM), 3-3
External Power Supply Connector
(DCU), 2-7
Front
Front
Panel Connectors
Panel Connectors
(DCU), 2-3
(DCM), 3-3
Header and Text Data Block
Response, 6-l 5
Header Block, 6-11
GEK-90477
..
I-II
Index
INDEX
Installing
the DCU, 2-9
Installing
the DCM, 3-10
Invalid Data, 6-19
lnval id Header, 6-l 8
Invalid NAK, ACK, or EOT, 6-18
LED Indicators (DCU), 2-2
LED Indicators (DCM), 3-2
Limitations
of Data Transfers for the
Series One and Series One Junior,
5-l 2
Logging-In
on the Series One Plus,
5-14, 5-20, 5-30, 6-20
Loop-Back Diagnostics,
4-12
Loop-Back Test Selection (DCU), 2-6
Loop-Back Test Selection (DCM), 3-7
Mapping Series One Junior References
to Target Addresses, 5-6
Mapping Series One Plus References
to Target Addresses, 5-7
Mapping Series One References to
Target Addresses, 5-5
Mapping Series Three References to
Target Addresses, 5-9
Master-Slave
Normal Sequence Flow
Charts, 6-6
Master-Slave
Protocol, 6-l
Mating Connector for the
Communications
Port, 4-2
Message Termination,
6-16
Message Transfers, 6-l 1
Modem Configuration
Cable Diagrams,
4-8
Mul t idrop Configurations,
l-3
NAK, 6-2
Normal Response, Slave, 6-5
Normal Sequence Protocol Format, 6-3
Normal Sequence, Master, 6-5
Normal Sequence, Master-Slave,
6-3
Number of Bytes in Incomplete
Last
Block, 6-l 4
Number of Complete Data Blocks to
Follow Header, 6-14
On/Off
On/Off
On/Off
On/Off
Line
Line
Line
Line
Switch
Switch
Switch
Switch
(DCU), 2-4, 2-10
(DCM), 3-4
(DCU), 2-4, 2-10
(DCM), 3-4
Parity Selection (DCU), 2-6*
Parity Selection (DCM), 3-7
Password for Series One Plus, 5-14,
5-l 5, 6-20
Point-to-Point
Configuration,
l-2
Port Characteristics,
4-l
Power Cycle Conditions CDCU), 2-10
Power Cycle Conditions (DCM), 3-l 1
Power Supply Select Switch (DCU),
2-7
Power Supply Select Switch (DCM),
3-8
Power-Up Diagnostics,
4-12
Power-Up Mode Selection (DCU),
2-6, 2-10
Programmer
Connector (DCU), 2-3
Read Data Blocks, Master or Slave,
6-l 0
Read from Target Timers and
Counters, 5-20, 5-21, 5-37
Read from Target Data Registers,
5-20, 5-26, 5-35
Read from Target I/O, 5-20, 5-22,
5-40
Read from Target User Memory, 5-20,
5-24, 5-42
Read PC Type, 5-20, 5-44
Read Target Diagnostic Status
Words, 5-20, 5-49
Read Target Run/Program
Mode,
5-20, 5-45
RS-422 Link Connector, 4-6
Scratch Pad, 5-4, 6-13, 6-19
SCREQ Command Examples, 5-20
Change Password, 5-20, 5-31
Check Program Error Code, 5-20,
5-32
Clear Target Diagnostic Status
Words, 5-20, 5-49
Command Target Run/Program
mode,
5-20, 5-46
Logging-In
with the Password,
5-20, 5-30
Read from Target Timers and
Counters, 5-20, 5-21, 5-37
Read PC Type, 5-20, 5-44
Read from Target Data Registers,
5-20, 5-26, 5-35
Read Target Diagnostic
Status
Words, 5-20, 5-48
GEK-90477
l-iii
index
INDEX
SCAEQ Command Examples (cont.)
Read from Target I/O, 5-20, 5-22,
5-40
Read from Target Run/Program
Mode,
5-20, 5-45
Read from Target User Memory, 5-20,
5-24, 5-42
Write to Target Data Registers,
5-20, 5-27, 5-36
Write to Target I/O, 5-20, 5-23,
5-41
Write to Target Timers and
Counters, 5-20, 5-28, 5-38
Write to Target User Memory, 5-20,
5-25, 5-43
SCREQ Registers, 5-2
Serial Link Time Out, 6-16, 6-17
Series
Three CPU Connector (DCM), 3-3
SOH, 6-2
Source ID Number, 6-14
Source Memory Address, 5-13
STX, 6-2
System Configurations,
l-2
Test Diagnostics,
4-12
Text Data Block, 6-15
Timer/Counter
Accumulators,
6-13
Target ID, 6-12
AUTOMATION
CONTROLS
OPERATIONS,
5-3,
GENERAL
Target Memory Address, 6-12, 5-3
Target Memory Type, 5-3
Terminating
Resistors, 4-4
Timing Consideratons,
6-16
Turn-Around
Delay Selection (DCU),
2-6
Turn-Around
Delay Selection (DCM),
3-7
Turn-Around
Delays, 6-16
Units of Load (Series One/Junior),
2-8
Units of Load (Series Three), 3-9
User Memory, 5-4, 6-13
Using the DCU with CPU Rack Power
(DCU), 2-7
Using the DCM with CPU Rack Power
(DCU), 3-8
Workmaster
to DCU or DCM Cable
Diagrams, 4-l 1
Write Data Blocks, Master or Slave,
6-10
Write to Target Data Registers,‘
5-20, 5-27, 5-36
Write to Target I/O? 5-20, 5-23,
5-41
Write to Target Timers and
Counters, 5-20, 5-28, 5-38
Write to Target User Memory, 5-20,
5-25, 5-43
ELECTRIC
COMPANY,
CHARLOTTESVILLE,
VIRGINIA;::
n.-!:
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement