Modbus-RTU control of a MOLLUM VFD
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
31 Jan 2024 01:38 #292034
by echristley
Modbus-RTU control of a MOLLUM VFD was created by echristley
I got a
Mollum VFD
. This is one of the smallest VFDs on the market. Nice when trying to pack everything in a box. I think it is the same as the
BD600 series
that StepperOnline sells. Box is the same size, and the manuals look identical.
I'm attaching the HAL file I created to allow LinuxCNC to talk to it.
My custom_postgui.hal contains,
#set up the spindle monitor with pyvcp
loadrt scale names=scale_torque,scale_power,scale_current,scale_bus_voltage,scale_freq
addf scale_torque servo-thread
addf scale_power servo-thread
addf scale_current servo-thread
addf scale_freq servo-thread
setp scale_torque.gain .01
net torque_scale scale_torque.in mb2hal.torque.torque.float
net torque scale_torque.out => pyvcp.torque
setp scale_power.gain .1
net power_scale scale_power.in mb2hal.power.power.float
net power scale_power.out => pyvcp.motor_power
setp scale_current.gain .01
net current_scale scale_current.in mb2hal.current.current.float
net current scale_current.out => pyvcp.current
#voltage doesn't need scaling
net voltage mb2hal.voltage.voltage.float => pyvcp.voltage
setp scale_bus_voltage.gain .1
net bus_voltage_scale scale_bus_voltage.in mb2hal.bus_voltage.bus_voltage.float
#net bus_voltage scale_bus_voltage.out => pyvcp.bus_voltage
setp scale_freq.gain .1
net freq_scale scale_freq.in mb2hal.freq.freq.float
#net freq scale_freq.out => pyvcp.freq
#fault messages don't need scaling
net vfd_fault mb2hal.fault.fault.int => pyvcp.fault
I'm attaching the HAL file I created to allow LinuxCNC to talk to it.
My custom_postgui.hal contains,
#set up the spindle monitor with pyvcp
loadrt scale names=scale_torque,scale_power,scale_current,scale_bus_voltage,scale_freq
addf scale_torque servo-thread
addf scale_power servo-thread
addf scale_current servo-thread
addf scale_freq servo-thread
setp scale_torque.gain .01
net torque_scale scale_torque.in mb2hal.torque.torque.float
net torque scale_torque.out => pyvcp.torque
setp scale_power.gain .1
net power_scale scale_power.in mb2hal.power.power.float
net power scale_power.out => pyvcp.motor_power
setp scale_current.gain .01
net current_scale scale_current.in mb2hal.current.current.float
net current scale_current.out => pyvcp.current
#voltage doesn't need scaling
net voltage mb2hal.voltage.voltage.float => pyvcp.voltage
setp scale_bus_voltage.gain .1
net bus_voltage_scale scale_bus_voltage.in mb2hal.bus_voltage.bus_voltage.float
#net bus_voltage scale_bus_voltage.out => pyvcp.bus_voltage
setp scale_freq.gain .1
net freq_scale scale_freq.in mb2hal.freq.freq.float
#net freq scale_freq.out => pyvcp.freq
#fault messages don't need scaling
net vfd_fault mb2hal.fault.fault.int => pyvcp.fault
Attachments:
The following user(s) said Thank You: andypugh, smc.collins
Please Log in or Create an account to join the conversation.
- Salrodri
- Away
- New Member
-
Less
More
- Posts: 14
- Thank you received: 3
12 Feb 2026 20:07 #342856
by Salrodri
Replied by Salrodri on topic Modbus-RTU control of a MOLLUM VFD
I’m looking for some guidance.
I’m using a similar VFD (Model G75). Are you able to control the spindle, or are you only able to monitor the parameters?
For some reason, I’m not able to get LinuxCNC to connect to this VFD. However, I was able to connect using Modbus Poll and successfully read some registers. I did this to confirm that my wiring and communication setup are correct.
Any suggestions would be appreciated.
I’m using a similar VFD (Model G75). Are you able to control the spindle, or are you only able to monitor the parameters?
For some reason, I’m not able to get LinuxCNC to connect to this VFD. However, I was able to connect using Modbus Poll and successfully read some registers. I did this to confirm that my wiring and communication setup are correct.
Any suggestions would be appreciated.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds