FAQ
FAQAbout Products
- FAQ > Controllers > Programmable Controllers MELSEC > MELSEC iQ-F Series > CPU Module > Regarding instructions for converting constants from decimal to hexadecimal
FAQ
Regarding instructions for converting constants from decimal to hexadecimal
Is there an instruction to convert decimal to hexadecimal?
Example: Convert K100 to H0100.
Example: Convert K100 to H0100.
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