Parker Automation Gemini GV6K Command Reference Manual page 104

Servo drive/controller
Table of Contents

Advertisement

DREADI
RP240 Data Read Immediate Mode
Type
Display (RP240) Interface
Syntax
<a_><!>DREADI<b>
Units
n/a
Range
1 (enable) or 0 (disable)
Default
0
Response
DREADI:
*DREADI0
See Also
DPCUR, [ DREAD ], [ DREADF ], VAR, VARI
The
command allows continual numeric or function key data entry from the RP240 (when used
DREADI1
in conjunction with the
DREAD
not paused (waiting for data entry) when a
• While in the Data Read Immediate Mode (DREADI1), data is read into VAR and VARI variables only
(e.g., A(DREAD) or V(DREAD) substitutions are not valid).
• This feature is not designed to be used in conjunction with the RP240's standard menus (see
Programmer's Guide for menu structure); the RUN and JOG menus will disable the DREADI mode.
• After the RP240's ENTER key is pressed (to enter numeric data), the value is displayed on the
RP240 display at the 1,30 location (showing 10 significant digits).
• Do not assign the same variable to read numeric data and function key data—pick only one.
Simple Numeric Data Entry (example):
VAR1=25000
; Initialize variable #1
DCLEAR0
; Clear entire RP240 display
DWRITE"ENTER VALUE > " ; Send message to RP240 display starting at location 1,0
DREADI1
; Enable RP240 data read immediate mode
VAR1=DREAD
; Set variable #1 (VAR1) to receive data entered on the RP240.
; Current VAR1 data will be displayed at cursor location 1,30
; (fixed). New data will be displayed at current cursor location
; as defined by the previous DCLEAR, DWRITE and DPCUR commands—
; this is the home cursor location for subsequent data entries.
L77
; Start loop of 77 repetitions
D(VAR1)
; Set distance equal to the current (last entered) RP240 data
GO1
; Initiate move
LN
; End loop
DREADI0
; Exit RP240 data read immediate mode
; As the loop is running, the user may enter in a new distance value
; (which must be terminated with the ENTER key) via the RP240 numeric keypad.
; The numeric keystrokes cause the digits to be displayed on the RP240
; starting at the home cursor location (see VAR1=DREAD description in the
; example above). When the ENTER key is pressed, the variable is updated;
; the most significant 10 digits (total, including sign & decimal point
; if appropriate) of this variable are displayed at cursor location 1,30;
; and then the data entry field (starting at home) is cleared.
; The Gem6K drive is ready to accept new data.
Numeric Data & Function Key Entry (example):
VAR1=25000
; Initialize variable #1
VAR2=1
; Initialize variable #2
DCLEAR0
; Clear the RP240 display
DPCUR2,0
; Place RP240 cursor on line 2, column 0 (bottom left corner of
; display)
DWRITE" SLOW FAST"
; Send message to RP240 display starting at location 2,0
DPCUR1,0
; Place RP240 cursor on line 1, column 0 (top left corner)
DWRITE"ENTER VALUE > "
; Send message to RP240 display starting at location 1,0
DREADI1
; Enable RP240 data read immediate mode
VAR1=DREAD
; Set variable #1 (VAR1) to receive numeric data entered on the
; RP240's keypad
VAR2=DREADF
; Set VAR2 to receive RP240 function key input
L
; Begin loop
102
Gemini GV6K/GT6K Command Reference
and/or
commands). In this immediate mode, program execution is
DREADF
or
DREAD
DREADF
NOTES
www.comoso.com
Product
GT6K
GV6K
command is encountered.
Rev
6.0
6.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents