
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
102/226
DRAW.NO.
3.8.14
Display Hex Size Characters
[Name]
pl_dsptrblr
[Syntax]
#include <pmclib.h>
short pl_dsptrblr(short attr, char * str, unsigned short size);
[Arguments]
Input
attr: Display attribute
Normal: 0x18
Blink: 0x17
*str: Character string to be displayed (up to 101 characters including a
NULL character)
Set a NULL character ('\0') at the end of a character string.
size: Number of bytes of a specified character string
Output
---
[Return]
0: Normal completion.
5: The "str" or "size" is invalid.
[Description]
This function displays hex size characters.
The displayable characters are uppercase alphabetic characters, numeric
characters, "-" (minus), "." (period), and " " (space).
With the "C library for C language board", this function is named
"Display Triple Size Characters". On the "C executor", the display
function equivalent to this function is named "Display Hex Size
Characters". So, the same name is used in this library as well.
[Related Function]
putchar(), puts(), printf(), Escape sequence (ESC(6)
[Example]
short ret;
const char str[] = "012-. ABC";
ret = pl_dsptrblr(0x18, str, sizeof(str));
if (ret != 0)
{
/* error handling */
}