jayozengo Member J Join Date May 2006 Location penang Posts 1 May 27, 2006 #1 how to store a result that content 8digit to lower four BCD number of the result in 200(address) & upper four in 201??? result=12345678 where 1234 is upper & 5678 is lower
how to store a result that content 8digit to lower four BCD number of the result in 200(address) & upper four in 201??? result=12345678 where 1234 is upper & 5678 is lower
jolio ST Member Join Date Oct 2004 Location central CDC Posts 292 May 27, 2006 #2 you are talking about a float data right,jayozengo? Mind me asking what make of PLC are you working on? Different PLCs have their ways of processing.
you are talking about a float data right,jayozengo? Mind me asking what make of PLC are you working on? Different PLCs have their ways of processing.
Fox Member F Join Date May 2006 Location Aveiro Posts 35 May 28, 2006 #3 If you are using a double (32bit variable) maybe you just need to use a funtions like "DINT_TO_BCD" but this will depend on which PLC you are using
If you are using a double (32bit variable) maybe you just need to use a funtions like "DINT_TO_BCD" but this will depend on which PLC you are using