Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC Program Command Specification 
 428 
DISPLAY [{constant}] "{message}"  
Function: 
Display Text to Display Port 
Type: 
Motion program (PROG and ROT), PLC program 
Syntax: 
DISPLAY [{constant}] "{message}" 
 
DISP [{constant}] "{message}"  
where: 
 
{constant} is an integer value between 0 and 79 specifying the starting character number on the 
display; if no value is specified, 0 is used 
 
{message} is the ASCII text string to be displayed 
This command causes Turbo PMAC to send the string contained in {message} to the display port for 
the liquid-crystal or vacuum-fluorescent display (Acc-12 or equivalent). 
The optional constant value specifies the starting point for the string on the display; it has a range of 0 to 
79, where 0 is upper left, 39 is upper right, 40 is lower left, and 79 is lower right.   
Examples: 
DISPLAY 10"Hello World" 
DISP "VALUE OF P1 IS" 
DISP 15, 8.3, P1 
See Also: 
Display Port (Connecting Turbo PMAC to the Machine);  
Accessory 12 (Basic Specifications) 
Program commands DISPLAY {variable}SENDx"{message}" 
DISPLAY ... {variable}  
Function: 
Formatted Display of Variable Value  
Type: 
Motion program (PROG and ROT), PLC program 
Syntax: 
DISPLAY {constant}, {constant}.{constant}, {variable} 
 
DISP {constant}, {constant}.{constant}, {variable} 
where: 
 
the first {constant} is an integer from 0 to 79 representing the starting location (character 
number) on the display; 
 
the second {constant} is an integer from 2 to 16 representing the total number of characters to be 
used to display the value (integer digits, decimal point, and fractional digits); 
 
the third {constant} is an integer from 0 to 9 (and at least two less than the second 
{constant}) representing the number of fractional digits to be displayed; 
 
{variable} is the name of the variable to be displayed. 
This command causes Turbo PMAC to send a formatted string containing the value of the specified 
variable to the display port.  The value of any I, P, Q, or M variable may be displayed with this command. 
The first constant value specifies the starting point for the string on the display; it has a range of 0 to 79, 
where 0 is upper left, 39 is upper right, 40 is lower left, and 79 is lower right.  The second constant 
specifies the number of characters to be used in displaying the value; it has a range of 2 to 16.  The third 
constant specifies the number of places to the right of the decimal point; it has a range of 0 to 9, and must 
be at least 2 less than the number of characters.  The last thing specified in the statement is the name of 
the variable -- I, P, Q, or M. 
Examples: 
DISPLAY 0, 8.0, P50 
DISPLAY 24, 2.0, M1 
DISPLAY 40, 12.4, Q100