vfdmod issue connecting Yaskawa GA500

More
25 Jun 2022 15:33 #245863 by ddB0515
Hello all

I'm trying to connect my Yaskawa GA500 to LinuxCNC 2.8.2 via RS485/Modbus but having issue to understand modbus configuration
As vfdmod support reading 03 and writing 10 should work with GA500

Here is TechnicalManual  
On page 206 Start Modbus Communications (I have setup manually  b1-01/b1-02 and b1-15/b1-16 to value 2 (modbus) )
And also followed guide to setup rest Modbus communications parameters H5-01 to H5-12.

Now trying to setup vfdmod but having issue with reading Modbus setup from technical manual (page 218)
I have issue with getting WRITE only to work as I can read with 03 very easy based on monitor table(page 219/220)
[Control]
FunctionCode=10                   // using code to to write register
Address=0x????                    // address
RunForwardValue=0x????     //  fw
RunReverseValue=0x????    // rw
FaultResetValue=0x????      // fault 
StopValue=0x0000                // stop

If anybody have experience or know how to understand this a bit better would marvellous 
Also maybe is not possible to work with vfdmod so maybe I'm trying in vain :(

Please Log in or Create an account to join the conversation.

More
27 Jun 2022 23:10 - 27 Jun 2022 23:18 #246031 by ddB0515
Update:
I managed to get ModBus working for spindle with following settings
[Control]
FunctionCode=10 // write
Address=0x0001 // page 218 is crucial table with registers
RunForwardValue=0x0001 // depends how section H5-12 is set
RunReverseValue=0x0003 // can be opposite on selection in H5-12
FaultResetValue=0x0008 // stop bit
StopValue=0x0000

Now spindle starts but making weird noise and after some time start ramp up (by itself and off) then I get error, resetting it works but still trying to figure it what is wrong now

This is my common block
[Common]
MaxSpeedRPM=24000
MinSpeedRPM=3000

and frequency
[SpindleRpmIn]
FunctionCode=10
Address=0x0002
Multiplier=1
Divider=6


Maybe I need to change A1-02 section but if default is V/f and not working not sure if is safe to change to any other and keeping spindle alive

Anyone know what this should be set to?
Last edit: 27 Jun 2022 23:18 by ddB0515.

Please Log in or Create an account to join the conversation.

More
29 Jun 2022 20:46 #246207 by andypugh
I would try mode 2, for a start. Or try altering the V/f parameters (which will be adjustable somewhere)

Please Log in or Create an account to join the conversation.

More
30 Jun 2022 22:19 #246321 by ddB0515
Hello
Thanks for suggestion, I have tried it and not a lot changes, still whining(all modes)...but I managed to connect to Windows machine and read all parameters out 
Check attached pdf (values with [M] are only changed values)

Also from my config currently if I start LinuxCNC I get "F50.00" shown on screen for minimum speed (3000)
And my calculation is (3000 * 5 / 3) = 5000 (as is setup frequency in 0.01Hz)
That also works if I setup max speed as min I get 400Hz on VFD screen(so calculation should work)

So that part I thing works fine, now I when I try to increase speed on +/- from UI my frequency is not changing at all on CFD but spindle starts to speedup/rumping up until halted and stopped
 
Also attached my HAL's maybe will tell more about issue

P.S
Still WIP so not final and some nets are not connected 
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Jul 2022 22:20 #246398 by ddB0515
Managed to get it working with only changed parameters on Spindle
Got response from manufacturer Jianken regarding JGL80/2.2-R24 spindle
It was frequency issue and motor poles that were needed to be changed 

This is response I got from Janken for parameters
Basic parameters VFD requires to match the spindle
1). 220V AC
2) max current: 6.0A
3) input: three phase
4)asynchornous motor
5) max frequency: 400HZ
6) rated frequency: 400HZ
7) base frequency: 400HZ
8) 2-pole
9) time of speeding up & speeding down: It's better around 10~20 seconds (if the spindle goes to high speed too fast, or stops to zero speed too fast, the bearings tend to slip and then may break down)

If anyone else will need it, but got it now working without any noise/whining 

Attached pdf with WORKING parameters via Modbus/RS485 (whole configuration will post after I finish whole project)
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum