EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 7.9.4 HEX

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.9 External Device (optional device)
411
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
7.9.4 HEX
Outline
This instruction converts ASCII code into HEX code.
Also available are DABIN instruction for converting ASCII code into BIN data, and DEVAL instruction for
converting ASCII code into binary floating decimal point data.
As for DABIN instruction, refer to section 7.23.5.
As for DEVAL instruction, refer to section 7.12.5.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
HEX 16 bits Continuous HEX(EN, s, n, d);
HEXP 16 bits Pulse HEXP(EN, s, n, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Head device in which ASCII code to be converted is stored ANY16
Number of characters in ASCII code to be converted (number of bytes) ANY16
Output
variable
ENO Execution state Bit
Head device for storing converted HEX code ANY16
Operand
type
Bit Devices Word Devices Others
System User Digit designation System User
Special
Unit
Index
Con
stant
Real
Number
Character
String
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
z z z z zzz
S1 S2
zzz
z z z zzz
S1 S2
zz z
z
S1
zz
HEX
EN
s
ENO
d
n
HEXP
EN
s
ENO
d
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals