08-19-2011 03:26 PM
hi
I have n.o (numeric control ) which appears as hex display , I want to convert it to decimal number and reverse
can any please show with help of example please
08-23-2011 11:17 AM - edited 08-23-2011 11:17 AM
Hi mai108,
You can change the Display Format through the right-click menu as shown below:
Best Regards,
08-25-2011 01:19 AM - edited 08-25-2011 01:24 AM
Since you want to convert the number:
There is a very elegant way to do it in the control:
# Place a numeric control on the FP
# Change the representation to a 'binary' I/U 8/16/32/64 (my example is with I32
# In the display properties enable the advanced mode and enter all the formats you want to use 🙂
(Hint: new line is shift-enter)
You can also add some indication like
dec:%d
hex:%x
bin:%b
The nice thing is that all conversion is made by the FP on the fly whatever numerical format you change. Hey mom, look without any wire 😉