To achieve this, use the macro 'G81 Drilling cycle' and check the box Remember value for the parameters $1, $3, and $4. 10) can be configured and modified in the dialog Setup Block Numbers.Ĭheck this field if the last value entered for this parameter should be used the next time the macro is called.Įxample: Let's assume you need to drill a blind hole into a special steel with three depths Z10, Z16 and Z20 at a defined location (X,Y). The macro Tool change consists of 9 NC program blocks with 8 parameters ($1. If this macro must start on a new line, make the first line of the macro definition blank. If you need to insert a character right after a variable, you must insert a '|' (vertical bar) after the variable.Įxample: To insert the user variable 2 followed by 100, specify $2|100'. To add a block number to a line, specify a '#' at the beginning of the line. You can use the same variable multiple times in a macro. These parameters will be added to the macro program using the button Add (data input via the keyboard is not permitted and will not be accepted!). NC code variables are replaced by parameters in ascending order. In the field Macro definition, the macro block sequence is shown as it will appear in the NC program. User variables are specified with a '$' character followed by a number, and system variables are specified with a '$' followed by the variable name. Use the field to the right to specify the contents of the macro.Ī macro can contain both user and system variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |