![Parker Automation Gemini GV6K Command Reference Manual Download Page 247](http://html1.mh-extra.com/html/parker-automation/gemini-gv6k/gemini-gv6k_command-reference-manual_3701373247.webp)
Command Descriptions
245
RE1
; Enable registration
A50
; Set acceleration to 50 units/sec/sec
AD50
; Set deceleration to 50 units/sec/sec
V10
; Set velocity to 10 unit/sec
D50000
; Set distance to 50000 units
GO1
; Initiate motion
END
; End program definition
Registration Profile:
1st Registration Mark
(TRG-A) occurs
2nd Registration Mark
(TRG-B) occurs
Pick up
container
here
V
D
10
8
6
4
2
0
0
10,000
20,000
[ READ ]
Read a Value
Type
Communication Interface or Assignment
Syntax
... READi ... (See below)
Units
i = string variable number
Range
1-50
Default
n/a
Response
n/a
See Also
', PORT, [ SS ], TSS, VAR, VARS, WRITE
Product Rev
GT6K 6.0
GV6K 6.0
The
READ
command provides the user with an efficient way of storing numeric data read from the input
buffer into a variable. The
READ
command can be used as part of a numeric variable assignment statement
(e.g.,
VAR1=READ1
) or in another command (
A(READ1)
). However, the
READ
command cannot be used in
an expression such as
VAR5=1+READ1
or
IF(READ1=1)
.
Syntax:
VARx=READi
where
x
is the variable number and
i
is the string variable to be sent out to prompt
the user for the numeric information.
Syntax:
Command(READi)
where
Command
is any command that has a separate field (e.g.,
A
,
AD
,
V
,
D
,
etc.), and
i
is the string variable number.
The number attached to the end of the
READ
command corresponds to the string variable to be sent out the
Ethernet port or the RS-232 or RS-485 port, at the time this command is executed. The Gem6K drive will
then wait for numeric data to be sent to its input buffer.
The numeric data must be preceded with an
immediate command identifier and a single quote (
!'
).
The information read in can be either integer or
real, and must be terminated by a command delimiter (
:
,
<cr>
,
<lf>
).
Rule of Thumb for command value substitutions: If the command syntax shows that the command field
requires a real number (denoted by
<r>
) or an integer value (denoted by
<i>
), you can use the
READ
substitution (e.g.,
V(READ1)
).
Example:
VARS1="Enter the count >"
; Place message in string variable #1
VAR2=READ1
; Prompt with string variable #1, and read data
; into variable #2
;
www.comoso.com
Summary of Contents for Gemini GV6K
Page 24: ...www comoso com...
Page 40: ...www comoso com...
Page 344: ...www comoso com...
Page 350: ...www comoso com...