FAQ
>
Controllers
>
Programmable Controllers MELSEC
>
MELSEC iQ-F Series
>
CPU Module
>
Regarding instructions for converting constants from decimal to hexadecimal
Back
No : 44352
Release Date : 2024/03/27 15:43
Print
Regarding instructions for converting constants from decimal to hexadecimal
Is there an instruction to convert decimal to hexadecimal?
Example: Convert K100 to H0100.
Category :
FAQ
>
Controllers
>
Programmable Controllers MELSEC
>
MELSEC iQ-F Series
FAQ
>
Controllers
>
Programmable Controllers MELSEC
>
MELSEC iQ-F Series
>
CPU Module
Answer
Decimal numbers of up to 4 digits can be converted to hexadecimal numbers using the BCD(P) instruction, and decimal numbers of up to 8 digits can be converted to hexadecimal numbers using the DBCD(P) instruction.
Product Name
FX5U,FX5UC,FX5UJ,FX5S
Product Category
CPU Module
Series
MELSEC iQ-F Series