
short FAR PASCAL cnc_rdgrphcmd (unsigned short FlibHndl,
short *num, short *buf);
Description: Read graphic command from graphic I/F
Arguments: FlibHndl Identify the process which uses the library
num pointer of numbers of read byte
(Data range :1-256)
buf pointer of arrangement of read graphic
commands
Return: EW_OK normal
EW_FUNC cnc_startdyngrph is not executed.
EW_LENGTH byte number(num) is not correct.
EW_NOOPT no option
Read pointer
update
Function name: cnc_wrgrphcmdptr
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_wrgrphcmdptr(unsigned short FlibHndl,
short pntr);
Description: Update read pointer of graphic I/F buffer
Arguments: FlibHndl Identify the process which uses the library
pntr Updated read pointer (Data range :1-256)
Return: EW_OK normal
EW_DATA pointer number(pntr) is not correct.
EW_NOOPT no option
Cancel flag
read
Function name: cnc_rdgrphcanflg
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_rdgrphcanflg(unsigned short FlibHndl,
short *cflg);
Description: Read graphic cancel flag
Arguments: FlibHndl Identify the process which uses the library
cflg pointer of value of cancel flag (0 or 1)
Return: EW_OK normal
others no good
Clear graphic
commands
Function name: cnc_clrgrphcmd
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_clrgrphcmd (&FlibHndl)
Description: Delete all graphic commands which are left in
Graphic command I/F.
Argument: FlibHndl Identify the process which uses the library
Return: EW_OK normal
others no good
EDIT DATE DSGN DESCRIPTION
RELEASE
DSGN RECOG
TITLE
DRAWING No.
Sheet
5/14
Specifications of
CNC-PC Graphic Interface
A-61184E
970702
Murata
02
03
04
971117
971216
980116
Murata
Murata
Samukawa
Samukawa
Samukawa
The parts of ② are added.
FC command is added. ③
Spec. of FC command is changed. ④