资源简介
完整的法兰克CNC数控机床,Focas开发包接口程序及示例
代码片段和文件信息
/*-------------------------------------------------------------------*/
/* 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-07-21 14:16 Focas 2\
目录 0 2014-07-21 14:15 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\
目录 0 2014-07-21 14:16 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\
目录 0 2014-07-21 14:16 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\
目录 0 2014-07-21 14:15 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\NCG\
文件 210735 2011-05-27 10:10 Focas 2\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 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\NCG\NCガイド・プロ FOCAS2機能.pdf
目录 0 2014-07-21 14:15 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\PM\
文件 420064 2007-12-20 02:02 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\PM\FWLIBPM.TXT
文件 386709 2007-12-20 02:02 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\PM\FWLIBPMJ.TXT
目录 0 2014-07-21 14:16 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\
目录 0 2014-07-21 14:15 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\All\
文件 917502 2012-07-11 08:46 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\All\flist_All.xm
文件 6600 2011-07-25 16:48 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\DNC1.HTM
目录 0 2014-07-21 14:16 Focas 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\
文件 688 2012-07-11 08:46 Focas 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\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 2\08_A02B-0207-K737 v4.0_FOCAS1_2 Libraries\A02B-0207-K737 (F)\Document\SpecE\Data\cnc_dslistdel_req.gif
............此处省略6911个文件信息
- 上一篇:运筹学导论 第9版-希利尔美中文扫描版
- 下一篇:钢琴单音素材
评论
共有 条评论