Parker Automation Gemini GV6K Command Reference Manual page 64

Servo drive/controller
Table of Contents

Advertisement

[ DAT ]
Data Assignment
Type
Data Storage
Syntax
DATi
Units
i = data program #
Range
1-50
Default
n/a
Response
n/a
See Also
DATA, [ DATP ], DATPTR, DATRST, DATTCH
The
command recalls data from the data program (
DAT
into a variable (
). As the data is loaded, the internal data pointer to the
VAR
to the next datum for the next
Syntax:
where "
VARn=DATi
or
can be used as a command argument such as
DAT
If the data is to be loaded into a command field, the
). If the data is loaded into a variable, parentheses are not required. (e.g.,
AD(DAT2)
Thumb for command value substitutions: If the command syntax shows that the command field requires a
real number (denoted by
<r>
).
HOMV(DAT1)
The
command cannot be used in an expression, such as
DAT
Example:
Refer to the Reset Data Pointer (DATRST) command example.
DATA
Data Statement
Type
Data Storage
Syntax
<a_><!>DATA=<r>,<r>,<r>,<r>
Units
r = data value
±999,999,999.99999999
Range
Default
n/a
Response
n/a
See Also
[ DAT ], [ DATP ], DATPTR, DATRST, DATTCH, MEMORY
The
command is used only in the data programs (
DATA
command is followed by an equal sign (
data statements is limited only by the amount of memory available.
Example:
Refer to the Reset Data Pointer (DATRST) command example.
[ DATP ]
Data Program
Type
Data Storage
Syntax
DATPi
Units
i = data program number
Range
1-50
Default
n/a
Response
n/a
See Also
[ DAT ], DATA, DATPTR, DATRST, DATSIZ, DATTCH, MEMORY
is not a command, but is the name of the program that is the default for storing data. Fifty such data
DATP
programs can be created,
DATP1
program would be, but only the
will contain the array of data to be recalled by the
internal data pointer is pointing to the first datum in the data program.
62
Gemini GV6K/GT6K Command Reference
DATP
command.
DAT
" is the variable number, and "
n
command must be placed within parentheses (e.g.,
DAT
) or an integer value (denoted by
DATP
), and a maximum of four data values. The maximum number of
=
-
. The program is defined with the
DATP5Ø
and
commands are allowed within the program definition.
DATA
END
command. Upon completion of the definition, the
DATi
www.comoso.com
). The data is loaded into a command field, or
data increments and points
DATP
" is the data program number,
i
A(DAT1)
VAR1=DAT2
), you can use the
<i>
DAT
or
IF(DAT2 < 5)
VAR1=1 + DAT3
) to identify the data statements. The
command, just as any other
DEF
Product
Rev
GT6K
6.0
GV6K
6.0
). Rule of
substitution (e.g.,
.
Product
Rev
GT6K
6.0
GV6K
6.0
DATA
Product
Rev
GT6K
6.0
GV6K
6.0
DATPi

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents