Files
MyOwnEtherCATDevice/linuxcnc/Turner.2ms/nc_files/M104
2024-04-07 21:53:25 +02:00

7 lines
127 B
Bash
Executable File

#!/bin/bash
R=0.8846
MAXRPM=1770
halcmd setp scale.0.gain $R
halcmd setp scale.1.gain $(echo "scale=5;1.0 / $R"| bc -q)
exit 0