资源简介
FANUC FOCAS V4.0版,带说明文件和C#开发例程!
代码片段和文件信息
/*-------------------------------------------------------------------*/
/* fwlib32.cs */
/* */
/* CNC/PMC Data Window Library for FOCAS1/Ethernet */
/* */
/* Copyright (C) 2002-2011 by FANUC CORPORATION All rights reserved. */
/* */
/*-------------------------------------------------------------------*/
using System;
using System.Runtime.InteropServices;
public class Focas1
{
/* Axis define */
#if FS30D
public const short MAX_AXIS = 32;
#elif M_AXIS2
public const short MAX_AXIS = 24;
#elif FS15D
public const short MAX_AXIS = 10;
#else
public const short MAX_AXIS = 8;
#endif
public const short ALL_AXES = (-1);
public const short ALL_SPINDLES = (-1);
public const short EW_OK = (short)focas_ret.EW_OK;
/* Error Codes */
public enum focas_ret {
EW_PROTOCOL = (-17) /* protocol error */
EW_SOCKET = (-16) /* Windows socket error */
EW_NODLL = (-15) /* DLL not exist error */
EW_BUS = (-11) /* bus error */
EW_SYSTEM2 = (-10) /* system error */
EW_HSSB = (-9) /* hssb communication error */
EW_HANDLE = (-8) /* Windows library handle error */
EW_VERSION = (-7) /* CNC/PMC version missmatch */
EW_UNEXP = (-6) /* abnormal error */
EW_SYSTEM = (-5) /* system error */
EW_PARITY = (-4) /* shared RAM parity error */
EW_MMCSYS = (-3) /* emm386 or mmcsys install error */
EW_RESET = (-2) /* reset or stop occured error */
EW_BUSY = (-1) /* busy error */
EW_OK = 0 /* no problem */
EW_FUNC = 1 /* command prepare error */
EW_NOPMC = 1 /* pmc not exist */
EW_LENGTH = 2 /* data block length error */
EW_NUMBER = 3 /* data number error */
EW_RANGE = 3 /* address range error */
EW_ATTRIB = 4 /* data attribute error */
EW_TYPE = 4 /* data type error */
EW_DATA = 5 /* data error */
EW_NOOPT = 6 /* no option error */
EW_PROT = 7 /* write protect error */
EW_OVRFLOW = 8 /* memory overflow error */
EW_PARAM = 9 /* cnc parameter not correct error */
EW_BUFFER
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 210735 2011-05-27 10:10 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\NCG\NCGuidePro FOCAS2 Function.pdf
文件 195445 2011-05-27 10:09 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\NCG\NCガイド?プロ FOCAS2機能.pdf
文件 420064 2007-12-20 02:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\PM\FWLIBPM.TXT
文件 386709 2007-12-20 02:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\PM\FWLIBPMJ.TXT
文件 917502 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\All\flist_All.xm
文件 2090 2003-10-31 01:00 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\cnc_com_main.htm
文件 8800 2003-10-31 01:00 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\cnc_com_top.htm
文件 688 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_clrmsgbuff.htm
文件 4824 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_clrmsgbuff.xm
文件 682 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dschdir.htm
文件 14438 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dschdir.xm
文件 688 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dscopyfile.htm
文件 7371 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dscopyfile.xm
文件 1599 2004-09-17 09:00 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpcancel.gif
文件 690 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpcancel.htm
文件 6495 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpcancel.xm
文件 1186 2004-09-17 09:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpstat.gif
文件 686 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpstat.htm
文件 10376 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsftpstat.xm
文件 1414 2004-09-17 09:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsget_req.gif
文件 686 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsget_req.htm
文件 9475 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dsget_req.xm
文件 1421 2004-09-17 09:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistdel_req.gif
文件 694 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistdel_req.htm
文件 7477 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistdel_req.xm
文件 1434 2004-09-17 09:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistget_req.gif
文件 694 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistget_req.htm
文件 7558 2012-07-09 15:21 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistget_req.xm
文件 1440 2004-09-17 09:02 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistput_req.gif
文件 694 2012-07-11 08:46 Focas V4.0 带说明\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistput_req.htm
............此处省略6931个文件信息
评论
共有 条评论