Fnc 82 - Asci / Hexadecimal To Ascii Conversion - 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
16.3
FNC 82 – ASCI / Hexadecimal to ASCII Conversion
Outline
This instruction converts hexadecimal codes into ASCII codes.
On the other hand, BINDA (FNC261) instruction converts binary data into ASCII codes, and ESTR (FNC116)
instruction converts binary floating point data into ASCII codes.
1. Instruction format
FNC 82
ASCI
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 T C D R U \G
S
S
1
S
D
2
n
Explanation of function and operation
1. 16-bit operation (ASCI and ASCIP)
Among hexadecimal codes stored in
and then stored to the devices
The 16-bit mode and 8-bit mode options are available for this instruction. For operation in each mode, refer to
the following pages.
Command
input
FNC 82
ASCI
438
Mnemonic
16-bit Instruction
P
7 steps ASCI
ASCIP
Head device number storing hexadecimal codes to be converted
Head device number storing converted ASCII codes
Number of characters (digits) of hexadecimal codes to be converted [setting
range: 1 to 256]
Digit Specification
S
and later.
D
S
D
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
Unit
and later, "n" characters (digits) are converted into ASCII codes,
n
16 External FX Device – FNC 80 to FNC 89
Mnemonic
Operation Condition
Character string
(only ASCII code)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
Data type
16-bit binary
16-bit binary
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents