Parker Automation Gemini GV6K Command Reference Manual page 67

Servo drive/controller
Table of Contents

Advertisement

DATSIZ
Data Program Size
Type
Data Storage
Syntax
<a_><!>DATSIZi<,i>
Units
n/a
Range
1st i = program # 0 - 50 (0 = disable)
2nd i = data element # 1 - 6500
Default
0,1
Response
n/a
See Also
[ DAT ], DATPTR, [ DATP ], DATTCH
The
command creates a new data program (
DATSIZ
data program contains.
The
command syntax is
DATSIZ
program (1 - 50). You can create up to 50 separate data programs. The data program is automatically given
a specific program name (
DATPi
disabled. Before creating a new data program, be sure to delete the existing data program that has the same
name. For example, if you wish to create data program #5 with the
already exists, first delete
DATP5
command.
The second integer represents the total number of data elements (up to 6,500) you want in the data
program. Upon issuing the
DATSIZ
initialized with a value of zero. (The
filling it with
DATA=Ø.Ø,Ø.Ø,Ø.Ø,Ø.Ø
Each data statement, which contains four data elements, uses 43 bytes of memory. This amount of memory
is subtracted from the memory allocated for user programs (see
command to determine the amount of remaining memory for user program storage.
The data program has a tabular structure, where the data elements are stored 4 to a line. Each line of data
elements is called a data statement. Each element is numbered in sequential order from left to right (1 - 4)
and top to bottom (1 - 4, 5 - 8, 9 - 12, etc.). You can use the
number of the data program) to display all the data elements of the data program. For example, if you issue
the
command, data program #1 (called
DATSIZ1,13
zero. The response to the
TPROG DATP1
with
, and each data element is separated with a comma.
DATA=
*DATA=Ø.Ø,Ø.Ø,Ø.Ø,Ø.Ø
*DATA=Ø.Ø,Ø.Ø,Ø.Ø,Ø.Ø
*DATA=Ø.Ø,Ø.Ø,Ø.Ø,Ø.Ø
*DATA=Ø.Ø
The
,
, and
DATSIZ
DATTCH
DAT
1. Issue the
command to create (or recall) the data program.
DATSIZ
2. Store variable data (e.g., position, acceleration, velocity, etc.) to numeric variables (
3. Use
commands to store the data from the numeric variables into the data program. You can use
DATTCH
the data pointer (
DATPTR
the number by which the pointer increments after each value from the
NOTE: If the
command is issued without having issued the
DATTCH
result.
4. Use the
commands to read the stored data from the data program into the variable parameters of
DAT
your motion program. You can use the
program, and to determine the number by which the pointer increments after each
Any use of the
and
DATTCH
DAT
by the first integer of the last
DATP
. The first integer (
DATSIZi<,i>
). If the program number
with the
command and then issue the
DEL DATP5
command, the data program is created with all the data elements
command is equivalent to creating a
DATSIZ
commands up to the size indicated in the second integer.)
DATP1
command is depicted below. Each line (data statement) begins
commands will typically be used as a teach mode in this manner:
) command to select any data element in the data program, and to determine
command to select any data element in the data
DATPTR
commands will reference the current active data program (
or
command. If you want to use the
DATSIZ
DATPTR
www.comoso.com
) and establishes the number of data elements the
) represents the number of the data
i
is selected, then the
Ø
DATTCH
command and
DATSIZ5,144
DATSIZ5,144
DATP
command). Use the
MEMORY
command ("
TPROG DATPi
) is created with 13 data elements initialized to
command is stored.
DATTCH
command, an error will
DATSIZ
DAT
DATSIZ
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
command is
DATP5
program and
TDIR
" represents the
i
).
VAR
command.
) specified
DATP
command to
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents