News CNCnetPDM About us Support  
         
  

CNC_DTSVCHKDSK | DATA

Description

Checks the hard disk on the DATA SERVER whether there is an error sector etc. or not.

If this function is executed while cnc_dtsvftpput or cnc_dtsvftpget is executing(until the completion status is got by cnc_dtsvftpstat), EW_BUSY is returned.
MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h"

FWLIBAPI short WINAPI cnc_dtsvchkdsk(unsigned short FlibHndl);

Arguments : HSSB

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_BUSY
(-1)
Busy
Try again because DATA SERVER is processing. (There is a possibility of forgetting to call cnc_dtsvftpstat function.)
EW_NOOPT
(6)
No option
- The extended driver/library function is necessary.
- The DATA SERVER board(hardware) is necessary.
EW_DTSRVR
(14)
DATA SERVER error
In order to get more information for this err_no return value, execute cnc_getdtailerr function. The following details status will be set onto the member, err_no of ODBERR structure.
1 <--> 498:DATA SERVER error
499: DATA SERVER system error

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.

CNC parameter

This function is not related to CNC parameter.

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)X H X X H X H H X H H H H H H X X
T (Turning) X H X X H - H H X H H H H H H X X
LC (Loader) - - - - - - X X X X X X X X X - -

0i-D0i-F16i18i30i-A30i-B
P (Punch press)X X H H - X
L (Laser) - - H - - X
W (Wire) - - X X 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.

Privacy notice

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

https://www.inventcom.net/fanuc-focas-library/data/cnc_dtsvchkdsk
Fanuc Focas Library | Data | cnc_clrmsgbuff
Description Clears the receive buffer or the transmit buffer.... [read more]
cnc_clrmsgbuff
Fanuc Focas Library | Data | cnc_dschdir
Description DATA SERVER Changing a current folder of the ATA card with DATA SERVER function. DATA SERVER Host... [read more]
cnc_dschdir
Fanuc Focas Library | Data | cnc_dscopyfile
Description Copying a file in the ATA card with DATA SERVER function.... [read more]
cnc_dscopyfile
Fanuc Focas Library | Data | cnc_dsftpcancel
Description This function is used to cancel the following operetions.... [read more]
cnc_dsftpcancel
Fanuc Focas Library | Data | cnc_dsftpstat
Description The execution result(EW_OK/EW_DTSRVR) of the following function can be taken out only at once.... [read more]
cnc_dsftpstat
Fanuc Focas Library | Data | cnc_dsget_req
Description Directs to GET a file to from a host computer at DATA SERVER. When this function is normally ended, it starts getting files from host... [read more]
cnc_dsget_req
Fanuc Focas Library | Data | cnc_dslistdel_req
Description According to the list which exists in the ATA card of DATA SERVER functon, two or more files are deleted. When this function carries... [read more]
cnc_dslistdel_req
Fanuc Focas Library | Data | cnc_dslistget_req
Description According to the list file which exists in the connection host of DATA SERVER function, the file transfer of two or more files is continuously carried... [read more]
cnc_dslistget_req
Fanuc Focas Library | Data | cnc_dslistput_req
Description According to the list file which exists in the ATA card of DATA SERVER function ,the file transfer of two or more files is carried out to a connection... [read more]
cnc_dslistput_req
Fanuc Focas Library | Data | cnc_dsmget_req
Description It directs to MGET a file from a host computer to DATA SERVER. A wild card can be used for a file name and the file transfer of two or... [read more]
cnc_dsmget_req
Fanuc Focas Library | Data | cnc_dsmkdir
Description DATA SERVER A new folder is created to the current folder of the ATA card of DATA SERVER function. DATA SERVER... [read more]
cnc_dsmkdir
Fanuc Focas Library | Data | cnc_dsmput_req
Description It directs to MPUT a file to a host computer from DATA SERVER. A wild card can be used for a file name and the file transfer of two or... [read more]
cnc_dsmput_req
Fanuc Focas Library | Data | cnc_dsput_req
Description Directs to PUT a file to a host computer to DATA SERVER. When this function is normally ended, it starts putting files from host... [read more]
cnc_dsput_req
Fanuc Focas Library | Data | cnc_dsremove
Description DATA SERVER The file in the current folder of the ATA card of DATA SERVER function delete. DATA SERVER Host... [read more]
cnc_dsremove
Fanuc Focas Library | Data | cnc_dsrename
Description DATA SERVER Changing the file or folder name which exist in the current folder of the ATA card of DATA SERVER... [read more]
cnc_dsrename
Fanuc Focas Library | Data | cnc_dsrmdir
Description DATA SERVER The folder in the current folder of the ATA card of DATA SERVER function delete. DATA SERVER... [read more]
cnc_dsrmdir
Fanuc Focas Library | Data | cnc_dtsvcnclupdn
Description Cancels the following if it is being executed. - Download from DATA SERVER to CNC - Upload from CNC to... [read more]
cnc_dtsvcnclupdn
Fanuc Focas Library | Data | cnc_dtsvdelete
Description Deletes the file in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvdelete
Fanuc Focas Library | Data | cnc_dtsvdownload
Description Orders the CNC to download the file from the DATA SERVER. Therefore, normal termination of this function shows that downloading the file from the DATA SERVER... [read more]
cnc_dtsvdownload
Fanuc Focas Library | Data | cnc_dtsvftpget
Description Orders the DATA SERVER to get file from the host computer. Therefore, normal termination of this function shows that getting the file from the host computer... [read more]
cnc_dtsvftpget
Fanuc Focas Library | Data | cnc_dtsvftpput
Description Orders the DATA SERVER to put file to the host computer. Therefore, normal termination of this function shows that putting the file to the host computer has... [read more]
cnc_dtsvftpput
Fanuc Focas Library | Data | cnc_dtsvftpstat
Description The execution result of cnc_dtsvftpput ,... [read more]
cnc_dtsvftpstat
Fanuc Focas Library | Data | cnc_dtsvgetdncpg
Description Gets the file name for DNC operation in the DATA SERVER.... [read more]
cnc_dtsvgetdncpg
Fanuc Focas Library | Data | cnc_dtsvgetmode
Description Gets the current mode of the DATA SERVER(storage mode/buffer mode).... [read more]
cnc_dtsvgetmode
Fanuc Focas Library | Data | cnc_dtsvhdformat
Description Formats the hard disk on the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvhdformat
Fanuc Focas Library | Data | cnc_dtsvmntinfo
Description Reads the following maintenance information for the DATA SERVER. This is the function for purposes of maintenance.... [read more]
cnc_dtsvmntinfo
Fanuc Focas Library | Data | cnc_dtsvrdcram
Description Reads the contents of the interface buffer for the DATA SERVER. This is the function for purposes of maintenance.... [read more]
cnc_dtsvrdcram
Fanuc Focas Library | Data | cnc_dtsvrderrmsg
Description Reads the message of the error occurred in the DATA SERVER.... [read more]
cnc_dtsvrderrmsg
Fanuc Focas Library | Data | cnc_dtsvrdfile
Description Transfers file from DATA SERVER to hard disk on personal computer. This function is effective for the DATA SERVER board(10BASE-T), and... [read more]
cnc_dtsvrdfile
Fanuc Focas Library | Data | cnc_dtsvrdpgdir
Description Reads the directory information in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvrdpgdir
Fanuc Focas Library | Data | cnc_dtsvrdset
Description Reads the setting data in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvrdset
Fanuc Focas Library | Data | cnc_dtsvsavecram
Description Saves the contents of the interface buffer for the DATA SERVER to the file by the name of "COMMON.RAM" in the hard disk of the DATA SERVER.... [read more]
cnc_dtsvsavecram
Fanuc Focas Library | Data | cnc_dtsvsetdncpg
Description Sets the file name for DNC operation in the DATA SERVER.... [read more]
cnc_dtsvsetdncpg
Fanuc Focas Library | Data | cnc_dtsvsetmode
Description Sets the current mode of the DATA SERVER(storage mode/buffer mode). If the mode of the DATA SERVER is changed, all the data in hard disk of the DATA... [read more]
cnc_dtsvsetmode
Fanuc Focas Library | Data | cnc_dtsvupdnstat
Description The execution result of cnc_dtsvdownload ,... [read more]
cnc_dtsvupdnstat
Fanuc Focas Library | Data | cnc_dtsvupload
Description Orders the CNC to upload the file to the DATA SERVER. Therefore, normal termination of this function shows that uploading the file to the DATA SERVER has been... [read more]
cnc_dtsvupload
Fanuc Focas Library | Data | cnc_dtsvwrfile
Description Transfers file from hard disk on personal computer to DATA SERVER. This function is effective for the DATA SERVER board(10BASE-T), and 16i/18i/21i, 0i.... [read more]
cnc_dtsvwrfile
Fanuc Focas Library | Data | cnc_dtsvwrset
Description Writes the setting data in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvwrset
Fanuc Focas Library | Data | cnc_rdcomlogmsg
Description Reads logging message for DNC2.... [read more]
cnc_rdcomlogmsg
Fanuc Focas Library | Data | cnc_rdcomopemsg
Description Reads operator's message for DNC1,DNC2.... [read more]
cnc_rdcomopemsg
Fanuc Focas Library | Data | cnc_rdcomparam
Description Reads communication parameters for DNC1, DNC2 or OSI-Ethernet function.... [read more]
cnc_rdcomparam
Fanuc Focas Library | Data | cnc_rddncfname
Description Reads the name of the file in the host computer for DNC operation using DNC1, DNC2 or OSI-Ethernet function.... [read more]
cnc_rddncfname
Fanuc Focas Library | Data | cnc_rddsdevinfo
Description All the number of pages , the use number of pages, the total number of entries, and the numberof use entries are taken out from an ATA... [read more]
cnc_rddsdevinfo
Fanuc Focas Library | Data | cnc_rddsdir
Description DATA SERVER The current folder name of the ATA card of DATA SERVER function is taken out with a full path.... [read more]
cnc_rddsdir
Fanuc Focas Library | Data | cnc_rddsdncfile
Description DATA SERVER The file name set to DNC operation at the time of the Storage mode of DATA SERVER function is taken out with... [read more]
cnc_rddsdncfile
Fanuc Focas Library | Data | cnc_rddsfile
Description DATA SERVER The list of the files in the current folder of DATA SERVER function (a sub folder is included) is taken out.... [read more]
cnc_rddsfile
Fanuc Focas Library | Data | cnc_rdrcvmsg
Description Reads contents of the receive buffer in which received message is stored. When this function is called, receipt status in CNC is... [read more]
cnc_rdrcvmsg
Fanuc Focas Library | Data | cnc_rdrcvstat
Description Obtains receipt status of message for OSI-Ethernet. The receipt status becomes ON when CNC receives a message for OSI-Ethernet, and becomes OFF when... [read more]
cnc_rdrcvstat
Fanuc Focas Library | Data | cnc_rdsndmsg
Description Reads contents of the transmit buffer in which transmitted message is stored.... [read more]
cnc_rdsndmsg
Fanuc Focas Library | Data | cnc_sendmessage
Description Sends message to the host computer.... [read more]
cnc_sendmessage
Fanuc Focas Library | Data | cnc_wrcomparam
Description Writes communication parameters for DNC1,DNC2 or OSI-Ethernet function. When communication parameters are written to OSI-Ethernet board... [read more]
cnc_wrcomparam
Fanuc Focas Library | Data | cnc_wrdncfname
Description Writes the name of the file in the host computer for DNC operation using DNC1, DNC2 or OSI-Ethernet function.... [read more]
cnc_wrdncfname
Fanuc Focas Library | Data | cnc_wrdsdncfile
Description DATA SERVER The file for DNC operation at the time of the storage mode of DATA SERVER function is set up. DATA... [read more]
cnc_wrdsdncfile
Fanuc Focas Library | Data | ds_cancel
Description The execution of the function for the following DATA SERVER is stopped.... [read more]
ds_cancel
Fanuc Focas Library | Data | ds_checkhdd
Description Whether a defective sector exists in the hard disk is checked.... [read more]
ds_checkhdd
Fanuc Focas Library | Data | ds_chghdddir
Description Change the work directory(current directory) of hard disk in the DATA SERVER. This function is available even to "Fast Ethernet".... [read more]
ds_chghdddir
Fanuc Focas Library | Data | ds_copyhddfile
Description The file in the hard disk of the DATA SERVER is copied. In this function, the control returns to the application without only requesting the copy of the file... [read more]
ds_copyhddfile
Fanuc Focas Library | Data | ds_delhdddir
Description Delete the directory in the hard disk of the DATA SERVER.... [read more]
ds_delhdddir
Fanuc Focas Library | Data | ds_delhddfile
Description The file in the hard drive of the DATA SERVER is deleted. The some files can be deleted simultaneously by specifying wild-card("*","?"). In this function,... [read more]
ds_delhddfile
Fanuc Focas Library | Data | ds_delhostfile
Description Delete the file of host computer. The wild-card("*", "?") cannot be used to specify the name.... [read more]
ds_delhostfile
Fanuc Focas Library | Data | ds_download
Description Outputs data to be registered(downloading). This function is only for "Fast Ethernet board". This function is not supported at "Embedded... [read more]
ds_download
Fanuc Focas Library | Data | ds_dwnend
Description Notifies the end of downloading data to CNC. (This function must be executed after... [read more]
ds_dwnend
Fanuc Focas Library | Data | ds_dwnstart
Description Requests CNC to start downloading. (This function must be executed before... [read more]
ds_dwnstart
Fanuc Focas Library | Data | ds_formathdd
Description The hard disk is formatted(initialization).... [read more]
ds_formathdd
Fanuc Focas Library | Data | ds_gethostfile
Description The file of the host computer is transferred to the hard disk of the DATA SERVER according to the "get" command of the FTP.... [read more]
ds_gethostfile
Fanuc Focas Library | Data | ds_ldelhddfile
Description The files in the hard disk of the DATA SERVER are deleted according to the list file. The wild-card("*", "?")... [read more]
ds_ldelhddfile
Fanuc Focas Library | Data | ds_lgethostfile
Description The files in the host computer are transferred to the hard disk of the DATA SERVER by the processing of FTP according to the... [read more]
ds_lgethostfile
Fanuc Focas Library | Data | ds_lputhddfile
Description The files in the hard disk of the DATA SERVER are transferred to the host computer by the processing of FTP according to the... [read more]
ds_lputhddfile
Fanuc Focas Library | Data | ds_makehdddir
Description Make the directory in the hard disk of the DATA SERVER.... [read more]
ds_makehdddir
Fanuc Focas Library | Data | ds_mgethostfile
Description The files of the host computer are transferred to the hard disk of the DATA SERVER according to the "mget" command of the... [read more]
ds_mgethostfile
Fanuc Focas Library | Data | ds_mputhddfile
Description The files in the hard disk of the DATA SERVER are transferred to the host computer according to the "mput" command of the... [read more]
ds_mputhddfile
Fanuc Focas Library | Data | ds_puthddfile
Description The file in the hard disk of the DATA SERVER is transferred to the host computer side according to the "put" command of the FTP. The wild-card("*", "?") cannot... [read more]
ds_puthddfile
Fanuc Focas Library | Data | ds_rddnchddfile
Description The file name which includes the PATH name in the hard disk which is setted for the DNC operation are acquired.... [read more]
ds_rddnchddfile
Fanuc Focas Library | Data | ds_rddnchostfile
Description The connected host number and the file name in host computer for the DNC operation is acquired.... [read more]
ds_rddnchostfile
Fanuc Focas Library | Data | ds_rdfile
Description Transfers file from DATA SERVER to hard disk on personal computer. This function is effective in only 16i/18i/21i. and, this function... [read more]
ds_rdfile
Fanuc Focas Library | Data | ds_rdhdddir
Description Get the file information at each file. The following information is acquired at each file. - File name... [read more]
ds_rdhdddir
Fanuc Focas Library | Data | ds_rdhddinfo
Description Get the information of hard disk of DATA SERVER. The following information can be acquired. - The remainder capacity of hard disk.... [read more]
ds_rdhddinfo
Fanuc Focas Library | Data | ds_rdhostdir
Description Get the file information of host computer.... [read more]
ds_rdhostdir
Fanuc Focas Library | Data | ds_rdhostdir2
Description Get the number of files and file information of login directory on the host computer. Information acquired in... [read more]
ds_rdhostdir2
Fanuc Focas Library | Data | ds_rdhostinfo
Description Get the information of login directory of the host computer. The following information is acquired.... [read more]
ds_rdhostinfo
Fanuc Focas Library | Data | ds_rdhostno
Description Get the host number of the connected host computer.... [read more]
ds_rdhostno
Fanuc Focas Library | Data | ds_rdm198hdddir
Description The work directory for the M198(subprogram call) is acquired.... [read more]
ds_rdm198hdddir
Fanuc Focas Library | Data | ds_rdm198host
Description Connected host number for the M198(subprogram call) is acquired.... [read more]
ds_rdm198host
Fanuc Focas Library | Data | ds_rdmntinfo
Description The data for troubleshooting is acquired as maintenance information for the file transfer between the DATA SERVER and CNC.... [read more]
ds_rdmntinfo
Fanuc Focas Library | Data | ds_rdmode
Description Get the mode for the DATA SERVER.... [read more]
ds_rdmode
Fanuc Focas Library | Data | ds_rdncfile
Description The NC program is inputted from the hard drive to the NC. Storage mode : To CNC memory from hard disk(or ATA) of DATA SERVER... [read more]
ds_rdncfile
Fanuc Focas Library | Data | ds_rdncfile2
Description The NC program is inputted from the hard drive to the NC. Storage mode : To CNC memory from hard disk(or ATA) of DATA SERVER... [read more]
ds_rdncfile2
Fanuc Focas Library | Data | ds_rdresult
Description Get the execution result of the function for the following DATA SERVER.... [read more]
ds_rdresult
Fanuc Focas Library | Data | ds_renhddfile
Description The file name in the hard disk of the DATA SERVER is changed.... [read more]
ds_renhddfile
Fanuc Focas Library | Data | ds_searchresult
Description Gets the result of ds_searchword function.... [read more]
ds_searchresult
Fanuc Focas Library | Data | ds_searchword
Description The string of the NC program in DATA SERVER at the running of M198/DNC in MEM/RMT mode is searched. The result of search can... [read more]
ds_searchword
Fanuc Focas Library | Data | ds_wrdnchddfile
Description The file name in the hard disk of the DATA SERVER for DNC operation is set. The current work directory is... [read more]
ds_wrdnchddfile
Fanuc Focas Library | Data | ds_wrdnchostfile
Description The file name of the host computer for DNC operation is set. The current connected host computer is set... [read more]
ds_wrdnchostfile
Fanuc Focas Library | Data | ds_wrfile
Description Transfers file from hard disk on personal computer to DATA SERVER. This function is effective in only 16i/18i/21i. and, this function... [read more]
ds_wrfile
Fanuc Focas Library | Data | ds_wrhostno
Description The host computer which works the FTP server which becomes the other party of the communication of the DATA SERVER is changed.... [read more]
ds_wrhostno
Fanuc Focas Library | Data | ds_wrm198hdddir
Description The work directory for the M198(subprogram call) is set. The current directory in the hard disk of the... [read more]
ds_wrm198hdddir
Fanuc Focas Library | Data | ds_wrm198host
Description Connected host number for the M198(subprogram call) is set. The connected host of now becomes the host for... [read more]
ds_wrm198host
Fanuc Focas Library | Data | ds_wrmode
Description Set the mode for the DATA SERVER. The mode of the DATA SERVER which can be set is shown as follows.... [read more]
ds_wrmode
Fanuc Focas Library | Data | ds_wrncfile
Description The NC program is outputted from the NC to the hard drive. Storage mode : To hard disk(or ATA) of DATA SERVER from CNC... [read more]
ds_wrncfile
Fanuc Focas Library | Data | etb_rderrmsg
Description Get the error message which occurred in the Ethernet board. This function acquires the error message of the Ethernet board... [read more]
etb_rderrmsg
Fanuc Focas Library | Data | etb_rdparam
Description Get the parameter of ethernet board. The following parameter can be acquired by this function.... [read more]
etb_rdparam
Fanuc Focas Library | Data | etb_wrparam
Description Set the parameter for Ethernet board. The following parameter can be set to the Ethernet board. Parameter... [read more]
etb_wrparam
Fanuc Focas Library | Data | eth_clrlog
Description Clear the logs for Ethernet function : Embedded Ethernet[Internal port ,PCMCIA Card], Fast Ethernet board, Fast DATA SERVER board, Windows CE... [read more]
eth_clrlog
Fanuc Focas Library | Data | eth_dschkdsk
Description Check disk of ATA card on DATA SERVER.... [read more]
eth_dschkdsk
Fanuc Focas Library | Data | eth_dsformat
Description Format ATA card on DATA SERVER.... [read more]
eth_dsformat
Fanuc Focas Library | Data | eth_rddsformat
Description Get the format of ATA card on DATA SERVER.... [read more]
eth_rddsformat
Fanuc Focas Library | Data | eth_rddsm198dir
Description Get the work folder for the M198 on DATA SERVER using Strage mode.... [read more]
eth_rddsm198dir
Fanuc Focas Library | Data | eth_rddsm198host
Description Get the connected host number and work folder for the M198 on DATA SERVER using FTP mode.... [read more]
eth_rddsm198host
Fanuc Focas Library | Data | eth_rddsmode
Description Get the all channel modes on DATA SERVER.... [read more]
eth_rddsmode
Fanuc Focas Library | Data | eth_rddsstate
Description Get each path of maintenance information on DATA SERVER.... [read more]
eth_rddsstate
Fanuc Focas Library | Data | eth_rdhost
Description Get the host number selected current Ethernet function.... [read more]
eth_rdhost
Fanuc Focas Library | Data | eth_rdlog
MTConnect Fanuc Adapter... [read more]
eth_rdlog
Fanuc Focas Library | Data | eth_rdparam
Description Get the parameters for Ethernet function : Fast Ethernet board, Fast DATA SERVER... [read more]
eth_rdparam
Fanuc Focas Library | Data | eth_wrdsm198dir
Description Set the work folder for the M198 on DATA SERVER using Strage mode.... [read more]
eth_wrdsm198dir
Fanuc Focas Library | Data | eth_wrdsm198host
Description Set the connected host number and work folder for the M198 on DATA SERVER using FTP mode.... [read more]
eth_wrdsm198host
Fanuc Focas Library | Data | eth_wrdsmode
Description Change the mode for DATA SERVER function.... [read more]
eth_wrdsmode
Fanuc Focas Library | Data | eth_wrhost
Description Set the host number selected Ethernet function.... [read more]
eth_wrhost
Fanuc Focas Library | Data | eth_wrparam
Description Sets the parameters for Ethernet function : Fast Ethernet board, Fast DATA SERVER... [read more]
eth_wrparam
Fanuc Focas Library | Data | flist_Data
CNC: Function Reference related to data server,DNC1,DNC2,OSI-Ethernet... [read more]
flist_Data
Modified: 2018-06-11