
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
81/226
DRAW.NO.
At the end of the read character string "*symbol" or "*comment", a
NULL character ('\0') is added. For a "symbol", set a pointer to an array
not smaller than 17 characters. For a "comment", set a pointer to an array
not smaller than 31 characters.
If no symbol or comment is defined, a NULL character ('\0') is returned
as "*symbol" or "*comment".
Note
1. This function can read a symbol or comment in 1st
PMC, cannot read it in 2nd or 3rd PMC.
2. This function cannot read a extended symbol or
extended comment.
[Example]
/* Read a bit symbol and comment from R800.0 */
#define SIGNAL_R 5
char symbol[17];
char comment[31];
unsigned short size;
unsigned short ret;
ret = pl_symcmt2(SIGNAL_R, 1, 800, 0, &symbol, &comment, &size);
if (ret == 0)
{
printf("SYMBOL: %s\n", symbol);
printf("COMMENT: %s\n", comment);
}