Machsupport Forum

Mach Discussion => Mach4 General Discussion => Mach4 Toolbox => Topic started by: joeaverage on April 17, 2019, 05:41:44 PM

Title: Enums,Pound Variables,Return Codes,Machine States
Post by: joeaverage 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
Title: Re: Enums,Pound Variables,Return Codes,Machine States
Post by: joeaverage on April 17, 2019, 05:42:58 PM
Hi,
and the remaining attachments.

Craig
Title: Re: Enums,Pound Variables,Return Codes,Machine States
Post by: joeaverage 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.
Title: Re: Enums,Pound Variables,Return Codes,Machine States
Post by: GOOMBA on May 15, 2023, 08:24:18 AM
I didn't see this file in your attachments so I thought I'd post it here.
Feel free to remove this reply if you've already posted it :)