Service manual
Example
2)"
Sample program describing data transfer with manual
mode using two sets of main unit
Model~350n
~eries.
10
G81T-'o:;;aC",,3-.-0-:;.;,
...
;.
_____
..
-_~._
Output
controf_~ig;'-al"~12
OFF.
~g
'~~~~i),:;~~i:-;:~
,-
40
GMOOE
0,
"0".
"8"
.......
-----.---.----- Sets
the
.mQge
,(OjjtP~t
portJ.
~xample
3)
SampJI:!
pr.ogram
de~c;ribing.
cfClt~_
transfer, with
.00Cinual
mode·
l,Isjng.·a_.
mail"")
ljnit
_MpQe_I-3500
seri.es and' printer
[MZ'1 P02]"
50
GOUT
O.
"O".A
.-.~----
••.•• -._------
____
Output
numeric
data
A.
60
G8IT
0,
"OC",
3.1
.---.----..••• --------
Output
control
signal 012 ON.
la
Gt:loDE'
9:,"~:>
"8'
',",''''''''''-
---,---",Sets
themdde-
(Ou-tpuipon).
70
G8lT
0."
le"
.2.
x
........
----
.....
----- Verify
input
control
signal 111.
?O
~I3IT
O.
"Ot;"
,I,
1.
__
..
__
....
__
.
_____
......
Output
control
signal
010
ON.
80
IF
x-a
THEN
70
3,°
0
B""ATO
0A'
DC
,O,t.
_____
..
____
~
"
ONPU
r;PR1ME s
..
"nal·, "
"i";"".
;
j'
'i6
:G06"t'-:·6;·;··b;";iV-:--·~-~;---.--
..
-----.-----
Outilut
numeric
da'i:~
B.
50
IF
.'1=0
THEN
END
·----·---··.Output control
srgnal
09
ON.
100
G8IT.
O. "DC"
,~,O
j-.;
•••••.
---n--n----Output
control signal
012
OFF. 60
GOUT
0,
"IJ"
,A
"
__
n.n_.n._.,
{DATA
SI
RO~e
signal
at
printer}.
1-10
GBH
0,
'.'IC."
,2,
X
.,
..
-------
.•.
--.----- Verify
inp~t
control signal 111.
70
GBIT
0
"~C"
0
01
···--------··Output
numenc
data.
IZ,j
If7.·X=I·THEN
110 '
______
--"~-'
,.,.
n'"
o·
.
,""I'Q"
1-3e.:-G-1'18eE-:-e'..,.....r!
'8
1
Se~the-mod.e-{·I:np,!:.it'-portr.
80--Gs:J:.~Q-,-!!0'Gll-rs-i+
nnn.-----
..
--- •.
-'.'crrtput.coh.t~o
-sigRa":'
9-QFF;-e~
140
GIN'
0"
;"0"';
t ' .. , ..
~'-':
-----
..
-----
...... Input numerrc
data.
90
GBIT
_0,
"I.Co";O, 8
'--·--·-··--···----:--~:-·Verif.y
,input contrpl'signal'
19;
150 OlSP
A:"+":8:"=":C
i~g
~6
~DI4~HEN
90 IBUSYsignal
at
printer):._
160
END
.2QO
OATA:·i":,83.72,Q5.82,8Ij.10
210
[lATA
:31:,83,
72,
05.82.80,10
220
DATA
:30:,83, 72
.65,82~80,
10
,:
"i
fa GBH'
'0
,':'QC"
.2;0
.-.-
..•.
----------------
Output
control singal
011
OFF.
20"
GEtl
TO.,
"le:'
• .3, x
•••
_--------
••
----------
Verify inpUt
contml
signal 112 •
..
J'--30_
IF
')::1'
-THEN'
20
1
'
'
, 4d
~MODE
'-d',
"1",
'~B"
-
..
-------------------- Sets
the
mode
(Input port).
so
GBI
T
0,"
LC"
,3,
X
-----
__
•••••
___________
Verify input control signal 112
60 IF
X=O
THEN
50
70 GIN
0,
"0"
,A
----------
______________
.•..
Input numeric data,
80
G81T
0,
"OC"
,2
,1 ----------------
......
Output
control signal
011
ON.
90
G81T
O,"IC",3,X
----·····-------------Verify
input
control signal 112.
100
IF
)(=1
THEN
90 .
1,10
GIN
0,
:'.0"
.8_.--------~,_---------
•••.••
_._
Inp!JJ
numeric-data.
'120
'01'31"
'''A=''':A:OISf'_
"B=":S
,--,
130 C=A+8
14';"
('-MO[lE
C)!
"0",
"S"
------
----------
•• ---- Sets
the
mode
'{Output
portl.
ISO
GOUT
0,
"0".
C -------- ---------··Output numeric
data
C.
160
('-S11
0,"OC",2,(1
----·--------Outputcontrolsignal
011
OFF.
170
ENO
Execution
results
Result
is
displayed at A side after calculating
at
B side
the
total
of
two
numeric datas which
is
input
through
Aside.
Cable
connecting
table
When executing program, use
the
cable corresponded
as
follows.
Side
A
Side
B
Signal
Contact Contact
Signal
name
No.
No.
Name
01
1
25
11
02 3
27
12
03 5
29
13
0'
7
31
14
05
,
33
15
06
11
35
16
07
13
37
17
08
15
39
'8
012
23
47
112
11
25
1
01
"
27
3 02
13
29
5 03
14
31
7
0'
15
33
,
05
16
35
11
06
17
37
13
07
IS
39
15
0'
.
111
45
21
011
o All GND (ground)
contacts
must
be
connected
with
those
of
partner.
o Unused
contacts
are
open.
8
~~g
g~~~
i~I'~h:;::;~~;~~~~:::'1.0
LF
,code
Function
code
designating character
pitch and
double width.
Execution results
Executing
this
program gets
the
following kinds
of
character
on
printer.
SHARP
·----------------··---Character
pitch
to
16.5CPI.
SHARP
--------··-----Character
pitch
to
l6.5CPI,
double
width
mode.
SHARP
----------···----Character
pitch
to
10CP!.
S H A R P
-'---Character
pitch
to
10CPI,
double
width
mode.
Cable connecting table
When
executing program, use
the
cable corresponded
as
follows.
~ain
unit
side
Printer side
Signal
Contact
Contact
name
N,.
No.
01
1
,
02
3
.3
03
5
4
04
7
5
05
9
6
06
11
7
07
13
B
b'B
15
9,
.
0"
17
1
010
19
31
'9
41
11
110
43
10
111
45
12
112
47
13
o
All
GND (ground)
contacts
must
be
connected
with
those
of
partner,
o Unused
contacts
are
open,
Signal
name
DA1'.A
BIT1.
DATA BIT2
DATA
EHT3
DATA
B.IT4
DATA BIT5
DATA BIT6
DATA
Bin
DATA
B1TB
DATA
STROBE
INPUT_PRIME
BUSY
~
LEDGE
PAPER
END
SELECT