资源简介
FOCAS2中文说明文档、源码、示例 机床数据采集专用
代码片段和文件信息
/*-------------------------------------------------------------------*/
/* 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 = 10 /* buffer error */
EW_PATH = 11 /* path error */
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 307848 2016-10-24 13:46 FOCAS说明文档\FOCAS 介绍 (1).pdf
文件 631458 2013-11-27 16:34 FOCAS说明文档\FOCAS函数示例工程说明文档.pdf
文件 31232 2016-10-25 11:05 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_getmactype.doc
文件 44032 2013-04-17 15:56 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdmacro.doc
文件 54784 2013-04-18 15:27 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdmacroinfo.doc
文件 71680 2013-04-18 09:36 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdmacror.doc
文件 33280 2013-04-17 15:09 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdparanum.doc
文件 31744 2013-04-18 13:12 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdpitchinfo.doc
文件 54272 2013-04-18 11:53 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdpitchr.doc
文件 67072 2013-04-17 10:01 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdtofs.doc
文件 44544 2013-04-17 09:30 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdtofsinfo.doc
文件 32768 2013-04-17 13:20 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdtofsinfo2.doc
文件 33280 2013-04-27 11:26 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdwkcdsfms.doc
文件 71168 2013-04-19 17:35 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdwkcdshft.doc
文件 41472 2013-04-17 14:06 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdzofs.doc
文件 34304 2013-04-17 14:32 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdzofsinfo.doc
文件 37376 2013-04-18 14:38 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_rdzofsr.doc
文件 31232 2013-04-18 15:38 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_setmactype.doc
文件 38912 2013-04-17 13:50 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_tofs_rnge.doc
文件 32768 2013-04-27 09:57 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wksft_rnge.doc
文件 43008 2013-04-17 17:00 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrmacro.doc
文件 47616 2013-04-18 10:09 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrmacror.doc
文件 42496 2013-04-18 12:01 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrpitchr.doc
文件 64512 2013-04-17 11:42 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrtofs.doc
文件 41472 2013-04-27 11:29 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrwkcdsfms.doc
文件 35840 2013-04-19 17:31 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrwkcdshft.doc
文件 44032 2013-04-17 14:18 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrzofs.doc
文件 42496 2013-04-18 14:55 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_wrzofsr.doc
文件 39936 2013-04-17 13:56 FOCAS说明文档\Function related to CNC file data\Function related to CNC file data_cnc_zofs_rnge.doc
文件 38400 2013-03-13 11:59 FOCAS说明文档\Function related to CNC program\Function related to CNC program_cnc_condense.doc
............此处省略218个文件信息
评论
共有 条评论