Hello Guest it is December 30, 2024, 12:02:13 PM

Author Topic: Mach4 using 2 serial ports at same time  (Read 3289 times)

0 Members and 1 Guest are viewing this topic.

Mach4 using 2 serial ports at same time
« on: October 01, 2024, 08:00:42 PM »
Hi, I'm Jose, i'm new in here.

Some time ago I wrote a module to control an RS232 cooler and now I am writing a new module for MR-J3 servo drives via RS422, but I couldn't open this second port, does anyone know if it is possible to use more than one serial port at that time in mach4, would it be a problem in my code? My programming knowledge is basic. I will open and close the ports for each communication, but the chiller script updates the temperature continuously, so I would prefer to leave it open all the time.

Thanks for any help Jose
Re: Mach4 using 2 serial ports at same time
« Reply #1 on: October 06, 2024, 05:31:57 PM »
I want to confirm that mach4 can open 2 pots at time, is only about take care of declare the port name correctly and differents names for the port variable.