The text of a manual · part 10 of 14
Series One/Series Three Data Communications User's Manual: Chapter 5 Communication Examples using the Series Six PC as a Master Device, pages 96 to 105
Pages 96 to 105 of 134, from Series One/Series Three Data Communications User's Manual
The original document is the PDF (14 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the GE Fanuc IC630MDL357A, Fanuc IC630MDL357A and GE IC630MDL357A
Page 96
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 + --
ROlOO
1 c--- [
+06113
BLOCK YOVE +OOOlO +00003 +00089 +00016
I+--( >-+ +00033
+ooNIo
00111 ROlOO +-- 1 1---[SCREQ]
Outputs before to be sent execution to
Series of the serial of Series
Six example are shown).
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
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
Page 97
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 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 - 64 words (64 registers). Each Series Three user instruction is at least 2 bytes). = 00001 MEMORY ADDRESS OF SOURCE - Start storing in Series Six at Register 1,
Rnnnn(+l) Rnnnn(t2) R nnnn( t3) Rnnnn(t4) Rnnnn(t5)
The Series Six ladder
+ -- logic is shown below:
1 c-------------------------------------------------------------------
(OS)--+ l
00112 + --
ROlOO
1 1--- [I +06101 +OOOlO
00112 ROlOO +-- IC ---[SCREQ]
BLOCK MOVE +00007 +OOOOO +00064
I+-( +OOOOl
+OOOOO
>-+
Page 98
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+
Page 99
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
(for (for (for (for
Series Series Series Series in the
Content 0101 0202 0303 0707
(Hex) (Hex) (Hex) (Hex)
One) One Junior) One Plus) Three)
>-+
Page 100
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
Page 101
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
Page 102
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
Page 103
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
Page 104
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