Gary:
Really strange .. makes it hard to know what to look at.. I hate this type of bug.
Art
reading Pokeys pins
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Yep it something with the feed rate, I have had the same problem running the g code the feeds seem off... mostly faster than I had set it to..
I have run the probing quite a few more times since my last message and still the same results, but probes Good.
But I guess in the probing scripts may be the most affected I have had it set to 40 and it jumps to 112, I can defiantly see the speed difference.
I haven't had the probe mess up yet even though it may run a little fast than I want at times.. so I have been trying to remember to run the script first before I use it in the M6 or with a button press's for probing...
Gary
Yep it something with the feed rate, I have had the same problem running the g code the feeds seem off... mostly faster than I had set it to..
I have run the probing quite a few more times since my last message and still the same results, but probes Good.
But I guess in the probing scripts may be the most affected I have had it set to 40 and it jumps to 112, I can defiantly see the speed difference.
I haven't had the probe mess up yet even though it may run a little fast than I want at times.. so I have been trying to remember to run the script first before I use it in the M6 or with a button press's for probing...
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
So does the feedrate ever end up wrong from gcode? OR just in script calls?
Only from button scripts, or have you have it wrong in a script window?
I cant seem to make it wrong here as of yet.. Im still looking..
Art
So does the feedrate ever end up wrong from gcode? OR just in script calls?
Only from button scripts, or have you have it wrong in a script window?
I cant seem to make it wrong here as of yet.. Im still looking..
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
It seems to run faster in G code than the feed rate but I may be wrong there had to keep good track of it in a C code the G code runs to fast to see the feed rate changes But my g code has one line set to G1 F4 feed rate the next line is G2 F15 feed rate just seems to be running faster than if I set the feed to 15 in a script..
But this may just because the G code is running so fast. and I not keeping up with it.
But yes the Feed Rate problem seems to be in the script. and from the button calls.
From what I find if I run the script 3 or 4 times the feed rates are messed up...
Then I load the script into the script screen edit window and run it from here once, the feed rates are good now...
Have been testing it like this for a few days now getting the same results..
Art - at least not having an issue with the probing not working.. big plus almost there I think... and the tool always looks centered in the X when script finished..
Gary
It seems to run faster in G code than the feed rate but I may be wrong there had to keep good track of it in a C code the G code runs to fast to see the feed rate changes But my g code has one line set to G1 F4 feed rate the next line is G2 F15 feed rate just seems to be running faster than if I set the feed to 15 in a script..
But this may just because the G code is running so fast. and I not keeping up with it.
But yes the Feed Rate problem seems to be in the script. and from the button calls.
From what I find if I run the script 3 or 4 times the feed rates are messed up...
Then I load the script into the script screen edit window and run it from here once, the feed rates are good now...
Have been testing it like this for a few days now getting the same results..
Art - at least not having an issue with the probing not working.. big plus almost there I think... and the tool always looks centered in the X when script finished..
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary::
Well, its good to know we seem to have cracked the rest of it. I cant seem
to find where Feedrate gets screwed. I think what Ill do is add an internal message
on each path that can set feedrate. We'll see what the messages say, may lead us somewhere.
(Nice system ..)
Art
Well, its good to know we seem to have cracked the rest of it. I cant seem
to find where Feedrate gets screwed. I think what Ill do is add an internal message
on each path that can set feedrate. We'll see what the messages say, may lead us somewhere.
(Nice system ..)
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Thanks so I assume you got the video ?.
I have made another one after running the script in the script window, and it does show the correct feed rates if you want to see this one also. let me know..
but as you can see its probing good...
Gary
Thanks so I assume you got the video ?.
I have made another one after running the script in the script window, and it does show the correct feed rates if you want to see this one also. let me know..
but as you can see its probing good...
Gary
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Think I got it going good now, here's a couple pic's of a test part cut in wood with tabs..
I had 2 tool changes during cutting, and I used the m6 dialog for both.
I jogged the z to a height I could swap out the tool, then jogged back down, I put the touch plate on parts top and hit the z touch button in the dialog. it hit and retracted to the correct distance off part. then hit the RUN button and all went well...
so all is good and working just need to remember to run script in window first so feed rates are good...
have X centering going good working on Y now, then X and Y together..
Thanks gary
Think I got it going good now, here's a couple pic's of a test part cut in wood with tabs..
I had 2 tool changes during cutting, and I used the m6 dialog for both.
I jogged the z to a height I could swap out the tool, then jogged back down, I put the touch plate on parts top and hit the z touch button in the dialog. it hit and retracted to the correct distance off part. then hit the RUN button and all went well...
so all is good and working just need to remember to run script in window first so feed rates are good...
have X centering going good working on Y now, then X and Y together..
Thanks gary
You do not have the required permissions to view the files attached to this post.
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
This is a request to add a way to home in a different order and not to home all at once... i don't see and scripts for your home all button so i assume its built in.
Don't know if you can add it to the motor cofigs axis x y z option for homing sequence x 1 2 or 3, 1 = move home first 2 = move second 3 = last, also wait till one axis is finished before starting next axis...
I know i can home one at a time but sometimes i forget and hit home all, and the way i have the home switches mounted the Y has to be homed before the X , X will not hit a switch till Y is homed, just they way they are mounted, will fix this when i rebuild the machine in the near future..
Gary
This is a request to add a way to home in a different order and not to home all at once... i don't see and scripts for your home all button so i assume its built in.
Don't know if you can add it to the motor cofigs axis x y z option for homing sequence x 1 2 or 3, 1 = move home first 2 = move second 3 = last, also wait till one axis is finished before starting next axis...
I know i can home one at a time but sometimes i forget and hit home all, and the way i have the home switches mounted the Y has to be homed before the X , X will not hit a switch till Y is homed, just they way they are mounted, will fix this when i rebuild the machine in the near future..
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
Have you tried changing the homeall button to a script of your own
calling the HomeZ, then Home X, then HomeY with a block on motionstill
between each?
It should be possible to home in any order that way. (I havent tried it though..)
Art
Have you tried changing the homeall button to a script of your own
calling the HomeZ, then Home X, then HomeY with a block on motionstill
between each?
It should be possible to home in any order that way. (I havent tried it though..)
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Haven't tried that thought about it but thinking if it was an easy fix on your end, i was going with that a porch getting lazy i guess after messing with all the other scripts..
But i can give it a shot, not totally sure how you are reading the triggers on the home switches and setting the led's when hit.
if i do a block"MotionStill" i'm not sure how to check the switches while the axis is moving, you may have a few commands built in i could use But not sure what..
Gary
Haven't tried that thought about it but thinking if it was an easy fix on your end, i was going with that a porch getting lazy i guess after messing with all the other scripts..
But i can give it a shot, not totally sure how you are reading the triggers on the home switches and setting the led's when hit.
if i do a block"MotionStill" i'm not sure how to check the switches while the axis is moving, you may have a few commands built in i could use But not sure what..
Gary