7 Writing and editing a sequence program
-
24
-
7 Writing and editing a sequence program
This section covers how to write a sequence program and edit an existing sequence program.
7.1 How to write a sequence program
The sequence program contains the method of motor operation as well as speed settings and other
parameters.
Once the sequence program is started, the motor will execute the commands contained in the sequence
program according to a specified order.
The sequence program is stored in the controller memory.
A sequence program can be written using one of the following two methods:
Using a line editor
Send a command at
each press of the key.
Input commands
using a line editor.
1.
Connect the controller with a PC.
See section 7.3
“Starting and exiting HyperTerminal” on p.26.
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 “Writing a program with a line editor” on p.29.
Using a text editor
Write a sequence program
using a text editor.
Download the
sequence program.
1.
Write a sequence program using a text editor, then save it in text format.
See section “Writing a program with a text editor” on p.31.
2.
Connect the controller with a PC.
See section 7.3 “Starting and exiting HyperTerminal” on p.26.
3.
Download the sequence program in the text-format file to the controller.
See section “Downloading a sequence program” on p.33.
Содержание EMP400 Series
Страница 115: ......