Search found 28 matches

by satco
Thu Feb 23, 2017 9:00 pm
Forum: C Scripting - 101
Topic: G02,G03 convert to G01
Replies: 4
Views: 21852

G02,G03 convert to G01

Hi Art,

In one application I use 4 axis CNC for welding. position of the end of tool depend from corner A. If NC programe has only G01 commands, my convertor read this file, calculate dx=f(A), dz=f(A), add it to coordinates and write new NC.

When NC has G02 and G03 commands... CAM give me NC with ...
by satco
Tue Aug 09, 2016 5:10 pm
Forum: C Scripting - 101
Topic: Script+Pokeys
Replies: 21
Views: 60959

Re: Script+Pokeys

Hi Art,

Ok, I test block and waiting fall.

Best regards,
Anatolii.
by satco
Tue Aug 09, 2016 2:11 pm
Forum: C Scripting - 101
Topic: Script+Pokeys
Replies: 21
Views: 60959

Re: Script+Pokeys

Hi Art,

Auggie like a sleeping Dragon. I will be very glad to help you wake him up. If I can to test or make anything else, let me know please.

Is it possible to block an Analog Input. If input signal change - start script? It will be a very powerful tool to work with analog signals.

Best regards ...
by satco
Tue Aug 09, 2016 6:27 am
Forum: C Scripting - 101
Topic: Script+Pokeys
Replies: 21
Views: 60959

Re: Script+Pokeys

Hi Art,

I set "NO" button among Pin1 and GND. In NO condition Pin1 hase 3.7V. In NC Pin1 hase 0V.

I have tested:
block("MotionPin1");
print("Done"+Pokeys1.GetPinDig(11));


I push Button to NC and wait in this condition. The word "Done0" is printed in the log and the light stops flashing.
So the ...
by satco
Mon Aug 08, 2016 1:29 pm
Forum: C Scripting - 101
Topic: Script+Pokeys
Replies: 21
Views: 60959

Re: Script+Pokeys

Hi Art,
I test following:

pinstate = Pokeys1.GetPinDig(9);
if( pinstate == 1 )
{
print("pinstate"+1);
}
else
{
print("pinstate"+0);
}

It works good. Then I test:

global MonitorPin9 = function()
{
while(1)
{
block( "MotionPin9");
pinstate = Pokeys1.GetPinDig(9);
if( pinstate == 1 ...
by satco
Sun Aug 07, 2016 6:37 pm
Forum: Auggie: Augmented Machine Controller
Topic: Auggie+PoKeys works unstable
Replies: 36
Views: 25511

Re: Auggie+PoKeys works unstable

Hi Art,

Thank you for free G02/G03!  Ok, I will test it.

Explain please Engine.FreeArcCW(
-0,  what is it?
-0, what is it?
-NULL, what is it?
-NULL, what is it?
-50, what is it?
-0, what is it?
-0 what is it?
);
Is the same in Engine.FreeArcCCW(100,0,NULL,NULL,50,0,0);?

Best regards,
Anatolii.
by satco
Sun Aug 07, 2016 8:32 am
Forum: Auggie: Augmented Machine Controller
Topic: Auggie+PoKeys works unstable
Replies: 36
Views: 25511

Re: Auggie+PoKeys works unstable

Hi Art,

thank you for complete explanation of the system architecture.

Forgot please about 5-8 axis planner :) On your system with 2 (4 axis) planners bevelling plasma cutting make very easy.

Let me ask some more questions, please:
1.Engine.FeedTo(1,2,3,4);// analog G01 for main planner ...
by satco
Sat Aug 06, 2016 6:30 am
Forum: Auggie: Augmented Machine Controller
Topic: Auggie+PoKeys works unstable
Replies: 36
Views: 25511

Re: Auggie+PoKeys works unstable

Hi Art,

I made two Buttons:

-Pin_1, with script:
global Pin_1 = function( state )
{
GlobalSet("Pin_9", state);
FreeFeedTo(1, null, null, null);
};


-Pin_2 with script:
global Pin_2 = function( state )
{
GlobalSet("Pin_11", state);
FreeFeedTo(null, 1, null, null);
};

free axis set 0,0,0,0
when ...
by satco
Fri Aug 05, 2016 6:10 pm
Forum: Auggie: Augmented Machine Controller
Topic: Auggie+PoKeys works unstable
Replies: 36
Views: 25511

Re: Auggie+PoKeys works unstable

Hi Art,

I have enter one line:
FreeFeedTo(1,NULL,NULL,NULL);
push "run"
-first go1
then change it to
FreeFeedTo(NULL,NULL,NULL,4);
push "run"
-fourth go 4
All ok.

Then I enter four line:
FreeFeedTo(1,NULL,NULL,NULL);
FreeFeedTo(NULL,2,NULL,NULL);
FreeFeedTo(null,null,3,null);
FreeFeedTo(null,null ...
by satco
Thu Aug 04, 2016 2:33 pm
Forum: Auggie: Augmented Machine Controller
Topic: Auggie+PoKeys works unstable
Replies: 36
Views: 25511

Re: Auggie+PoKeys works unstable

Hi Air,

sometimes it is a really problem...

Can I move free axis independently in different scripts? In Free Feed To(1,2,3,4); all four axis move simultaneously, or give error in case FreeFeedTo(,,,4);

Best regards,
Anatolii.