Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller CUSTOMIZATION GUIDE User Manual
Page 26
![background image](/manuals/337708/26/background.png)
VBAR
VBAR
This function draws a vertical bargraph at the current x, y coordinates.
Height is the actual desired height in dots. Maximum height is the maximum height the
bar can be in dots. Width is the width of the bar in dots. These three parameters
must be "B" type expressions.
For example:
VBAR C00 100.0 / 64.0
*
$ 64 2
VBAR 100 B20 B21
HBAR
HBAR
This function draws a horizontal bargraph at the current x, y coordinates.
Width is the actual desired width in dots. Maximum width is the maximum width
the bar can be in dots. Height is the height of the bar in dots. These three parameters
must be "B" type expression.
CLEAR
CLEAR
This command erases the entire screen and moves the cursor to the 0 0 location.
PRINTn
This command outputs to the display the value of the designated datapoint or literal
expression. It also updates the cursor position to be the point following the last
character printed. The number of characters to be printed is based on the type of data
to be printed, the cursor position and the character set designated. When the cursor x
position is less than one character position from the right edge of the screen before all
characters are printed the command is terminated. L and B datatypes have a fixed
number of characters, one and three respectfully. A and F datatypes print as many
characters as they contain, 0 to 10 or 0 to 5 respectfully. C and H datatypes are printed
as 10 characters or as specified by the n parameter (5-9).
PRINT A12 - will print the contents of A12
PRINT “HI” - will print the string HI
PRINT F
*
5 - will print the value of the datapoint pointed to by the value of F5
PRINT C170 - will print the value of C170 as a 10 character string
PRINT ’B10’ - will print the ASCII character represented by the value in B10
PRINT5 H22 - will print the value of H22 as a 5 character string
Characters written to the display screen are defined in a rectangular area referred to
as a cell. The 53MC5xxxB provides four cell sizes (character sets) 6x8, 4x8, 12x16
and 8x16. The 53MC5xxxA only supports the first two cell sizes. When a character
is written to the display it replaces the entire cell area. Cell selections for controller
display are specified by the following values of B09:
0 - 6x8
1 - 4x8
2 - 6x8 (user defined)
3 - 12x16
4 - 8x16
* To print in reverse video add 128 to value.
Refer to the Appendices Section for Character Sets.
MODULAR CONTROLLER CUSTOMIZATION GUIDE
2-19