How To Write A Sequence Program - Vexta EMP400 Series Operating Manual

Controller for servo and stepping motors
Table of Contents

Advertisement

6 Writing and editing a program
6.1
How to write a program
The program contains the method of motor operation as well as speed settings and other
parameters.
Once the program is started, the motor will execute the commands contained in the program
according to a specified order.
The program is stored in the controller memory.
A program can be written using one of the following two methods:
Using a line editor
Input commands
using a line editor.
[Procedure]
1. Connect the controller with a PC.
(See section 6.3, "Starting and exiting HyperTerminal.")
2. Use a line editor to save commands to the controller in real time.
Each time the Enter key is pressed following command input, the command is sent to the controller.
(See section 6.4, "Writing a program with a line editor.")
Using a text editor
Write a program
using a text editor.
[Procedure]
1. Write a program using a text editor, then save it in text format.
(See section 6.5, "Writing a program with a text editor.")
2. Connect the controller with a PC.
(See section 6.3, "Starting and exiting HyperTerminal.")
3. Download the program in the text-format file to the controller.
(See section 6.5.2, "Downloading a program.")
6-2
Send a command at
each press of the
key.
Download the program.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents