Parker Automation Gemini GV6K Command Reference Manual page 237

Servo drive/controller
Table of Contents

Advertisement

is unique among position assignment variables, because its value rolls over to zero each time the
PMAS
entire master cycle length (
FMCLEN
cycle position of the next master cycle, one master cycle length (value of
master cycle position specified in the argument. This allows commands that sequence follower events
through a master cycle to be placed in a loop. The
execute, even though the actual master travel had not finished the previous cycle. This is done to allow a
value which is equal to the master cycle length to be specified and reliably detected. When using
PMAS
with
,
, or
PMAS
IF
UNTIL
WHILE
specifying
values that are nearly equal to the master cycle length (
PMAS
occur before a
sample is read.
PMAS
The master must be assigned first (
If scaling is enabled (
SCALE1
disabled (
), the
SCALEØ
PMAS
Syntax:
where "
VARn=PMAS
IF(PMAS>2345Ø)
Example: (refer also to FOLEN example #2)
IF(PMAS>4.3)
; If the master has traveled more than 4.3 master user units
; then do the IF statement
OUT.2=b1
; Set onboard output #2 to 1
NIF
; End of IF statement
VAR14=PMAS
; Set VAR14 to the master cycle position
[ PME ]
Position of Master Encoder
Type
Assignment or Comparison
Syntax
See below
Units
Master Encoder counts
Range
n/a
Default
n/a
Response
n/a
See Also
MEPOL, MESND, [ PCME ], [ PE ], PMECLR, PMESET, TPCME,
TPME
Use the
operator to assign the current master encoder position to a variable, or to make a comparison
PME
against another value. The master encoder is connected to the connector labeled "Master Encoder". If you
issue a
command, the encoder position value will be offset by the
PMESET
value is always in encoder counts, it is never scaled.
PME
Syntax:
where "
VARn=PME
.
IF(PME>16ØØØ)
Example:
VAR1=PME
; Master encoder position is assigned to variable 1
IF(PME<4000)
; If the master encoder count is less than 4000,
; do the IF statement
VAR2=PME+4000
; Master encoder position plus 4000 is assigned to variable 2
NIF
; End IF statement
value) has been traveled. If it is desired to
or
WAIT
arguments, the instantaneous
command) before this command will be useful.
FOLMAS
), the
value is scaled by the master scaling factor (
PMAS
value is in counts.
" is the variable number; or
n
.
" is the variable number, or
n
www.comoso.com
or
WAIT
GOWHEN
) should be added to the
FMCLEN
command at the top of the loop could
GOWHEN
value is used. Be careful to avoid
PMAS
), because rollover may
FMCLEN
SCLMAS
can be used in an expression such as
PMAS
command value. The
PMESET
can be used in an expression such as
PME
Command Descriptions
on a master
). If scaling is
Product
Rev
GT6K
6.0
GV6K
6.0
235

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents