Macro_capability_detailed.htm - suggested corrections

This section is for Users that want to create and share Documentation about UCCNC.

Re: Macro_capability_detailed.htm - suggested corrections

Postby ger21 » Sat Oct 22, 2016 11:06 am

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.
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1190
Joined: Sat Sep 03, 2016 2:17 am

Re: Macro_capability_detailed.htm - suggested corrections

Postby beefy » Sat Oct 22, 2016 8:22 pm

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
beefy
 
Posts: 202
Joined: Mon Sep 05, 2016 10:34 am

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Sat Oct 22, 2016 8:45 pm

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
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Sat Oct 22, 2016 9:44 pm

Is it not g90/g91?
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Fri Oct 28, 2016 11:13 am

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
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Fri Oct 28, 2016 11:16 am

exec.DospinCW();
exec.DospinCCW();
exec.Stopspin();
exec.Miston();
exec.Floodon();
exec.Stopcoolant();


found in macros M3, M4, M5, M7, M8 & M9.txt respectively.
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Macro_capability_detailed.htm - suggested corrections

Postby ger21 » Mon Oct 31, 2016 11:34 pm

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. :)
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1190
Joined: Sat Sep 03, 2016 2:17 am

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Tue Nov 01, 2016 2:38 pm

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
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Macro_capability_detailed.htm - suggested corrections

Postby ger21 » Wed Nov 23, 2016 2:31 am

AS3.Getfielddouble(****)

Also, this thread should be moved. Took me 10 minutes to find it.
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1190
Joined: Sat Sep 03, 2016 2:17 am

Re: Macro_capability_detailed.htm - suggested corrections

Postby Robertspark » Wed Nov 23, 2016 9:06 am

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,
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1100
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

PreviousNext

Return to User Documentation

Who is online

Users browsing this forum: No registered users and 1 guest