Start main contents

Factory Automation

FAQ

Factory Automation

FAQAbout Products

  • Font Size
  • S
  • M
  • L
  • 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 : 

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

May I have your opinion?

Please provide your feedback below. This is for feedback only. You will not receive a response.

Inquiries