Page 4 of 21

Re: MODBUSEZ Plugin

PostPosted: Mon Dec 04, 2017 10:55 pm
by Dan911
Cool..Happy all worked out. Can have your tool change macro check field.

Sending 1 read function string can read many registers so let me know if you would like me to modify, it wouldn't take much to do.

Dan

Re: MODBUSEZ Plugin

PostPosted: Wed Dec 06, 2017 2:15 pm
by Dan911
Battwell wrote:these settings work with ecogoo9100 to set frequency only
i still cant work out how to get it to run- as nothing in the manual! ive spent way too long on it!
frequency source parameter p0.01 must be left at use keypad (0) not communication settings (7)


Since you discovered the HY GT series modbus setting are the same as the Ecogoo9100 were you able to use that address(2000H) for frequency setting and put Ecogoo9100 parameter P0.01 to communication settings (7) ?

Re: MODBUSEZ Plugin

PostPosted: Wed Dec 06, 2017 2:44 pm
by Battwell
After I got the ecogoo working I thought I'd have a go with the hy gt series which is running my machine at the moment.
It's not playing my game!

Addressing it as slave 1 , read registers (03) register 1 , 1 register

It's responding as slave 127, function 126 with check sum fail.
Uccnc debuts shows function 126 not supported
I'm checking it with the port monitor you linked on hy plugin link.
(Using uccnc modbus plugin not hy plugin) as parameter numbers are totally different on this gt compared to the older models
Output from uccnc is showing correct.

I've tried going through the 5 baud settings numbers in case they were mis printed
Tried all the parity/ stop bit options etc

If I disconnect one of the 485 wires from the vfd I get time out . So I believe it is responding properly.
I have the run and freq parameters set to communication.

Doing my head in.... I thought it was going to be easy. Lol
Any ideas???

Re: MODBUSEZ Plugin

PostPosted: Wed Dec 06, 2017 2:58 pm
by Dan911
Battwell wrote:Addressing it as slave 1 , read registers (03) register 1 , 1 register


Really not sure what your doing/asking to help... With string you show above last isn't how many registers but how many bytes which is 2.

01 03 xxxx 00 02 CRC Check

Possibly try ModbusEZ plugin and see if same results, this will help determine if problem is with VFD parameters or your macro.

Re: MODBUSEZ Plugin

PostPosted: Wed Dec 06, 2017 3:15 pm
by Battwell
Not using a macro
Just trying to read into the variables table
Read holding registers
Slave 1
Register start 1
Into variables 1

Re: MODBUSEZ Plugin

PostPosted: Wed Dec 06, 2017 4:11 pm
by Dan911
Try just inputting line directly to VFD with serial monitor. Click open on bottom of serial monitor page and copy/paste line below and see if it responds correctly. That's the read status register with correct CRC check.


01 03 10 01 00 01 d1 0a

Re: MODBUSEZ Plugin

PostPosted: Fri Dec 08, 2017 10:15 am
by Battwell
hi dan- that line failed too.
in the older hy plugin- what was different in the way they read/write compared to standard modbus?
just wondering if they are doing it the same in the newer model- but using different parameter numbers.
was it something like sending hi byte /low byte in wrong order ?

Re: MODBUSEZ Plugin

PostPosted: Fri Dec 08, 2017 1:41 pm
by Dan911
Battwell wrote:hi dan- that line failed too.
in the older hy plugin- what was different in the way they read/write compared to standard modbus?
just wondering if they are doing it the same in the newer model- but using different parameter numbers.
was it something like sending hi byte /low byte in wrong order ?


The older HY used Function 04 and the byte array frame was different. There was only 7 registered to read and was sent in low byte.... below is byte array for out current(2).

01 04 03 02 00 00 51 8e //array sent for Amps in Huanyang plugin

If I remember correctly there was a parameter in HY GT manual for Modbus Standard or Modbus Protocol. I have no idea of the difference but did you try both?

I would try this sting sticking to modbus.

01 03 00 60 00 01 84 14

The status register in manual reads 1001 = 40097

60H = 96

96 + 40001 offset = 40097

Good Luck and don't pull all your hair out.

Re: MODBUSEZ Plugin

PostPosted: Fri Dec 08, 2017 2:40 pm
by Battwell
Thanks
I just read on Linux forum that the hard wired switch needs re wiring to work.
In the manual it says it's for the termination resistor- but maybe not!
Il keep you informed

Re: MODBUSEZ Plugin

PostPosted: Fri Dec 08, 2017 3:51 pm
by Battwell
Got it!
Switch 1 which is hard wired with links must be re wired! How stupid!!!
Then it's standard modbus.
In the manual it says switch 1 is only for termination resistor.