2025-03-10 17:18:45 +08:00
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
1 ÿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
2 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ʵʱ<EFBFBD><EFBFBD><EFBFBD>Դ洢10<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD>ֹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵʱ
|
|
|
|
|
3 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>´ﶯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ʹ<EFBFBD><EFBFBD>
|
|
|
|
|
4 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD><EFBFBD>ֹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹOK<EFBFBD><EFBFBD>NGռ<EFBFBD><EFBFBD>ͬһ<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
namespace MCDLL_NET
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
/////
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public static class SolidMotionCardRetCode
|
|
|
|
|
//{
|
|
|
|
|
// public const int RetOK = 0;
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ֹͣģʽ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class AxisStopMode
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>ֹͣ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const int AxisStopIMD = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>ֹͣ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const int AxisStopDEC = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class CMCDLL_NET
|
|
|
|
|
{
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
/********************************************************************************************************************************************************************
|
2025-03-12 17:18:39 +08:00
|
|
|
|
0.1 <EFBFBD><EFBFBD><EFBFBD>ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD>ƿ<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Connection_Number"><3E><><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡֵ<C8A1><D6B5>[1,100]</param>
|
|
|
|
|
/// <param name="Station_Number"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>վ<EFBFBD>ţ<EFBFBD>[0,99]</param>
|
|
|
|
|
/// <param name="Station_Type"><3E><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD>ȡֵ<C8A1><D6B5>
|
|
|
|
|
/// 0: NIO0808R/NIO1616R/NIO2416
|
|
|
|
|
/// 1: NIO4832/NIO3232/NIO4000
|
|
|
|
|
/// 2: NMC1200R/NMC1400/NMC3400/NMC3401
|
|
|
|
|
/// 3: NMC5800/NMC5600R/NMC1800/NMC1600R
|
|
|
|
|
/// 4: NMC5120R/NMC5160
|
|
|
|
|
/// 5: LMC3400/LMC3100
|
|
|
|
|
/// 6: EIO0840
|
|
|
|
|
/// 7: NAD0804
|
|
|
|
|
/// 8: </param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Open_Net")]
|
|
|
|
|
public static extern short MCF_Open_Net(ushort Connection_Number, ref ushort Station_Number, ref ushort Station_Type);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20>ر<EFBFBD><D8B1>˶<EFBFBD><CBB6><EFBFBD><EFBFBD>ƿ<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Close_Net")]
|
|
|
|
|
public static extern short MCF_Close_Net();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1.2 <20><><EFBFBD>ӳ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD><EFBFBD>ᣬDO <20><><EFBFBD><EFBFBD> TimeOut_Output
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Time_1MS"><3E><><EFBFBD>ó<EFBFBD>ʱʱ<CAB1>䣻 <20><>Χ<EFBFBD><CEA7>[0,60000]<5D><></param>
|
|
|
|
|
/// <param name="TimeOut_Output"><3E><><EFBFBD>ó<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE></param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Link_TimeOut_Net")]
|
|
|
|
|
public static extern short MCF_Set_Link_TimeOut_Net(uint Time_1MS, uint TimeOut_Output, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1.3 <20><><EFBFBD>Ӽ<EFBFBD><D3BC>⺯<EFBFBD><E2BAAF>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Link_State_Net")]
|
2025-03-12 17:18:39 +08:00
|
|
|
|
public static extern short MCF_Get_Link_State_Net();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1.4 <20><><EFBFBD>粢<EFBFBD><E7B2A2>ģʽ<C4A3><CABD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Mode">Mode<64><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD> 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Switch_State_Net")]
|
|
|
|
|
public static extern short MCF_Set_Switch_State_Net(ushort Mode = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1.5 <20><><EFBFBD>粢<EFBFBD><E7B2A2>ģʽ<C4A3><CABD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Switch_State_Net")]
|
|
|
|
|
public static extern short MCF_Get_Switch_State_Net(ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
1 <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1.1 <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MCF_Open_Netǰ<74><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Init_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Init_Net(ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
2 ɸѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>رպ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Start_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Start_Net(ushort Mode = 0, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Close_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Close_Net(ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
3 <EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD>ߴ<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Max_Size"></param>
|
|
|
|
|
/// <param name="Min_Size"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Piece_Size_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Piece_Size_Net(uint Max_Size, uint Min_Size, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD>,<2C><>ȫʱ<C8AB><CAB1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Min_Distance"></param>
|
|
|
|
|
/// <param name="Min_Time_Intervel"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Piece_Place_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Piece_Place_Net(uint Min_Distance, uint Min_Time_Intervel, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>(Ĭ<>ϵ͵<CFB5>ƽ)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Logic"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Input_0_Logic_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Input_0_Logic_Net(ushort Bit_Input_Logic, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Input_1_Logic_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Input_1_Logic_Net(ushort Bit_Input_Logic, ushort StationNumber = 0);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϳ<EFBFBD>ʱֹͣ<CDA3><D6B9><EFBFBD>˶<EFBFBD>(Ĭ<><C4AC>ʱ<EFBFBD><CAB1>0,<2C><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) [0,60000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Time_1MS"></param>
|
|
|
|
|
/// <param name="TimeOut_Output"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Input_0_TimeOut_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Input_0_TimeOut_Net(uint Time_1MS, uint TimeOut_Output, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>OK<4F><4B>ʱֹͣ<CDA3><D6B9><EFBFBD>˶<EFBFBD>(Ĭ<><C4AC>ʱ<EFBFBD><CAB1>0,<2C><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) [0,60000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Time_1MS"></param>
|
|
|
|
|
/// <param name="TimeOut_Output"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_OK_TimeOut_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_OK_TimeOut_Net(uint Time_1MS, uint TimeOut_Output, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.6 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>NGֹͣ<CDA3><D6B9><EFBFBD>˶<EFBFBD>(Ĭ<><C4AC>ʱ<EFBFBD><CAB1>0,<2C><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) [0,60000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="NG_Number"></param>
|
|
|
|
|
/// <param name="NumberOut_Output"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_NG_NumberOut_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_NG_NumberOut_Net(uint NG_Number, uint NumberOut_Output, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//HMC3412S ר<><D7A8>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.7 <20><><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>OK<4F><4B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>Դ<EFBFBD><D4B4>ж<EFBFBD><D0B6>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͻ<EFBFBD>OK
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="Bit_Input_Logic"></param>
|
|
|
|
|
/// <param name="Input_Position"></param>
|
|
|
|
|
/// <param name="Piece_Size"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_OK_Error_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_OK_Error_Net(ushort Bit_Input_Number, ushort Bit_Input_Logic, int Input_Position, uint Piece_Size, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Error_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Blow_OK_Error_Number_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Blow_OK_Error_Number_Net(ref uint Error_Number, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
0.4 ɸѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD>⣺<EFBFBD><E2A3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ<EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>Ծ<EFBFBD><D4BE><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Camera_Number"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>Χ<EFBFBD><CEA7>1-8</param>
|
|
|
|
|
/// <param name="Camera_Position"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>壻</param>
|
|
|
|
|
/// <param name="Motion_Dir">ת<><D7AA><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>棨<EFBFBD><E6A3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Action_Mode"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㴥<EFBFBD><E3B4A5>ģʽ</param>
|
|
|
|
|
/// <param name="Action_IO"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Net(ushort Camera_Number, int Camera_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Blow_OK_Position"></param>
|
|
|
|
|
/// <param name="Motion_Dir"></param>
|
|
|
|
|
/// <param name="Action_Mode"></param>
|
|
|
|
|
/// <param name="Action_IO"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_OK_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_OK_Net(int Blow_OK_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_NG_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_NG_Net(int Blow_NG_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_1_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_1_Net(int Blow_1_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_2_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_2_Net(int Blow_2_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
//HMC3412S ר<><D7A8>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_3_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_3_Net(int Blow_3_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_4_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_4_Net(int Blow_4_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_5_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_5_Net(int Blow_5_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Blow_6_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Blow_6_Net(int Blow_6_Position, ushort Motion_Dir, ushort Action_Mode, ushort Action_IO, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
0.5 ɸѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Piece_Pass_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Piece_Pass_Net(ushort Piece_Input_Number, ref uint Piece_Pass, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DIO0 ɸѡ״̬<D7B4><CCAC><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Piece_Input_Number"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˿ںţ<DABA>Ŀǰֻ<C7B0><D6BB>һ·<D2BB><C2B7>ȡֵ<C8A1><D6B5>0</param>
|
|
|
|
|
/// <param name="Piece_Find"><3E><><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>ͳ<EFBFBD><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Piece_Size"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 10 <20><><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Piece_Distance_To_next"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>࣬<EFBFBD><E0A3AC><EFBFBD><EFBFBD> 10 <20><><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Piece_Cross_Camera"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Piece_State_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Piece_State_Net(ushort Piece_Input_Number, ref uint Piece_Find, ref uint Piece_Size, ref uint Piece_Distance_To_next, ref uint Piece_Cross_Camera, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD>ƿ<EFBFBD><C6BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>պ<EFBFBD>,<2C><>ʱ<EFBFBD><CAB1><EFBFBD>ٺ<EFBFBD><D9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1,һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ƿ<EFBFBD><C6BF>Ӵ<EFBFBD><D3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ʱ<EFBFBD><CAB1>,
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Camera_Number"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Delay_Camera_Count_MS"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>ʾʱ<CABE>䣬<EFBFBD><E4A3AC>λ<EFBFBD><CEBB>ms</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Camera_Delay_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Camera_Delay_Count_Net(ushort Camera_Number, double Delay_Camera_Count_MS, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD>жϿ<D0B6><CFBF>ƿ<EFBFBD><C6BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><D5BC><EFBFBD>,ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>Ŀ<EFBFBD><C4BF>ƿ<EFBFBD><C6BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><D5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫһһ<D2BB><D2BB>Ӧ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊͼ<CEAA><CDBC><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>©<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Camera_Number"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Trig_Camera_Count"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Camera_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Camera_Count_Net(ushort Camera_Number, ref uint Trig_Camera_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ NG <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count">NG <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_NG_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_NG_Count_Net(ref uint Trig_Blow_NG_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ OK <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count">OK <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_OK_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_OK_Count_Net(ref uint Trig_Blow_OK_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_1_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_1_Count_Net(ref uint Trig_Blow_1_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_2_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_2_Count_Net(ref uint Trig_Blow_2_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_3_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_3_Count_Net(ref uint Trig_Blow_3_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_4_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_4_Count_Net(ref uint Trig_Blow_4_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_5_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_5_Count_Net(ref uint Trig_Blow_5_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> 6 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Trig_Blow_NG_Count"><3E><><EFBFBD><EFBFBD> 6 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Trig_Blow_6_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Trig_Blow_6_Count_Net(ref uint Trig_Blow_6_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
2025-03-18 14:20:11 +08:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><EFBFBD>ᱻ<EFBFBD>ж<EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-03-12 17:18:39 +08:00
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Lose_Blow_NG_Count"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Lose_Blow_NG_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Lose_Blow_NG_Count_Net(ref uint Lose_Blow_NG_Count, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Get_Lose_Blow_OK_Count_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Get_Lose_Blow_OK_Count_Net(ref uint Lose_Blow_OK_Count, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
0.6 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ0<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>ۺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_OK_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_OK_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_NG_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_NG_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_1_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_1_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_2_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_2_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_3_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_3_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_4_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_4_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_5_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_5_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Trig_Blow_6_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Trig_Blow_6_Net(uint Piece_Number, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
0.7 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ1<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ֱ<EFBFBD>ӷ<EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƿ<EFBFBD><EFBFBD>Զ<EFBFBD><EFBFBD>ۺϽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽǰ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> MCF_Sorting_Set_Trig_Camera_Delay_Count_Net <20><><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><D5BC><EFBFBD><EFBFBD><EFBFBD>ʱ,
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Camera_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
//
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Result_OK_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Result_OK_Net(ushort Camera_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Result_NG_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Result_NG_Net(ushort Camera_Number, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
0.8 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ2<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƿ<EFBFBD>ͨ<EFBFBD><EFBFBD>IO<EFBFBD>ۺϽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,ȫ<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>Ӳ<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD>,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PLC
|
|
|
|
|
********************************************************************************************************************************************************************/
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0,500]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Camera_Number"></param>
|
|
|
|
|
/// <param name="Wait_Time_MS"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Result_Wait_Time_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Result_Wait_Time_Net(ushort Camera_Number, double Wait_Time_MS, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Result_Input_OK_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Result_Input_OK_Net(ushort Camera_Number, ushort Input_Number, ushort Logic, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Sorting_Set_Camera_Result_Input_NG_Net")]
|
|
|
|
|
public static extern short MCF_Sorting_Set_Camera_Result_Input_NG_Net(ushort Camera_Number, ushort Input_Number, ushort Logic, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
2 ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.1 ͨ<><CDA8>IOȫ<4F><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [OUT31,OUT0] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="All_Output_Logic"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Output_Net")]
|
|
|
|
|
public static extern short MCF_Set_Output_Net(uint All_Output_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡͨ<C8A1><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> I/O <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="All_Output_Logic"><3E><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> DO00-DO31 <20><>ƽ״̬</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Output_Net")]
|
|
|
|
|
public static extern short MCF_Get_Output_Net(ref uint All_Output_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.2 <20><>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> I/O <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Output_Number">ѡ<><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IO <20><>λ<EFBFBD><CEBB> <20><>Χ<EFBFBD><CEA7>DO00-DO39</param>
|
|
|
|
|
/// <param name="Bit_Output_Logic"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IO <20>ڵ<EFBFBD>ƽ</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Output_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Set_Output_Bit_Net(ushort Bit_Output_Number, ushort Bit_Output_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Output_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Output_Bit_Net(ushort Bit_Output_Number, ref ushort Bit_Output_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.3 ͨ<><CDA8>IO<49><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>亯<EFBFBD><E4BAAF> <09>궨<EFBFBD><EAB6A8>2.3.1 <20>궨<EFBFBD><EAB6A8>2.3.2 [0,65535] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Output_Number"></param>
|
|
|
|
|
/// <param name="Bit_Output_Logic"></param>
|
|
|
|
|
/// <param name="Output_Time_1MS"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Output_Time_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Set_Output_Time_Bit_Net(ushort Bit_Output_Number, ushort Bit_Output_Logic, ushort Output_Time_1MS, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ͨ<><CDA8>IO<49><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>亯<EFBFBD><E4BAAF> <09>궨<EFBFBD><EAB6A8>2.3.1 [0,1000] [-2^31,(2^31-1)] [0,65535]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Compare_Output_Number"></param>
|
|
|
|
|
/// <param name="Compare_Output_1MS"></param>
|
|
|
|
|
/// <param name="Compare_dDist"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Compare_Output_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Set_Compare_Output_Bit_Net(ushort Compare_Output_Number, ushort Compare_Output_1MS, ushort Compare_dDist, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.4 <20><>ȡͨ<C8A1><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> I/O <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="All_Input_Logic1"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IO <20><> DI00 - DI31 <20>ĵ<EFBFBD>ƽ״̬</param>
|
|
|
|
|
/// <param name="All_Input_Logic2"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IO <20><> DI32 - DI47 <20>ĵ<EFBFBD>ƽ״̬</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Input_Net")]
|
|
|
|
|
public static extern short MCF_Get_Input_Net(ref uint All_Input_Logic1, ref uint All_Input_Logic2, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.5 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD>뺯<EFBFBD><EBBAAF> <09>궨<EFBFBD><EAB6A8>2.4.1 <20>궨<EFBFBD><EAB6A8>2.4.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="Bit_Input_Logic"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Input_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Input_Bit_Net(ushort Bit_Input_Number, ref ushort Bit_Input_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.6 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8>ٲ<EFBFBD><D9B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [Bit_Input_0,Bit_Input_3] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Input_Fall_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Input_Fall_Bit_Net(ushort Bit_Input_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.7 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8>ٲ<EFBFBD><D9B2><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> [Bit_Input_0,Bit_Input_3] <20>궨<EFBFBD><EAB6A8>2.7 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="Bit_Input_Fall"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Input_Fall_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Input_Fall_Bit_Net(ushort Bit_Input_Number, ref ushort Bit_Input_Fall, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.9 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8>ټ<EFBFBD><D9BC><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> [Bit_Input_0,Bit_Input_1] [0,(2^32-1)] 10<31><30><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="Input_Count_Fall"></param>
|
|
|
|
|
/// <param name="Lock_Data_Buffer"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>&Array[10] [0,99]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Input_Fall_Count_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Input_Fall_Count_Bit_Net(ushort Bit_Input_Number, ref uint Input_Count_Fall, ref uint Lock_Data_Buffer, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2.10 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汣<EFBFBD><E6B1A3>(<28><><EFBFBD><EFBFBD>10<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><EFBFBD><F2BFAABA><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MCF_Open_Netǰ<74><C7B0><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Lock_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Open_Input_Lock_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Open_Input_Lock_Bit_Net(ushort Lock_Mode = 0, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
//2.11 ͨ<><CDA8>IO<49><4F>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>˲<EFBFBD><CBB2><EFBFBD><EFBFBD><EFBFBD> [Bit_Input_0,Bit_Input_1] [1,100]MS [0,99]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Input_Filter_Time_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Set_Input_Filter_Time_Bit_Net(ushort Bit_Input_Number, uint Filter_Time_1MS, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
3 <EFBFBD><EFBFBD>ר<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.1 <20>ŷ<EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="Servo_Logic"><3E>ŷ<EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>ȡֵ<C8A1><D6B5>Χ<EFBFBD><CEA7><see cref="XKRS.Common.Model.SolidMotionCard.ServoLogic"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Servo_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Set_Servo_Enable_Net(ushort Axis, ushort Servo_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Servo_Logic"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Servo_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Get_Servo_Enable_Net(ushort Axis, ref ushort Servo_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.2 <20><><EFBFBD><EFBFBD><EFBFBD>ŷ<EFBFBD><C5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="Alarm_Logic"><3E><><EFBFBD>ø<EFBFBD>λ<EFBFBD><CEBB>ƽ<EFBFBD><C6BD><see cref="XKRS.Common.Model.SolidMotionCard.AlarmLogic"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Servo_Alarm_Reset_Net")]
|
|
|
|
|
public static extern short MCF_Set_Servo_Alarm_Reset_Net(ushort Axis, ushort Alarm_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Servo_Alarm_Reset_Net")]
|
|
|
|
|
public static extern short MCF_Get_Servo_Alarm_Reset_Net(ushort Axis, ref ushort Alarm_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.3 <20>ŷ<EFBFBD><C5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Servo_Alarm_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Servo_Alarm_Net")]
|
|
|
|
|
public static extern short MCF_Get_Servo_Alarm_Net(ushort Axis, ref ushort Servo_Alarm_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.4 <20>ŷ<EFBFBD><C5B7><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>3.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Servo_INP_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Servo_INP_Net")]
|
|
|
|
|
public static extern short MCF_Get_Servo_INP_Net(ushort Axis, ref ushort Servo_INP_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>3.5 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Z_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Z_Net")]
|
|
|
|
|
public static extern short MCF_Get_Z_Net(ushort Axis, ref ushort Z_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.6 ԭ<><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>3.6 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Home_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Net(ushort Axis, ref ushort Home_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.7 <20><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>3.7 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Positive_Limit_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Positive_Limit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Positive_Limit_Net(ushort Axis, ref ushort Positive_Limit_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.8 <20><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>3.8 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Negative_Limit_State"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Negative_Limit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Negative_Limit_Net(ushort Axis, ref ushort Negative_Limit_State, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
4 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 4.1 <20><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="Pulse_Mode"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD>ȡֵ<C8A1><D6B5><see cref="XKRS.Common.Model.SolidMotionCard.PulseMode"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Pulse_Mode_Net")]
|
|
|
|
|
public static extern short MCF_Set_Pulse_Mode_Net(ushort Axis, uint Pulse_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Pulse_Mode_Net")]
|
|
|
|
|
public static extern short MCF_Get_Pulse_Mode_Net(ushort Axis, ref uint Pulse_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 4.2 λ<><CEBB><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Position"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Position_Net")]
|
|
|
|
|
public static extern short MCF_Set_Position_Net(ushort Axis, int Position, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Position_Net")]
|
|
|
|
|
public static extern short MCF_Get_Position_Net(ushort Axis, ref int Position, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 4.3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Encoder"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Set_Encoder_Net(ushort Axis, int Encoder, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Get_Encoder_Net(ushort Axis, ref int Encoder, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 4.4 <20><>ȡʵʱ<CAB5><CAB1><EFBFBD><EFBFBD><EFBFBD>ٶȺ<D9B6>ʵ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="Command_Vel"><3E><>ȡʵʱ<CAB5><CAB1><EFBFBD><EFBFBD><EFBFBD>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/s</param>
|
|
|
|
|
/// <param name="Encode_Vel"><3E><>ȡʵʱ<CAB5><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/s</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Vel_Net")]
|
|
|
|
|
public static extern short MCF_Get_Vel_Net(ushort Axis, ref double Command_Vel, ref double Encode_Vel, ushort StationNumber = 0);
|
|
|
|
|
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
5 <EFBFBD><EFBFBD>Ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ<EFBFBD>˶<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.1 5.1 ͨ<><CDA8>IO<49><4F><EFBFBD>븴<EFBFBD>ã<EFBFBD><C3A3><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>2.4.1 <20>궨<EFBFBD><EAB6A8>5.1 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="EMG_Input_Number"></param>
|
|
|
|
|
/// <param name="EMG_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_EMG_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Set_EMG_Bit_Net(ushort EMG_Input_Number, ushort EMG_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_EMG_Output_Net")]
|
|
|
|
|
public static extern short MCF_Set_EMG_Output_Net(ushort EMG_Input_Number, ushort EMG_Mode, uint EMG_Output, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ͨ<><CDA8>IO<49><4F><EFBFBD>븴<EFBFBD>ã<EFBFBD><C3A3><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>ֹͣ [0,3] <20>궨<EFBFBD><EAB6A8>0.0 [Bit_Input_0,Bit_Input_15] <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Input_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_Input_Trigger_Net(ushort Channel, ushort Axis, ushort Bit_Input_Number, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Input_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_Input_Trigger_Net(ushort Channel, ref ushort Axis, ref ushort Bit_Input_Number, ref uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,2^31]P > [-2^31,2^31]P [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Positive_Position"></param>
|
|
|
|
|
/// <param name="Negative_Position"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Soft_Limit_Net")]
|
|
|
|
|
public static extern short MCF_Set_Soft_Limit_Net(ushort Axis, int Positive_Position, int Negative_Position, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Soft_Limit_Net")]
|
|
|
|
|
public static extern short MCF_Get_Soft_Limit_Net(ushort Axis, ref int Positive_Position, ref int Negative_Position, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD>غ<EFBFBD><D8BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Soft_Limit_Enable"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Soft_Limit_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Set_Soft_Limit_Enable_Net(ushort Axis, uint Soft_Limit_Enable, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Soft_Limit_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Get_Soft_Limit_Enable_Net(ushort Axis, ref uint Soft_Limit_Enable, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.4 <20>ŷ<EFBFBD><C5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Alarm_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_Alarm_Trigger_Net(ushort Axis, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Alarm_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_Alarm_Trigger_Net(ushort Axis, ref uint Trigger_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.5 Index<65><78><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Index_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_Index_Trigger_Net(ushort Axis, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Index_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_Index_Trigger_Net(ushort Axis, ref uint Trigger_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.6 ԭ<>㴥<EFBFBD><E3B4A5><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Home_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_Home_Trigger_Net(ushort Axis, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Trigger_Net(ushort Axis, ref uint Trigger_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.7 <20><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_ELP_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_ELP_Trigger_Net(ushort Axis, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_ELP_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_ELP_Trigger_Net(ushort Axis, ref uint Trigger_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.8 <20><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>5.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Trigger_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_ELN_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Set_ELN_Trigger_Net(ushort Axis, uint Trigger_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_ELN_Trigger_Net")]
|
|
|
|
|
public static extern short MCF_Get_ELN_Trigger_Net(ushort Axis, ref uint Trigger_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.9 ԭ<>㴥<EFBFBD><E3B4A5>λ<EFBFBD>ü<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Position"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Rise_Position_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Rise_Position_Net(ushort Axis, ref int Position, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Fall_Position_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Fall_Position_Net(ushort Axis, ref int Position, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Rise_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Rise_Encoder_Net(ushort Axis, ref int Encoder, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Home_Fall_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Get_Home_Fall_Encoder_Net(ushort Axis, ref int Encoder, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.10 <20><>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Axis_State_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Axis_State_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 5.11 <20><>״̬<D7B4><CCAC><EFBFBD><EFBFBD>ֹͣ<CDA3>˶<EFBFBD><CBB6><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="Reason">
|
|
|
|
|
/// <para>0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>гɹ<D0B3></para>
|
|
|
|
|
/// <para>1 <20><><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> </para>
|
|
|
|
|
/// <para>2 EMG <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>3 EMG <20><><EFBFBD>ٽ<EFBFBD><D9BD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>4 ALM <20><><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>5 ALM <20><><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>6 <20>ŷ<EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>7 <20>ŷ<EFBFBD>ʹ<EFBFBD>ܼ<EFBFBD><DCBC><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>8 ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>9 ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>10 Index <20><><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>11 Index <20><><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>12 ԭ<><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>13 ԭ<><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>14 <20><>Ӳ<EFBFBD><D3B2>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>15 <20><>Ӳ<EFBFBD><D3B2>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>16 <20><>Ӳ<EFBFBD><D3B2>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>17 <20><>Ӳ<EFBFBD><D3B2>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>18 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>19 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>20 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>21 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>22 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>23 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>24 <20><><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>25 <20><><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>26 δ֪ԭ<D6AA><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>27 δ֪ԭ<D6AA><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ </para>
|
|
|
|
|
/// <para>28 <20>ⲿ IO <20><><EFBFBD><EFBFBD>ֹͣ</param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Axis_State_Net")]
|
|
|
|
|
public static extern short MCF_Get_Axis_State_Net(ushort Axis, ref short Reason, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
6 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD>㺯<EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.1 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [1,35] <20>궨<EFBFBD><EAB6A8>6.1.1 <20>궨<EFBFBD><EAB6A8>6.1.2 <20>궨<EFBFBD><EAB6A8>6.1.3 (0,10M]P/S (0,10M]P/S [-2^31,(2^31-1)] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Search_Home_Mode"><3E><><EFBFBD>㷽ʽ<E3B7BD><CABD><EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD>㷽ʽ<see cref="XKRS.Common.Model.GoHomeMode"/><3E><>ȡֵ<C8A1><D6B5>1 ~ 35</param>
|
|
|
|
|
/// <param name="Limit_Logic"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><see cref="XKRS.Common.Model.SolidMotionCard.LimitLogic"/></param>
|
|
|
|
|
/// <param name="Home_Logic">ԭ<><D4AD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><see cref="XKRS.Common.Model.SolidMotionCard.HomeLogic"</param>
|
|
|
|
|
/// <param name="Index_Logic">Index <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><see cref="XKRS.Common.Model.SolidMotionCard.IndexLogic"</param>
|
|
|
|
|
/// <param name="H_dMaxV"><3E><><EFBFBD>ٶ<EFBFBD><D9B6>ٶ<EFBFBD></param>
|
|
|
|
|
/// <param name="L_dMaxV"><3E><><EFBFBD>ٶ<EFBFBD><D9B6>ٶ<EFBFBD></param>
|
|
|
|
|
/// <param name="Offset_Position">ƫ<><C6AB>λ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽͼʾ<CDBC><CABE>ͷָʾ<D6B8><CABE><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB></param>
|
|
|
|
|
/// <param name="Trigger_Source"><3E><>λ<D7BD><CEBB>ģʽ<C4A3><CABD>0<EFBFBD><30>ָ<EFBFBD><D6B8>λ<EFBFBD>ã<EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Set_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Set_Net(ushort Axis, ushort Search_Home_Mode, ushort Limit_Logic, ushort Home_Logic, ushort Index_Logic, double H_dMaxV, double L_dMaxV, int Offset_Position, ushort Trigger_Source, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.2 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Start_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Start_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.3 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD>ֹͣ <20>궨<EFBFBD><EAB6A8>0.0 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Stop_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Stop_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.4 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>״̬
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Home_State"><3E><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><see cref="XKRS.Common.Model.SolidMotionCard.SearchHomeState"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Get_State_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Get_State_Net(ushort Axis, ref ushort Home_State, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.5 <20><><EFBFBD>û<EFBFBD><C3BB>㻺ͣʱ<CDA3><CAB1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Stop_Time"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣʱ<CDA3>䣻 <20><>Χ 0 -1000ms<6D><73><EFBFBD><EFBFBD>Ĭ<EFBFBD>ϣ<EFBFBD><CFA3><EFBFBD>ͣ<EFBFBD><CDA3>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// ע<>⣺<EFBFBD><E2A3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײԭ<D7B2>㻺ͣʱ<CDA3>䣬<EFBFBD><E4A3AC>Ҫ<EFBFBD><D2AA><EFBFBD>ϻ<EFBFBD><CFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õĸ<C3B5><C4B8>ٶ<EFBFBD><D9B6>ٶȣ<D9B6><C8A3>͵<EFBFBD><CDB5>ٶ<EFBFBD><D9B6>ٶȵĴ<C8B5><C4B4><EFBFBD>
|
|
|
|
|
/// <20><><EFBFBD>ô<EFBFBD><C3B4>˻<EFBFBD><CBBB><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1>ֹͣ<CDA3><D6B9>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>ʱ<EFBFBD>䣬<EFBFBD><E4A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD>ԭ<EFBFBD><D4AD>ʱ<EFBFBD><CAB1><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD><EFBFBD>м<EFBFBD> </param>
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Stop_Time_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Stop_Time_Net(ushort Axis, ushort Stop_Time, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.6 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<C9BA>λ<EFBFBD><CEBB>ֵ <20>궨<EFBFBD><EAB6A8>0.0 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Keep_Position_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Keep_Position_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.7 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺֱ<F3B1A3B3><D6B1><EFBFBD><EFBFBD><EFBFBD>ֵ <20>궨<EFBFBD><EAB6A8>0.0 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Keep_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Keep_Encoder_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 6.8 <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>뿪<EFBFBD>ٶ<EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="M_dMaxV"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Search_Home_Leave_Vel_Net")]
|
|
|
|
|
public static extern short MCF_Search_Home_Leave_Vel_Net(ushort Axis, double M_dMaxV, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
7 <EFBFBD><EFBFBD>λ<EFBFBD>˶<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.1 <20>ٶȿ<D9B6><C8BF>ƺ<EFBFBD><C6BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 (0,10M]P/S (0,1T]P^2/S [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dMaxV"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_JOG_Net")]
|
|
|
|
|
public static extern short MCF_JOG_Net(ushort Axis, double dMaxV, double dMaxA, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.2 <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>λ<EFBFBD>øı亯<C4B1><E4BAAF> <09>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dDist"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Uniaxial_dDist_Change_Net")]
|
|
|
|
|
public static extern short MCF_Uniaxial_dDist_Change_Net(ushort Axis, int dDist, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.3 <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6>ٶȸı亯<C4B1><E4BAAF> <09>궨<EFBFBD><EAB6A8>0.0 (0,10M]P/S [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dMaxV"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Uniaxial_dMaxV_Change_Net")]
|
|
|
|
|
public static extern short MCF_Uniaxial_dMaxV_Change_Net(ushort Axis, double dMaxV, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Uniaxial_dMaxA_Change_Net")]
|
|
|
|
|
public static extern short MCF_Uniaxial_dMaxA_Change_Net(ushort Axis, double dMaxA, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="dV_ini"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯<EFBFBD><E3B6AF><EFBFBD><EFBFBD><EFBFBD>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB>pulse/s<><73>ȡֵ<C8A1><D6B5>dMaxV > dV_ini >= 0</param>
|
|
|
|
|
/// <param name="dMaxV"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯Ŀ<E3B6AF><C4BF><EFBFBD>ٶ<EFBFBD>, <20><>λ<EFBFBD><CEBB>pulse/s<><73>ȡֵ<C8A1><D6B5>dMaxV > 0</param>
|
|
|
|
|
/// <param name="dMaxA"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯<EFBFBD><E3B6AF><EFBFBD>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB>pulse/s*s<><73>ȡֵ<C8A1><D6B5>dMaxA > 0</param>
|
|
|
|
|
/// <param name="dJerk"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯<EFBFBD>Ӽ<EFBFBD><D3BC>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB>pulse/s*s*s<><73>ȡֵ<C8A1><D6B5>dJerk > 0</param>
|
|
|
|
|
/// <param name="dV_end"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯<EFBFBD><E3B6AF>ֹ<EFBFBD>ٶȣ<D9B6><C8A3><EFBFBD>λ<EFBFBD><CEBB>pulse/s<><73>ȡֵ<C8A1><D6B5>dMaxV > dV_end >= 0</param>
|
|
|
|
|
/// <param name="Profile"><3E><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>㶯<EFBFBD><E3B6AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD>ȡֵ<C8A1><D6B5><see cref="XKRS.Common.Model.SolidMotionCard.Profile"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Axis_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Set_Axis_Profile_Net(ushort Axis, double dV_ini, double dMaxV, double dMaxA, double dJerk, double dV_end, ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Axis_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Get_Axis_Profile_Net(ushort Axis, ref double dV_ini, ref double dMaxV, ref double dMaxA, ref double dJerk, ref double dV_end, ref ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis">ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>ȡֵ<C8A1><D6B5>0-Axis_MAX</param>
|
|
|
|
|
/// <param name="dDist"><3E><><EFBFBD>õ㶯Ŀ<E3B6AF><C4BF>λ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD></param>
|
|
|
|
|
/// <param name="Position_Mode"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD>ȡֵ<C8A1><D6B5><see cref="XKRS.Common.Model.SolidMotionCard.PositionMode"/></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Uniaxial_Net")]
|
|
|
|
|
public static extern short MCF_Uniaxial_Net(ushort Axis, int dDist, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.6 <20><><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0 (0,1T]P^2/S (0,100T]P^3/S <20>궨<EFBFBD><EAB6A8>0.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="dJerk"></param>
|
|
|
|
|
/// <param name="Profile"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Axis_Stop_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Set_Axis_Stop_Profile_Net(ushort Axis, double dMaxA, double dJerk, ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Axis_Stop_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Get_Axis_Stop_Profile_Net(ushort Axis, ref double dMaxA, ref double dJerk, ref ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.7 <20><>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>7.7 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Axis_Stop_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Axis_Stop_Net")]
|
|
|
|
|
public static extern short MCF_Axis_Stop_Net(ushort Axis, ushort Axis_Stop_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 7.8 <20><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6>ı<EFBFBD><C4B1><EFBFBD><EFBFBD>ں<EFBFBD><DABA><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0 [1,1000]MS [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Cycle"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Uniaxial_Cycle_Change_Net")]
|
|
|
|
|
public static extern short MCF_Uniaxial_Cycle_Change_Net(ushort Axis, ushort Cycle, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
8 <EFBFBD>岹<EFBFBD>˶<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.1 <20><><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 [0,dMaxV] (0,10M]P/S (0,1T]P^2/S (0,100T]P^3/S [0,dMaxV] <20>궨<EFBFBD><EAB6A8>0.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="dV_ini"></param>
|
|
|
|
|
/// <param name="dMaxV"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="dJerk"></param>
|
|
|
|
|
/// <param name="dV_end"></param>
|
|
|
|
|
/// <param name="Profile"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Coordinate_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Set_Coordinate_Profile_Net(ushort Coordinate, double dV_ini, double dMaxV, double dMaxA, double dJerk, double dV_end, ushort Profile, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Coordinate_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Get_Coordinate_Profile_Net(ushort Coordinate, ref double dV_ini, ref double dMaxV, ref double dMaxA, ref double dJerk, ref double dV_end, ref ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.2 Բ<>뾶<EFBFBD>岹<EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Arc_Radius"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Arc2_Radius_Net")]
|
|
|
|
|
public static extern short MCF_Arc2_Radius_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, int Arc_Radius, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.3 ԲԲ<D4B2>IJ岹<C4B2>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Center_List"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Arc2_Centre_Net")]
|
|
|
|
|
public static extern short MCF_Arc2_Centre_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, ref int Center_List, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.4 ֱ<>߲岹<DFB2>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Line2_Net")]
|
|
|
|
|
public static extern short MCF_Line2_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Line3_Net")]
|
|
|
|
|
public static extern short MCF_Line3_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Line4_Net")]
|
|
|
|
|
public static extern short MCF_Line4_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.5 <20><><EFBFBD><EFBFBD>ϵֹͣ<CDA3><D6B9><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 (0,1T]P^2/S (0,100T]P^3/S <20>궨<EFBFBD><EAB6A8>0.4
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="dJerk"></param>
|
|
|
|
|
/// <param name="Profile"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Coordinate_Stop_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Set_Coordinate_Stop_Profile_Net(ushort Coordinate, double dMaxA, double dJerk, ushort Profile, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Coordinate_Stop_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Get_Coordinate_Stop_Profile_Net(ushort Coordinate, ref double dMaxA, ref double dJerk, ref ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.6 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD>뾶<EFBFBD>岹<EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Arc_Radius"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Screw3_Radius_Net")]
|
|
|
|
|
public static extern short MCF_Screw3_Radius_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, int Arc_Radius, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.7 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԲԲ<D4B2>IJ岹<C4B2>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Center_List"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Screw3_Centre_Net")]
|
|
|
|
|
public static extern short MCF_Screw3_Centre_Net(ushort Coordinate, ref ushort Axis_List, ref int dDist_List, ref int Center_List, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 8.8 <20><><EFBFBD><EFBFBD>ϵֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.1 <20>궨<EFBFBD><EAB6A8>5.6 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Coordinate"></param>
|
|
|
|
|
/// <param name="Coordinate_Stop_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Coordinate_Stop_Net")]
|
|
|
|
|
public static extern short MCF_Coordinate_Stop_Net(ushort Coordinate, ushort Coordinate_Stop_Mode, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
9 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 (0,1T]P^2/S (0,100T]P^3/S <20>궨<EFBFBD><EAB6A8>0.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="dJerk"></param>
|
|
|
|
|
/// <param name="Profile"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Set_Stop_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Set_Stop_Profile_Net(ushort Buffer_Number, double dMaxA, double dJerk, ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>9.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Buffer_Stop_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Stop_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Stop_Net(ushort Buffer_Number, ushort Buffer_Stop_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߸ı<DFB8><C4B1>ٶȱ<D9B6><C8B1><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 (0,10] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Velocity_Ratio"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Change_Velocity_Ratio_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Change_Velocity_Ratio_Net(ushort Buffer_Number, double Velocity_Ratio, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Start_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Start_Net(ushort Buffer_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶȱ<D9B6><C8B1><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>9.5 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Velocity_Ratio_Enable"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Set_Velocity_Ratio_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Set_Velocity_Ratio_Enable_Net(ushort Buffer_Number, ushort Velocity_Ratio_Enable = 0, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.6 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰհ<C7B0><D5B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٱ<EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 (0,1] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Reduce_Ratio"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Set_Reduce_Ratio_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Set_Reduce_Ratio_Net(ushort Buffer_Number, double Reduce_Ratio = 1.0, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.7 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 [0,dMaxV] (0,10M]P/S (0,1T]P^2/S (0,100T]P^3/S [0,dMaxV] <20>궨<EFBFBD><EAB6A8>0.4 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="dV_ini"></param>
|
|
|
|
|
/// <param name="dMaxV"></param>
|
|
|
|
|
/// <param name="dMaxA"></param>
|
|
|
|
|
/// <param name="dJerk"></param>
|
|
|
|
|
/// <param name="dV_end"></param>
|
|
|
|
|
/// <param name="Profile"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Set_Profile_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Set_Profile_Net(ushort Buffer_Number, double dV_ini, double dMaxV, double dMaxA, double dJerk, double dV_end, ushort Profile, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.8 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dDist"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Uniaxial_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Uniaxial_Net(ushort Buffer_Number, ushort Axis, int dDist, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC><EFBFBD><EFBFBD><EFBFBD>溯<EFBFBD><E6BAAF>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dDist"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Sync_Follow_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Sync_Follow_Net(ushort Buffer_Number, ushort Axis, int dDist, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.9 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>߲岹<DFB2>˶<EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Line2_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Line2_Net(ushort Buffer_Number, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Line3_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Line3_Net(ushort Buffer_Number, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Line4_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Line4_Net(ushort Buffer_Number, ref ushort Axis_List, ref int dDist_List, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.10 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>Բ<EFBFBD>뾶<EFBFBD>岹<EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Arc_Radius"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Arc_Radius_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Arc_Radius_Net(ushort Buffer_Number, ref ushort Axis_List, ref int dDist_List, int Arc_Radius, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.11 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ԲԲ<D4B2>IJ岹<C4B2>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [-2^31,(2^31-1)] <20>궨<EFBFBD><EAB6A8>0.5 <20>궨<EFBFBD><EAB6A8>0.3 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Axis_List"></param>
|
|
|
|
|
/// <param name="dDist_List"></param>
|
|
|
|
|
/// <param name="Center_List"></param>
|
|
|
|
|
/// <param name="Direction"></param>
|
|
|
|
|
/// <param name="Position_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Arc_Centre_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Arc_Centre_Net(ushort Buffer_Number, ref ushort Axis_List, ref int dDist_List, ref int Center_List, ushort Direction, ushort Position_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.12 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 [0,2^31-1] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Delay_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Delay_Net(ushort Buffer_Number, uint number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.13 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IO<49><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>2.3.1 <20>궨<EFBFBD><EAB6A8>2.3.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Bit_Number"></param>
|
|
|
|
|
/// <param name="output"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Set_Output_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Set_Output_Bit_Net(ushort Buffer_Number, ushort Bit_Number, ushort output, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.14 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IO<49>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>2.4.1 <20>궨<EFBFBD><EAB6A8>2.4.2 (0,2^15-1] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Bit_Number"></param>
|
|
|
|
|
/// <param name="Logic"></param>
|
|
|
|
|
/// <param name="Time_Out"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Wait_Input_Bit_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Wait_Input_Bit_Net(ushort Buffer_Number, ushort Bit_Number, ushort Logic, ushort Time_Out, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.15 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_End_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_End_Net(ushort Buffer_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.16 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>к<EFBFBD><D0BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 <20>궨<EFBFBD><EAB6A8>9.16 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Execute_Mode"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Execute_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Execute_Net(ushort Buffer_Number, ushort Execute_Mode, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.17 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Execute_BreakPoint_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Execute_BreakPoint_Net(ushort Buffer_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.18 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.2 MC_Retrun.h{0,29,30} [0,2^15-1]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Execute_State"></param>
|
|
|
|
|
/// <param name="Execute_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Get_State_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Get_State_Net(ushort Buffer_Number, ref ushort Execute_State, ref ushort Execute_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.19 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD>ɲ<EFBFBD><C9B2><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ռ<EFBFBD><D5BC>ٷֱȲ<D6B1>ѯ <20>궨<EFBFBD><EAB6A8>0.2 [0,100]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Remainder_Space_Ratio"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Get_Remainder_Space_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Get_Remainder_Space_Net(ushort Buffer_Number, ref ushort Remainder_Space_Ratio, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.20 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>Ͽռ<CFBF>) <20>궨<EFBFBD><EAB6A8>0.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Insert_Start_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Insert_Start_Net(ushort Buffer_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.22 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Insert_End_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Insert_End_Net(ushort Buffer_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 9.23 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ռ<EFBFBD>õĿռ<C4BF><D5BC>ٷֱ<D9B7> <20>궨<EFBFBD><EAB6A8>0.2 [0,100] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Buffer_Number"></param>
|
|
|
|
|
/// <param name="Occupy_Space_Ratio"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
// <20><>MCF_Buffer_Start_Net<65><74><EFBFBD><EFBFBD>MCF_Buffer_Insert_Start_Net<65><74><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>0<EFBFBD><30><EFBFBD><EFBFBD>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Buffer_Count_Occupy_Space_Net")]
|
|
|
|
|
public static extern short MCF_Buffer_Count_Occupy_Space_Net(ushort Buffer_Number, ref ushort Occupy_Space_Ratio, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
10 ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>10K<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.1 <20><><EFBFBD>ݲ<EFBFBD><EFBFBD><D7BD><EFBFBD><EFBFBD>/<2F>رպ<D8B1><D5BA><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MCF_Open_Netǰ<74><C7B0><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>ֻ֧<D6BB><D6A7>һ<EFBFBD><D2BB><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD>ƿ<EFBFBD>)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Capture_Mode"></param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Open_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Open_Net(ushort Capture_Mode = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Close_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Close_Net();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.2 <20><><EFBFBD>ݲ<EFBFBD><EFBFBD><D7BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8>º<EFBFBD><C2BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>10.2
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Capture_State"></param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_State_Net")]
|
|
|
|
|
public static extern short MCF_Capture_State_Net(ref ushort Capture_State);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.3 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1000<30><30>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Command"></param>
|
|
|
|
|
/// <returns></returns>&Array[1000]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_Command_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_Command_Net(ushort Axis, ref int Command);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// [100,250,500,1000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Number"></param>
|
|
|
|
|
/// <param name="Command"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_Command_Custom_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_Command_Custom_Net(ushort Axis, int Number, ref int Command);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.4 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Encoder"></param>
|
|
|
|
|
/// <returns></returns>&Array[1000]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_Encoder_Net(ushort Axis, ref int Encoder);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// [100,250,500,1000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Number"></param>
|
|
|
|
|
/// <param name="Encoder"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_Encoder_Custom_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_Encoder_Custom_Net(ushort Axis, int Number, ref int Encoder);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.5 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1000<30><30>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="AD"></param>
|
|
|
|
|
/// <returns></returns>&Array[1000]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_AD_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_AD_Net(ushort Axis, ref int AD);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// [100,250,500,1000]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Number"></param>
|
|
|
|
|
/// <param name="AD"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Read_AD_Custom_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Read_AD_Custom_Net(ushort Axis, int Number, ref int AD);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.6 ADC<44><43><EFBFBD><EFBFBD><EFBFBD>˲<EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [0,1]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Filter_Coefficient"></param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Filter_AD_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Filter_AD_Net(ushort Axis, double Filter_Coefficient = 1);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 10.7 <20><><EFBFBD>ݲ<EFBFBD>Ƶ<D7BD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>10.7
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Capture_Frequency"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Capture_Frequency_Net")]
|
|
|
|
|
public static extern short MCF_Capture_Frequency_Net(ushort Capture_Frequency = 1, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
11 <EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD>ֿ<EFBFBD><EFBFBD>ƺ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 11.1 <20><><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>0.0 (0,(2^31-1)] (0,(2^31-1)] <20>궨<EFBFBD><EAB6A8>11.1.1 <20>궨<EFBFBD><EAB6A8>11.1.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Follow_Axis"></param>
|
|
|
|
|
/// <param name="Denominator"></param>
|
|
|
|
|
/// <param name="Molecule"></param>
|
|
|
|
|
/// <param name="Follow_Source"></param>
|
|
|
|
|
/// <param name="Dir"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Gear_Net")]
|
|
|
|
|
public static extern short MCF_Set_Gear_Net(ushort Axis, ushort Follow_Axis, uint Denominator, uint Molecule, ushort Follow_Source, ushort Dir, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Gear_Net")]
|
|
|
|
|
public static extern short MCF_Get_Gear_Net(ushort Axis, ref ushort Follow_Axis, ref uint Denominator, ref uint Molecule, ref ushort Follow_Source, ref ushort Dir, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 11.2 <20><><EFBFBD>ӳ<EFBFBD><D3B3>ֿ<EFBFBD><D6BF>غ<EFBFBD><D8BA><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>11.2 [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Gear_Enable"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Gear_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Set_Gear_Enable_Net(ushort Axis, ushort Gear_Enable, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Gear_Enable_Net")]
|
|
|
|
|
public static extern short MCF_Get_Gear_Enable_Net(ushort Axis, ref ushort Gear_Enable, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 11.3 <20><><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ر<EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^31,(2^31-1)] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="dDist"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Gear_Auto_Disable_Net")]
|
|
|
|
|
public static extern short MCF_Set_Gear_Auto_Disable_Net(ushort Axis, int dDist, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
12 λ<EFBFBD>ñȽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.1 <20><><EFBFBD><EFBFBD>һάλ<CEAC>ñȽ<C3B1><C8BD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Enable"></param>
|
|
|
|
|
/// <param name="Compare_Source"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Compare_Config_Net")]
|
|
|
|
|
public static extern short MCF_Set_Compare_Config_Net(ushort Axis, ushort Enable, ushort Compare_Source, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Compare_Config_Net")]
|
|
|
|
|
public static extern short MCF_Get_Compare_Config_Net(ushort Axis, ref ushort Enable, ref ushort Compare_Source, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.2 <20><><EFBFBD><EFBFBD>һάλ<CEAC><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><>ǰ<EFBFBD>Ƚϵ<C8BD>/<2F>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Compare_Points_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Compare_Points_Net(ushort Axis, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Compare_Current_Points_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Compare_Current_Points_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD> MCF_Add_Compare_Point_Net <20><><EFBFBD><EFBFBD><EFBFBD>ۼӼ<DBBC><D3BC><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [1,(2^31-1)}
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Point_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Disable_Compare_Any_Points_Net")]
|
|
|
|
|
public static extern short MCF_Disable_Compare_Any_Points_Net(ushort Axis, uint Point_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.3 <20><><EFBFBD><EFBFBD>һάλ<CEAC>ñȽϵ<C8BD> <09>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Position"></param>
|
|
|
|
|
/// <param name="Dir"></param>
|
|
|
|
|
/// <param name="Action"></param>
|
|
|
|
|
/// <param name="Actpara"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Add_Compare_Point_Net")]
|
|
|
|
|
public static extern short MCF_Add_Compare_Point_Net(ushort Axis, int Position, ushort Dir, ushort Action, ushort Actpara, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.4 <20><>ȡ<EFBFBD><C8A1>ǰһά<D2BB>Ƚϵ<C8BD>λ<EFBFBD><CEBB> <20>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Position"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Compare_Current_Point_Net")]
|
|
|
|
|
public static extern short MCF_Get_Compare_Current_Point_Net(ushort Axis, ref int Position, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.5 <20><>ѯ<EFBFBD>Ѿ<EFBFBD><D1BE>ȽϹ<C8BD><CFB9><EFBFBD>һά<D2BB>Ƚϵ<C8BD><CFB5><EFBFBD><EFBFBD><EFBFBD>(ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20>궨<EFBFBD><EAB6A8>0.0 [0,256]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Point_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Compare_Points_Runned_Net")]
|
|
|
|
|
public static extern short MCF_Get_Compare_Points_Runned_Net(ushort Axis, ref ushort Point_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.6 <20><>ѯ<EFBFBD><D1AF><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD>һά<D2BB>Ƚϵ<C8BD><CFB5><EFBFBD><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [0,256]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Point_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Compare_Points_Remained_Net")]
|
|
|
|
|
public static extern short MCF_Get_Compare_Points_Remained_Net(ushort Axis, ref ushort Point_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 12.7 <20><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>һά<D2BB>Ƚϵ<C8BD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> <09>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Incomplete_Number"></param>
|
|
|
|
|
/// <param name="Incomplete_Position"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Compare_Points_Incomplete_Net")]
|
|
|
|
|
public static extern short MCF_Get_Compare_Points_Incomplete_Net(ushort Axis, ref ushort Incomplete_Number, ref int Incomplete_Position, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
13 PWM<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 13.1 <20><><EFBFBD><EFBFBD>PWM<57><4D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>13.1.1 <20>궨<EFBFBD><EAB6A8>13.1.2 <20>궨<EFBFBD><EAB6A8>13.1.3
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="Enable"></param>
|
|
|
|
|
/// <param name="Output_Port_Config"></param>
|
|
|
|
|
/// <param name="Output_Start_Logic"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Pwm_Config_Net")]
|
|
|
|
|
public static extern short MCF_Set_Pwm_Config_Net(ushort Channel, ushort Enable, ushort Output_Port_Config, ushort Output_Start_Logic, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Pwm_Config_Net")]
|
|
|
|
|
public static extern short MCF_Get_Pwm_Config_Net(ushort Channel, ref ushort Enable, ref ushort Output_Port_Config, ref ushort Output_Start_Logic, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 13.2 <20><><EFBFBD><EFBFBD>PWM<57>ź<EFBFBD> <09>궨<EFBFBD><EAB6A8>13.1.1 [0,1000000] [0,100] (0,(2^31-1)]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="Frequency"></param>
|
|
|
|
|
/// <param name="DutyCycle"></param>
|
|
|
|
|
/// <param name="Pwm_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Pwm_Output_Net")]
|
|
|
|
|
public static extern short MCF_Set_Pwm_Output_Net(ushort Channel, uint Frequency, uint DutyCycle, uint Pwm_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 13.3 PWM<57><4D><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD> <09>궨<EFBFBD><EAB6A8>13.1.1 <20>궨<EFBFBD><EAB6A8>13.3.1
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="Finish"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Pwm_State_Net")]
|
|
|
|
|
public static extern short MCF_Get_Pwm_State_Net(ushort Channel, ref ushort Finish, ushort StationNumber = 0);
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
14 <EFBFBD><EFBFBD><EFBFBD>ֺ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD> <09>궨<EFBFBD><EAB6A8>11.1.2
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Dir"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Open_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Open_Net(ushort Dir, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.2 <20>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Close_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Close_Net(ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.3 <20><><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8> <09>궨<EFBFBD><EAB6A8>0.0
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_Encoder_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_Encoder_Net(ushort Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.4 <20><><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>2.4.1
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_X1_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_X1_Net(ushort Bit_Input_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_X10_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_X10_Net(ushort Bit_Input_Number, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_X100_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_X100_Net(ushort Bit_Input_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʴ<EFBFBD>С [1,100]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Speed_X"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Speed_X1_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Speed_X1_Net(ushort Speed_X = 1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Speed_X10_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Speed_X10_Net(ushort Speed_X = 10, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Speed_X100_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Speed_X100_Net(ushort Speed_X = 100, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.4 <20><><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0 <20>궨<EFBFBD><EAB6A8>2.4.1
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Bit_Input_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_Axis_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_Axis_Net(ushort Axis, ushort Bit_Input_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 14.5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD>˲<EFBFBD>ʱ<EFBFBD><CAB1> <20>궨<EFBFBD><EAB6A8>0.0 [1,1000]MS
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Axis"></param>
|
|
|
|
|
/// <param name="Filter_Time_1MS"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Hand_Wheel_Config_Filter_Time_Net")]
|
|
|
|
|
public static extern short MCF_Hand_Wheel_Config_Filter_Time_Net(ushort Axis, uint Filter_Time_1MS, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
15 ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.1 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>ADC<44><43><EFBFBD><EFBFBD> <20>궨<EFBFBD><EAB6A8>0.0 [-2^15,(2^15-1)]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="AD"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Single_Read_AD_Net")]
|
|
|
|
|
public static extern short MCF_Single_Read_AD_Net(ushort Channel, ref short AD, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.2 <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>DAC<41><43><EFBFBD><EFBFBD> <09>궨<EFBFBD><EAB6A8>0.0 [-2^15,(2^15-1)]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="DA"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Single_Write_DA_Net")]
|
|
|
|
|
public static extern short MCF_Single_Write_DA_Net(ushort Channel, short DA, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.3 <20><><EFBFBD><EFBFBD>AD˫<44><CBAB><EFBFBD>Ƚ<EFBFBD><C8BD><EFBFBD>ֹͣ<CDA3><D6B9>Ӧ<EFBFBD><D3A6>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="AD_Compare"></param>
|
|
|
|
|
/// <param name="Stop_Axis"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_AD_Compare_Net")]
|
|
|
|
|
public static extern short MCF_Set_AD_Compare_Net(ushort Channel, short AD_Compare, ushort Stop_Axis, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.4 <20><><EFBFBD><EFBFBD>AD<41><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ [0,7]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="AD_Capture"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_AD_Capture_Net")]
|
|
|
|
|
public static extern short MCF_Set_AD_Capture_Net(ushort Channel, short AD_Capture, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0<><30><EFBFBD><EFBFBD><EFBFBD>ֲ<EFBFBD><D6B2><EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="C_1"></param>
|
|
|
|
|
/// <param name="C_2"></param>
|
|
|
|
|
/// <param name="C_3"></param>
|
|
|
|
|
/// <param name="C_4"></param>
|
|
|
|
|
/// <param name="C_5"></param>
|
|
|
|
|
/// <param name="C_6"></param>
|
|
|
|
|
/// <param name="C_7"></param>
|
|
|
|
|
/// <param name="C_8"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
|
|
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_AD_Capture_Net")]
|
2025-03-12 17:18:39 +08:00
|
|
|
|
public static extern short MCF_Clear_AD_Capture_Net(ushort C_1, ushort C_2, ushort C_3, ushort C_4, ushort C_5, ushort C_6, ushort C_7, ushort C_8, ushort StationNumber = 0);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ADֵ<44><D6B5><EFBFBD>Ķ<F1B5BDB5>Ӧͨ<D3A6><CDA8><EFBFBD><EFBFBD>ADֵ<44><D6B5><EFBFBD><EFBFBD>Xλ<58><CEBB>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="AD_5"></param>
|
|
|
|
|
/// <param name="Position_1"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_1_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_1_Net(ref short AD_5, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_2_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_2_Net(ref short AD_6, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_3_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_3_Net(ref short AD_7, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_4_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_4_Net(ref short AD_8, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_5_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_5_Net(ref short AD_1, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_6_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_6_Net(ref short AD_2, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_7_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_7_Net(ref short AD_3, ref int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Capture_AD_8_Net")]
|
|
|
|
|
public static extern short MCF_Get_Capture_AD_8_Net(ref short AD_4, ref int Position_1, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.5 <20><><EFBFBD>ô<EFBFBD><C3B4><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>ֵ [0,7]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="Position_1"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Set_Position_Capture_AD_Net")]
|
|
|
|
|
public static extern short MCF_Set_Position_Capture_AD_Net(ushort Channel, int Position_1, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Position_Capture_AD_Net")]
|
|
|
|
|
public static extern short MCF_Get_Position_Capture_AD_Net(ushort Channel, ref short AD, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Position_Capture_AD_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Position_Capture_AD_Net(ushort C_1, ushort C_2, ushort C_3, ushort C_4, ushort C_5, ushort C_6, ushort C_7, ushort C_8, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 15.6 <20><>ȡAD<41><44><EFBFBD><EFBFBD>ֵ [0,7]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Channel"></param>
|
|
|
|
|
/// <param name="MAX_AD"></param>
|
|
|
|
|
/// <param name="MIN_AD"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Limit_AD_Net")]
|
|
|
|
|
public static extern short MCF_Get_Limit_AD_Net(ushort Channel, ref short MAX_AD, ref short MIN_AD, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Clear_Limit_AD_Net")]
|
|
|
|
|
public static extern short MCF_Clear_Limit_AD_Net(ushort C_1, ushort C_2, ushort C_3, ushort C_4, ushort C_5, ushort C_6, ushort C_7, ushort C_8, ushort StationNumber = 0);
|
|
|
|
|
/********************************************************************************************************************************************************************
|
|
|
|
|
16 ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
********************************************************************************************************************************************************************/
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.1 ģ<><C4A3><EFBFBD>汾<EFBFBD><E6B1BE> [0x00000000,0xFFFFFFFF] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Version"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Version_Net")]
|
|
|
|
|
public static extern short MCF_Get_Version_Net(ref uint Version, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.2 <20><><EFBFBD>к<EFBFBD> [0x00000000,0xFFFFFFFF] [0,99]
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Serial_Number"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Serial_Number_Net")]
|
|
|
|
|
public static extern short MCF_Get_Serial_Number_Net(ref long Serial_Number, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.3 ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> [0x00000000,0xFFFFFFFF] [0,99] <20><>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Run_Time"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Run_Time_Net")]
|
|
|
|
|
public static extern short MCF_Get_Run_Time_Net(ref uint Run_Time, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.4 Flash <20><>д<EFBFBD><D0B4><EFBFBD><EFBFBD>Ŀǰ<C4BF><C7B0>ʱ<EFBFBD><CAB1>С2Kbytes,Ҳ<><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB> unsigned int Array[256] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Pass_Word_Setup"></param>
|
|
|
|
|
/// <param name="Flash_Write_Data"></param>
|
|
|
|
|
/// <param name="StationNumber">վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>Ĭ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>Ϊ 0</param>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Flash_Write_Net")]
|
|
|
|
|
public static extern short MCF_Flash_Write_Net(uint Pass_Word_Setup, ref uint Flash_Write_Data, ushort StationNumber = 0);
|
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Flash_Read_Net")]
|
|
|
|
|
public static extern short MCF_Flash_Read_Net(uint Pass_Word_Check, ref uint Flash_Read_Data, ushort StationNumber = 0);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.5 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·,һ<><D2BB>һ<EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>(Ĭ<><C4AC>)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_LookBack_Enable_Net")]
|
|
|
|
|
public static extern short MCF_LookBack_Enable_Net();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.6 <20>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϻ<EFBFBD>ģʽ<C4A3><CABD>ʹ<EFBFBD><CAB9>,<2C><><EFBFBD><EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_LookBack_Disable_Net")]
|
|
|
|
|
public static extern short MCF_LookBack_Disable_Net();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 16.7 ͨѶʱ<D1B6><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Connect_Count"></param>
|
|
|
|
|
/// <returns></returns>&Array[12]
|
2025-03-10 17:18:45 +08:00
|
|
|
|
[DllImport("MCDLL_NET.DLL", EntryPoint = "MCF_Get_Connect_Time_Count_Net")]
|
|
|
|
|
public static extern short MCF_Get_Connect_Time_Count_Net(ref uint Connect_Count);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|