EDH0162En1040 – 06/99
3.42
MM4005
DS — Display strings on screen
Usage
IMM
PGM
MIP
Syntax
xxDSaa
Parameters
Description
xx
[int]
— Field number.
aa
[chaîne]
— Strings to be displayed.
Range
xx
—
1
to
2.
aa
—
0
to
N
characters, framed or not framed by two quota-
tion marks “
≤
”.
xx = 1
or
2
:
N = 14
.
xx = 0
:
N = 28
.
Units
xx
— None.
aa
— None.
Defaults
xx
Missing: 0.
Out of range: Error C.
Floating point: Error A.
aa
Missing: Null string; clears the line or field.
Out of range: Only first N characters are used.
Description
This command prints a string on line #5 of the front panel display. If
xx
= 0
or default, the line #5 is entirely used (28 characters max.). If
xx
= 1 or 2,
the line #5 is split in two fields, each 14 characters long. The first field on
the left is defined as number 1 and the one on the right as number 2.
Writing to field number 1 (
xx
= 1) erases the previous text from field num-
ber 1. Writing to field number 2 (
xx
= 2) erases the previous text from field
number 2. If
xx
= 0 or default, the controller erases the entire line #5 before
writing its new text.
If somes strings (separated by spaces) are to be printed, these strings must
be framed by two quotation marks (
≤
). The printable number of characters
is always N, but the quotation marks are not part of characters of these
strings.
This command is useful for monitoring the status and evolution of a com-
plex program.
Returns
None.
Errors
A
—
Unknown message code.
C
—
Parameter out of limits.
J
—
Command authorized only in programming mode.
Rel. Commands
AS
—
Affect string.
CS
—
Concatenates two strings.
Example
1AS "This "
|
Define string #1.
2AS "is "
|
Define string #2.
101YS10.5
|
Define variable #101.
DS$S1$S2"a value: "$Y101
|
Display on screen.
This is a value: 10.5
|
Response.
WT4000
|
Wait for 4 sec.
In this example, line five of the front panel will display "This is a value: 10.5"
during 4 seconds.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com