421
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.7 FNC 76 – ASC / ASCII Code Data Input
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
15.7
FNC 76 – ASC / ASCII Code Data Input
Outline
This instruction converts a half-width alphanumeric character string into ASCII codes.
Use this instruction for selecting one among two or more messages and displaying it on an external display
unit.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (ASC)
The half-width alphanumeric characters specified in
are converted into ASCII codes, and each ASCII
code is transferred in turn to
.
•
can handle half-width characters A to Z, 0 to 9 and symbols (, but cannot handle regular-width
characters).
A character string is entered when a program is created with a programming tool.
•
stores converted ASCII codes in the order of low-order 8 bits and high-order 8 bits by 2 characters/
byte at one time.
Operand Type
Description
Data Type
Eight half-width alphanumeric characters input from a personal computer
Character string
(only ASCII codes)
Head word device number storing ASCII data
16- or 32-bit binary
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
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
FNC 76
ASC
−
32-bit Instruction
Mnemonic
Operation Condition
ASC
16-bit Instruction
11 steps
Mnemonic
Operation Condition
Continuous
Operation
S
D
S
D
S
D
S
D
Command
input
FNC 76
ASC
S
Example: ABCDEFGH
D
42 (B)
41 (A)
44 (D)
43 (C)
+1
46 (F)
45 (E)
48 (H)
47 (G)
High-order 8
bits
Low-order 8
bits
+2
+3
D
D
D
D