Parker Automation Gemini GV6K Command Reference Manual page 145

Servo drive/controller
Table of Contents

Advertisement

D+
; Set direction to positive
MC1
; Select continuous positioning mode
GO1
; Start following master continuously
VARB1=b10
; Define input pattern #1 and assign to VARB
VARB2=b01
; Define input pattern #2 and assign to VARB
$TESTIN
; Define label called TESTIN
IF(IN=VARB1)
; IF statement (if onboard input #1 is activated, do the jump)
JUMP SHIFTP
; Jump to shift follower in positive-direction when pattern 1 active
NIF
; End of IF statement
IF(IN=VARB2)
; IF statement (if onboard input #2 is activated, do the jump)
JUMP SHIFTN
; Jump to shift follower in negative-direction when pattern 2 active
NIF
; End of IF statement
JUMP TESTIN
; Return to main program loop
$SHIFTP
; Define label called SHIFTP (subroutine to shift in the
; positive direction)
FSHFD200
; Start preset follower shift move of 200 steps in positive direction
WAIT(FS.10=b0)
; Wait for shift to finish
JUMP TESTIN
; Return to main program loop
$SHIFTN
; Define label called SHIFTN (subroutine to shift in the
; negative direction)
FSHFD-2ØØ
; Start preset follower shift move of 200 steps in the negative
; direction
WAIT(FS.10=b0)
; Wait for shift to finish
JUMP TESTIN
; Return to main program loop
END
; End definition of program called PSHIFT
FVMACC
Virtual Master Count Acceleration
Type
Following
Syntax
<a_><!>FVMACC<i>
Units
i = count acceleration in counts/sec/sec
Range
0-999,999,999
Default
0
Response
FVMACC
*FVMACC+0
See Also
FOLMAS, FVMFRQ, SINAMP, SINANG, SINGO
Use the
command to define the rate at which the virtual master internal count frequency may
FVMACC
change. This command allows smooth changes in master velocity and direction.
FVMFRQ
Virtual Master Count Frequency
Type
Following
Syntax
<a_><!> FVMFRQ<i>
Units
i = count frequency in counts/sec
±1,000,000
Range
Default
+0
Response
FVMFRQ
*FVMFRQ+0
See Also
FOLMAS, FVMACC, SINAMP, SINANG, SINGO
Use the
command to define the virtual master count frequency. The "virtual master" is an internal
FVMFRQ
count source, intended to mimic the counts which might be received on an external encoder port. Just as
may be encountered with an external encoder, this count source may speed up, slow down, stop, or count
backwards.
The count source has a variable count frequency, defined by the user. The count source is always enabled,
counting at the signed rate specified by this command. To start and stop the count source, specify non-zero
or zero values, respectively, for the
The rate at which the count frequency may change is specified in counts per second per second with the
command, allowing smooth changes in master velocity and direction.
FVMACC
command.
FVMFRQ
www.comoso.com
Product
Rev
GT6K
6.0
GV6K
6.0
Product
Rev
GT6K
6.0
GV6K
6.0
Command Descriptions
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents