EasyManua.ls Logo

SODICK A320D - Page 104

Default Icon
214 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Wire EDM Machine Operation Chapter 10
Copyright November, 98 Page 10-2 Sodick Inc.
redundant; meaning the control will simply execute the sub- routine command by
command, in the same fashion each time the sub-routine is called up.
However, a Q Routine does not have to be part of another program. That is, the Q routine
will be a separate file or program. A Q routine can be called up at any time from another
program, or from the MDI mode. Also, Q routines allow variables to be passed from the
MDI mode or from a call statement included in another program. You can also do
arithmetic calculations in a Q routine.
MACHINE START-UP Q ROUTINE
Whenever the machine is started up, you should do several things to complete the start-up
procedure. After turning on the power, you have been:
1) Sending the machine to its limits in X, Y, U, V and Z.
2) Checking the display screen to be sure machine position shows 0 on the XYUVZ axis.
3) Sending the U and V axis back to vertical.
These can be tedious commands to execute every time you source on the machine. Let’s
look at a simple Q routine that could be made, to make homing the machine easier.
(Q ROUTINE NAMED “STARTUP”)
N005 G81 X- Y- U- V- Z- (SENDS AXES TO MINUS LIMITS)
N010 G00 UV (SENDS U AND V AXIS BACK TO ZERO)
That’s the entire Q routine program. Notice again that this program ended with no special
command. Once you type it in, you need to save it to the user disk or harddrive. When
you save this program, it can be any name you wish. For example, you named this
program STARTUP.
In the MAL, MDI mode you type this command to execute the Q routine.
QSTARTUP
When the control executes the Q STARTUP command, it will load the program named
STARTUP into memory and run it. In this program the machine will travel to its limits
and move U and V back to zero. All of this will be done automatically. So, if you have
this program named STARTUP on your user disk or hardrive, it makes machine homing
easier.
VARIABLES IN Q ROUTINES
So far, we have just scratched the surface of what can be done with Q routines. You also

Table of Contents

Related product manuals