Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Program

Pages: 1
Modbus / Re: Modbus and GS-2 Spindle help
« on: March 20, 2016, 09:56:37 PM »
Here is a link to a post I made regarding my own vfd I managed to get working using the brains in mach3.

It also includes some links that helped me understand things a little better.

Brains Development / Re: Rounding number in brains formula
« on: March 12, 2016, 04:06:10 PM »
Just in case someone else in the future is looking for another solution to this.

I managed to round a value in brains using a formula someone had posted at stackoverflow.

The attached image is of an example rounding the spindle frequency in Hz.

I entered s500 in MDI in mach3, the formula I have then takes the spindle speed and divides by my motors RPM at 60Hz (1765), I then multiply by 60 to get the Hz number.

Modbus / Re: Modbus and GS-2 Spindle help
« on: March 09, 2016, 01:34:11 PM »
I'm attempting to get mach3 to control my VFD (GS3 series) through modbus.  I have followed what I have seen posted but I'm having communication issues when I try to test modbus.  If the radio button has "Holding Registers" selected I am able to open the port and read the hex values.  Once I move the radio button to any of the other selections (Input, Coils, Discrete) and click the read button I get a status message of "illegal function".  Also, when the status of "illegal function" is achieved the VFD displays the message of "invalid command code".

As far as modbus goes my knowledge is abysmal,  I have no idea what clues these messages are giving me.  Any help would be greatly appreciated.

Pages: 1