EasyManua.ls Logo

Trio Motion Coordinator MC216 - Page 188

Trio Motion Coordinator MC216
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7-16 Programming
Command Line Interface
Trio Motion Technology
Limitations of the command line
The command line interface is intended to execute single commands. It is not
possible to process multiple-statement lines or those commands which control
the sequence or 'flow' of a program.
For example, the following type of commands are not available on the
command line:
Loop Instructions:
FOR..NEXT, WHILE..WEND, REPEAT..UNTIL
Wait Instructions:
WA(time), WAIT UNTIL, WAIT IDLE
Named variables:
These are local to a program
Attempting to use any of these commands on the command line may produce
unpredictable results!
Tip!
The command line features a buffer of the last 10 commands used. This
can save a lot of typing on the PC. Pressing the up arrow or down arrow
cycles through the buffer.
If you find a command you do not recognise it was probably put there by
Motion Perfect!
Setting Programs to run on power up
Programs can be set to run automatically on power-up using the “Set power up
mode...” facility under the “Program” menu. This sets the
RUNTYPE
automatically
Example
Typically only ONE program is set to run on power up. This program can then
start the others under program control:
...body of program
RUN "Prog2"
RUN "Prog3"
...body of program
After setting one or more programs to run on power up the project should be
set to “Fixed”. The programs will then be stored in flash Eprom.

Table of Contents

Related product manuals