Parker Automation Gemini GV6K Command Reference Manual page 112

Servo drive/controller
Table of Contents

Advertisement

In a terminal emulator mode, you may not see the echoed characters on your display when issuing
commands that have a response, because the echoed characters may be overwritten by the response.
The
command determines which COM port is affected by the
PORT
The purpose of the
and
ECHO2
which a host computer communicates to the "master" Gem6K drive over RS-232 (COM2 port) and the
master Gem6K drive communicates over RS-485 (COM1 port) to the rest of the units on the multi-drop.
For this configuration, the echo setup should be configured by sending to the master the following
commands executed in the order shown. In this example, it is assumed that the master's device address is
set to 1. Hence, each command is prefixed with "
....... Subsequent command affects COM1, the RS-485 port
1_PORT1
....... Echo characters back through the other port, COM2
1_ECHO2
....... Subsequent command affects COM2, the RS-232 port
1_PORT2
....... Echo characters back through both ports, COM1 and COM2
1_ECHO3
ELSE
Else Condition of IF Statement
Type
Program Flow Control
Syntax
<a_><!>ELSE
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
IF, NIF
ELSE is used in conjunction with the
expression contained within the parentheses of the
between the
and the
IF
ELSE
the expression evaluates false, the commands between the
commands between
and
IF
ELSE
included in the
statement.
IF
Programming order:
IF(
Example:
IF(IN.1=b1)
; Specify condition: if onboard input #1 is on
T5
; If condition evaluates true, wait 5 seconds
ELSE
; Else part of IF condition
TPE
; If condition does not evaluate true transfer encoder position
NIF
; End IF statement
ENCCNT
Encoder Count Reference Enable
Type
Encoder; Drive Configuration
Syntax
<a_><!>ENCCNT<b>
Units
b = enable bit
Range
0 (reference the commanded position),
1 (reference the encoder position) or X (don't change)
Default
0 (reference the commanded position)
Response
ENCCNT
*ENCCNT0
See Also
ESTALL, INFNC, LIMFNC, OUTP, [ PCC ], [ PCE ], [ PCME ],
[ PE ], TPCC, TPCE, TPCME, TPE, TVELA, [ VELA ]
Use
to configure a GT6K to reference either the encoder position or the commanded position when
ENCCNT
capturing the position (see
INFNCi-H
actual velocity (
and
VELA
TVELA
110
Gemini GV6K/GT6K Command Reference
options is to accommodate an RS-485 multi-drop configuration in
ECHO3
" to address only the master unit.
1_
and
commands to provide conditional branching. If the
IF
NIF
command evaluates true, then the commands
IF
are executed, and the commands after the
are ignored. The
command is optional and does not have to be
ELSE
...
...
commands can be nested up to 16 levels deep.
IF( )
ELSE
NIF
expression
...commands...
)
) and checking the encoder position (
),
determines whether the velocity, in units of revs/sec, is derived
ENCCNT
www.comoso.com
command.
ECHO
until the
ELSE
NIF
and the
are executed and the
ELSE
NIF
...commands...
ELSE
NIF
and
). When checking the
PE
TPE
Product
Rev
GT6K
6.0
GV6K
6.0
are ignored. If
Product
Rev
GT6K
6.0
GV6K
n/a
(applicable only to
stepper axes)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents