Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G Manuale Utente
443
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.8 FNC 77 – PR / Print (ASCII Code)
11
FN
C
C
30
-FN
C
C
39
R
otati
on and
on and
Shi
ft
ft
12
FNC4
0-F
0-F
NC4
9
D
ata O
per
ati
per
ati
on
13
FN
C
C
50-FN
C
59
H
igh S
pe
ed
P
rocessing
14
FM
C
C
60-FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
0-F
NC7
9
Ex
ter
nal FX
I/O
D
evice
16
FN
C
C
80-FN
C
89
Ext
ernal
FX
ernal
FX
De
vic
vic
e
17
FN
C
100-
FN
FN
C
10
9
Da
ta
Transf
er 2
er 2
18
FN
C
110-
FN
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
O
per
at
at
ion 2
20
FN
C
150-
FN
FN
C
159
Posit
ioning
C
ont
ro
ro
l
15.8
FNC 77 – PR / Print (ASCII Code)
Outline
This instruction outputs ASCII code data to outputs (Y) in parallel.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (PR)
ASCII codes stored in low-order 8 bits (1 byte) of
to
+7 are output to
to
+7 in turn by one
character at a time in the time division method.
The timing chart below shows a case in which the following ASCII codes are stored in
to
+7.
Eight bytes are sent from
= "A" at first to "
+7 = "H" at the end.
2. Timing chart
Types of output signals
•
to
+7: Sending output (
handles low-order bits, and
+7 handles high-order bits.)
•
+8:
Strobe signal
•
+9:
Execution flag which operates as shown in the above timing chart
Operand Type
Description
Data Type
Head device number storing ASCII code data
Character string
(only ASCII codes)
Head output (Y) number to which ASCII code data is output
Bit
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V
Z Modify K H
E
"
"
P
3 3 3 3
3
3
3
+1
+2
+3
+4
+5
+6
+7
A (H41)
B (H42)
C (H43)
D (H44)
E (H45)
F (H46)
G (H47)
H (H48)
FNC 77
PR
−
32-bit Instruction
Mnemonic
Operation Condition
PR
16-bit Instruction
5 steps
Mnemonic
Operation Condition
Continuous
Operation
S
D
S
D
S
S
D
D
Command
input
FNC 77
PR
S
D
S
S
S
S
S
S
S
S
S
S
S
S
T
0
T
0
T
0
T
0
: Scan time (ms)
A
B
C
D
H
Command input
to +7 Data
+8 Strobe
+9 Execution flag
+1
+2
+3
+7
D
D
D
D
S
1
S
1
S
1
S
1
S
1
D
D
D
D
D
D