
3. Library Functions (Data window I/F)
Library functions for check animation before the real machining are as follows.
EDIT DATE DSGN DESCRIPTION
RELEASE
DSGN RECOG
TITLE
DRAWING No.
Sheet
4/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. ④
Check animation
start
Function name: cnc_startdyngrph
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_startdyngrph (unsigned short FlibHndl);
Description: Start check animation
(1)Linear/circular interpolation is executed by PC.
(2)Machine lock is executed by CNC.
(3)Animation is started by CNC.
[condition of executing cnc_startdyngrph] ②
1. Graphic option is available. (9929#0=1)
2. Servo waveform display is not available.
(3112#0=1)
Argument: FlibHndl Identify the process which uses the library
Return: EW_OK normal
EW_BUSY already executed
EW_NOOPT no option
EW_REJECT rejected by CNC
[condition of reject] ②
1. CNC is not MEM mode.
2. Tool path animation (dynamic animation or
machining animation) is executing on CNC.
Check animation
stop
Function name: cnc_stopdyngrph
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_stopdyngrph (unsigned short FlibHndl);
Description: Stop check animation
Argument: FlibHndl Identify the process which uses the library
Return: EW_OK normal
EW_FUNC cnc_startdyngrph is not executed
EW_NOOPT no option
Allocate library
handle
Function name: cnc_allclibhndl
Declaration: #include “fwlib32.h”
short FAR PASCAL cnc_allclibhnd (&FlibHndl)
Description: Allocates the library handle which is used by the
Windows version library.
Argument: FlibHndl Identify the process which uses the library
Return: EW_OK normal
others no good
Graphic command
read
Function name: cnc_rdgrphcmd
Declaration: #include “fwlib32.h”