Help with hy_gt_vfd

More
09 May 2024 22:26 #300250 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
Thank you!

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

More
10 May 2024 12:08 #300311 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
Hi again Looking at your .ini file almost everything makes sense except for how the Multipliers and dividers are calculated.
Can someone please explain how this works?  in my VFD my 2000 address communication settings are -10000 to 10000 which is = to -100% to 100% max frequency.  My spindle is 300Hz max frequency and 18,000 max RPM.
Reading the information in the sample ini files it says:

[SpindleRpmIn]

# Multiplier and Divider are integer values to correct command speed value
# before it will be written to command speed register.
# Corrected command speed = (command speed) x Multiplier / Divider.
# Use both (Multiplier & Divider) to reach float coefficient.
Multiplier=1
Divider=6
In my case is the multiplier = 10,000/300 or 33.33 and the divider = 18,000rpm /10,000 or 1.8?


[SpindleRpmOut]

# An address of the output speed (or frequency) register.
Address=0x2000

# Multiplier and Divider are integer values to correct output speed value
# after it has been read from output speed register.
# Corrected output speed = (output speed) x Multiplier / Divider.
# Use both (Multiplier & Divider) to reach float coefficient.
Multiplier=6
Divider=1

And here
In my case is the divider = 10,000/300 or 33.33 and the multiplier = 18,000rpm /10,000 or 1.8?
  

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

More
10 May 2024 14:54 #300329 by COFHAL
Replied by COFHAL on topic Help with hy_gt_vfd
I think that for your case it is correct. In your case, for example, for a speed of 900, LCN sends a CMD 15, the VFDmod component applies 600/18=33.3333, resulting in 500, this value is the one that LCN sends. to the RS 485 port to the VDF, upon receiving it internally, if I have not been able to understand it, it returns and divides it by 600/18 to set that value to command the speed of the VFD, that is, 900 RPM that is achieved with a frequency of 15 Hz. In my case the difference is that the speed of my VFD is not limited and reaches 24000 RPM, that is why I apply 600/24. That's my interpretation, I don't know if I'm wrong.

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

More
10 May 2024 22:37 #300356 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
Thank you for the explanation it makes sense to me now.  

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

More
12 May 2024 00:20 - 12 May 2024 00:30 #300413 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
Hi all again I am glad to say I have made so progress getting my Hy_gt_VFD working thanks to COFHAL's help.  I can now talk to the VFD without errors, but it still will not run the Spindle. I am hoping someone can figure out what I have wrong or missing.  here are my setup files.  when try to manually run the spindle by clicking the forward or review button after I hit stop the spindle tuns a bit then stops. I see the frequency and speed respond for a second in my panel then go back to 0.  Hitting the + button does not work vfdmod pins are showing increasing speed and frequency but not the spindle pins. I think I am close, but I can't figure out where the issue is.  
 

File Attachment:

File Name: Craig_Linu...hine.hal
File Size:13 KB
 

File Attachment:

File Name: Craig_Linu...hine.ini
File Size:5 KB
 

File Attachment:

File Name: custom_2024-05-11.hal
File Size:1 KB
 

File Attachment:

File Name: vfd_GT.ini
File Size:5 KB
Attachments:
Last edit: 12 May 2024 00:30 by Craig E.

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

More
12 May 2024 07:21 - 12 May 2024 07:27 #300421 by COFHAL
Replied by COFHAL on topic Help with hy_gt_vfd
In SpindleRpmIn Put.
Multiplier=10000
Divider=300
And Craig_LinuxCNC_machine.ini SPINDLE
MAX OUTPUT=18000
Last edit: 12 May 2024 07:27 by COFHAL.

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

More
13 May 2024 17:58 #300519 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
Thankyou.  I will give that a try tonight 

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

More
16 May 2024 22:35 #300788 by Craig E
Replied by Craig E on topic Help with hy_gt_vfd
It is still the same it connects when I try to run the VFD with the CW or CCW buttons the VDF responds I see a quick flash of a speed and the spindle turns a few degrees and that is it.  pushing the + buttons don't do anything Looking at the signals I don't see them changing ether I assume that there is something with the PIN setup.  The Communication is good I do not get any communication error.  Just no Spindle control.  Does anyone have any idea for me to try? 

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

Time to create page: 0.266 seconds
Powered by Kunena Forum