-Shenzhen Guanhong Automation Co.,Ltd.-
SZGH-CNC1000MDb Series
- 94 -
3.30.12 Build Processing Program Automatically
3.30.12.1 New/Open a program
Format: FILEON(Program) or FILEON[Program]
Example: FILEON(AABBCC) or FILEON[AABBCC]
It means that new or open a program “AABBCC”
3.30.12.2 Close program
Format: FILECE
It means that close current opening program, if without this code, system will close current
program after program is finished.
3.30.12.3 Write codes into program
Format: FILEWD(Blocks) or FILEWD[Blocks]
Example: FILEWD(G54G0X0Z0) or FILEWD[G54G0X0Z0]
It means that write a blocks of “G54G0X0Z0” into current opening program.
3.30.12.4 Write current absolute Coordinate into program
Format: FILEWC
It means that write current absolute Coordinate value into program.
Example:
G0X0Z0
FILEON[AABBCC]
FILEWD [G54G0X0Z0]
G1X45Z89
FILEWC
G1X99Z76
FILEWC
FILECE
3.30.12.5 Save all global variables with program format
FILEMS(ABC) or FILEMS(ABC)
Save #21~#999 to program of “ABC”
If user want to read these variables, it just needs to execute this “ABC” program, or take this
program as subprogram.
3.30.12.6 Application Example
G0 X100 Z2
FILEON(SCANNER01)
G22 L10
G31 Z-10 P1001 F100
FILEWC
G0 Z2
U-1
G800
This is example program for scanning,which will generate program: SCANNER01
After finished this program, system will new a
program of “AABBCC” under directory of
program, its blocks is :
G54G0X0Z0
X45Z89
X99Z76
Содержание SZGH-CNC1000MDb Series
Страница 220: ...Shenzhen Guanhong Automation Co Ltd SZGH CNC1000MDb Series 207 Appendix I Wiring Diagram of CN3 Plug...
Страница 221: ...Shenzhen Guanhong Automation Co Ltd SZGH CNC1000MDb Series 208 Appendix II Wiring Diagram of CN10 Plug...
Страница 222: ...Shenzhen Guanhong Automation Co Ltd SZGH CNC1000MDb Series 209 Appendix III Wiring Diagram of CN4 Plug...