Hi, I was wondering if you could help. I am using a Micrologix 1400 where I have an 11 digit number loaded in a L# data type (doubleword). This comes from a barcode scanner.
I need to send this value to another ethernet connection (Via TCP IP) which only accepts either Word or Real. When i move the L# data type to a floating point and use the MSG instruction the value comes out truncated on the other side.
I was wondering is it possible to split the L# data type 11 digit number and send as 2words\integers i.e 6 digits in one word and 5 in the other or something to that effect. On the recieving side I can put back together.
Appreciate your help on this - Rpax
I need to send this value to another ethernet connection (Via TCP IP) which only accepts either Word or Real. When i move the L# data type to a floating point and use the MSG instruction the value comes out truncated on the other side.
I was wondering is it possible to split the L# data type 11 digit number and send as 2words\integers i.e 6 digits in one word and 5 in the other or something to that effect. On the recieving side I can put back together.
Appreciate your help on this - Rpax