Parker Automation Gemini GV6K Command Reference Manual page 66

Servo drive/controller
Table of Contents

Advertisement

message is displayed (
*WARNING: POINTER HAS WRAPPED AROUND TO DATA POINT 1
not interrupt command execution.
Example: (See Also: DATSIZ command)
DEL DATP5
; Delete data program #5 (DATP5)
DEF DATP5
; Define data program #5 (DATP5)
DATA=1,2,3,4
; Enter data
DATA=5.62,6.52,7.12,8.47
END
; End program definition
A(DAT5)
; Load data from DATP5 and store in axis acceleration.
; Axis acceleration = 1
V(DAT5)
; Load data from DATP5 and store in axis velocity.
; Axis velocity = 2
D(DAT5)
; Load data from DATP5 and store in axis distance.
; Axis distance = 3
DATPTR5,1,1
; Set the data pointer to datum 1 in DATP5; increment the
; pointer by one after each DAT command
A(DAT5)
; Load data from DATP5 and store in axis acceleration.
; Axis acceleration = 1
A(DAT5)
; Load data from DATP5 and store in axis acceleration.
; Axis acceleration = 2
DATRST
Reset Data Pointer
Type
Data Storage
Syntax
<a_><!>DATRST<i>,<i>
Units
n/a
Range
1st i = program # 1 to 50, 2nd i = data element # 1 to 6500
Default
n/a
Response
n/a
See Also
[ DAT ], DATA, [ DATP ]
The
command sets the internal data pointer to a specific data element in a data program
DATRST
(
). As data is recalled from a data program with the
DATP<i>
increments to the next data element. If the pointer reaches the end of the program, it automatically wraps
around to the first data element in the program.
the data program (
).
DATP
Example:
DEF DATP5
; Define data program 5
DATA=1,2,3,4
; Enter data
DATA=5.62,6.52,7.12,8.47
END
; End program definition
A(DAT5)
; Load data from data program 5 and store in axis acceleration.
; Axis acceleration = 1
V(DAT5)
; Load data from data program 5 and store in axis velocity.
; Axis velocity = 2
D(DAT5)
; Load data from data program 5 and store in axis distance.
; Axis distance = 3
DATRST5,1
; Set the data pointer to datum 1 in data program 5
A(DAT5)
; Load data from data program 5 and store in axis acceleration.
; Axis acceleration = 1
A(DAT5)
; Load data from data program 5 and store in axis acceleration.
; Axis acceleration = 2
64
Gemini GV6K/GT6K Command Reference
; Enter data
DAT
allows the pointer to be set to any location within
DATRST
; Enter data
www.comoso.com
). This warning will
Product
GT6K
GV6K
command, the pointer automatically
Rev
6.0
6.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents