News CNCnetPDM About us Support  
         
  

CNC_WAVESTART | WAVE

Description

Starts a sampling of the waveform diagnosis data.

In case of using this function, the waveform diagnosis screen of CNC must not be used.
If used, the behavior of this function is not guaranteed.
MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h"

FWLIBAPI short WINAPI cnc_wavestart(unsigned short FlibHndl);

Arguments

FlibHndl   [ in ]

Specify the library handle.
See "Library handle" for details.

Return

EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.

The major error codes are as follows.

Return code Meaning/Error handling
EW_NOOPT
(6)
no option
The extended driver/library function is necessary.
EW_PARAM
(9)
CNC parameter error( Series 16/18, 16i/18i/21i, 0i )
3112#0=0 when CNC is turned on.
set 3112#0=1 and reboot.
EW_REJECT
(13)
CNC execution rejected( Series 16i/18i/21i, 0i )
The waveform diagnosis parameter is not set correctly.

As for the other return codes or the details, see "Return status of Data window function"

CNC option

For HSSB connection,

    The extended driver/library function is necessary.

For Ethernet connection,

    The Ethernet function and the extended driver/library function are necessary.

    However, in case of Series 16i/18i/21i-B, 0i-B/C, the required CNC option is as follows.

    When Embedded Ethernet is used,

      above two optional functions are not required.

    When Ethernet board is used,

      only Ethernet function is required.

CNC parameter

This function is related to the following CNC parameter.
See the manual of CNC parameter for details.

  • Series 16/18, 16i/18i/21i, 0i
  • 3112#0=1 (none)

CNC mode

This function can be used in any CNC mode.

Available CNC

0i-A 0i-B/C(Note) 0i-D 0i-F 15 15i 16 18 21 16i-A 18i-A 21i-A 16i-B 18i-B 21i-B 30i-A 30i-B
M (Machining)H O X X H O H H X O O O O O O X X
T (Turning) H O X X H - H H X O O O O O O X X
LC (Loader) - - - - - - X X X X X X X X X - -

0i-D0i-F16i18i30i-A30i-B
P (Punch press)X X O O - X
L (Laser) - - O - - X
W (Wire) - - O O X X


Power Mate i-DX
Power Mate i-HX
Power Motion i-AX

"O" : Both Ethernet and HSSB
"E" : Ethernet
"H" : HSSB
"X" : Cannot be used
"-" : None

Note) 0i-C does not support the HSSB function.

See Also

cnc_rdwaveprm   cnc_rdwaveprm2   cnc_wrwaveprm   cnc_wrwaveprm2   cnc_wavestop   cnc_wavestat   cnc_rdwavedata  

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/fanuc-focas-library/wave/cnc_wavestart
Fanuc Focas Library | Wave | cnc_rdwavedata
Description Reads waveform diagnosis data. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
cnc_rdwavedata
Fanuc Focas Library | Wave | cnc_rdwaveprm
Description Reads the waveform diagnosis parameter setting.... [read more]
cnc_rdwaveprm
Fanuc Focas Library | Wave | cnc_rdwaveprm2
Description Reads the waveform diagnosis parameter setting. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
cnc_rdwaveprm2
Fanuc Focas Library | Wave | cnc_wavestat
Description Reads the sampling status of the waveform diagnosis data. In case of using this function, the waveform diagnosis screen of CNC must not be... [read more]
cnc_wavestat
Fanuc Focas Library | Wave | cnc_wavestop
Description Stops a sampling of the waveform diagnosis data. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
cnc_wavestop
Fanuc Focas Library | Wave | cnc_wrwaveprm
Description Writes the waveform diagnosis parameter. cnc_wrwaveprm2... [read more]
cnc_wrwaveprm
Fanuc Focas Library | Wave | cnc_wrwaveprm2
Description Writes the waveform diagnosis parameter. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
cnc_wrwaveprm2
Fanuc Focas Library | Wave | flist_Wave
CNC: Function related to waveform diagnosis... [read more]
flist_Wave
Modified: 2018-06-11