Page 18 of 59

Re: reading Pokeys pins

Posted: Tue May 07, 2019 4:11 pm
by ArtF
Gary:

  Ive fixed the scripting errors on load, Scipt "{}"s will be ignore if inside a comment.

I need your screenset to test with your dialogs though. I have your panels, but in the Screens folder
should be the screen you have setup using those panels.Can you drop it here?

Thx
Art

Re: reading Pokeys pins

Posted: Tue May 07, 2019 10:50 pm
by gburk
Ok Art

Here's the screen

Hope this helps...

I see the {} in the gcode so it's not being ignored event though it's inside () I think that  I used victric to generate that gcode I looked at cambam and sheetcam it doesn't look like they put the {} anywhere in the gcode
I removed the {} from victric's post processor so shouldn't add to gcode now..

I know the scripts are a mess keep adding and changing so go easy on me :)

Thanks gary

Re: reading Pokeys pins

Posted: Wed May 08, 2019 12:42 am
by ArtF
Gary:

I haven't updated the program yet on the web, so only after next release will it ignore the {}'s.
Ill keep back any release till Im finished analysing your screen..

Thx
Art

Re: reading Pokeys pins

Posted: Wed May 08, 2019 12:05 pm
by ArtF
Gary:

I just uploaded Auggie 3.6b , test it and see what it foxes and what it doesnt.

  You shouldn't get that dialog anymore, it will skip that call if the axis position was just changed
by a script call such as your scripts. The Dialogs will not have any more than 1 OK and cancel
button combination.  I dont seem to have a problem getting motion right off if I press for a Z-Touch
or such. Let me know whats going on and we'll go from there.

Thx
Art

Re: reading Pokeys pins

Posted: Wed May 08, 2019 6:55 pm
by gburk
Art

I Still seem to have to run the scripts first for the toolbuttons and probe to work or there's no motor movement, and also the dialog to continue still pops up on some m6 calls

and I am getting no free axis movement with the freerapid now at all...

I am going to move all the code to another computer and see if I get any better results...

thanks gary

Re: reading Pokeys pins

Posted: Wed May 08, 2019 7:05 pm
by ArtF
Gary:

>>I Still seem to have to run the scripts first for the toolbuttons and probe to work or there's no motor movement, and also the dialog to continue still pops up on some m6 calls

  Can you give me a sequence here. For example, you start program, load a Gcode file, then what is the sequence where nothing happens?  What button do I need to press to simulate what your doing? Do I need to load a file to see this or doe yours not move if you simply press the Tool#1 button for example?

>>and I am getting no free axis movement with the freerapid now at all...

  I havent touched anything on the freeaxis. Other than dialog changes and scripting errors I havent
modified anything to do with freeaxis settings.

>>I am going to move all the code to another computer and see if I get any better results.. .

  I cant see that making much difference, the Freeaxis is probably some configuration thing.
Do you get any error when trying to turn on a free axis?

thx
Art

Re: reading Pokeys pins

Posted: Wed May 08, 2019 8:34 pm
by gburk
Art

You are right same results on different computer..

I boot auggie, and I do not load any g code files, I hit estop and then hit tool1 button I get all the print messages in the script but no movement.
then I try the z probe button same results.

now I load the lib for toolbuttons and run the script and now I get motor movement fine.. but no freerapid movement only x y z..

now I hit the z probe button again still no movement...
so I load the  probing script and run it, and now I get z axis movement..

make any more sense

also don't seem to be able to get free axis movement at all now in simulator or motion mode..

The auggie dialog to continue seems to only happen while running g code file on a T M6 line

Thanks gary


Thanks gary

Re: reading Pokeys pins

Posted: Wed May 08, 2019 10:43 pm
by ArtF
Gary

  I found an issue in script init sequence. So now, using your scripts and panel,
I start up, press Tool #1, the freeaxis move as I assume youve told them to,
and the z axis probes.

  Ill put this online tomorrow and we'll see where you stand then. Nothing Ive done
affects the Free axis though, and before I fixed the init, the free axis only moved
when I pressed the button.  So Im unsure why your free axis have stopped.. check
their config..maybe you changed something in testing..

Art

Re: reading Pokeys pins

Posted: Thu May 09, 2019 12:54 am
by ArtF
Gary:

New version is online that should correct your scripts not starting up.
I tested by simply starting up, and pressing tool#1 button. All involved axis
seemed to do what they should including freeaxis.

  Let me know if this seems to fix most script items. Your dialogs should only
have proper OK and cancel buttons, and motion should be possible right
after startup.

Art

Re: reading Pokeys pins

Posted: Thu May 09, 2019 8:45 pm
by gburk
Ok Art

The startup works fine now boot auggie and hit estop press tool1 and x y z run fine. and z probe
But still no free axis's moving I checked the config and it looks good for all 4 of the free axis's don't see any changes..

I tried running Engine.FreeRapid(null,3,2,null); alone from the script window and run it, but there was no movement...

Thanks gary