Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: DemonHeli on July 22, 2015, 03:58:23 PM

Title: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post 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,
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: BR549 on July 22, 2015, 05:09:53 PM
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
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: DemonHeli on July 22, 2015, 05:14:30 PM
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?
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: BR549 on July 22, 2015, 07:44:57 PM
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
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: SSPW on July 22, 2015, 09:04:31 PM
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)
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: DemonHeli on July 22, 2015, 10:25:43 PM
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!
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: BR549 on July 23, 2015, 12:15:09 AM
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
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: DemonHeli on July 23, 2015, 11:19:49 AM
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?
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: BR549 on July 23, 2015, 11:22:03 AM
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
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: DemonHeli on July 23, 2015, 11:36:06 AM
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?
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: BR549 on July 23, 2015, 11:52:26 AM
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
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: sgaugetrains on September 26, 2017, 01:54:49 PM
Does any know the wiring hookup from the 2 wire rs 485 adapter to the termanals on a delta vfd -b ?
Title: Re: How do I connect Mach3 to a Delta VFD using an USB UART to RS485 adaptor?
Post by: joeaverage on September 27, 2017, 02:08:07 AM
Hi,
page 2-14 of the Delta VFD-B User Manual shows a RJ45 port with the following pinout
Quote
Serial interface
1: EV 2: GND
5:Reserved
6: Reserved
3: SG-
4: SG+

Hope it helps

Craig