News CNCnetPDM About us Support  
         
  

ETH_DSCHKDSK | DATA

Description

Check disk of ATA card on DATA SERVER.

MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h" or "fwlib64.h"

FWLIBAPI short WINAPI eth_dschkdsk(unsigned short FlibHndl, short *result);

Arguments

FlibHndl   [ in ]

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

result   [ out ]

Get the format of ATA card on DATA SERVER.

0 :Normal termination
1 :Check disk is protected because of other task operating file.
2 :Error termination

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
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.
22:The option board is nothing.
24:The DATA SERVER function is nothing.
26:The ATA Card is nothing.

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

CNC option

For HSSB connection,

    The DATA SERVER function and the extended driver/library function are 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 X H H X X X X X X X X X X X H H
T (Turning) X X H H X - X X X X X X X X X H H
LC (Loader) - - - - - - X X X X X X X X X - -

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

Fanuc Focas Library | Data | cnc_clrmsgbuff

Clears the receive buffer or the transmit buffer.... [read more]
cnc_clrmsgbuff

Fanuc Focas Library | Data | cnc_dschdir

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

Copying a file in the ATA card with DATA SERVER function.... [read more]
cnc_dscopyfile

Fanuc Focas Library | Data | cnc_dsftpcancel

This function is used to cancel the following operetions.... [read more]
cnc_dsftpcancel

Fanuc Focas Library | Data | cnc_dsftpstat

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

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

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

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

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

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

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

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

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

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

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

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_dtsvchkdsk

Checks the hard disk on the DATA SERVER whether there is an error sector etc. or not. If this function is executed while... [read more]
cnc_dtsvchkdsk

Fanuc Focas Library | Data | cnc_dtsvcnclupdn

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

Deletes the file in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvdelete

Fanuc Focas Library | Data | cnc_dtsvdownload

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

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

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

The execution result of cnc_dtsvftpput ,... [read more]
cnc_dtsvftpstat

Fanuc Focas Library | Data | cnc_dtsvgetdncpg

Gets the file name for DNC operation in the DATA SERVER.... [read more]
cnc_dtsvgetdncpg

Fanuc Focas Library | Data | cnc_dtsvgetmode

Gets the current mode of the DATA SERVER(storage mode/buffer mode).... [read more]
cnc_dtsvgetmode

Fanuc Focas Library | Data | cnc_dtsvhdformat

Formats the hard disk on the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvhdformat

Fanuc Focas Library | Data | cnc_dtsvmntinfo

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

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

Reads the message of the error occurred in the DATA SERVER.... [read more]
cnc_dtsvrderrmsg

Fanuc Focas Library | Data | cnc_dtsvrdfile

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

Reads the directory information in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvrdpgdir

Fanuc Focas Library | Data | cnc_dtsvrdset

Reads the setting data in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvrdset

Fanuc Focas Library | Data | cnc_dtsvsavecram

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

Sets the file name for DNC operation in the DATA SERVER.... [read more]
cnc_dtsvsetdncpg

Fanuc Focas Library | Data | cnc_dtsvsetmode

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

The execution result of cnc_dtsvdownload ,... [read more]
cnc_dtsvupdnstat

Fanuc Focas Library | Data | cnc_dtsvupload

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

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

Writes the setting data in the DATA SERVER. If this function is executed while... [read more]
cnc_dtsvwrset

Fanuc Focas Library | Data | cnc_rdcomlogmsg

Reads logging message for DNC2.... [read more]
cnc_rdcomlogmsg

Fanuc Focas Library | Data | cnc_rdcomopemsg

Reads operator's message for DNC1,DNC2.... [read more]
cnc_rdcomopemsg

Fanuc Focas Library | Data | cnc_rdcomparam

Reads communication parameters for DNC1, DNC2 or OSI-Ethernet function.... [read more]
cnc_rdcomparam

Fanuc Focas Library | Data | cnc_rddncfname

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

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

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

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

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

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

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

Reads contents of the transmit buffer in which transmitted message is stored.... [read more]
cnc_rdsndmsg

Fanuc Focas Library | Data | cnc_sendmessage

Sends message to the host computer.... [read more]
cnc_sendmessage

Fanuc Focas Library | Data | cnc_wrcomparam

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

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

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

The execution of the function for the following DATA SERVER is stopped.... [read more]
ds_cancel

Fanuc Focas Library | Data | ds_checkhdd

Whether a defective sector exists in the hard disk is checked.... [read more]
ds_checkhdd

Fanuc Focas Library | Data | ds_chghdddir

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

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

Delete the directory in the hard disk of the DATA SERVER.... [read more]
ds_delhdddir

Fanuc Focas Library | Data | ds_delhddfile

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

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

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

Notifies the end of downloading data to CNC. (This function must be executed after... [read more]
ds_dwnend

Fanuc Focas Library | Data | ds_dwnstart

Requests CNC to start downloading. (This function must be executed before... [read more]
ds_dwnstart

Fanuc Focas Library | Data | ds_formathdd

The hard disk is formatted(initialization).... [read more]
ds_formathdd

Fanuc Focas Library | Data | ds_gethostfile

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

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

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

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

Make the directory in the hard disk of the DATA SERVER.... [read more]
ds_makehdddir

Fanuc Focas Library | Data | ds_mgethostfile

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

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

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

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

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

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

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

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

Get the file information of host computer.... [read more]
ds_rdhostdir

Fanuc Focas Library | Data | ds_rdhostdir2

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

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

Get the host number of the connected host computer.... [read more]
ds_rdhostno

Fanuc Focas Library | Data | ds_rdm198hdddir

The work directory for the M198(subprogram call) is acquired.... [read more]
ds_rdm198hdddir

Fanuc Focas Library | Data | ds_rdm198host

Connected host number for the M198(subprogram call) is acquired.... [read more]
ds_rdm198host

Fanuc Focas Library | Data | ds_rdmntinfo

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

Get the mode for the DATA SERVER.... [read more]
ds_rdmode

Fanuc Focas Library | Data | ds_rdncfile

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

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

Get the execution result of the function for the following DATA SERVER.... [read more]
ds_rdresult

Fanuc Focas Library | Data | ds_renhddfile

The file name in the hard disk of the DATA SERVER is changed.... [read more]
ds_renhddfile

Fanuc Focas Library | Data | ds_searchresult

Gets the result of ds_searchword function.... [read more]
ds_searchresult

Fanuc Focas Library | Data | ds_searchword

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

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

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

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

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

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

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

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

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

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

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

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

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_dsformat

Format ATA card on DATA SERVER.... [read more]
eth_dsformat

Fanuc Focas Library | Data | eth_rddsformat

Get the format of ATA card on DATA SERVER.... [read more]
eth_rddsformat

Fanuc Focas Library | Data | eth_rddsm198dir

Get the work folder for the M198 on DATA SERVER using Strage mode.... [read more]
eth_rddsm198dir

Fanuc Focas Library | Data | eth_rddsm198host

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

Get the all channel modes on DATA SERVER.... [read more]
eth_rddsmode

Fanuc Focas Library | Data | eth_rddsstate

Get each path of maintenance information on DATA SERVER.... [read more]
eth_rddsstate

Fanuc Focas Library | Data | eth_rdhost

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

Get the parameters for Ethernet function : Fast Ethernet board, Fast DATA SERVER... [read more]
eth_rdparam

Fanuc Focas Library | Data | eth_wrdsm198dir

Set the work folder for the M198 on DATA SERVER using Strage mode.... [read more]
eth_wrdsm198dir

Fanuc Focas Library | Data | eth_wrdsm198host

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

Change the mode for DATA SERVER function.... [read more]
eth_wrdsmode

Fanuc Focas Library | Data | eth_wrhost

Set the host number selected Ethernet function.... [read more]
eth_wrhost

Fanuc Focas Library | Data | eth_wrparam

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