DSTP
Enable/Disable RP240 Stop Key
Type
Display (RP240) Interface
Syntax
<a_><!>DSTP<b>
Units
b = enable bit
Range
b = 1 (enable) or 0 (disable)
Default
1 (enable)
Response
DSTP
*DSTP1
See Also
DLED, [ DREAD ], [ DREADF ]
Use the
command to enable or disable the stop key on the RP240 panel.
DSTP
DVAR
Display Variable on RP240
Type
Display (RP240) Interface
Syntax
<a_><!>DVARi,<i>,<i>,<i>
Units
See below
Range
n/a
Default
See below
Response
n/a
See Also
[ DREAD ], [ DREADF ], DVARB, DVARI, DWRITE, VAR
Use the
command to display a numeric variable on the RP240's LCD at the current cursor location:
DVAR
1 st
=
Variable number [Range 1-225]
i
2 nd
=
Number of whole digits displayed (left of decimal point) [Range 0-9]
i
3 rd
=
Number of fractional digits displayed (right of decimal point) [Range 0-8]
i
4 th
=
Sign bit: 0 = no sign displayed, 1 = display + or -
i
Example:
VAR2=542.14
; Assign the value 542.14 to variable #2
DVAR2,6,3,1
; Display variable #2 as +000542.140
DVAR2,3,1,0
; Display variable #2 as 542.1
DVAR2,3,,1
; Display variable #2 as +542
DVARB
Display Binary Variable on RP240
Type
Display (RP240) Interface
Syntax
<a_><!>DVARBi,<i>
Units
See below
Range
n/a
Default
See below
Response
n/a
See Also
DVAR, DVARI, DWRITE, VARB
Use the
command to display a binary variable on the RP240's LCD at the current cursor location:
DVARB
st
1
i
=
Variable number [Range 1-125]
nd
2
=
Number of bits displayed [Range 1-32]
i
Example
VARB2=b11001X11
; Assign the value 11001X11 to binary variable #2
DVARB2,6
; Display binary variable #2 as 1100_1X
DVARB2,3
; Display binary variable #2 as 110
DVARB2,1
; Display binary variable #2 as 1
www.comoso.com
Product
Rev
GT6K
6.0
GV6K
6.0
Product
Rev
GT6K
6.0
GV6K
6.0
Product
Rev
GT6K
6.0
GV6K
6.0
Command Descriptions
107