Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
443
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
3333 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)
ABCD 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