Fnc 82 - Asci / Hexadecimal To Ascii Conversion - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
16.3
FNC 82 – ASCI / Hexadecimal to ASCII Conversion
Outline
This instruction converts hexadecimal code into ASCII code.
On the other hand, BINDA (FNC261) instruction converts binary data into ASCII code, and ESTR (FNC116) instruction
converts binary floating point data into ASCII code.
1. Instruction format
FNC 82
ASCI
P
2. Set data
Operand type
S
S
1
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
S
D
2
n
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (ASCI and ASCIP)
"n" hexadecimal code characters (digits) stored in
the devices
D
The 16-bit mode and 8-bit mode options are available for this instruction. For operation in each mode, refer to the
proceeding pages.
Command
input
FNC 82
ASCI
Series
Mnemonic
16-bit Instruction
7 steps ASCI
ASCIP
Head device number storing hexadecimal code to be converted
Head device number storing converted ASCII code
Number of characters (digits) of hexadecimal code to be converted [setting range: 1 to
256]
Digit Specification
/FX
3U
3UC
and later.
S
D
n
16 External FX Device – FNC 80 to FNC 89
16.3 FNC 82 – ASCI / Hexadecimal to ASCII Conversion
→ For BINDA (FNC261) instruction, refer to Section 29.6.
→ For ESTR (FNC116) instruction, refer to Section 18.4.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
T
C D
R U \G
V
Z
PLCs.
S
and later are converted into ASCII code, and then stored to
Mnemonic
Operation Condition
Data type
16-bit binary
Character string
(only ASCII code)
16-bit binary
Others
Con-
Real
Charac-
stant
Number
ter String
Modify K
H
E
" "
11
12
13
14
15
Pointer
P
16
17
18
19
20
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents