Category: Computers and Hardware
@Russell should work, but modbus is very very slow, so not usable for things like servo motors.
@mBender:
you can overwrite all ini parameters in the json config and also add MDI commands:
"linuxcnc": {
"gui": "axis",
"ini": {
"HALUI": {
"MDI_COMMAND|Go To Zero": "G0 X0 Y0",
"MDI_COMMAND||Gripper|0": "M68 E0 Q-100",
"MDI_COMMAND||Gripper|25": "M68 E0 Q-75",
"MDI_COMMAND||Gripper|50": "M68 E0 Q0",
"MDI_COMMAND||Gripper|75": "M68 E0 Q75",
"MDI_COMMAND||Gripper|100": "M68 E0 Q100"
},
"DISPLAY": {
"MAX_LINEAR_VELOCITY": 60.0,
"MAX_ANGULAR_VELOCITY": 60.0
}
},
you can also add your own .hal file to postgui_call_list.hal (this entry will not be overwritten)
# cat Output/TangNano9K/LinuxCNC/postgui_call_list.hal
source custom_postgui.hal
source my-own.hal
about the laptop/PC, try to reinstall the rio.c component:
sudo halcompile --install riocore/files/rio.c