Parker Automation Gemini GV6K Command Reference Manual page 215

Servo drive/controller
Table of Contents

Advertisement

[ OR ]
Or
Type
Operator (Logical)
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[ AND ], IF, [ NOT ], NWHILE, REPEAT, UNTIL, WAIT, WHILE
Use the
command as a logical operator in a program flow control command (
OR
,
). The
command logically links two expressions. If either of the two expressions are true, and
NWHILE
WAIT
OR
are linked with an
command, then the whole statement is true. This is illustrated by the following examples.
OR
If
and
then, even though variable 2 is not greater than 3, this is a true statement:
VAR1=1
VAR2=1
. This statement would not be true:
IF(VAR1>0 OR VAR2>3)
To evaluate an expression (Expression 1
true, use the following rule:
TRUE
TRUE = TRUE
OR
TRUE
FALSE = TRUE
OR
Example:
VAR1=1
IF(VAR1=1 OR IN=b1XXX)
WRITE"FIRST EXAMPLE"
NIF
ORES
Resolution of Step & Direction Output (GT6K) or Encoder Output (GV6K)
Type
Drive Configuration; Outputs
Syntax
<a_><!>ORES<i>
cycle power)
Units
Rotary motors:
Linear motors:
Range
GT6K: 200 - 128000;
GV6K: 200 - 1073741823; 0 to disable
Default
GT6K: 0
GV6K: 4000
Response
ORES
*ORES4000
See Also
DMEPIT, DMTR, DRES, ERES, TASX, TER, TPC, TPE
NOTE: This command does not take effect until you cycle power to the drive, or issue a
command.
AUTO-SETUP for GV6K Drives:
with the configuration utility in Motion Planner (see page 6). If you did not use the configuration utility or are
not using a Parker Motor, this command is set to zero and you will have to manually set this parameter. Refer
to DMTR for a list of auto-configured commands.
NOTE:
disables this output function.
ORES0
GT6K: The
command sets the resolution of the auxiliary step & direction output (pins 14-17 on the
ORES
connector).
DRIVE I/O
GV6K: The
command sets the resolution of the encoder output (pins 14-19 on the
ORES
connector).
Maximum Frequency
The Maximum output frequency (post quadrature) of the hardware generating the
functionality is 2.5 MHz. If the maximum output frequency is exceeded, the drive will fault
Expression 2 = Result) to determine if the whole expression is
OR
; Set variable 1 equal to 1
; Compare variable 1 to 1, and check for input #1
; to be active
; If either condition is true, write out FIRST EXAMPLE
; End IF statement
(does not take effect until RESET, DRESET or
i = counts/rev
i = counts/electrical pitch
0 to disable
This command is automatically set according to the Parker motor selected
www.comoso.com
,
IF
REPEAT
.
IF(VAR1<>1 OR VAR2=2)
FALSE
TRUE = TRUE
OR
FALSE
FALSE = FALSE
OR
RESET
DRIVE I/O
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
,
,
,
UNTIL
WHILE
Product
Rev
GT6K
6.0
GV6K
6.0
or
DRESET
ORES
213

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents