I have a sensor that only puts out a Hex value via BCD in 6 digits. It is a material thickness gauge. I am not on site so I can't test it yet. I want to take these 25 bit and create a REAL or DINT out of them.
Iam planning on using a MVM to break them up into individual Hex values but I would like to be able to display them to the operator in meaningfull values to them.
I am sure the sensor configuration will effect this greatly if I create a floating point. this device can't transmit the decimal point so 12.345 gets transmitted as 12345. I ASSuME that I can just do a DIVide and get the decimal in the correct position.
This system is looking to make sure that they don't get Double material thickness. 2 piece stuck together.
Any suggestions
Iam planning on using a MVM to break them up into individual Hex values but I would like to be able to display them to the operator in meaningfull values to them.
I am sure the sensor configuration will effect this greatly if I create a floating point. this device can't transmit the decimal point so 12.345 gets transmitted as 12345. I ASSuME that I can just do a DIVide and get the decimal in the correct position.
This system is looking to make sure that they don't get Double material thickness. 2 piece stuck together.
Any suggestions