EasyManuals Logo

Kollmorgen AKD Basic User Manual

Kollmorgen AKD Basic
506 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #170 background imageLoading...
Page #170 background image
AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.5.15 CAMVM.RELATIVEDIST
General Information
Type R/W
Description
Specifies the number or counts that the virtual encoder (virtual master) will put
out during an incremental move (CAMVM.GOREL).
Units Encoder counts
Range -2^63 to 2^63-1
Default
Value
0
Data Type Integer
Start Ver-
sion
M_01-06-00-000
Description
The "move" is performed based upon the value of CAMVM.FREQ. The value of the virtual
encoder counter is in the variable CAMVM.POSITION. The modulo value EXTEN-
CODER.POSMODULO is applied to CAMVM.POSITION as well. You can check whether or
not the virtual encoder is moving using the variable CAMVM.MOVING. You can move the vir-
tual encoder (using CAMVM.GOREL or CAMVM.GOVEL) whether or not the drive is enabled
or disabled.
Example
This example moves the virtual encoder 100,000 counts at a frequency of 20,000 counts/sec-
ond. This move will take about 5 seconds.
'set up CAMVM.POSTION and virtual move param-
eters
'----------------------------------------------
---------------------------------
CAMVM.POSTION = 0
CAMVM.RUNFREQ = 20000
CAMVM.RELATIVEDIST = 100000
'initiate the move
'------------------------
DRV.TIME = 0 'set time to zero just for meas-
urement
CAMVM.GOREL
'wait for the move to be complete
'----------------------------------------------
while CAMVM.MOVING = 1 : wend
'print the results
'----------------------
print "CAMVM.POSITION = ";CAMVM.POSITION
print "time = "; DRV.TIME
Kollmorgenâ„¢ | March 30, 2012 170

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Kollmorgen AKD Basic and is the answer not in the manual?

Kollmorgen AKD Basic Specifications

General IconGeneral
BrandKollmorgen
ModelAKD Basic
CategoryController
LanguageEnglish

Related product manuals