
GFK-1383A Chapter 6 Testing Your System 6 - 3
6
To enter your command from the DPL/MDI:
PRGRM
G91
INSERT
INSERT
G94 G00
INSERT
+
X600.0
++
INSERT
F500.
+
INSERT EOB
+ +
INSERT
To execute this command, activate the Cycle Start input.
Note
The cycle start input must be turned on and then off in order to execute the command.
Execution starts on the ON to OFF transition of the switch.
Motion Using a Program
The final way to move an axis is to create a sequence of commands and store them in the memory
of the Power Mate H. This sequence of commands is called a motion program. Each command is
called a block. A motion program contains special beginning and ending blocks. For example,
you can take your previous command and create a three-block motion program by adding:
O0001 (Designates program number 1.)
G91 G94 G00 X600.0 F500. (Previous command.)
M30 (Designates end of program.)
You can either manually enter this program into the Power Mate using the CRT/MDI or
DPL/MDI, as described below, or load it from an external source using an RS-232 serial
connection (not covered in this document).
Note
Before you can add a program into memory, you must first set the Power Mate H to EDIT
mode and turn on the KEY (G046#5) input to unlock the memory protection. Switch to
EDIT mode now by closing the Edit mode switch. Also, there must not be any Alarms,
RESET, or Emergency Stop conditions present. (See "Troubleshooting Your Motion
System" later in this chapter.)