Fnc 76 - Asc / Ascii Code Data Input - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
FNC 76
ASC
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
Explanation of function and operation
1. 16-bit operation (ASC)
The half-width alphanumeric characters specified in
code is transferred in turn to
can handle half-width characters A to Z, 0 to 9 and symbols (, but cannot handle regular-width
S
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/
D
byte at one time.
Command
input
FNC 76
ASC
Mnemonic
16-bit Instruction
11 steps
ASC
Eight half-width alphanumeric characters input from a personal computer
Head word device number storing ASCII data
Digit Specification
.
D
S
Example: ABCDEFGH
15 External FX I/O Device – FNC 70 to FNC 79
15.7 FNC 76 – ASC / ASCII Code Data Input
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
V Z Modify K H
are converted into ASCII codes, and each ASCII
S
High-order 8
D
D
42 (B)
D
44 (D)
+1
D
46 (F)
+2
D
48 (H)
+3
Mnemonic
Operation Condition
Data Type
Character string
(only ASCII codes)
16- or 32-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
Low-order 8
bits
bits
41 (A)
43 (C)
45 (E)
47 (G)
11
12
13
14
15
Pointer
P
16
17
18
19
20
421

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents