Tim Ganz
Member
I have a PLC 5 program where the outlet drive speed ref is calculated to meters per minute and it's a floating point number. There is also a grinder that has a 4-20 ma analong output from the PLC 5 as it's speed command and currently there is a hard integer nunber of 6840 that is going to the analog output to control the grinder speed.
Now we want this grinder to follow the outlet drive speed and have a little offset.
I wish I could upload the program to the forum but it's against company policy.
I need to change the floating point number from the outlet drive in MPM to a integer number and then add an offset before it's send to the analog output controlling the grinder.
I am new to this part and have mostly been doing on off type control stuff in the plc. Can someone help me with the math to convert floating point MPM to an integer number.
Now we want this grinder to follow the outlet drive speed and have a little offset.
I wish I could upload the program to the forum but it's against company policy.
I need to change the floating point number from the outlet drive in MPM to a integer number and then add an offset before it's send to the analog output controlling the grinder.
I am new to this part and have mostly been doing on off type control stuff in the plc. Can someone help me with the math to convert floating point MPM to an integer number.