Page 1 of 1

Modbus Master and Haunyang GT series Inverter

PostPosted: Mon Jan 01, 2024 7:22 pm
by davidrid
Can somone please, tell me where i can find information on how to setup uccnc using modbus to turn spindle on and off and controll speed using haunyang gt vfd.
i've been able to get modbusEZ 16 to turn spindle on and off but it turn it on and runs at 24000 rpm and not its able to controll speed. Sact show blank while Sset shows 6000

Also tried hyplugin14 but was not able to get modbus data back

Tried modbus master and was able to start loop and get spindle to run and then change 1 to 5 in varable table and start loop to shut down but, im lost after that.

Any help would be greatly appricated.

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Tue Jan 02, 2024 9:26 pm
by Battwell
search in the plugins thread. i tested the hy gt series when they first came out.
dan modified the plugin as i wanted then.

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Tue Jan 02, 2024 9:34 pm
by Battwell
viewtopic.php?f=14&t=481&hilit=gt+series+plugin&start=20

pages before and after this one. for how we found it

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Tue Jan 02, 2024 10:44 pm
by valhallaCNC
viewtopic.php?f=2&t=3366

Check here also a lot of info...

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Wed Jan 03, 2024 1:11 am
by davidrid
Well had it runing on uccnc version 1.211
Than decided to upgrade to 1.213 and now i can get spindle to turn on and off but cannot control the speed.
M@ says something this in the m20002 macro about
// UCCNC screen fields existing

ushort MaxSpindleSpeedDRO = 178;
ushort UptospeedLED = 800;
ushort VFDcommfaultLED = 801;
ushort SactDRO = 870;
ushort SoverrideDRO = 2451;

// UCCNC screen additions you must add these for the macro to work properly
// NEW UCCNC screen fields these are showfieldnb type objects and must be added

int VoltageDRO = 20010;
int CurrentDRO = 20011;
int SpeedDRO = 20012;
int PowerDRO = 20013;
int TorqueDRO = 20014;

not sure if i need to change anything or not to control speed

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Thu Jan 04, 2024 12:51 pm
by Battwell
are you using the same screen as previously?

Re: Modbus Master and Haunyang GT series Inverter

PostPosted: Thu Jan 04, 2024 1:25 pm
by davidrid
went from 2.111 to 2.113