Download This user manual describes all items concerning the operation of the
Transcript
GSK928TEa Turning CNC System User Manual 11)When one monitor is open, it can check the signal change above 3ms width; when ten monitor are open, they can check the signal change above 30ms width. 9.3.3 Monitor program example 【Program example 1】 The following program introduce the explanation of process monitor. In the batch machining, when the rough bar uneven length, it’s hard to confirm the machining start point. Suppose a sensor is installed in the tool, then the system can use the sensor to confirm the machining start point. In the following program, set the U105pin which is quoted to the system by the sensor signal; when the tool is far away the workpiece UI05=“1”,when the tool is near the workpiece UI05=“0”,when the tool is moving to the direction of near workpiece from far away, it is stopped at the position UI05=“0”, and confirm this point to be the machining start point. %105 N0010 r7000=r1005 ; 0# monitor tests the state of input signal r1005, it forms the monitor description with nether judgement statement N0020 when(r7000=0) then P1000 ; When the signal r1005 is monitored to be “Zero”, then turn to P1000 program running N0030 G00 Z300 X200 ; At first orientate to the initial point N0040 G00 X180 ; N0050 r7010=1 ; Opening 0# monitor by mode 1, when it meets the requirement, stops the motion immediately, and turn P1000 N0060 G00 W-100 F1000 ; The tool is closing the workpiece from far away N0070 r7010=0 ; When the last command is finished, but nothing can be checked, then close the 0# monitor N0080 G00 Z300 X200 ; Back to initial point N0080 M02 N1000 G50 Z200 X180 ; Set this point to be the machining start point, set the workpiece coordinate system again N1020 G01 Z90 F500 ; Cut outer circle N1030 G01 X0 ; Cut off N1040 G51 ; Revert the workpiece coordinate system N1050 G00 Z300 X200 ; Back to initial point N1060 M02 ; 【Program Example 2】 The following program introduce the explanation of process monitor. The system has exterior cycle start/pause function, the handlers stand far away the system and can use the exterior press-button to come true the start/pause function. But in the position which is far away the system, it’s hard to come true “single block stop”. In the following program, it will come true the function through the process monitor In the program, set the UI05 pin which is quoted by press-button signal to system; when press the switch UI05=“0”, when release UI05=“1”. After opened the monitor, this press-button can make the cycle switch between single block and continuum execution working mode. 294