Parker Automation Gemini GV6K Command Reference Manual page 31

Servo drive/controller
Table of Contents

Advertisement

An ASCII table is provided in
Character
Description
Line Feed
<lf>
Carriage Return
<cr>
Quote
"
Colon
:
Semi-colon
;
Backslash
\
Example:
WRITE"cd\92GEM6K\13\10"
[ = ]
Assignment or Equivalence
Type
Operator (Mathematical or Relational)
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[ > ], [ >= ], [ < ], [ <= ], [ <> ], [ AND ], IF, [ OR ],
UNTIL, VAR, VARB, VARI, VARS, WAIT, WHILE
The assignment or equivalence operator (
values and/or variables. The (
state
, but it is unacceptable to state
VAR1=25
More than 1 equivalence operator can be used in a command; however, the total number of relational
operators used in a line is limited by the command length limitation (80 characters), not the number of
relational operators (e.g., the command
When (
) is used as an assignment operator, it can be used with these commands:
=
When (
) is used as an equivalence operator, it can be used with these commands:
=
.
WAIT
[ > ]
Greater Than
Type
Operator (Relational)
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[ = ], [ >= ], [ < ], [ <= ], [ <> ], [ AND ], IF, [ OR ], UNTIL, WAIT,
WHILE
The greater than (
) operator is used to compare two values. If the value on the left of the operator is
>
greater than the value on the right of the operator, then the expression is TRUE. If the value on the left is
less than or equal to the value on the right of the operator, then the expression is FALSE. The greater than
operator (
) can only be used to compare two values.
>
More than one (
) operator can be used within a single command; however, the total command length is
>
limited to 80 characters.
The (
) operator can be used in conjunction with the
>
Examples of valid commands are
invalid command is
IF(5>VAR1>1)
Appendix
B. Common characters and their ASCII equivalent value:
ASCII Decimal Value
10
13
34
58
59
92
;Displays: cd\GEM6K<cr><lf>
) is used to either assign a value to a variable, or compare two
=
) operator is limited to 1 assignment operation per line. It is acceptable to
=
VAR1=25=VAR2
IF(VAR1=1 AND VAR2=4 AND VAR3=4)
,
IF
WHILE
and
IF(VAR1>1)
WHILE(VAR1>1 AND VAR2>3)
.
www.comoso.com
.
is a legal command).
,
VAR
VARI
,
IF
WHILE
,
, and
commands.
UNTIL
WAIT
. An example of an
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
,
,
.
VARB
VARS
,
,
UNTIL
Product
Rev
GT6K
6.0
GV6K
6.0
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents