reading Pokeys pins
Re: reading Pokeys pins
Art
Ok jog seems better as the dros but I think my mind is in a fog, and I am not getting the script code right.. so I am attaching the panel and scripts for jogging and the toolchange plus dialog... gcode moves seem the same from closing the dialog... I sure your mind is sharper that mine is right now, seems like everthing I touch breaks Starting to think SSR relays don't last replaced 3 in two weeks and need another, even bought a couple form automation direct thinking they would be better, nope both bad, wiring is correct they worked the way I have them wired for a couple weeks...
Also I think anything jog below 0.0005 will not update on the DRO ...
Thanks gary
Ok jog seems better as the dros but I think my mind is in a fog, and I am not getting the script code right.. so I am attaching the panel and scripts for jogging and the toolchange plus dialog... gcode moves seem the same from closing the dialog... I sure your mind is sharper that mine is right now, seems like everthing I touch breaks Starting to think SSR relays don't last replaced 3 in two weeks and need another, even bought a couple form automation direct thinking they would be better, nope both bad, wiring is correct they worked the way I have them wired for a couple weeks...
Also I think anything jog below 0.0005 will not update on the DRO ...
Thanks gary
- Attachments
-
- test.zip
- (72.81 KiB) Downloaded 248 times
Last edited by gburk on Mon Sep 02, 2019 5:05 am, edited 1 time in total.
Re: reading Pokeys pins
Gary:
A jog below 0.0005 would require a steps/unit of 2000 for that axis. The planner will
only update 1 motion of 1 step of your motors. So if your at 1600 steps/unit then
the minimum jog amount recognized will be .000625
Ill replace my scripts with your new ones in my test setup, but I cant exactly duplicate your
setup, so Ill see what they show.
Seems strange for ssr's to go so much. Are you sure their high enough current capability?
Art
A jog below 0.0005 would require a steps/unit of 2000 for that axis. The planner will
only update 1 motion of 1 step of your motors. So if your at 1600 steps/unit then
the minimum jog amount recognized will be .000625
Ill replace my scripts with your new ones in my test setup, but I cant exactly duplicate your
setup, so Ill see what they show.
Seems strange for ssr's to go so much. Are you sure their high enough current capability?
Art
Re: reading Pokeys pins
Gary:
Ive added your jogging panel but you diodnt give me your scripts for the controls
of it. Ive been using my jog instead. Does it seem to work in order with my jogging
buttons? If so, what is the script your using for Jogyplus and such.
If it doesnt work when using my buttons, describe the operation and Ill duplicate here
to see where Im missing the sync call.
Thx
Art
Ive added your jogging panel but you diodnt give me your scripts for the controls
of it. Ive been using my jog instead. Does it seem to work in order with my jogging
buttons? If so, what is the script your using for Jogyplus and such.
If it doesnt work when using my buttons, describe the operation and Ill duplicate here
to see where Im missing the sync call.
Thx
Art
Re: reading Pokeys pins
Art
Sorry my mind with the scripts has been in left field, think I have been abscessed with the SSR problems, and can't focus on anything else, OCD..
Seems what I been finding is the SSR relays at least some of them are staying closed so the current never stops flowing, I had 4 do this already..
Ordered 2 more If another one messes up i'm going back to no reverse, and will just make a mount to use a stepper on the spindle for threading..
As for the jogging with your jog panel it works my problem is I can't get it to single step or close to a single step when I am near the top of a part for touch off.
I think I did say before it seems like every time I am almost at the top of the part and try to jog to touch it seems that I hit jog arrow and it doesn't stop
dives into part and keeps going of course now missing steppes and I have to hit estop..
The main problem I have with your jog panel is not enough control for the short jogs, every time I hit a jog button it travels way to far..
I though the scripts for my jog were in the zip I will check and resend if not..
I haven't tried the probe to top of part from the dialog, maybe that would work better, but have to wait till new relays get here now :P..
I looked at the zip file on my end and it has the babystep.panel the jogging script also the testtool for tool change its a slimed down version.. and the dialog script.
so if you did get them all the jog should work. its not a good script but lets me move in smaller amounts also the first dro in the my jog panel is the jog amount so it won't move if you don't enter a value there.. like 0.0100 or whatever..
Gary
Sorry my mind with the scripts has been in left field, think I have been abscessed with the SSR problems, and can't focus on anything else, OCD..
Seems what I been finding is the SSR relays at least some of them are staying closed so the current never stops flowing, I had 4 do this already..
Ordered 2 more If another one messes up i'm going back to no reverse, and will just make a mount to use a stepper on the spindle for threading..
As for the jogging with your jog panel it works my problem is I can't get it to single step or close to a single step when I am near the top of a part for touch off.
I think I did say before it seems like every time I am almost at the top of the part and try to jog to touch it seems that I hit jog arrow and it doesn't stop
dives into part and keeps going of course now missing steppes and I have to hit estop..
The main problem I have with your jog panel is not enough control for the short jogs, every time I hit a jog button it travels way to far..
I though the scripts for my jog were in the zip I will check and resend if not..
I haven't tried the probe to top of part from the dialog, maybe that would work better, but have to wait till new relays get here now :P..
I looked at the zip file on my end and it has the babystep.panel the jogging script also the testtool for tool change its a slimed down version.. and the dialog script.
so if you did get them all the jog should work. its not a good script but lets me move in smaller amounts also the first dro in the my jog panel is the jog amount so it won't move if you don't enter a value there.. like 0.0100 or whatever..
Gary
Last edited by gburk on Tue Sep 03, 2019 7:29 am, edited 1 time in total.
Re: reading Pokeys pins
Gary, what kind of load are you switching with those SSRs? Do they need to be heatsinked? If you're blowing that many I'd suspect there's a problem with over stressing them.
Kirk
Kirk
Re: reading Pokeys pins
Kirt
There all mounted to heatsinks, don't think they even have run lone enough to overheat, but you know how hot it is down here right now..
They are all rated from 5-200 vdc and I don't think I pushing any more the 100vdc.
Just got the new relay and its working again, going to test them running just with a 12v motor in the house for a day or two and see how they heat up inside before I move them back to the mill..
Gary
There all mounted to heatsinks, don't think they even have run lone enough to overheat, but you know how hot it is down here right now..
They are all rated from 5-200 vdc and I don't think I pushing any more the 100vdc.
Just got the new relay and its working again, going to test them running just with a 12v motor in the house for a day or two and see how they heat up inside before I move them back to the mill..
Gary
Last edited by gburk on Thu Sep 05, 2019 9:18 am, edited 1 time in total.
Re: reading Pokeys pins
Art
as for the m6 tool change it seems to work on first run the x y z jog back to start pos in the correct order...
if you hit stop and rewind then run again is when they all move at the same time..
just a couple more thoughts..
Thanks gary
as for the m6 tool change it seems to work on first run the x y z jog back to start pos in the correct order...
if you hit stop and rewind then run again is when they all move at the same time..
just a couple more thoughts..
Thanks gary
Last edited by gburk on Wed Sep 04, 2019 3:10 pm, edited 1 time in total.
Re: reading Pokeys pins
Thx Gary:
I think I know where the problem may lie..
Art
I think I know where the problem may lie..
Art
Re: reading Pokeys pins
Gary:
Cant find your jogging scripts anywhere. There not in the panel and I cant find a script
for any of the buttons being registered. What I need to know is how are you doing the jog, with a Engine.FeedTo
or a .GCode(..) ? I need to trace that section to see why it might forget your position..
Art
Cant find your jogging scripts anywhere. There not in the panel and I cant find a script
for any of the buttons being registered. What I need to know is how are you doing the jog, with a Engine.FeedTo
or a .GCode(..) ? I need to trace that section to see why it might forget your position..
Art
Re: reading Pokeys pins
Art
Sorry here are the scripts again they seemed to be there at least when it checked the zip before uploading..
I tried both Feedto, and engine.gcode same results..
I mounted the relays back and reconnected the spindle, so planning on testing it if it cools down some tonight when the sun go's down
I did test the m6 dialog with the Z touch off seems to work when dry running probe trigged good and retracted but, will need a real motion
test to see if it retracts and sets the new tool to the correct Hight.
will let you know how that go's..
also I had the problem with the jog not stopping again I'll be jogging then it seems to go into continuous mode I tap the jog button and it doesn't stop
I though it may be the mouse or computer but now i don't think so now it has happened on two different computers and with different mouse's it was only showing up in the Z jog but last night it did it in the X jog and this is in auggies jog panel..
Gary
Sorry here are the scripts again they seemed to be there at least when it checked the zip before uploading..
I tried both Feedto, and engine.gcode same results..
I mounted the relays back and reconnected the spindle, so planning on testing it if it cools down some tonight when the sun go's down
I did test the m6 dialog with the Z touch off seems to work when dry running probe trigged good and retracted but, will need a real motion
test to see if it retracts and sets the new tool to the correct Hight.
will let you know how that go's..
also I had the problem with the jog not stopping again I'll be jogging then it seems to go into continuous mode I tap the jog button and it doesn't stop
I though it may be the mouse or computer but now i don't think so now it has happened on two different computers and with different mouse's it was only showing up in the Z jog but last night it did it in the X jog and this is in auggies jog panel..
Gary
- Attachments
-
- Jog.zip
- (5.03 KiB) Downloaded 256 times
Last edited by gburk on Fri Sep 06, 2019 12:15 pm, edited 1 time in total.
Re: reading Pokeys pins
Art
Have connected and did a couple test, seems my steps were way off, I had the z set to 1800, well I had to set it to 16000 to move 1 inch seems close for the z now anyway..
Having a few probing issues my touch probe seems to be high and go's low when hit...
if I use an isolated touch plate its the opposite low then high when hit..
also seems even with the plastic between the touch plate and top of part I seem to get a slight signal going though to the breakout board the probe led light is real dim but does light up i'm not sure what would cause that.. if I remove one wire it gos off..
so sometimes I seem to be getting false signals..
one example is I probe down in the M6 call it touches off and stops fine but it looks like it may be getting a false trigger when it inverts and backsoff for the release signal.. and of course it stops there and doesn't retract to the correct Hight because it thinks there was an probe error...
making any sense to you..?
Gary
Have connected and did a couple test, seems my steps were way off, I had the z set to 1800, well I had to set it to 16000 to move 1 inch seems close for the z now anyway..
Having a few probing issues my touch probe seems to be high and go's low when hit...
if I use an isolated touch plate its the opposite low then high when hit..
also seems even with the plastic between the touch plate and top of part I seem to get a slight signal going though to the breakout board the probe led light is real dim but does light up i'm not sure what would cause that.. if I remove one wire it gos off..
so sometimes I seem to be getting false signals..
one example is I probe down in the M6 call it touches off and stops fine but it looks like it may be getting a false trigger when it inverts and backsoff for the release signal.. and of course it stops there and doesn't retract to the correct Hight because it thinks there was an probe error...
making any sense to you..?
Gary
Re: reading Pokeys pins
Gary:
Sounds like a resistive probe, there shouldnt be any conduction when its open..
Perhaps cleaning it well, hard to say.
Im not sure about the jog tap, Ill look into that, essentially the mouse is captured
when you press a jog button, so any release is seen and used to stop. I'll do a couple
tests to see what may cause that ..
Art
Sounds like a resistive probe, there shouldnt be any conduction when its open..
Perhaps cleaning it well, hard to say.
Im not sure about the jog tap, Ill look into that, essentially the mouse is captured
when you press a jog button, so any release is seen and used to stop. I'll do a couple
tests to see what may cause that ..
Art
Re: reading Pokeys pins
Art
Think I have the probe letting the signal though and the led lighting dim messed with it awhile and looks like I have that fixed..
Still some probing problems I have to assume there internal to auggie
If I hit touch off Z it runs fine touches off then backs off and then retracts to the set Z height.. I need to set a slow probe feed rate at 5 no more then 10.
or seems to loose steps mostly on retract.
But if I Zero the z now and then run the touch off Z again the feed rates are off it probes to fast and retracts to fast so it misses steps retracting..
The touch off Z script has the slow feed rate setting in it only, so I don't understand how if the script is run the second time it isn't running at the slow feed rate
it seems to ignore the slow feed rate on the second run, not sure what feed rate its using but way to fast and not the setting in the script..
update: I sleep on it last night and tried again this morning same problem..
It probes down and touches off good, problems seem when its backing off to open the probe signal I set invert probe to 1 and save the probe hit position and then try to back off to that position and open probe contact.
Its had to tell what's going on from there but I thought it was loosing steps retracting, but in fact motor its skipping but it looks like from the dro that its still trying to move down so crashing into touch plate.
maybe I should not try to backoff and invert the probe.. and use a different approach
Thinking maybe probe down touch off, then reverse to just for example to 0.02 re probe down touch off again and save that as the top of touch plates position then backup to 1.0, form what I can see the problem starts trying to back off from the saved probe hit position maybe it didn't overshoot that position enough to backoff and release the trigger.. the BOB probe led does stay on so it looks like it not releasing
I can't test it simulation mode because I don't seem to have a way to simulate a probe hit, would be a safer way to test..
Any thoughts on this approach.
Gary
Think I have the probe letting the signal though and the led lighting dim messed with it awhile and looks like I have that fixed..
Still some probing problems I have to assume there internal to auggie
If I hit touch off Z it runs fine touches off then backs off and then retracts to the set Z height.. I need to set a slow probe feed rate at 5 no more then 10.
or seems to loose steps mostly on retract.
But if I Zero the z now and then run the touch off Z again the feed rates are off it probes to fast and retracts to fast so it misses steps retracting..
The touch off Z script has the slow feed rate setting in it only, so I don't understand how if the script is run the second time it isn't running at the slow feed rate
it seems to ignore the slow feed rate on the second run, not sure what feed rate its using but way to fast and not the setting in the script..
update: I sleep on it last night and tried again this morning same problem..
It probes down and touches off good, problems seem when its backing off to open the probe signal I set invert probe to 1 and save the probe hit position and then try to back off to that position and open probe contact.
Its had to tell what's going on from there but I thought it was loosing steps retracting, but in fact motor its skipping but it looks like from the dro that its still trying to move down so crashing into touch plate.
maybe I should not try to backoff and invert the probe.. and use a different approach
Thinking maybe probe down touch off, then reverse to just for example to 0.02 re probe down touch off again and save that as the top of touch plates position then backup to 1.0, form what I can see the problem starts trying to back off from the saved probe hit position maybe it didn't overshoot that position enough to backoff and release the trigger.. the BOB probe led does stay on so it looks like it not releasing
I can't test it simulation mode because I don't seem to have a way to simulate a probe hit, would be a safer way to test..
Any thoughts on this approach.
Gary
Last edited by gburk on Sun Sep 08, 2019 2:18 am, edited 1 time in total.
Re: reading Pokeys pins
Art
Ran it again by using G31 Z0.2 that should be upwards retract the dro may be sitting at -.6 or -.5 when the probe is hit going down but for some reason still want to move in the neg direction.. during retract do you think there's a problem with the G31 Code? I can't seem to get any consistence one time it may work usable on the first run then it just is all out of wacke doesn't seem to know where it is sitting and wants to move down instead of up.
Gary
Ran it again by using G31 Z0.2 that should be upwards retract the dro may be sitting at -.6 or -.5 when the probe is hit going down but for some reason still want to move in the neg direction.. during retract do you think there's a problem with the G31 Code? I can't seem to get any consistence one time it may work usable on the first run then it just is all out of wacke doesn't seem to know where it is sitting and wants to move down instead of up.
Gary
Re: reading Pokeys pins
Art
Sorry for all the messages..
I ran a few more test this morning..
The touch probe that has a high signal till its hit, seems to work fine I ran 10 Z touch offs and with no problems back off was good no crashes thank goodness tips are expensive...
It seems the problem is doing a tool touch off to a touch plate, my touch plate is set to low signal.
If I run the z probe hold the plate in my hand and tap the tool it seems to work every time.
But when I place the tool plate on the top of the part solid surface, is when it messes up probe hits and stops like it should but doesn't reverse instead of reversing it plunges down crashes, I'm using a gnd signal for the probe..
all tests were run with the same script..
Touch off plate is isolated.
both probes go to the same connector on the BOB, haven't taken the touch probe apart so not sure of it setup but must be grounded till hit.
don't see how to do that with a solid touch plate..
Endless timing needs to be fast when its hit..
Also the feed rate still doesn't seem to change correct if I set it to 5 it shows 10 or more in the feed rate dro
I'm not sure what to do now
Gary
Sorry for all the messages..
I ran a few more test this morning..
The touch probe that has a high signal till its hit, seems to work fine I ran 10 Z touch offs and with no problems back off was good no crashes thank goodness tips are expensive...
It seems the problem is doing a tool touch off to a touch plate, my touch plate is set to low signal.
If I run the z probe hold the plate in my hand and tap the tool it seems to work every time.
But when I place the tool plate on the top of the part solid surface, is when it messes up probe hits and stops like it should but doesn't reverse instead of reversing it plunges down crashes, I'm using a gnd signal for the probe..
all tests were run with the same script..
Touch off plate is isolated.
both probes go to the same connector on the BOB, haven't taken the touch probe apart so not sure of it setup but must be grounded till hit.
don't see how to do that with a solid touch plate..
Endless timing needs to be fast when its hit..
Also the feed rate still doesn't seem to change correct if I set it to 5 it shows 10 or more in the feed rate dro
I'm not sure what to do now
Gary
Who is online
Users browsing this forum: No registered users and 1 guest