Additional Information On Program Composition; Parameter Settings For Motor Operation - Vexta EMP400 Series Operating Manual

Controller for servo and stepping motors
Table of Contents

Advertisement

6.2
Additional information on program
composition
6.2.1 Program
• A program is composed of commands to the controller and parameters.
• Type in alphanumeric characters (case-insensitive) to define commands and parameters for the
program.
• The character string containing a command and parameters is called "line." One line can only
contain one command.
(Separating them with a space will result in an error.)
A maximum of 32 sequence programs can be created, from program numbers 0 through 31.
Additionally, program number 99 can be written as an automatically executable program. (See
section 7.3, "Automatic program execution.")
A total of 1000 lines can be configured for these 33 programs.
Example 1: 125 lines x 8 programs = 1,000 lines
Example 2: 500 lines x 2 programs = 1,000 lines

6.2.2 Parameter settings for motor operation

Correct settings for sensors and drivers should be defined before operating the motor.
Settings are required for the following parameters. For further details, see 8.2.1, "Hardware
configuration commands."
• Pulse output mode setting ............................................................... PULSE command
• ID setting ......................................................................................... ID command
• Setting for +/-LS input, HOMELS input or SLIT input logic ............ ACTL command
• Input logic setting for alarm input from the driver ............................ ACTL command
• Setting for alarm output logic ........................................................... ACTL command
• Home detection method setting ...................................................... SEN command
• END input usage ............................................................................. EEN command
• TIM input usage ............................................................................... TIM command
• SLIT input usage ............................................................................. TIM command
• Unit-value setting ............................................................................. UNIT command
T I M 2 , 1 , 0
Command
Axis set parameter
No space is necessary between an
axis set parameter and a command.
6 Writing and editing a program
Space or comma
A space or comma should be used to
delimit parameters or a command
and a parameter.
Parameter
6-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents