Page 5 of 8

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Sat Oct 22, 2016 11:06 am
by ger21
I know it's more work, but I'd prefer 3 different manuals, or at least 3 different sections.
Very, very few users will ever write plugins, so why make them have to parse through a document where a large percentage of the items don't pertain to them?
Just my thoughts, you don't need to agree. :) (I'm very grateful for what you've done)

Personally, I'd like a "quick reference", with just a list as you've posted in those previous emails. I'm going to copy those two emails and print them out.

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Sat Oct 22, 2016 8:22 pm
by beefy
If you end up doing the 3 different manuals you could just have 3 letters next to each command (S M P), example if the command can be used in a screenset and a macro but not in a plugin S M P
Any good ??

Or the P could be grayed out or striked through.

Keith

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Sat Oct 22, 2016 8:45 pm
by Robertspark
Comments below noted, keep them coming (off outside, get a chance to cut a bit of plate this evening).

found another macro function in M200 macro (listed here so I can find it later for the manual, may be of use to someone in the interim)
Code: Select all
int originalmodalmode = exec.actualmodal; // remember the modal mode
..
exec.Code("G" + originalmodalmode); // Set system back to the original distance mode

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Sat Oct 22, 2016 9:44 pm
by Robertspark
Is it not g90/g91?

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Fri Oct 28, 2016 11:13 am
by Robertspark
exec.actualmodal function

Code: Select all
  int originalmodalmode = exec.actualmodal;
  string OMM = originalmodalmode.ToString();
  MessageBox.Show(OMM);
//   exec.actualmodal
//   returns [as int]>
//   "0" = G0 - Linear interpolation with maximum feedrate
//   "1" = G1 - Linear interpolation with set feedrate
//   "2" = G2 - CW arc interpolation with set feedrate
//   "3" = G3 - CCW arc interpolation with set feedrate




exec.actualdistmode function

Code: Select all
   int originaldistancemode = exec.actualdistmode;
   string ODM = originaldistancemode.ToString();
   MessageBox.Show(ODM);
//   exec.actualdistmode
//   returns [as int]>
//   "90" = g90 - absolute distance mode
//   "91" = g91 - relative distance mode


both found in M204.txt macro

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Fri Oct 28, 2016 11:16 am
by Robertspark
exec.DospinCW();
exec.DospinCCW();
exec.Stopspin();
exec.Miston();
exec.Floodon();
exec.Stopcoolant();


found in macros M3, M4, M5, M7, M8 & M9.txt respectively.

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Mon Oct 31, 2016 11:34 pm
by ger21
To press a button from a macro:
exec.Callbutton(int ButtonNumber)

To Change Tab layers from a macro:
AS3.selectlayer(int LayerNumber)

Took me a while to figure out the second one. :)

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Tue Nov 01, 2016 2:38 pm
by Robertspark
Thanks Gerry, I'll update them, not started on a plugin section, need to issue the updates as there are a couple of extra fields, buttons and LEDs in v027

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Wed Nov 23, 2016 2:31 am
by ger21
AS3.Getfielddouble(****)

Also, this thread should be moved. Took me 10 minutes to find it.

Re: Macro_capability_detailed.htm - suggested corrections

PostPosted: Wed Nov 23, 2016 9:06 am
by Robertspark
Could someone please move this to the documentation section?

[May be a good idea to do a bit of housekeeping as there is stuff like the ISOBOB that could be moved to hardware, etc etc]

Thanks,