Specifications

SECTION 9 DIRECT PROGRAMMING
54
DIRECT PROGRAMMING QUICK START
Direct Programming of the Driver Pack can be done with any programming language that can
communicate via the serial port. The complete Command Dictionary is located in the directory that the
software was installed in. Section 2
A sample of Commands
@0 The @ (at symbol) is used to select which unit is to be communicated with. This unit, in this case
zero, must be the setting on the intended unit.
ID Entering this command will return the indexer type.
>SMC40
FD1 The full duplex command…
XMN100 The motor number command enters the distance that the motor will travel when indexed by a go
relative command.
XMN Entering just MN alone will return the motor number. The default value is zero.
>100
XGR The Go Relative command tells the motor to index the MN number of steps.
PI1XGR The PI is the Program Insert command. Here a go relative command is inserted in line
one. If the program is already store in the memory, the PI1 command here will push the
whole program down a line.
PS Program Start is used to run the program stored in the memory.
PW2 Program Window set the number of instructions to be displayed when the Program List command
is used.
PL1 The Program List command list the program starting at the line number proceeding the PL.
>1 GR
>2 BE The Branch End is displayed when there is no more instructions in the Indexer’s memory.
To List a Program
PL0 ‘Program list starting at line 0
“XMH=1”
To Edit a Line
PE4 XMN400 ‘Edit Line 4 to read X Program Motor Number 400
To Delete a Line
PD2 ‘Delete line 2
To Check Memory in a Program
PM
Example To Stop a Direct Command In Execution
@0
XGS ‘X Program Go Slew - Motion Activated
SA Stop All Indexers