Commit a4e50c8e LN

bug修改

1 个父辈 f3aee12c
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<appSettings>
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="logs/demoTest.log" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyy-MM-dd" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%date][%t]%-5p %m%n" />
</layout>
</appender>
<root>
<level value="Info" />
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{3C4A3BBE-8D84-4CAA-9CFC-F8E80A60F94A}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DemoTest</RootNamespace>
<AssemblyName>DemoTest</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>DfIcon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net">
<HintPath>..\dll\log4net.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HuichuanLibrary\HuichuanLibrary.csproj">
<Project>{c9575c5e-9d4b-4b4f-be41-926652b8985f}</Project>
<Name>HuichuanLibrary</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="device_config.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="DfIcon.ico" />
<Content Include="system_config.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
using HuichuanLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DemoTest
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
log4net.Config.XmlConfigurator.Configure();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
HuichuanLibrary.HCBoardManager.InitConfig();
Application.Run(new FrmHuiChuanTest());
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("DemoTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DemoTest")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("3c4a3bbe-8d84-4caa-9cfc-f8e80a60f94a")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace DemoTest.Properties
{
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DemoTest.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆盖当前线程的 CurrentUICulture 属性
/// 使用此强类型的资源类的资源查找。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file \ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DemoTest.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
此文件类型无法预览
<?xml version="1.0" encoding="utf-8"?><EtherCATConfig><Config><Master><SysHwCfg>1</SysHwCfg><cycleTime>1000</cycleTime><Info><Name><![CDATA[Card 0 ]]></Name></Info></Master><Slave><Info><Name><![CDATA[SV820N]]></Name><DeviceType>131474</DeviceType><VendorId>1048576</VendorId><ProductCode>786699</ProductCode><RevisionNo>65536</RevisionNo><ToltalVirSlot>4</ToltalVirSlot><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId></Info><SlotArray><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module></SlotArray><ProcessData><Sm2><Type>Outputs</Type><Enable>1</Enable><Pdo>5632</Pdo><Pdo>5648</Pdo><Pdo>5664</Pdo><Pdo>5680</Pdo></Sm2><Sm3><Type>Inputs</Type><Enable>1</Enable><Pdo>6656</Pdo><Pdo>6672</Pdo><Pdo>6688</Pdo><Pdo>6704</Pdo></Sm3><RxPdo Sm="2"><SlotIdx>0</SlotIdx><Index DependOnSlot="true">#x1600</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6040</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x607A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>0</SlotIdx><Index DependOnSlot="true">#x1A00</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x603F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6041</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6064</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x60FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>1</SlotIdx><Index DependOnSlot="true">#x1610</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6840</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x687A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>1</SlotIdx><Index DependOnSlot="true">#x1A10</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x683F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6841</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6864</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x68FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>2</SlotIdx><Index DependOnSlot="true">#x1620</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7040</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x707A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>2</SlotIdx><Index DependOnSlot="true">#x1A20</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x703F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7041</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7064</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x70FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>3</SlotIdx><Index DependOnSlot="true">#x1630</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7840</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x787A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>3</SlotIdx><Index DependOnSlot="true">#x1A30</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x783F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7841</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7864</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x78FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo></ProcessData><Mailbox><CoE><InitCmds><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[SM output parameter]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>7218</Index><SubIndex>1</SubIndex><Data>0200</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[SM input parameter]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>7219</Index><SubIndex>1</SubIndex><Data>0200</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>24640</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>24672</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>1</SlotIdx><Index>26688</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>1</SlotIdx><Index>26720</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>2</SlotIdx><Index>28736</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>2</SlotIdx><Index>28768</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>3</SlotIdx><Index>30784</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>3</SlotIdx><Index>30816</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd></InitCmds></CoE></Mailbox><DC><ReferenceClock>true</ReferenceClock><CycleTime>1000000</CycleTime><ShiftTime>100000</ShiftTime></DC></Slave><Slave><Info><Name><![CDATA[SV820N]]></Name><DeviceType>131474</DeviceType><VendorId>1048576</VendorId><ProductCode>786699</ProductCode><RevisionNo>65536</RevisionNo><ToltalVirSlot>4</ToltalVirSlot><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId><VirSlotId>512</VirSlotId></Info><SlotArray><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module><Module><Info><Name><![CDATA[CSP]]></Name></Info></Module></SlotArray><ProcessData><Sm2><Type>Outputs</Type><Enable>1</Enable><Pdo>5632</Pdo><Pdo>5648</Pdo><Pdo>5664</Pdo><Pdo>5680</Pdo></Sm2><Sm3><Type>Inputs</Type><Enable>1</Enable><Pdo>6656</Pdo><Pdo>6672</Pdo><Pdo>6688</Pdo><Pdo>6704</Pdo></Sm3><RxPdo Sm="2"><SlotIdx>0</SlotIdx><Index DependOnSlot="true">#x1600</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6040</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x607A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>0</SlotIdx><Index DependOnSlot="true">#x1A00</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x603F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6041</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6064</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x60FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>1</SlotIdx><Index DependOnSlot="true">#x1610</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6840</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x687A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>1</SlotIdx><Index DependOnSlot="true">#x1A10</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x683F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6841</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x6864</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x68FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>2</SlotIdx><Index DependOnSlot="true">#x1620</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7040</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x707A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>2</SlotIdx><Index DependOnSlot="true">#x1A20</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x703F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7041</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7064</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x70FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo><RxPdo Sm="2"><SlotIdx>3</SlotIdx><Index DependOnSlot="true">#x1630</Index><Name>Outputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7840</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ControlWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x787A</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Target position</Name><DataType>DINT</DataType></Entry></RxPdo><TxPdo Sm="3"><SlotIdx>3</SlotIdx><Index DependOnSlot="true">#x1A30</Index><Name>Inputs</Name><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x783F</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>ErrorCode</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7841</Index><SubIndex>0</SubIndex><BitLen>16</BitLen><Name>StatusWord</Name><DataType>UINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x7864</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Position actual value</Name><DataType>DINT</DataType></Entry><Entry><DevType>0</DevType><Index DependOnSlot="true" Selected="0">#x78FD</Index><SubIndex>0</SubIndex><BitLen>32</BitLen><Name>Digital inputs</Name><DataType>UDINT</DataType></Entry></TxPdo></ProcessData><Mailbox><CoE><InitCmds><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[SM output parameter]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>7218</Index><SubIndex>1</SubIndex><Data>0200</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[SM input parameter]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>7219</Index><SubIndex>1</SubIndex><Data>0200</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>24640</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>24672</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>1</SlotIdx><Index>26688</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>1</SlotIdx><Index>26720</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>2</SlotIdx><Index>28736</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>2</SlotIdx><Index>28768</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Controlword]]></Comment><Timeout>0</Timeout><SlotIdx>3</SlotIdx><Index>30784</Index><SubIndex>0</SubIndex><Data>1000</Data><BitLen>16</BitLen></InitCmd><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Modes of Operation]]></Comment><Timeout>0</Timeout><SlotIdx>3</SlotIdx><Index>30816</Index><SubIndex>0</SubIndex><Data>08</Data><BitLen>8</BitLen></InitCmd></InitCmds></CoE></Mailbox><DC><ReferenceClock>true</ReferenceClock><CycleTime>1000000</CycleTime><ShiftTime>100000</ShiftTime></DC></Slave><Slave><Info><Name><![CDATA[GR10_1616ETNE]]></Name><DeviceType>197009</DeviceType><VendorId>1048576</VendorId><ProductCode>284428562</ProductCode><RevisionNo>0</RevisionNo><ToltalVirSlot>2</ToltalVirSlot></Info><ProcessData><Sm2><Type>Outputs</Type><Enable>1</Enable><Pdo>5888</Pdo></Sm2><Sm3><Type>Inputs</Type><Enable>1</Enable><Pdo>6912</Pdo></Sm3><TxPdo Fixed="true" Mandatory="false" Sm="3"><SlotIdx>1</SlotIdx><Index>#x1B00</Index><Name>Digital input mapping parameter</Name><Entry><DevType>2</DevType><Index Selected="0">#x6000</Index><SubIndex>1</SubIndex><BitLen>8</BitLen><Name>Digital input 00 to 07</Name><DataType>USINT</DataType></Entry><Entry><DevType>2</DevType><Index Selected="0">#x6000</Index><SubIndex>2</SubIndex><BitLen>8</BitLen><Name>Digital input 10 to 17</Name><DataType>USINT</DataType></Entry></TxPdo><RxPdo Fixed="true" Mandatory="false" Sm="2"><SlotIdx>0</SlotIdx><Index>#x1700</Index><Name>Digital output mapping parameter</Name><Entry><DevType>1</DevType><Index Selected="0">#x6200</Index><SubIndex>1</SubIndex><BitLen>8</BitLen><Name>Digital output 00 to 07</Name><DataType>USINT</DataType></Entry><Entry><DevType>1</DevType><Index Selected="0">#x6200</Index><SubIndex>2</SubIndex><BitLen>8</BitLen><Name>Digital output 10 to 17</Name><DataType>USINT</DataType></Entry></RxPdo></ProcessData><Mailbox><CoE><InitCmds><InitCmd Fixed="true"><Transition>PS</Transition><Comment><![CDATA[Error mode output]]></Comment><Timeout>0</Timeout><SlotIdx>0</SlotIdx><Index>25094</Index><SubIndex>1</SubIndex><Data>01</Data><BitLen>8</BitLen></InitCmd></InitCmds></CoE></Mailbox></Slave></Config></EtherCATConfig>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><CardConfig id="0"><System><SysPara><emgMode>1</emgMode><emgFilter>19</emgFilter><emgTrigLevelInv>1</emgTrigLevelInv></SysPara></System><Signal><EcatSignal><DiInverse><Groups><GpMax>2</GpMax><Gp id="0"><data>0</data></Gp><Gp id="1"><data>0</data></Gp></Groups></DiInverse><DoInverse><Groups><GpMax>2</GpMax><Gp id="0"><data>0</data></Gp><Gp id="1"><data>0</data></Gp></Groups></DoInverse><PhyAxGrpDirInv><Groups><GpMax>8</GpMax><Gp id="0"><data>0</data></Gp><Gp id="1"><data>0</data></Gp><Gp id="2"><data>0</data></Gp><Gp id="3"><data>0</data></Gp><Gp id="4"><data>0</data></Gp><Gp id="5"><data>0</data></Gp><Gp id="6"><data>0</data></Gp><Gp id="7"><data>0</data></Gp></Groups></PhyAxGrpDirInv></EcatSignal><LocalSignal><DiInverse><data>0</data></DiInverse><DoInverse><data>0</data></DoInverse><SpecialDiInverses><SpecialDiInverse type="0"><data>0</data></SpecialDiInverse><SpecialDiInverse type="1"><data>0</data></SpecialDiInverse><SpecialDiInverse type="2"><data>0</data></SpecialDiInverse><SpecialDiInverse type="3"><data>0</data></SpecialDiInverse><SpecialDiInverse type="4"><data>0</data></SpecialDiInverse><SpecialDiInverse type="5"><data>0</data></SpecialDiInverse><SpecialDiInverse type="6"><data>0</data></SpecialDiInverse></SpecialDiInverses><DiFilterTimes><DiFilterTime id="0">1</DiFilterTime><DiFilterTime id="1">1</DiFilterTime><DiFilterTime id="2">1</DiFilterTime><DiFilterTime id="3">1</DiFilterTime><DiFilterTime id="4">1</DiFilterTime><DiFilterTime id="5">1</DiFilterTime><DiFilterTime id="6">1</DiFilterTime><DiFilterTime id="7">1</DiFilterTime><DiFilterTime id="8">1</DiFilterTime><DiFilterTime id="9">1</DiFilterTime><DiFilterTime id="10">1</DiFilterTime><DiFilterTime id="11">1</DiFilterTime><DiFilterTime id="12">1</DiFilterTime><DiFilterTime id="13">1</DiFilterTime><DiFilterTime id="14">1</DiFilterTime><DiFilterTime id="15">1</DiFilterTime></DiFilterTimes><homeFltTime>0</homeFltTime><limitFltTime>0</limitFltTime><probeFltTime>0</probeFltTime><LocalEncDirs><LocalEncDir id="0">0</LocalEncDir><LocalEncDir id="1">0</LocalEncDir><LocalEncDir id="2">0</LocalEncDir><LocalEncDir id="3">0</LocalEncDir><LocalEncDir id="4">0</LocalEncDir><LocalEncDir id="5">0</LocalEncDir></LocalEncDirs><LocalPulses><LocalPulse id="0"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse><LocalPulse id="1"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse><LocalPulse id="2"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse><LocalPulse id="3"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse><LocalPulse id="4"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse><LocalPulse id="5"><LocalPulseMode>0</LocalPulseMode><LocalPulseDirInver>0</LocalPulseDirInver></LocalPulse></LocalPulses></LocalSignal></Signal><Axises><Axis id="0"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>10000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="1"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>10000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>1</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="2"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>2</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="3"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>3</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="4"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>4</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="5"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>5</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="6"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>6</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="7"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>1</axType><outputChn>7</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="8"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="9"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="10"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="11"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="12"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="13"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="14"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="15"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="16"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="17"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="18"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="19"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="20"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="21"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="22"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="23"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="24"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="25"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="26"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="27"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="28"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="29"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="30"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis><Axis id="31"><MotionPara><bgVel>0</bgVel><maxVel>52428000</maxVel><maxAcc>500000000</maxAcc><maxDec>500000000</maxDec><maxJerk>499999993495552</maxJerk><stopDec>100000000</stopDec><eStopDec>2000000000</eStopDec></MotionPara><BindCfg><axType>-1</axType><outputChn>0</outputChn><loaclEncSrc>0</loaclEncSrc></BindCfg><AttrPara><arrivalBand>1000</arrivalBand><arrivalTime>20</arrivalTime><errorLmt>1048576</errorLmt><softPosLimitPos>2147483647</softPosLimitPos><softNegLimitPos>-2147483647</softNegLimitPos></AttrPara><SafePara><alarmEn>1</alarmEn><softLmtEn>0</softLmtEn><hwLmtEn>1</hwLmtEn><errorLmtEn>0</errorLmtEn></SafePara></Axis></Axises></CardConfig>
\ No newline at end of file \ No newline at end of file
...@@ -60,7 +60,7 @@ namespace HuichuanLibrary ...@@ -60,7 +60,7 @@ namespace HuichuanLibrary
/// <param name="highVel">回零高速</param> /// <param name="highVel">回零高速</param>
/// <param name="lowVel">回零低速</param> /// <param name="lowVel">回零低速</param>
/// <param name="acc">回零加速度</param> /// <param name="acc">回零加速度</param>
/// <param name="homeMethod">回零方法,默认29</param> /// <param name="homeMethod">回零方法,默认28</param>
/// <param name="offset">回零偏移,默认0</param> /// <param name="offset">回零偏移,默认0</param>
/// <param name="overtime">超时时间,默认120000</param> /// <param name="overtime">超时时间,默认120000</param>
/// <param name="posSrc">端子板信号源,默认0</param> /// <param name="posSrc">端子板信号源,默认0</param>
...@@ -81,7 +81,7 @@ namespace HuichuanLibrary ...@@ -81,7 +81,7 @@ namespace HuichuanLibrary
tHomingPara.acc = acc; tHomingPara.acc = acc;
tHomingPara.overtime = overtime; tHomingPara.overtime = overtime;
tHomingPara.posSrc = posSrc; tHomingPara.posSrc = posSrc;
HCLogUtil.info("Axis[" + axisNo + "] StartHoming highVel["+highVel+ "],lowVel[" + lowVel + "],acc[" + acc + "],homeMethod[" + homeMethod + "],offset[" + offset + "],overtime[" + overtime + "],posSrc["+ posSrc + "]");
//【3】开始回原 //【3】开始回原
UInt32 ret = ImcApi.IMC_StartHoming(nCardHandle, axisNo, ref tHomingPara); UInt32 ret = ImcApi.IMC_StartHoming(nCardHandle, axisNo, ref tHomingPara);
if (ret != 0) if (ret != 0)
...@@ -166,7 +166,7 @@ namespace HuichuanLibrary ...@@ -166,7 +166,7 @@ namespace HuichuanLibrary
{ {
//回零状态结束,并且不再忙碌中 //回零状态结束,并且不再忙碌中
AxisSts sts = GetAxisSts(axisNo); AxisSts sts = GetAxisSts(axisNo);
if (sts.BUSY.Equals(0) && sts.INP.Equals(0)) if (sts.BUSY.Equals(0) && sts.INP.Equals(1))
{ {
short homests = GetHomeStatus(axisNo); short homests = GetHomeStatus(axisNo);
...@@ -202,18 +202,15 @@ namespace HuichuanLibrary ...@@ -202,18 +202,15 @@ namespace HuichuanLibrary
public static bool MoveIsEnd(short axisNo ) public static bool MoveIsEnd(short axisNo )
{ {
AxisSts sts = GetAxisSts(axisNo); AxisSts sts = GetAxisSts(axisNo);
if (sts.BUSY.Equals(0) && sts.INP.Equals(0)) if (sts.BUSY.Equals(0) && sts.INP.Equals(1))
{ {
//if (IsInPosition(axisNo, targetPos)) return true;
//{
return true;
//}
} }
return false; return false;
} }
public static bool AbsMove(short axisNo, double ptpPos, double ptpVel=0, double ptpAcc=0, double ptpDec=0) public static bool AbsMove(short axisNo, double ptpPos, double ptpVel , double ptpAcc , double ptpDec )
{ {
if (!CardInitOk()) if (!CardInitOk())
{ {
...@@ -230,7 +227,7 @@ namespace HuichuanLibrary ...@@ -230,7 +227,7 @@ namespace HuichuanLibrary
short ptpType = 0; short ptpType = 0;
return StartPtpMove(axisNo, ptpType, ptpPos); return StartPtpMove(axisNo, ptpType, ptpPos);
} }
public static bool RelMove(short axisNo, double ptpPos, double ptpVel = 0, double ptpAcc = 0, double ptpDec = 0) public static bool RelMove(short axisNo, double ptpPos, double ptpVel , double ptpAcc , double ptpDec )
{ {
if (!CardInitOk()) if (!CardInitOk())
{ {
...@@ -578,6 +575,22 @@ namespace HuichuanLibrary ...@@ -578,6 +575,22 @@ namespace HuichuanLibrary
} }
return true; return true;
} }
public static short GetAxErrCode(short axisNo)
{
if (!CardInitOk())
{
return -1;
}
short outV = -1;
UInt32 ret = ImcApi.IMC_GetAxErrCode(nCardHandle, axisNo, ref outV);
if (ret != 0)
{
ShowErrorLog(" Axis[" + axisNo + "] GetAxEncAcc FAIL, ErrorCode=0x" + ret.ToString("x8"));
return -1;
}
return outV;
}
#endregion #endregion
#region 轴状态 #region 轴状态
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!