Download Pacific Scientific 950 Basic Reference Manual

Transcript
EncPos
(Pre-defined Variable, Integer)
Purpose
EncPos indicates the position of the external encoder. For
example, with a 1024 line-count encoder, each increment of
EncPos is equal to 1/4096 of a revolution of the encoder shaft.
If Encoder Position Modulo functionality is active (i.e.
EncPosModulo not equal to 0) the EncPos will be automatically
reset to zero every time it reaches the modulo value.
Syntax
x = Encpos or Encpos = x
Units
encoder counts
Range
-2,147,483,648 to -2,147,483,648
or
0 to EncPosModulo-1
Default
none
Guidelines
EncPos is not affected by the value of EncIn. EncMode must be
set to the appropriate value for the type of encoder input you are
using.
Related
instructions
EncIn, EncInF0, EncMode, EncPosModulo
MA950-LR
3 - 95