News CNCnetPDM About us Support  
       
  

CNC_WAVESTAT | WAVE

TOP

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 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_wavestat(unsigned short FlibHndl, short *stat);

Arguments

FlibHndl   [ in ]

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

stat   [ in ]

Specify the address of the variable to store the sampling status of waveform diagnosis data.

0:sampling completed
1:during sampling

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.

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 (must be set)

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_wavestart   cnc_wavestop   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_wavestat

Fanuc Focas Library | Wave | cnc_rdwavedata

Reads waveform diagnosis data. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
Fanuc Focas Library | Wave | cnc_rdwavedata

Fanuc Focas Library | Wave | cnc_rdwaveprm

Reads the waveform diagnosis parameter setting.... [read more]
Fanuc Focas Library | Wave | cnc_rdwaveprm

Fanuc Focas Library | Wave | cnc_rdwaveprm2

Reads the waveform diagnosis parameter setting. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
Fanuc Focas Library | Wave | cnc_rdwaveprm2

Fanuc Focas Library | Wave | cnc_wavestart

Starts 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]
Fanuc Focas Library | Wave | cnc_wavestart

Fanuc Focas Library | Wave | cnc_wavestop

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]
Fanuc Focas Library | Wave | cnc_wavestop

Fanuc Focas Library | Wave | cnc_wrwaveprm

Writes the waveform diagnosis parameter. cnc_wrwaveprm2... [read more]
Fanuc Focas Library | Wave | cnc_wrwaveprm

Fanuc Focas Library | Wave | cnc_wrwaveprm2

Writes the waveform diagnosis parameter. In case of using this function, the waveform diagnosis screen of CNC must not be used.... [read more]
Fanuc Focas Library | Wave | cnc_wrwaveprm2

Fanuc Focas Library | Wave | flist_Wave

CNC: Function related to waveform diagnosis... [read more]
Fanuc Focas Library | Wave | flist_Wave
Modified: 2023-12-05