Parker Automation Gemini GV6K Command Reference Manual page 228

Servo drive/controller
Table of Contents

Advertisement

[ PCME ]
Position of Captured Master Encoder
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
INFNC, MEPOL, MESND, [ PME ], [ PCMS ], PMECLR, PMESET, TPCME,
TPME, TPCMS
Use the
operator to assign the captured master encoder position to a variable, or to make a
PCME
comparison against another value. The master encoder is connected to the connector labeled "Master
Encoder."
Syntax:
where "
VARn=PCME
.
IF(PCME>2345Ø)
Inputs on the
connector:
DRIVE I/O
Input # Pin #
1
37
2
38
3
39
4
34
5
35
About Position Capture: The master encoder position can be captured only by the Master Trigger input
(input #5), and only when that input is defined as a "trigger interrupt" input with the
(see
command). When the "trigger interrupt" input is activated (active edge), the master encoder
INFNC
position is captured and the position is available through the use of the
display command.
Position Capture Status, Longevity of Captured Position: Use the
ascertain if a trigger interrupt input has been activated.
is an assignment/comparison operator for using the status information in a conditional expression
TRIG
(e.g., in an
statement). Once the captured master encoder position value is assigned/compared with the
IF
operator,
/
PCME
TTRIG
TRIG
is overwritten by a subsequent position capture from the master trigger input.
Position Capture Accuracy: The master encoder position capture accuracy is ±1 encoder count.
Scaling and Position Offset: The
issue a
(establish absolute position reference) command, any previously captured master encoder
PMESET
positions will be offset by the
Example:
INFNC5-H
; Assign input #5 as master trigger input (TRIG-M) for the
; master encoder
VAR1=PCME
; Assign captured master encoder position to variable 1
; (position was captured when master trigger became active)
IF(PCME<4000)
; If the captured master encoder position
; (captured when master trigger input became active) is
; less than 4000, do the IF statement
VAR2=PCME+10
; Add 10 to the captured master encoder position
; (captured when master trigger input became active) and
; assign the sum to variable #2
NIF
; End IF statement
226
Gemini GV6K/GT6K Command Reference
" is the variable number; or
n
GT6K & GV6K Function ( INFNC default )
INFNC1-A (General-purpose. If assigned, TRG-A must be on Input #1)
INFNC2-A (General-purpose. If assigned, TRG-B must be on Input #2)
INFNC3-A (General-purpose)
INFNC4-A (General-purpose)
INFNC5-A (General-purpose. If assigned, MASTER TRIGGER must
be on Input #5)
TTRIG
status bit #5 is cleared; but the position information remains available until it
value is always in master encoder counts; it is never scaled. If you
PCME
command value.
PMESET
www.comoso.com
can be used in an expression such as
PCME
INFNC5-H
operator and the
PCME
and
commands to
TTRIG
TRIG
displays the status as a binary report, and
Product
Rev
GT6K
6.0
GV6K
6.0
command
TPCME

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents