ADTECH9 Series CNC Programming Manual
3.2.2. M89 specifies output port control ............................................................................................. - 89 -
3.3 SPINDLE SPEED FUNCTION S ......................................................................................................................... - 90 -
3.4 TOOL FUNCTION ......................................................................................................................................... - 90 -
4. CATEGORY B MACRO FUNCTION .......................................................................................................... - 91 -
4.1 VARIABLE INSTRUCTION ............................................................................................................................... - 91 -
4.2 MACRO PROGRAM CALL .............................................................................................................................. - 93 -
4.3 MACRO PROGRAM CALLING COMMAND .......................................................................................................... - 93 -
4.4 VARIABLE .................................................................................................................................................. - 97 -
4.5 TYPES OF VARIABLES.................................................................................................................................... - 99 -
4.6 CALCULUS INSTRUCTION ............................................................................................................................ - 101 -
4.7 CONTROL INSTRUCTION ............................................................................................................................. - 105 -
4.8 NOTES OF USING MACRO ........................................................................................................................... - 109 -
4.9 MACRO VARIABLE USER PARAMETERS SYSTEM CONFIGURATION .......................................................................... - 109 -
4.10 EXTENDED SPECIAL MACRO FUNCTIONS ......................................................................................................... - 111 -
4.10.1. RCOOR read workpiece coordinates ........................................................................................ - 111 -
4.10.2. RMACPOS read machine tool coordinates ............................................................................... - 111 -
4.10.3. WMACPOS write machine tool coordinates ............................................................................ - 111 -
4.10.4. SPEEDS set interpolation speed ............................................................................................... - 111 -
4.10.5. SPEEDA set positioning speed .................................................................................................. - 112 -
4.10.6. MOVEABS single axis moves to the machine’s position ........................................................... - 112 -
4.10.7. MOVEREL relative moved position of single axis ..................................................................... - 112 -
4.10.8. MOVEASA two axes move to the machine’s position (positioning or interpolation) ............... - 112 -
4.10.9. MOVERSA relative moved position of two axes (positioning or interpolation) ........................ - 113 -
4.10.10. MOVEASB three axes move to the machine’s position (positioning or interpolation) ............. - 113 -
4.10.11. MOVERSB Relative Position of Motion of Three axes .............................................................. - 113 -
4.10.12. MOVEASC absolute position of motion of multiple axes (positioning or interpolation) .......... - 114 -
4.10.13. MOVERSC relative position of motion of multiple axes (positioning or interpolation) ............ - 114 -
4.10.14. WRITEOUT Write Physical Output ........................................................................................... - 115 -
4.10.15. WRITELED Write Physical LED .................................................................................................. - 115 -
4.10.16. READOUT Read Physical Output .............................................................................................. - 115 -
4.10.17. READIN Read Physical Input .................................................................................................... - 115 -
4.10.18. READLED Read Physical LED .................................................................................................... - 115 -
4.10.19. MOVEWAITIN Search and Wait for the Input Signals in Motion .............................................. - 116 -