In our NC Solutions database you will find solutions for frequently required tasks

Decimal/binary conversion

NC FAQ1005

Question:

How can I get the binary number for a decimal number, such as 33, without too much calculation?

Answer:

You can use the Windows pocket calculator for this. After you open the calculator, choose the "Scientific" option from the "View" menu. In Windows 7, select the "Programmer" view.

If you now enter a decimal value (such as 33), and then click "Bin", the value will be shown as a binary number (in this case 100001). 

For an example of how to read out a machine parameter as a decimal value with the iTNC 530, convert it to a binary number, and save it to a table, follow the link below to view a sample program from our NC Solutions database.

Link:

Resolving decimal values into binary values

Product type

Calculations FAQ TNC 310 TNC 640 TNC 155 TNC 410 TNC 355 TNC 426/430 TNC 407 iTNC 530 TNC 128 TNC 620 TNC 320 TNC 415/425 Programming station Programming station VirtualBox Machine control
Back to overview