Long response between control -> response at spindle
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
30 Jun 2023 11:11 #274497
by Ondrej
Long response between control -> response at spindle was created by Ondrej
Hello,
On my machine ( 7i92 -> chinese BOB -> controlled stuff) I have huanyang VFD with communication RS485 connected to computer via RS485-USB.
Iam using huanyang component for controlling this VFD, its controlled in axis interface.
Nowadays the controlling have quite huge response. Even when I click my wired STOP button (only HAL pin) it lasts for 5 seconds before it starts to stop. Same is with starting the spindle and changing the revolutions, there is huge delay, its strange because it was not present.
Also now I remember there is Modbus communication in axis interface for showing status of spindle and it has red colour, I think previously it was all the time green. ( <--- but with this Iam not now sure)
What can cause this? Now Iam thinking about latency test, I will try do that when Iam on machine. What else can cause that?
Thanks in advance
On my machine ( 7i92 -> chinese BOB -> controlled stuff) I have huanyang VFD with communication RS485 connected to computer via RS485-USB.
Iam using huanyang component for controlling this VFD, its controlled in axis interface.
Nowadays the controlling have quite huge response. Even when I click my wired STOP button (only HAL pin) it lasts for 5 seconds before it starts to stop. Same is with starting the spindle and changing the revolutions, there is huge delay, its strange because it was not present.
Also now I remember there is Modbus communication in axis interface for showing status of spindle and it has red colour, I think previously it was all the time green. ( <--- but with this Iam not now sure)
What can cause this? Now Iam thinking about latency test, I will try do that when Iam on machine. What else can cause that?
Thanks in advance
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17944
- Thank you received: 4812
30 Jun 2023 14:26 - 30 Jun 2023 14:27 #274512
by PCW
Replied by PCW on topic Long response between control -> response at spindle
This is not latency related (latency issues would print a warning)
It may be that there are many communication errors or you have
the communication period set too slow.
I would check these pins (with halshow or halmeter) when running:
hy_gt_vfd.modbus-errors
(running count of communication errors)
hy_gt_vfd.period
( LinuxCNC VFD communication cycle time in seconds)
linuxcnc.org/docs/html/man/man1/hy_gt_vfd.1.html
It may be that there are many communication errors or you have
the communication period set too slow.
I would check these pins (with halshow or halmeter) when running:
hy_gt_vfd.modbus-errors
(running count of communication errors)
hy_gt_vfd.period
( LinuxCNC VFD communication cycle time in seconds)
linuxcnc.org/docs/html/man/man1/hy_gt_vfd.1.html
Last edit: 30 Jun 2023 14:27 by PCW.
Please Log in or Create an account to join the conversation.
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
08 Jul 2023 20:04 #275041
by Ondrej
Replied by Ondrej on topic Long response between control -> response at spindle
Iam using hy_vfd component and there are not these pins. (or pins that have some similar names)
When the spindle is not rotating the modbus communication is lightning green, I found some topic with this on this forum and guy had similar problem, when the spindle is not rotating the bulb is green, when it start to rotate then its red (I have also this, but sooometimes it goes green for a sec)
I tried to see parameters from this hy_vfd component and the vfd.error-count is 4482, and parameter vfd.retval is 0, but when the spindle is on, there is sometimes -12.
When the spindle is not rotating the modbus communication is lightning green, I found some topic with this on this forum and guy had similar problem, when the spindle is not rotating the bulb is green, when it start to rotate then its red (I have also this, but sooometimes it goes green for a sec)
I tried to see parameters from this hy_vfd component and the vfd.error-count is 4482, and parameter vfd.retval is 0, but when the spindle is on, there is sometimes -12.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17944
- Thank you received: 4812
08 Jul 2023 22:06 #275048
by PCW
Replied by PCW on topic Long response between control -> response at spindle
VFDs are very noisy devices and you likely have bad electrical noise issue.
I would check grounding carefully, add a common mode choke to the RS-485 pair,
use a line filter on the VFD line voltage input, and perhaps use an isolated RS-485
interface.
I would check grounding carefully, add a common mode choke to the RS-485 pair,
use a line filter on the VFD line voltage input, and perhaps use an isolated RS-485
interface.
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds