Command Input - Vexta EMP400 Series Operating Manual

Controller for servo and stepping motors
Table of Contents

Advertisement

8
Program command
8.1

Command input

A program consists of instructions to the controller (commands) and their parameters.
Alphanumeric characters (case-insensitive) are used as input to a program.
Insert a space (or a comma) between a command and its parameter.
However, a space is not required between a command and its parameter, which specifies the
axis. (An error message will be displayed if there is a space.)
Example: EDIT 1 (or EDIT,1)
Example: RTNCR2
When there are multiple parameters, insert a space (or a comma) between parameters, as
well.
Example: IN 1 0 (or IN 1,0)
For a command that requires you to specify an axis, after entering the command enter the
axis to specify.
If no axis is entered, it is assumed that you have specified the first axis.
Example: To specify the first axis
Note
Since EMP401 has only one axis, there is no need to enter the parameter for axis specification.
Also, if you input "2" as the parameter for axis specification, an error will be generated.
Some parameters can be omitted.
Of the parameters listed in section 8.5, "Command details," parameters shown in parentheses
can be omitted. However, parameters shown in brackets and parameters indicating the number
of times ("n") cannot be omitted.
Parameter type
(1 | 2)
[+ | -]
n
The number of programs that can be created is 33, which is from program numbers 0
through 31 and program number 99.
A total of 1,000 lines can be configured for 33 programs.
Example: 125 lines x 8 programs = 1,000 lines
Example: 500 lines x 2 programs = 1,000 lines
8-2
To specify the second axis
Can be omitted
Yes
Either 1 or 2 can be specified, but specifying neither will not
generate an error. Also, if this parameter is omitted, it is
assumed that "1" is specified.
No
Either a "+" or a "-" must be entered.
No
This is a parameter that specifies the number of times
something is to be done. Enter a numeric value within the valid
range.
Insert a space (or a comma) between the command ("EDIT")
and its parameter ("1").
No space (or comma) between the command ("RTNCR")
and its parameter specifying the axis ("2").
Insert a space (or a comma) between one parameter ("1")
and another parameter ("0").
PULSE1
EEN2
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents