05-15-2020, 12:48 PM
Hi Chris,
With the KUKA KRC controller you can create functions that allow you to pass variables by adding varname:IN in the function definition. You could also apply a formula to convert the input RPM to an analog value.
For example, from 0-5V using analog output 1, where 5V is 18000 RPM:
See attached screenshot from the KUKA Expert Programming manual.
Albert
With the KUKA KRC controller you can create functions that allow you to pass variables by adding varname:IN in the function definition. You could also apply a formula to convert the input RPM to an analog value.
For example, from 0-5V using analog output 1, where 5V is 18000 RPM:
Code:
DEF SetRPM(rpm:IN)
REAL rpm
$ANOUT[1] = rpm*5/18000
END
See attached screenshot from the KUKA Expert Programming manual.
Albert