Parker Automation Gemini GV6K Command Reference Manual page 223

Servo drive/controller
Table of Contents

Advertisement

OUTPA
Output on Position
Type
Output
Syntax
<!>OUTPA<b>,<b>,<r>,<i>
st
nd
Units
1
& 2
b = enable/modal bits;
r = scalable distance
i = time (ms)
st
Range
1
b = 1 (enable output on position) or 0 (disable)
nd
2
b = 1 (incremental position) or 0 (absolute position)
r = -2,147,483,648 to +2,147,483,647
i = 0-65535
Default
0,0,0,0
Response
OUTPA:
*OUTPA0,0,+0,0
See Also
ENCCNT, [ OUT ], OUT, OUTFNC, PSET, SFB
Use the
command to configure onboard output #1 (pin #41 on the
OUTPA
based on the specified position of the axis. The position referenced is dependent upon whether the axis is a
servo or stepper:
• GV6K Servo:
The referenced position is the feedback position.
• GT6K Stepper: The referenced position depends on the
command is executed. If
the encoder position is used.
To use the
command, you must first use the
OUTPA
to function as an output on position output. Refer to the programming example below.
Syntax:
Output Specifier:
A ... Turn on output 1 based on position
Enable Bit:
1 ... Enable the output-on-positon function
0 ... Disable the output-on-positon function
Servo Axes: If an SFB command is executed,
the function is disabled.
Incremental or Absolute Position Comparison:
1 ... Set position comparison to incremental
(measured from the last start-motion
command, such as GO, GOWHEN, etc.)
0 ... Set position comparison to absolute
The output activates only during motion; therefore, issuing a PSET command to set the
absolute position counter to activate the output on position will not turn on the output until
the next motion occurs.
Example (servo axes):
SFB1
; Select encoder feedback
OUTFNC1-H
; Set onboard output #1 as an "output on position" output
OUTPA1,0,+50000,50
; Turn on onboard output #1 for 50 ms when the encoder
; position is > or = absolute position +50,000
(factory default), the commanded position is used, if
ENCCNT0
OUTFNC1-H
OUTPA <b>
<b>
<r>
NOTE
www.comoso.com
Product
GT6K
GV6K
connector) to activate
DRIVE I/O
setting at the time the
ENCCNT
command to configure onboard output #1
<i>
Time (milliseconds):
Time (milliseconds) the output is to stay active.
The output activates when the specified
position (< r > ) is reached or exceeded, and
stays active for the specified time.
If this field is set to zero, the
output will stay active for as long as the actual
distance equals or exceeds the position
comparison distance (this is possible only for
an absolute position comparison).
Position:
Scalable distance (distance is either
incremental or absolute, depending on the
second < b > data field.
Servo Axes:
Only encoder or resolver position can be used.
Stepper Axes:
- If ENCCNT0, the commanded position is used.
- If ENCCNT1, the encoder position is used.
Command Descriptions
Rev
6.0
6.0
OUTPA
,
ENCCNT1
221

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents