Hello Guest it is July 06, 2020, 05:30:08 PM

Author Topic: Enums,Pound Variables,Return Codes,Machine States  (Read 2753 times)

0 Members and 1 Guest are viewing this topic.

Enums,Pound Variables,Return Codes,Machine States
« on: April 17, 2019, 05:41:44 PM »
Hi All,
over a period of time I have a few documents that have lists of various Enums, pound variables, return codes,
machine states and the likes. In some cases I have written or compiled them myself but others I have edited poppabear's
lists (posted on this board). I thought I would bring them altogether.

May I suggest that if you find any of them useful download it to Mach4Hobby/Docs and then you will have access during
a Mach session via the <Help Docs> screen button.

If you have any additions or corrections please post.

Craig
My wife left with my best friend...
     and I miss him!
Re: Enums,Pound Variables,Return Codes,Machine States
« Reply #1 on: April 17, 2019, 05:42:58 PM »
Hi,
and the remaining attachments.

Craig
My wife left with my best friend...
     and I miss him!
Re: Enums,Pound Variables,Return Codes,Machine States
« Reply #2 on: July 05, 2019, 04:34:58 PM »
Hi,
I have found a mistake (one of many I would guess)

This is found in the EnumsList
Code: [Select]
mc.SV_MOD_GROUP_12 // Group 12 // active origin (1=G54 to 9=G59.3)
mc.SV_MOD_GROUP_13 // Group 13 // exact path or cutting mode
mc.SV_MOD_GROUP_14 // Group 14 // not used

but this occurs in the PoundVariables
Code: [Select]
MOD GROUP 12 4012 // Group 12 // modal macro (G66,G66.1,G67)
MOD GROUP 13 4013 // Group 13 // spindle mode
MOD GROUP 14 4014 // Group 14 // coordinate systems

Thus there is a discrepancy between the interpretation of group12 and group14.

Looking at the register diagnostics of Mach4 build 4162 I conclude that the PoundVariable list is correct. I have therefore
updated the EnumsList.
My wife left with my best friend...
     and I miss him!