Machsupport Forum
Third party software and hardware support forums. => Modbus => Topic started by: servomac on July 22, 2026, 08:35:30 AM
-
Hi I have a few questions relating to some problems
Q1, is there such a beast as AutoExec.m1s, AI seems to think so but not seen it mentioned anywhere
Q2, what does DoOEMButton(220) do, does it open the Modbus comms port
My problem is my modbus works on PC’s that keep power on USB ports when in hibernation or sleep. If I power down the PC’s I loose power to the USB port. When I turn back on and start Mach3 Modbus does not communicate I have to go to setup serial / test modbus / and open the port. Then Modbus bursts into life. So I deduct from that its not my Arduino code but Mach3 not initialising properly.
Is there a way to simulate open port from a screen button or a VB script
Hope to hear back
Regards
servomac