108
Gemini GV6K/GT6K Command Reference
DVARI
Display Integer Variable on RP240
Type
Display
(RP240)
Interface
Syntax
<a_><!>DVARIi,<i>,<i>
Units
See
below
Range
n/a
Default
See
below
Response
n/a
See Also
DVAR, DVARB, DWRITE, VARI
Product Rev
GT6K 6.0
GV6K 6.0
Use the
DVARI
command to display an integer variable on the RP240’s LCD at the current cursor location:
1
st
i
=
Variable number [Range 1-225]
2
nd
i
=
Number of whole digits displayed [Range 0-9]
3
rd
i
=
Sign bit: 0=no sign displayed, 1=d or - sign
Example
VARI2=542
; Assign the value 542 to integer variable #2
DVARI2,6,1
; Display integer variable #2 as +000542
DVARI2,3,1
; Display integer variable #2 as =+542
DWAVEF
Waveform
Type
Drive Configuration
Syntax
<a_><!>DWAVEF<r>
Units
r = percent 3
rd
harmonic
Range
-20.00 to 10.00 : ±0.01
Default
-4.00 (-4% 3
rd
harmonic injection)
Response
DWAVEF *DWAVEF-4
See Also
DPHBAL, DPHOFA, DPHOFB
Product Rev
GT6K 6.0
GV6K n/a
(applicable only to
stepper axes)
The
DWAVEF
command sets the percentage of 3
rd
harmonic included in the commanded motor current
waveform. A procedure for configuring the waveform is provided in the
Hardware Installation Guide
; refer
to the section entitled
Motor Control Settings
.
DWRITE
Write Text on RP240
Type
Display
(RP240)
Interface
Syntax
<a_><!>DWRITE"message"
Units
n/a
Range
Message
can
be
≤
80
characters
(may
not
use
characters
",
\, *
or
:)
Default
See
below
Response
n/a
See Also
DCLEAR, DLED, DPASS, DPCUR, DVAR, DVARB, DVARI, PORT
Product Rev
GT6K 6.0
GV6K 6.0
The
DWRITE
command displays a message on the RP240's LCD starting at the current cursor location. A
message is a character string of up to 80 characters in length. The characters within the string may be any
characters except quote (
"
), backslash (
\
), asterisk (
*
),colon (
:
), and tilde (
~
). Strings that have lower-case
letters will be converted to upper case prior to display (see example).
The following graphic shows the location of the RP240's two-line, 40-character display. It also shows the
characters in relation to the function keys.
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...