Thomas_Pabst
Member
Hi Guys,
i read alot of post about converting from float to int and back again but apparently i cant get it to work...
*** ISSUE***
my issue is, i got a weight in SLC, (float (F33:44) which i need to send to L33ER PLC
I used this command in SLC - COP F33:44 N111 Dest N110:0 Length 2
Now in L33ER i have a scaling block i would like to fill in the Float value.
***Question ***
Is it correct just to COP Float value in to two integers? (if no, what means do i need to take, to make the conversion possible)
how do i recalculate the two integers into float
** note**
i don't my weight in decimals, but i need to know apporox 1-3 kg diviation...
(Weighing between 0-3000 kg) value is never negative.
thanks for the help..
i read alot of post about converting from float to int and back again but apparently i cant get it to work...
*** ISSUE***
my issue is, i got a weight in SLC, (float (F33:44) which i need to send to L33ER PLC
I used this command in SLC - COP F33:44 N111 Dest N110:0 Length 2
Now in L33ER i have a scaling block i would like to fill in the Float value.
***Question ***
Is it correct just to COP Float value in to two integers? (if no, what means do i need to take, to make the conversion possible)
how do i recalculate the two integers into float
** note**
i don't my weight in decimals, but i need to know apporox 1-3 kg diviation...
(Weighing between 0-3000 kg) value is never negative.
thanks for the help..