资源简介
使用C# FOCAS 1、2开发数控机床程序
代码片段和文件信息
/*-------------------------------------------------------------------*/
/* 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 */
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 151040 2013-11-27 11:00 示例工程\Test\Test\bin\Debug\Test.exe
文件 243200 2013-11-27 11:00 示例工程\Test\Test\bin\Debug\Test.pdb
文件 11600 2014-07-09 15:47 示例工程\Test\Test\bin\Debug\Test.vshost.exe
文件 490 2012-06-06 02:06 示例工程\Test\Test\bin\Debug\Test.vshost.exe.manifest
文件 151040 2015-12-16 09:16 示例工程\Test\Test\bin\Release\Test.exe
文件 247296 2015-12-16 09:16 示例工程\Test\Test\bin\Release\Test.pdb
文件 22984 2015-12-16 09:16 示例工程\Test\Test\bin\Release\Test.vshost.exe
文件 490 2015-03-28 05:35 示例工程\Test\Test\bin\Release\Test.vshost.exe.manifest
文件 560320 2013-11-27 10:54 示例工程\Test\Test\fwlib32.cs
文件 5899 2014-07-09 15:47 示例工程\Test\Test\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 817 2014-07-09 15:47 示例工程\Test\Test\obj\x86\Debug\Test.csproj.FileListAbsolute.txt
文件 151040 2013-11-27 11:00 示例工程\Test\Test\obj\x86\Debug\Test.exe
文件 243200 2013-11-27 11:00 示例工程\Test\Test\obj\x86\Debug\Test.pdb
文件 6712 2015-12-16 09:09 示例工程\Test\Test\obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache
文件 2052 2015-12-16 09:16 示例工程\Test\Test\obj\x86\Release\Test.csproj.FileListAbsolute.txt
文件 11884 2015-12-16 09:16 示例工程\Test\Test\obj\x86\Release\Test.csprojResolveAssemblyReference.cache
文件 151040 2015-12-16 09:16 示例工程\Test\Test\obj\x86\Release\Test.exe
文件 247296 2015-12-16 09:16 示例工程\Test\Test\obj\x86\Release\Test.pdb
文件 988 2014-06-23 10:53 示例工程\Test\Test\Program.cs
文件 1420 2013-11-27 10:53 示例工程\Test\Test\Properties\AssemblyInfo.cs
文件 2467 2013-11-27 10:54 示例工程\Test\Test\Test.csproj
文件 143 2013-11-27 10:53 示例工程\Test\Test\Test.csproj.user
文件 858 2013-11-27 10:53 示例工程\Test\Test.sln
..A..H. 21504 2014-07-09 15:52 示例工程\Test\Test.suo
..A..H. 38912 2015-12-16 09:17 示例工程\Test\Test.v11.suo
..AD... 0 2014-08-29 13:52 示例工程\Test\Test\obj\x86\Debug\TempPE
..AD... 0 2014-08-29 13:52 示例工程\Test\Test\obj\x86\Release\TempPE
目录 0 2014-07-21 14:17 示例工程\Test\Test\obj\x86\Debug
目录 0 2015-12-16 09:16 示例工程\Test\Test\obj\x86\Release
目录 0 2014-07-21 14:17 示例工程\Test\Test\bin\Debug
............此处省略11个文件信息
- 上一篇:c# 递归实现zTree
- 下一篇:C#之系统API详解教程
相关资源
- C# 调用win32 api函数-user32.dll详细说明
- C# 调用BarTender打印条码DEMO
- 大型比赛竞赛抽签系统 可打印 c# vs
- C#编写的Gerber查看器
- lua C# .Net4.0 vs2010 LuaInterface
- C#十六进制编辑器
- 明华URF-35H读卡器 C#读写源码 为大家
- C#文件流读取CSV文件
- c#读写PDF文件sql
- C# winform Socket大文件传输
- c#车牌识别系统附30张测试图片
- 《C#面向对象程序设计》源代码(CS)
- 金旭亮《C#面向对象程序设计》教案
- 试题库管理系统毕业论文(C#)源程序
- 学校网站原代码(C#.NET)
- C#-数据库操作技术-员工管理系统
- c#web开发入门经典
- C#与Matlab混合编程的几种方式
- c# 开发与 mysql数据库实现的增删改查
- C#异步操作 异步查询数据库 异步处理
- Basler相机通过IO触发源码
- [源代码] 《领域驱动设计 (C# 2008 实
- 松下PLC与C#通讯串口调试入门教程.z
- USB 继电器控制器 LCUS-1 保证能用 c#
- C# AES加密解密小工具
- C#圆形按钮,非常漂亮动态~~
- [精]C#仿QQ右下角弹出提示框()
- C#进程间通信-共享内存代码
- 有史以来最简单的三层(C#)
- vb调用c#编写的串口DLL文件(vb源码
评论
共有 条评论