
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
158/226
DRAW.NO.
3.11
CNC WINDOW
3.11.1 CNC Window Function (Read)
[Name]
pl_nc_windr
[Syntax]
#include <pmclib.h>
short pl_nc_windr(short * cntl);
[Arguments]
Input
*cntl: Control information
Set the function code, the number and the attribute.
The required array size depends on the function code, the data
number and the data attribute. You should prepare enough array
size accordingly.
Supported function code is shown below.
No. 0, 13, 15, 17, 19, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
34, 50, 59, 74, 75, 76, 90, 153, 154, 155, 156, 321, 395
About the details, refer to the following manual.
"Series 30i/ 31i/ 32i PMC Programming manual (B-63983EN)"
cntl[0] Function code
cntl[1] (Return code)
cntl[2] (Length)
cntl[3] Number
cntl[4] Attribute
cntl[5] (Data)
to
cntl[n] (Data)
Output
*cntl: Return value
The return code, the length and the data are returned. The read
data is returned from the "Data (cntl[5])".
cntl[0] (Function code)
cntl[1] Return code
cntl[2] Length
cntl[3] (Number)
cntl[4] (Attribute)