Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: DemonHeli on July 22, 2015, 03:58:23 PM
-
I have Mach3, I have a CNC with a Delta VFD that has a RS485 input. I have a Serial to 485 adaptor for my PC. How do I get Mach3 to use the serial port rather than the Parallel port? So far doesn't sound possible without some sort of break out board but I can't find a specific introduction on what is required to make the connection.
Thanks,
-
Mach3 should be able to talk to the serial port through scripting AS long as you have a list of things it needs to say (;-).
(;-) TP
-
OK that sucks, I'm an IT guy but I need to get this working yesterday. How do I get Mach3 to talk to a Delta VFD with RS485 input?
-
I will depend on the format of data .Does it talk ascii or modbus or something else ? You can send from modbus or you can send via SendSerial() or you can send from one other Can't remember the name . That gives you 3 options AND there is always SendPortByte() GetPortByte().
OR you can do it through a plugin to Mach3 There are several but could not say if they will talk to YOUR Vfd.
(;-) TP
-
Have you read this thread?
http://www.machsupport.com/forum/index.php/topic,28997.0.html (http://www.machsupport.com/forum/index.php/topic,28997.0.html)
-
Checked the manual for the Delta VFD and it does speak Modbus through the RS485. What plugin or software do I need to install in MAch3 to setup Serial Modbus anyone have instructions? I'm also reading the other guys delta thread. Thanks for the help so far I'm finally getting somewhere!
-
With Modbus you can talk to the VFD through the macropump scripting OR through BRAINS directly. The modbus protocal is already set up for both methods.
(;-) TP
-
Which one is easier? looking to control the 3 Axis, possibly a forth, maybe turn on a relay for flood or vacuum. What is Macropump or Brains, and are these plugins for Mach3?
-
I thought you were just wanting to control a VFD for a spindle. Mach3 does the control of the machine. The modbus com is controlled through Mach3 functions. I suggest you get to reading you have a long way to go yet (;-)
(;-) TP
-
Great info. I understand Modbus is a protocol but what plugins do I need to connect Mach3 to the serial port. I'm guessing Brains is a plugin that you configure to pass commands through to the serial port?
-
Brains is an internal function of mach3 so is the macropump. They are NOT plugins. Like I said you need to get to reading the manuals and docs.
(;-) TP
-
Does any know the wiring hookup from the 2 wire rs 485 adapter to the termanals on a delta vfd -b ?
-
Hi,
page 2-14 of the Delta VFD-B User Manual shows a RJ45 port with the following pinout
Serial interface
1: EV 2: GND
5:Reserved
6: Reserved
3: SG-
4: SG+
Hope it helps
Craig