EasyManuals Logo

Trio Motion Coordinator MC206 User Manual

Default Icon
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #256 background imageLoading...
Page #256 background image
8-66 Trio BASIC Commands
Program Loops and Structures
Trio Motion Technology
Description:
The command is used within an
IF .. THEN .. ENDIF
. It evaluates a second (or
subsequent) condition and if TRUE it executes the commands specified, otherwise
the commands are skipped. MC206 and MC224 only.
Parameters:
Example 1:
IF IN(stop)=ON THEN
OP(8,ON)
VR(cycle_flag)=0
ELSEIF IN(start_cycle)=ON THEN
VR(cycle_flag)=1
ELSEIF IN(step1)=ON THEN
VR(cycle_flag)=99
ENDIF
Example 2:
IF key_char=$31 THEN
GOSUB char_1
ELSEIF key_char=$32 THEN
GOSUB char_2
ELSEIF key_char=$33 THEN
GOSUB char_3
ELSE
PRINT “Character unknown”
ENDIF
Note:
The
ELSE
sequence is optional. If it is not required, the
ENDIF
is used to mark the
end of the conditional block.
See Also
IF, THEN, ELSE, ENDIF
condition(s):
Any logical expression.
commands:
Any valid Trio BASIC commands including further
IF..THEN
..{ELSEIF}..{ELSE} ENDIF
sequences

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Trio Motion Coordinator MC206 and is the answer not in the manual?

Trio Motion Coordinator MC206 Specifications

General IconGeneral
BrandTrio
ModelMotion Coordinator MC206
CategoryController
LanguageEnglish

Related product manuals