Parker Automation Gemini GV6K Command Reference Manual page 330

Servo drive/controller
Table of Contents

Advertisement

UNTIL( )
Until Part of Repeat Statement
Type
Program Flow Control
Syntax
<a_><!>UNTIL(expression)
Units
n/a
Range
Up to 80 characters (including parentheses)
Default
n/a
Response
n/a
See Also
JUMP, REPEAT
The
command, in conjunction with the
UNTIL()
program flow. The
command marks the beginning of the conditional statement. The commands
REPEAT
between the
and the
REPEAT
command, the expression contained within the
program flow is redirected to the first command after the
first command after the
UNTIL
Up to 16 levels of
REPEAT ... UNTIL()
Be careful about performing a
NOTE:
location within the same program will cause the next
within the previous
The
command should be used in this case.
JUMP
All logical operators (
,
AND
OR
expression. There is no limit on the number of logical operators, or on the number of relational
UNTIL
operators allowed within a single
The limiting factor for the
UNTIL
command and expression cannot exceed 80 characters. For example, if you add all the letters in the
UNTIL
command and the letters within the
UNTIL
spaces, this count must be less than or equal to 80.
All assignment operators (
,
A
,
,
,
,
, etc.) can be used within the
SS
TIM
US
V
VEL
Example:
REPEAT
; Beginning of REPEAT ... UNTIL( ) loop
GO1
; Initiate motion
IF(IN=b1X0)
; IF condition: if onboard input 1 = 1, input 3 = Ø
VAR1=VAR1+1
; If condition comes true increment variable 1 by 1
ELSE
; Else part of IF condition
TPE
; If condition does not come true transfer position of encoder
NIF
; End IF statement
UNTIL(VAR1=12)
; Repeat loop until variable 1 = 12
[ US ]
User Status
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
INDUSE, INDUST, TUS
The User Status (
) operator is used to assign the user status bits to a binary variable, or to make a comparison
US
against a binary or hexadecimal value. To make a comparison against a binary value, the letter b (b or B) must be
placed in front of the value. The binary value itself must only contain ones, zeros, or Xs (1, Ø, X, x). To make a
328
Gemini GV6K/GT6K Command Reference
REPEAT
command are executed at least once. Upon reaching the
UNTIL
command is evaluated. If the expression is false, the
UNTIL
command is executed.
commands may be nested.
between
GOTO
REPEAT
statement, unless an
REPEAT
,
), and all relational operators (
NOT
expression.
UNTIL
expression is the command length. The total character count for the
expression, including the parentheses and excluding the
()
,
,
,
,
,
,
AD
ANI
AS
D
DPTR
ER
IN
expression.
UNTIL
www.comoso.com
command, provide a means of conditional
command. If the expression is true, the
REPEAT
and
. Branching to a different
UNTIL
statement encountered to be nested
REPEAT
command has already been encountered.
UNTIL
,
,
,
,
,
) can be used within the
=
>
>=
<
<=
<>
,
,
,
,
,
,
INO
MOV
OUT
PC
PCC
PCE
Product
Rev
GT6K
6.0
GV6K
6.0
UNTIL
,
,
,
,
PCMS
PE
PER
Product
Rev
GT6K
6.0
GV6K
6.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents