Parker Automation Gemini GV6K Command Reference Manual page 239

Servo drive/controller
Table of Contents

Advertisement

PORT
Designate Destination Communication ("COM") Port
Type
Communication Interface
Syntax
<a_><!>PORT<i>
Units
i = port number
Range
0 (set to active port), 1 (COM1), or 2 (COM2)
NOTE:
"COM1" is the "RS-232/485" or "ETHERNET" connector.
"COM2" is the "RS-232" connector.
Default
1
Response
PORT:
*PORT1
See Also
], [, BOT, DRPCHK, E, EOL, EOT, ERRDEF, ERRLVL, ERROK, ERRBAD,
LOCK, [READ], WRITE, XONOFF
The
command is used to determine which COM port is affected by the
PORT
,
,
,
EOT
ERROK
ERRBAD
ERRDEF
responses and prompts from stored programs should be sent.
The
command also selects the target port through which the
PORT
ASCII text strings. The
DWRITE
regardless of the
command setting. If no RP240 is detected, the commands are sent to the COM2
PORT
port.
text strings are always terminated with a carriage return.
DWRITE
You can use the
command to set the
PORT0
received. For example, if your computer is connected to the RS-232/485 port (COM1) and you send the
command, the
value will be changed to
PORT0
PORT
will affect the COM1 port.
Example
(The PORT command can be used to designate EOT parameters for both ports. Assume that port COM1 is
being used to communicate to the Gem6K drive.)
PORT1
; Select COM1 for EOT setup
EOT45,49,10
; EOT for COM1 is -1<lf>
TPE
; Send "Transfer Position of Encoder" response to COM1
; using EOT 45,49,10
PORT2
; Select COM2 for EOT setup
EOT45,50,10
; EOT for COM2 is -2<lf>
TPC
; Send "Transfer Commanded Position" response to COM2
; using EOT 45,50,10
Example
(The PORT command specifies both port setups and response destinations in a stored program.)
DEF qwe
; Begin definition of qwe
PORT1
EOT45,49,10
; EOT for COM1 is -1<lf>
TPE
; Send "Transfer Position of Encoder" response to COM1
; using EOT 45,49,10
PORT2
EOT45,50,10
; EOT for COM2 is -2<lf>
TPC
; Send "Transfer Commanded Position" response to COM2
; using EOT 45,50,10
END
; End definition of qwe
POUTA
Compiled Output
Type
Compiled Motion; Outputs
Syntax
<a_><!><B>POUTA<b><b><b><b> ...
Units
b = enable bit for specific outputs (see page 8)
Range
b = 0 (off), 1 (on), or X (don't change)
Default
0
Response
n/a
See Also
GOBUF, OUT, OUTEN, OUTFNC, OUTLVL, PCOMP, PRUN, PUCOMP
Use the
command to control outputs during Compiled Motion. The outputs that can be controlled
POUTA
are the digital outputs on the
") on the 4-pin removable connector, and any outputs on external I/O bricks. Refer to page
N.O.
,
, and
commands. It also specifies the port to which
ERRLVL
XONOFF
command (as well as all other RP240 commands) will affect the RP240
value to the port through which the command was
PORT
PORT1
connector, the relay output (labeled "
DRIVE I/O
www.comoso.com
,
,
DRPCHK
E
and
commands transmit
WRITE
READ
and all subsequent communication commands
" and "
RELAY COM
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
,
,
,
ECHO
BOT
EOL
Product
Rev
GT6K
6.0
GV6K
6.0
RELAY
8
to
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents