This section contains the information necessary to set up,
enter,and edit programsand also toexecuteprogramswiththe
Micro Series Indexer.
Bycarefully readingthis sectionthrough initsentirety,the user
will fully understand the wide range of applications possible
with the Micro Series Indexer.
.1
OVERVIEW AN0 SET-U
EIA (Electronic Industries Association) Standard RS274-D is
the programming guide for numerically controlled machines.
Superior Electric has utilizedthis standardtoformthe basis for
the Micro Series Indexer's command structure. It was not
technically desirable to conform to the standard in complete
detail, but it proved beneficial in the program structure to
perform complex and varied operations with a simple format.
Usingstraightforwardprogrammingformats, the MicroSeries
lndexer enables the user to program and execute in either
parallel (switch panel) or serial (remote terminal or host
computer) communication modes.
In general, all parameters and commands can be broadly
grouped into four categories, which correspond to these code
groupings:
1.
L
Codes
3.
N,
G,
X and FCodes
2.
H
Codes 4. Immediate Codes
1.
"L Codes" (discussed in Section 4.3) are used to set
parameters for each indexer.These commandsare notconsid-
ered part of an indexer program,that is,they are made priorto
any motion programming and do not have program line
numbers.
It is important to remember that the L codes are used exclu-
sively to set the initialparametersof a particular indexer and
should not be thought of as part of the program option for the
indexer.
Codes" (Section 4.4) are used to set indexer modes,
control manual and program execution and to transmit para-
meters and indexer status via the serial communications port.
H codes are not part of the programming commands for the
indexer. There are no program line numbers associated with
the
"H"
codes and they are not considered to be part of the
programming function.
and FCodes" (Section 4.5) are the programming
commands forthe indexer.Upto400 lines of program instruc-
tions can be stored as a unique motion control program.
Each program is in a fixed format, and is composed of a line
number, a "G" code, an
"Xu
code and an
"F"
field.
A line of program has this format:
N[nnn) G[nn] X[snnnnnnnn] F[nnnnnnn]
A space is used to separate the codes.
Not all codes need be programmed for each program line.
The G,
X
and
F
codes may be programmed in any order.
:
The brackets,
[I,
are used in this manual for clarity
h,
and are not to be used when entering data
or
variables
4. lmmediate Codes (Section 4.2) are executed immediately
upon receipt and are not stored as part of the program. All
commands are highlighted in bold face for easy reference.
4.1.2 General Programming Comments
T PROGRAMMING NOTES**
1.
The indexer contains a 40 character serial buffer
to
accept alldata and programming entries.
If
a COMMAND
TERMINATOR (CARRIAGE RETURNand/or LINE FEED) is
notreceivedbythe40thcharacter, the buffercontentsart:
dumped and that 40 character strina is lost.
Upon receipt of a CR and/or LF, an XOFF (ASCII Code 19)
character istransmitted to the host; no further data trans-
missionfrom the host should occur. However, any char-
acters transmitted subsequent to XOFF will be stored in
the buffer until the buffer capacity is reached. if the
capacity is exceeded, the buffer contents are dumped.
The receipt of a COMMAND TERMINATOR character will
causethe commands inthe buffertobe executedsequen-
tially. That is, thefirst commandthat was entered will be
the first command executed. The COMMAND DELIMITER
for a series of commands is a space. Once all the com-
mands inthe bufferhave beenexecuted, the indexerwill
send an XON (ASCIICode17)character andwillbeready
to receive further data.
2. Whether the indexer is being operated from a switch
panel, remote terminal or host computer,the first task that
faces an operator, after all circuit connections have been
made, isthat of setting
"L:
codes", the parameters of each
indexer.
3.
In the following descriptions, it is important to note the
factory default values for each parameter as entry steps
can beeliminated. Uponreceiptofanew indexer, the default
ilalues will have been entered for the parameters.
I.
Motorspeedsandacceleration willdependontheTRANS-
LATOR RESOLUTIONsetting (L70 nnn). Set this parameter
first and then work in ascending numerical order starting
@iththe LO6 parameter.
NOTE: Ifthe L70valueischanged, thevaluesfor L09, L11,
L12, L14 and the "F" field values must be reentered.
5.
Entry of invalid datafor aparameter or programfield will
-esult in the previous data being left intact.
3.
If the number of characters entered exceedsthe number
~f required characters, the data is truncated to the maxi-
numfield length for the entry.
XoniXoff Protocol:
The Xoff character is transrnitted to the host when a CR or LF is
received The lndexer will processthe information it has received and
v!iII transmit an Xon character when it is ready to accept more
information
fromthe host The lndexer should be polled to determine
when it is ready to accept more information If
L26
3
is selected the
lndexer will transmit an
=
if it is ready to accept more ~nformation
If an Xoff chardcter has beentransmittedtothe hostand the command
received by the lndexer calls for motion or progrdm execution the
lndexer will send an Xon to the host This allo?.!s the host to send any
of the immediate commands such as
*
[Clear)
S
(Feed Hold) or
#
(Cycle Stop) The host shoiild not send normal commands until
the lndexer is ready to accept more information The lndexer will be
ready to accept more information when motion is stopped program
is stopped and all previoiis commands have been executed
17