Hi everyone.
I'm working with a Motoman robot and I have to send values ranging from 50-2500 to the robot.
The robot can only accept signed single integers so that only gives me 127. I need to break down my user entered value to send to the robot and then put it back together in the robot.
What is the best way to break down the integer to send the ones values, tens values, hundreds, and thousands to the robot with 4 data transmissions?
It's an Allen Bradley compact logic plc.
If anyone can start me in the right direction it send a sample program that would be greatly appreciated.
Thanks.
I'm working with a Motoman robot and I have to send values ranging from 50-2500 to the robot.
The robot can only accept signed single integers so that only gives me 127. I need to break down my user entered value to send to the robot and then put it back together in the robot.
What is the best way to break down the integer to send the ones values, tens values, hundreds, and thousands to the robot with 4 data transmissions?
It's an Allen Bradley compact logic plc.
If anyone can start me in the right direction it send a sample program that would be greatly appreciated.
Thanks.