CNC Skipping G Code Instructions
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 15:02 #177251
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
I'll test that out and update if it happens again.
My current motor drivers wanted 5000 and 2500. I have noticed small hiccups while jogging so this might fix that.
If it happens again, what do I need to gather and upload?
My current motor drivers wanted 5000 and 2500. I have noticed small hiccups while jogging so this might fix that.
If it happens again, what do I need to gather and upload?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19504
- Thank you received: 6540
04 Aug 2020 17:52 #177264
by tommylight
Replied by tommylight on topic CNC Skipping G Code Instructions
Do you get any latency errors while running the machine ?
The following user(s) said Thank You: M Sills
Please Log in or Create an account to join the conversation.
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 19:09 #177267
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
Nope.
Please Log in or Create an account to join the conversation.
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 19:24 #177269
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
How does linuxcnc send movement instructions to the 7i76e?
Does it send Gcode, steps or something else?
Is it possible I have some packet loss that causes it to occasionally miss roughly inch long commands?
Does it send Gcode, steps or something else?
Is it possible I have some packet loss that causes it to occasionally miss roughly inch long commands?
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10816
- Thank you received: 3564
04 Aug 2020 20:05 #177274
by rodw
Replied by rodw on topic CNC Skipping G Code Instructions
Linuxcnc simply tells the 7i76e to generate a step frequency until its changed..
If you lost connection, it would still generate that frequency.
But if the connection dropped, the watchdog would bite.
You can't rely on a closed loop stepper to never miss steps. If you ask too much of your steppers, they will not have the torque to catch up.
Do your drives have a fault output and is it connected to your system? If so, how is that configured?
Common sense says this is related to your configuration and hardware. If it was a 7i76e issue or a Linuxcnc interpreter issue, it would affect many people.
If you lost connection, it would still generate that frequency.
But if the connection dropped, the watchdog would bite.
You can't rely on a closed loop stepper to never miss steps. If you ask too much of your steppers, they will not have the torque to catch up.
Do your drives have a fault output and is it connected to your system? If so, how is that configured?
Common sense says this is related to your configuration and hardware. If it was a 7i76e issue or a Linuxcnc interpreter issue, it would affect many people.
The following user(s) said Thank You: M Sills
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19504
- Thank you received: 6540
04 Aug 2020 20:17 #177276
by tommylight
-
Back on topic.
Did you change the timings and test again?
And what is the acceleration set at.
-
The thing that it is missing position only on rapids should be enough to confirm that you have configuration issues, not hardware or software ones.
-
BTW,
Between me and my clients, we have bought over 60 Mesa cards (personally over 40), never has a single issue, ever, and i use those mostly on big industrial machines that work all day long, every day with LinuxCNC controlling them, some over 9 years of work, NEVER a single issue.
Replied by tommylight on topic CNC Skipping G Code Instructions
Chasing this route will not get you where you want to be.How does linuxcnc send movement instructions to the 7i76e?
Is it possible I have some packet loss that causes it to occasionally miss roughly inch long commands?
-
Back on topic.
Did you change the timings and test again?
And what is the acceleration set at.
-
The thing that it is missing position only on rapids should be enough to confirm that you have configuration issues, not hardware or software ones.
-
BTW,
Between me and my clients, we have bought over 60 Mesa cards (personally over 40), never has a single issue, ever, and i use those mostly on big industrial machines that work all day long, every day with LinuxCNC controlling them, some over 9 years of work, NEVER a single issue.
Please Log in or Create an account to join the conversation.
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 20:23 - 04 Aug 2020 20:47 #177277
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
I'd believe it's something wrong that I have done or something I have missed. I'm new to this so I could have done something dumb.
My steppers also have a fault detection where the error if something has gone wrong. I am in the process of hooking them up so the machine knows to stop.
Currently, it's just an LED that lights up on the stepper motors themselves.
I don't recall those being lit up when it would do something like this. I could have missed it though.
Having that communicate directly to my machine would hopefully rule it out as an issue.
Also, when changing my step generation stuff, I have developed some sort of studder in my machine. When doing linear jogs, the rpm of the motor isn't staying constant and making an odd noise.
Could this be a PID issue? I made sure that they are set to the default of 1000.
My steppers also have a fault detection where the error if something has gone wrong. I am in the process of hooking them up so the machine knows to stop.
Currently, it's just an LED that lights up on the stepper motors themselves.
I don't recall those being lit up when it would do something like this. I could have missed it though.
Having that communicate directly to my machine would hopefully rule it out as an issue.
Also, when changing my step generation stuff, I have developed some sort of studder in my machine. When doing linear jogs, the rpm of the motor isn't staying constant and making an odd noise.
Could this be a PID issue? I made sure that they are set to the default of 1000.
Last edit: 04 Aug 2020 20:47 by M Sills.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17987
- Thank you received: 4837
04 Aug 2020 20:50 #177280
by PCW
Replied by PCW on topic CNC Skipping G Code Instructions
How are the 7I76E step/dir outputs wired to the drive?
It might be an electrical issue
It might be an electrical issue
The following user(s) said Thank You: M Sills
Please Log in or Create an account to join the conversation.
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 20:51 #177282
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
As for my set acceleration, would these be the lines in my .pncconf that tell me this?
<property name="xmaxacc" type="float" value="30.0"/>
<property name="zmaxacc" type="float" value="30.0"/>
<property name="xmaxacc" type="float" value="30.0"/>
<property name="zmaxacc" type="float" value="30.0"/>
Please Log in or Create an account to join the conversation.
- M Sills
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
04 Aug 2020 21:04 #177287
by M Sills
Replied by M Sills on topic CNC Skipping G Code Instructions
For the wiring, Both my x and z are on the TB2 header.
X Axis
PUL+ Pin 3
PUL- Pin 2
DIR+ Pin 5
DIR- Pin 4
Z axis
PUL+ Pin 9
PUL- Pin 8
DIR+ Pin 11
DIR- Pin 10
X Axis
PUL+ Pin 3
PUL- Pin 2
DIR+ Pin 5
DIR- Pin 4
Z axis
PUL+ Pin 9
PUL- Pin 8
DIR+ Pin 11
DIR- Pin 10
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds