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 #239 background imageLoading...
Page #239 background image
Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-49
Input / Output Commands
Parameters:
Example 1:
FLAG(27,ON)' Set flag bit 27 ON
FLAGS
Type:
Command/Function
Syntax:
FLAGS([value])
Description:
Read/Set the FLAGS as a block. The
FLAGS
command is provided to aid compatibil-
ity with earlier controllers and is not recommended for new programs. The 32 flag
bits can be read with
FLAGS
and set with
FLAGS(value)
.
Parameters:
Example:
Set Flags 1,4 and 7 ON, all others OFF
FLAGS(146)’ 2 + 16 + 128
Example 2:
Test if FLAG 3 is set.
IF (FLAGS and 8) <>0 then GOSUB somewhere
GET
Type:
Command.
Description:
Waits for the arrival of a single character on the default serial port 0. The ASCII
value of the character is assigned to the variable specified. The user program will
wait until a character is available.
Example:
GET k
flag no:
The flag number is a value from 0..31.
value:
If specified this is the state to set the given flag to i.e. ON or OFF.
This can also be written as 1 or 0.
value:
The decimal equivalent of the bit pattern to set the flags to
Bit # 7 6 5 4 3 2 1 0
Value 1286432168421

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