Fnc 83 - Hex / Ascii To Hexadecimal Conversion - Mitsubishi Electric FX3G SERIES Programming Manual

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
16.4
FNC 83 – HEX / ASCII to Hexadecimal Conversion
Outline
This instruction converts ASCII codes into hexadecimal codes.
On the other hand, DABIN (FNC260) instruction converts ASCII codes into binary data, and EVAL (FNC117)
instruction converts ASCII codes into binary floating point data.
1. Instruction format
FNC 83
HEX
2. Set data
Operand type
S
S
1
D
n
*1.
Make sure to use only ASCII codes "0" to "9" and "A" to "F".
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 (HEX and HEXP)
Among the ASCII codes stored in
stored to the devices
The 16-bit mode and 8-bit mode are available for this instruction. For operation in each mode, refer to the proceeding
pages.
Command
input
FNC 83
HEX
464
Mnemonic
16-bit Instruction
P
7 steps HEX
HEXP
Head device number storing ASCII code to be converted
Head device number storing converted hexadecimal code
Number of ASCII codes (bytes) to be converted [setting range: 1 to 256]
Digit Specification
/FX
3U
S
and later, "n" characters are converted into hexadecimal codes, and then
D
and later.
S
D
16.4 FNC 83 – HEX / ASCII to Hexadecimal Conversion
→ For DABIN (FNC260) instruction, refer to Section 29.5.
→ For EVAL (FNC117) instruction, refer to Section 18.5.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
PLCs.
3UC
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
*1
16-bit binary
16-bit binary
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents