EDH0162En1040 – 06/99
3.48
MM4005
EP — Edition of program
Usage
IMM
PGM
MIP
Syntax
xxEPnn
Parameters
Description
xx
[int]
— Program number
nn
[int]
— Program line number.
Range
xx
—
1
to
127.
nn
—
1
to
32767
.
Units
xx
— None.
nn
— None.
Defaults
xx
Missing: Error F.
Out of range: Error F.
Floating point: Error A.
nn
Missing: Append to the end of program #
xx
.
Out of range: Error C.
Floating point: Error A.
Description
This command sets the controller in programming mode. All the com-
mands following this one will not be executed immediately but stored in
memory as part of program number
xx
. Programs can be entered in any
order. To exit program entry mode and return to immediate mode, use the
QP command.
If a program already exists, the new commands entered will be inserted to
the line #
nn
of program if
nn
is valid, or added to the end of program if
nn
is missing. So to replace a program, it must be first deleted using XX com-
mand.
Returns
None.
Errors
A
—
Unknown message code.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
F
—
Program number incorrect.
I
—
Unauthorized command in programming mode.
M
—
Program is too long.
Rel. Commands
CP
—
Compile program.
EX
—
Execute a program.
QP
—
Quit program mode.
XL
—
Delete one line of program.
XX
—
Erase program.
Example
3XX |
Clear program 3 from memory, if existing
3EP
|
Edition of program 3
1PA10
|
Enter a line
1WS
|
Enter a line
3QP
|
Quit Edition of program 3
3LP
|
Liste program 3
1PA10
|
1WS
|
The program is listed
… |
… |
… |
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com