Parker Automation Gemini GV6K Command Reference Manual page 339

Servo drive/controller
Table of Contents

Advertisement

[ VMAS ]
Current Master Velocity
Type
Following; Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
FFILT, FMCNEW, FMCP, FOLMAS, FOLMD, SCALE, SCLMAS, TVMAS
The
command is used to assign the master velocity value to a variable, or to make a comparison
VMAS
against another value. The master must be assigned first (
useful.
Syntax:
where "
VARn=VMAS
.
IF(VMAS>1Ø)
The precision of the
value is dependent upon the
VMAS
If scaling is enabled (
SCALE1
is disabled (
), the velocity value is in counts/sec.
SCALEØ
Example:
IF(VMAS>4.3)
; If the master is traveling at more than
; 4.3 user units/sec then do the IF statement
OUT.4=b1
; Set onboard output #4 to 1
NIF
; End of IF statement
VAR14=VMAS
; Set VAR14 to master velocity
WAIT( )
Wait for a Specific Condition
Type
Program Flow Control
Syntax
<a_><!>WAIT(expression)
Units
n/a
Range
Up to 80 characters (including parentheses)
Default
n/a
Response
n/a
See Also
FMCLEN, FMCNEW, FMCP, GOWHEN, IF, NWHILE, REPEAT, [ SS ], T,
TSS, UNTIL, WHILE
The
command is used to wait for a specific expression to evaluate true. No commands, except for
WAIT
immediate commands (a command preceded with !), after the
expression contained within the parentheses of the
has no effect on the
command. When a wait condition is pending, system status (
WAIT
All logical operators (
,
AND
OR
expression. There is no limit on the number of logical operators, or on the number of relational
WAIT()
operators allowed within a single
The limiting factor for the
WAIT()
command and expression cannot exceed 80 characters. For example, if you add all the letters in the
WAIT()
command and the letters within the
WAIT
spaces, this count must be less than or equal to 80.
All assignment operators (
,
A
, etc.) can be used within the
VEL
" is the variable number, or
n
FFILT
), the velocity value is scaled by the master scaling factor (
command evaluates true. The
WAIT
,
), and all relational operators (
NOT
expression.
WAIT()
expression is the command length. The total character count for the
expression, including the parenthesis and excluding the
()
,
,
,
,
,
,
,
AD
AS
D
ER
IN
INO
MOV
expression.
WAIT()
www.comoso.com
command) before this command will be
FOLMAS
can be used in an expression such as
VMAS
filter value.
command will be processed until the
WAIT
,
,
,
,
,
) can be used within the
=
>
>=
<
<=
<>
,
,
,
,
,
OUT
PC
PCE
PCMS
PE
PER
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
). If scaling
SCLMAS
Product
Rev
GT6K
6.0
GV6K
6.0
command
COMEXC
) bit #14 is set.
TSS
,
,
,
,
,
SS
TIM
US
V
337

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents