Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

numeric control to hex(in numeric control) conversion ?

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

0 Kudos
Message 1 of 3
(6,948 Views)

Hi mai108,

 

You can change the Display Format through the right-click menu as shown below:

 

2011-08-23_111423.png

 

 

2011-08-23_111513.png

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 3
(6,937 Views)

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 😉

 

create multidisplay.png

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 3
(6,927 Views)