Commit b5264ed2 LN

界面调整

1 个父辈 fd0b3169
正在显示 65 个修改的文件 包含 2051 行增加1103 行删除
......@@ -13,13 +13,13 @@
<!--storeType-->
<add key="Line_moveEquip_count" value="24" />
<add key="Line_feedingEquip_count" value="5" />
<add key="Line_providingEquip_count" value="4" />
<add key="Line_dischargeLine_count" value="2" />
<add key="Line_HYEquip_count" value="21" />
<!--<add key="Line_dischargeLine_count" value="2" />-->
<!--start one store config-->
<add key="ConfigPath_Line" value="\LineConfig\Config_Line.csv" />
<add key="ConfigPath_MoveEquip" value="\LineConfig\MoveEquip\Config_MoveEquip.csv" />
<add key="ConfigPath_FeedingEquip" value="\LineConfig\Config_FeedingEquip.csv" />
<add key="ConfigPath_ProvidingEquip" value="\LineConfig\Config_ProvidingEquip.csv" />
<add key="ConfigPath_HYEquip" value="\LineConfig\HY\Config_HYEquip.csv" />
<add key="ConfigPath_DischargeLine" value="\LineConfig\Config_DischargeLine.csv" />
<add key="Line_Type" value="Line" />
<add key="Line_CID" value="rc1250" />
......
......@@ -104,6 +104,12 @@
<Compile Include="FrmIOStatus.Designer.cs">
<DependentUpon>FrmIOStatus.cs</DependentUpon>
</Compile>
<Compile Include="FrmHYEquip.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmHYEquip.Designer.cs">
<DependentUpon>FrmHYEquip.cs</DependentUpon>
</Compile>
<Compile Include="FrmRFIPEdit.cs">
<SubType>Form</SubType>
</Compile>
......@@ -122,24 +128,12 @@
<Compile Include="FrmBase.Designer.cs">
<DependentUpon>FrmBase.cs</DependentUpon>
</Compile>
<Compile Include="FrmDischargeLine.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmDischargeLine.Designer.cs">
<DependentUpon>FrmDischargeLine.cs</DependentUpon>
</Compile>
<Compile Include="FrmEquipBase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmEquipBase.Designer.cs">
<DependentUpon>FrmEquipBase.cs</DependentUpon>
</Compile>
<Compile Include="FrmProvidingEquip.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmProvidingEquip.Designer.cs">
<DependentUpon>FrmProvidingEquip.cs</DependentUpon>
</Compile>
<Compile Include="FrmFeedingEquip.cs">
<SubType>Form</SubType>
</Compile>
......@@ -179,6 +173,12 @@
<Compile Include="ManagerUtil.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="useControl\EquipControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="useControl\EquipControl.Designer.cs">
<DependentUpon>EquipControl.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="agvtest\FrmAgvTest.resx">
<DependentUpon>FrmAgvTest.cs</DependentUpon>
</EmbeddedResource>
......@@ -188,6 +188,9 @@
<EmbeddedResource Include="FrmIOStatus.resx">
<DependentUpon>FrmIOStatus.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmHYEquip.resx">
<DependentUpon>FrmHYEquip.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmRFIPEdit.resx">
<DependentUpon>FrmRFIPEdit.cs</DependentUpon>
</EmbeddedResource>
......@@ -197,15 +200,9 @@
<EmbeddedResource Include="FrmBase.resx">
<DependentUpon>FrmBase.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmDischargeLine.resx">
<DependentUpon>FrmDischargeLine.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmEquipBase.resx">
<DependentUpon>FrmEquipBase.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmProvidingEquip.resx">
<DependentUpon>FrmProvidingEquip.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmFeedingEquip.resx">
<DependentUpon>FrmFeedingEquip.cs</DependentUpon>
</EmbeddedResource>
......@@ -234,6 +231,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="useControl\EquipControl.resx">
<DependentUpon>EquipControl.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
......
......@@ -105,6 +105,7 @@
this.btnMoveto = new System.Windows.Forms.Button();
this.txtSizePosition = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.Button();
this.chbBoxSendShelf = new System.Windows.Forms.CheckBox();
this.chbMoveStop = new System.Windows.Forms.CheckBox();
this.lblName = new System.Windows.Forms.Label();
......@@ -146,7 +147,7 @@
this.groupBox1.Controls.Add(this.txtWriteTime);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(685, 390);
this.groupBox1.Location = new System.Drawing.Point(685, 447);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(604, 99);
this.groupBox1.TabIndex = 105;
......@@ -295,7 +296,7 @@
this.groupBox4.Controls.Add(this.tableLayoutPanel2);
this.groupBox4.Location = new System.Drawing.Point(457, 1);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(220, 491);
this.groupBox4.Size = new System.Drawing.Size(220, 548);
this.groupBox4.TabIndex = 104;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "DO列表";
......@@ -312,7 +313,7 @@
this.tableLayoutPanel2.RowCount = 2;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(209, 471);
this.tableLayoutPanel2.Size = new System.Drawing.Size(209, 528);
this.tableLayoutPanel2.TabIndex = 103;
//
// groupBox3
......@@ -322,7 +323,7 @@
this.groupBox3.Controls.Add(this.tableLayoutPanel1);
this.groupBox3.Location = new System.Drawing.Point(6, 1);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(220, 491);
this.groupBox3.Size = new System.Drawing.Size(220, 548);
this.groupBox3.TabIndex = 103;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "DI列表";
......@@ -339,7 +340,7 @@
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(209, 471);
this.tableLayoutPanel1.Size = new System.Drawing.Size(209, 528);
this.tableLayoutPanel1.TabIndex = 102;
//
// groupBox5
......@@ -369,7 +370,7 @@
this.groupBox5.Controls.Add(this.btnFeedSideWay);
this.groupBox5.Location = new System.Drawing.Point(931, 1);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(362, 389);
this.groupBox5.Size = new System.Drawing.Size(325, 446);
this.groupBox5.TabIndex = 255;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "IO操作测试";
......@@ -654,9 +655,9 @@
this.lblThisSta.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblThisSta.ForeColor = System.Drawing.Color.Red;
this.lblThisSta.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lblThisSta.Location = new System.Drawing.Point(406, 21);
this.lblThisSta.Location = new System.Drawing.Point(406, 14);
this.lblThisSta.Name = "lblThisSta";
this.lblThisSta.Size = new System.Drawing.Size(881, 330);
this.lblThisSta.Size = new System.Drawing.Size(844, 330);
this.lblThisSta.TabIndex = 246;
this.lblThisSta.Text = "等待启动";
this.lblThisSta.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
......@@ -725,7 +726,7 @@
this.tabControl1.Location = new System.Drawing.Point(5, 52);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1307, 526);
this.tabControl1.Size = new System.Drawing.Size(1270, 583);
this.tabControl1.TabIndex = 257;
//
// tabPage3
......@@ -733,7 +734,7 @@
this.tabPage3.Controls.Add(this.groupBox6);
this.tabPage3.Location = new System.Drawing.Point(4, 26);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(1299, 496);
this.tabPage3.Size = new System.Drawing.Size(1262, 553);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "状态信息";
this.tabPage3.UseVisualStyleBackColor = true;
......@@ -752,7 +753,7 @@
this.groupBox6.Controls.Add(this.lblThisSta);
this.groupBox6.Location = new System.Drawing.Point(3, 3);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(1293, 497);
this.groupBox6.Size = new System.Drawing.Size(1256, 554);
this.groupBox6.TabIndex = 278;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "消息";
......@@ -821,7 +822,7 @@
this.lblInstoreList.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lblInstoreList.Location = new System.Drawing.Point(406, 258);
this.lblInstoreList.Name = "lblInstoreList";
this.lblInstoreList.Size = new System.Drawing.Size(720, 109);
this.lblInstoreList.Size = new System.Drawing.Size(683, 109);
this.lblInstoreList.TabIndex = 277;
//
// tabPage1
......@@ -835,7 +836,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 26);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1299, 496);
this.tabPage1.Size = new System.Drawing.Size(1262, 553);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = " IO列表 ";
this.tabPage1.UseVisualStyleBackColor = true;
......@@ -847,7 +848,7 @@
this.groupBox7.Controls.Add(this.tableLayoutPanel3);
this.groupBox7.Location = new System.Drawing.Point(232, 1);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(220, 491);
this.groupBox7.Size = new System.Drawing.Size(220, 548);
this.groupBox7.TabIndex = 279;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "DI列表";
......@@ -864,7 +865,7 @@
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(209, 471);
this.tableLayoutPanel3.Size = new System.Drawing.Size(209, 528);
this.tableLayoutPanel3.TabIndex = 102;
//
// groupBox8
......@@ -874,7 +875,7 @@
this.groupBox8.Controls.Add(this.tableLayoutPanel4);
this.groupBox8.Location = new System.Drawing.Point(685, 1);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(240, 389);
this.groupBox8.Size = new System.Drawing.Size(240, 446);
this.groupBox8.TabIndex = 280;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "DO列表";
......@@ -891,7 +892,7 @@
this.tableLayoutPanel4.RowCount = 2;
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(229, 369);
this.tableLayoutPanel4.Size = new System.Drawing.Size(229, 426);
this.tableLayoutPanel4.TabIndex = 103;
//
// tabPage2
......@@ -903,7 +904,7 @@
this.tabPage2.Location = new System.Drawing.Point(4, 26);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1299, 496);
this.tabPage2.Size = new System.Drawing.Size(1262, 553);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = " 伺服信息 ";
this.tabPage2.UseVisualStyleBackColor = true;
......@@ -1294,6 +1295,7 @@
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.Controls.Add(this.btnClose);
this.panel1.Controls.Add(this.chbBoxSendShelf);
this.panel1.Controls.Add(this.chbMoveStop);
this.panel1.Controls.Add(this.lblName);
......@@ -1305,9 +1307,22 @@
this.panel1.Controls.Add(this.btnReset);
this.panel1.Location = new System.Drawing.Point(2, 1);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1306, 47);
this.panel1.Size = new System.Drawing.Size(1269, 47);
this.panel1.TabIndex = 258;
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.Color.White;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClose.Location = new System.Drawing.Point(1150, 3);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(110, 40);
this.btnClose.TabIndex = 259;
this.btnClose.Text = "返回";
this.btnClose.UseVisualStyleBackColor = false;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// chbBoxSendShelf
//
this.chbBoxSendShelf.AutoSize = true;
......@@ -1361,7 +1376,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1318, 582);
this.ClientSize = new System.Drawing.Size(1281, 639);
this.Controls.Add(this.panel1);
this.Controls.Add(this.tabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
......@@ -1491,6 +1506,7 @@
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cmbDSize;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnClose;
}
}
......@@ -35,7 +35,7 @@ namespace OnlineStore.AssemblyLine
private void LoadIOList()
{
int maxCount = 16;
int maxCount = 20;
int roleindex = 0;
this.tableLayoutPanel1.RowStyles.Clear();
this.tableLayoutPanel1.RowCount = maxCount;
......@@ -289,6 +289,7 @@ namespace OnlineStore.AssemblyLine
txtBP2.Text = equipBean.Config.BatchAxisP2.ToString();
txtBP3.Text = equipBean.Config.BatchAxisP3.ToString();
lblName.Text = equipBean.Name;
this.Text = equipBean.Name;
chbBoxSendShelf.Visible = equipBean.Config.IsCanOut.Equals(1);
chbBoxSendShelf.Checked = equipBean.OutEndSendShelfOut;
IsLoad = true;
......@@ -749,6 +750,11 @@ namespace OnlineStore.AssemblyLine
}
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
......
namespace OnlineStore.AssemblyLine
{
partial class FrmProvidingEquip
partial class FrmHYEquip
{
/// <summary>
/// 必需的设计器变量。
......@@ -16,7 +16,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmProvidingEquip));
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmHYEquip));
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.txtDOIndex = new System.Windows.Forms.TextBox();
......@@ -502,7 +502,7 @@
this.tabControl1.Location = new System.Drawing.Point(5, 62);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1307, 466);
this.tabControl1.Size = new System.Drawing.Size(1173, 545);
this.tabControl1.TabIndex = 257;
//
// tabPage1
......@@ -577,7 +577,7 @@
this.tabPage2.Controls.Add(this.axisMoveControl1);
this.tabPage2.Location = new System.Drawing.Point(4, 26);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(1299, 436);
this.tabPage2.Size = new System.Drawing.Size(1165, 515);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "伺服调试";
this.tabPage2.UseVisualStyleBackColor = true;
......@@ -592,7 +592,7 @@
this.groupDetial.Controls.Add(this.label2);
this.groupDetial.Controls.Add(this.cmbDSize);
this.groupDetial.Controls.Add(this.label1);
this.groupDetial.Location = new System.Drawing.Point(753, 179);
this.groupDetial.Location = new System.Drawing.Point(577, 180);
this.groupDetial.Name = "groupDetial";
this.groupDetial.Size = new System.Drawing.Size(537, 205);
this.groupDetial.TabIndex = 318;
......@@ -705,7 +705,7 @@
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.btnP2);
this.groupBox2.Controls.Add(this.txtP2);
this.groupBox2.Location = new System.Drawing.Point(753, 5);
this.groupBox2.Location = new System.Drawing.Point(577, 6);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(538, 168);
this.groupBox2.TabIndex = 219;
......@@ -840,10 +840,10 @@
//
// axisMoveControl1
//
this.axisMoveControl1.Location = new System.Drawing.Point(6, 5);
this.axisMoveControl1.Location = new System.Drawing.Point(5, 3);
this.axisMoveControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.axisMoveControl1.Name = "axisMoveControl1";
this.axisMoveControl1.Size = new System.Drawing.Size(744, 349);
this.axisMoveControl1.Size = new System.Drawing.Size(566, 427);
this.axisMoveControl1.TabIndex = 0;
//
// panel1
......@@ -859,7 +859,7 @@
this.panel1.Controls.Add(this.btnReset);
this.panel1.Location = new System.Drawing.Point(2, 1);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1306, 58);
this.panel1.Size = new System.Drawing.Size(1172, 58);
this.panel1.TabIndex = 258;
//
// lblName
......@@ -871,20 +871,20 @@
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(180, 40);
this.lblName.TabIndex = 259;
this.lblName.Text = "出料流水线";
this.lblName.Text = "HY";
this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// FrmProvidingEquip
// FrmHYEquip
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1318, 532);
this.ClientSize = new System.Drawing.Size(1184, 611);
this.Controls.Add(this.panel1);
this.Controls.Add(this.tabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmProvidingEquip";
this.Name = "FrmHYEquip";
this.Text = "出料移栽——";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmTest_FormClosing);
this.Load += new System.EventHandler(this.FrmStoreIOStatus_Load);
......
......@@ -20,11 +20,11 @@ using OnlineStore.Common;
namespace OnlineStore.AssemblyLine
{
internal partial class FrmProvidingEquip : FrmEquipBase
internal partial class FrmHYEquip : FrmEquipBase
{
private bool IsLoad = false;
private ProvidingEquip equipBean;
internal FrmProvidingEquip(ProvidingEquip moveEquip)
private HYEquipBase equipBean;
internal FrmHYEquip(HYEquipBase moveEquip)
{
equipBase = moveEquip;
this.equipBean = moveEquip;
......@@ -61,6 +61,7 @@ namespace OnlineStore.AssemblyLine
lblStoreStatus.Text = KTK_Store.GetRunStr(equipBean.lineStatus, equipBean.runStatus);
lblThisSta.Text = equipBean.WarnMsg;
lblName.Text = equipBean.Name;
this.Text = equipBean.Name;
txtP1.Text = equipBean.Config.UpDownAxisP1.ToString();
IsLoad = true;
}
......@@ -299,7 +300,7 @@ namespace OnlineStore.AssemblyLine
{
equipBean.IsDebug = true;
equipBean.Config.IsDebug = 1;
LineManager.SaveProvidingEquipConfig(equipBean.Config);
LineManager.SaveHYEquipConfig(equipBean.Config);
equipBean.ChangeDebug(true);
LogUtil.info(equipBean.Name+ "用户切换到调试状态 ");
}
......@@ -314,7 +315,7 @@ namespace OnlineStore.AssemblyLine
{
equipBean.IsDebug = false;
equipBean.Config.IsDebug = 0;
LineManager.SaveProvidingEquipConfig(equipBean.Config);
LineManager.SaveHYEquipConfig(equipBean.Config);
equipBean.ChangeDebug(false);
LogUtil.info(equipBean.Name + "用户切换到正常工作状态 ");
}
......@@ -337,11 +338,11 @@ namespace OnlineStore.AssemblyLine
private void btnStop1Up_Click(object sender, EventArgs e)
{
BtnMove(btnStop1Up, "阻挡1下降", "阻挡1上升", IO_Type.StopCylinder_Down1);
BtnMove(btnStop1Up, "阻挡1下降", "阻挡1上升", IO_Type.StopDown1);
}
private void btnStop2Up_Click(object sender, EventArgs e)
{
BtnMove(btnStop2Up, "阻挡2下降", "阻挡2上升", IO_Type.StopCylinder_Down2);
BtnMove(btnStop2Up, "阻挡2下降", "阻挡2上升", IO_Type.StopDown2);
}
private void btnTopUp_Click(object sender, EventArgs e)
......@@ -351,14 +352,14 @@ namespace OnlineStore.AssemblyLine
private void btnBeforeAfterBefore_Click(object sender, EventArgs e)
{
if (equipBean.CanBeforeAfter())
{
BtnMove(btnBeforeAfterBefore, "横移前进", "横移后退", IO_Type.BeforeAfterCylinder_After, IO_Type.BeforeAfterCylinder_Before);
}
else
{
MessageBox.Show("升降气缸不在上升端 或 升降轴不在待机点P1", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
//if (equipBean.CanBeforeAfter())
//{
// BtnMove(btnBeforeAfterBefore, "横移前进", "横移后退", IO_Type.BeforeAfterCylinder_After, IO_Type.BeforeAfterCylinder_Before);
//}
//else
//{
// MessageBox.Show("升降气缸不在上升端 或 升降轴不在待机点P1", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
//}
}
private void btnUpDownUp_Click(object sender, EventArgs e)
......@@ -367,7 +368,7 @@ namespace OnlineStore.AssemblyLine
}
private void btnClampSlack_Click(object sender, EventArgs e)
{
BtnMove(btnClampSlack, "夹料夹紧", "夹料放松", IO_Type.ClampCylinder_Tighten, IO_Type.ClampCylinder_Slack);
BtnMove(btnClampSlack, "夹料夹紧", "夹料放松", IO_Type.ClampCylinder_Relax, IO_Type.ClampCylinder_Work);
}
private void btnCloseAll_Click(object sender, EventArgs e)
{
......@@ -440,7 +441,7 @@ namespace OnlineStore.AssemblyLine
int sizeBoxP = FormUtil.GetIntValue(txtP3);
equipBean.Config.UpdateUpdownP2(size, sizePosition);
equipBean.Config.UpdateUpdownP3(size, sizeBoxP);
LineManager.SaveProvidingEquipConfig(equipBean.Config);
LineManager.SaveHYEquipConfig(equipBean.Config);
MessageBox.Show("保存成功!");
}
......@@ -478,7 +479,7 @@ namespace OnlineStore.AssemblyLine
if (result.Equals(DialogResult.OK))
{
equipBean.Config.UpdateUpdownP2Detial(size, height, position);
LineManager.SaveProvidingEquipConfig(equipBean.Config);
LineManager.SaveHYEquipConfig(equipBean.Config);
LogUtil.info(equipBean.Name + "用户操作:尺寸:" + size + ",高度:" + height + ",P2值:" + position + ",保存成功");
MessageBox.Show("保存成功!");
......
......@@ -52,9 +52,9 @@
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.comboBox2);
this.groupBox2.Location = new System.Drawing.Point(589, 4);
this.groupBox2.Location = new System.Drawing.Point(617, 4);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(657, 564);
this.groupBox2.Size = new System.Drawing.Size(684, 564);
this.groupBox2.TabIndex = 291;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "设备IO列表对比";
......@@ -63,7 +63,7 @@
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(282, 48);
this.label3.Location = new System.Drawing.Point(313, 47);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 17);
this.label3.TabIndex = 293;
......@@ -73,7 +73,7 @@
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(23, 48);
this.label4.Location = new System.Drawing.Point(23, 47);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(31, 17);
this.label4.TabIndex = 292;
......@@ -98,7 +98,7 @@
this.groupBox1.Controls.Add(this.comboBox1);
this.groupBox1.Location = new System.Drawing.Point(4, 4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(579, 564);
this.groupBox1.Size = new System.Drawing.Size(606, 564);
this.groupBox1.TabIndex = 290;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "设备IO列表";
......@@ -107,7 +107,7 @@
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(282, 47);
this.label2.Location = new System.Drawing.Point(313, 47);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(31, 17);
this.label2.TabIndex = 291;
......
......@@ -40,13 +40,13 @@ namespace OnlineStore.AssemblyLine
label2.Text = "";
foreach (ConfigIO ioValue in DIList)
{
label1.Text+= ioValue.ElectricalDefinition + "_" + ioValue.Explain +"\r\n";
label1.Text+= ioValue.ElectricalDefinition + "_" + ioValue.Explain +"_"+ioValue.ProName+"\r\n";
}
foreach (ConfigIO ioValue in DOList)
{
label2.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "\r\n";
label2.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "_" + ioValue.ProName + "\r\n";
}
this.SuspendLayout(); //此处为不闪屏,一定要有的!
}
......@@ -62,13 +62,13 @@ namespace OnlineStore.AssemblyLine
label4.Text = "";
foreach (ConfigIO ioValue in DIList)
{
label4.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "\r\n";
label4.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "_" + ioValue.ProName + "\r\n";
}
foreach (ConfigIO ioValue in DOList)
{
label3.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "\r\n";
label3.Text += ioValue.ElectricalDefinition + "_" + ioValue.Explain + "_" + ioValue.ProName + "\r\n";
}
this.SuspendLayout(); //此处为不闪屏,一定要有的!
}
......
......@@ -29,10 +29,6 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("D移栽机构");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("T上料机构");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("J接驳台横移");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("HY横移模块");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLineStore));
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
......@@ -43,10 +39,7 @@
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.chbShunt = new System.Windows.Forms.CheckBox();
this.chbTrayCheck = new System.Windows.Forms.CheckBox();
this.chbBuzzer = new System.Windows.Forms.CheckBox();
this.btnClearLog = new System.Windows.Forms.Button();
this.chbAGV = new System.Windows.Forms.CheckBox();
this.chbAutoRun = new System.Windows.Forms.CheckBox();
this.listView1 = new System.Windows.Forms.ListView();
this.logBox = new System.Windows.Forms.RichTextBox();
this.lblCID = new System.Windows.Forms.Label();
......@@ -71,7 +64,11 @@
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.treeView1 = new System.Windows.Forms.TreeView();
this.panel2 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.panel3 = new System.Windows.Forms.Panel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.lblStatus = new System.Windows.Forms.Label();
this.lblWarnMsg = new System.Windows.Forms.Label();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
......@@ -125,6 +122,9 @@
this.groupBox3.SuspendLayout();
this.groupBox1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.panel2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.panel3.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
......@@ -136,6 +136,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.tabControl1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tabControl1.Location = new System.Drawing.Point(8, 81);
......@@ -168,7 +169,7 @@
this.panel1.Controls.Add(this.chbShunt2);
this.panel1.Controls.Add(this.btnShunt2Reset);
this.panel1.Controls.Add(this.btnShuntReset);
this.panel1.Location = new System.Drawing.Point(720, 4);
this.panel1.Location = new System.Drawing.Point(757, 7);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(179, 157);
this.panel1.TabIndex = 199;
......@@ -213,14 +214,11 @@
//
this.groupBox2.Controls.Add(this.chbShunt);
this.groupBox2.Controls.Add(this.chbTrayCheck);
this.groupBox2.Controls.Add(this.chbBuzzer);
this.groupBox2.Controls.Add(this.btnClearLog);
this.groupBox2.Controls.Add(this.chbAGV);
this.groupBox2.Controls.Add(this.chbAutoRun);
this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox2.Location = new System.Drawing.Point(395, 32);
this.groupBox2.Location = new System.Drawing.Point(555, 26);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(298, 117);
this.groupBox2.Size = new System.Drawing.Size(131, 117);
this.groupBox2.TabIndex = 196;
this.groupBox2.TabStop = false;
this.groupBox2.Visible = false;
......@@ -229,7 +227,7 @@
//
this.chbShunt.AutoSize = true;
this.chbShunt.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbShunt.Location = new System.Drawing.Point(8, 77);
this.chbShunt.Location = new System.Drawing.Point(6, 44);
this.chbShunt.Name = "chbShunt";
this.chbShunt.Size = new System.Drawing.Size(130, 21);
this.chbShunt.TabIndex = 200;
......@@ -241,7 +239,7 @@
//
this.chbTrayCheck.AutoSize = true;
this.chbTrayCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbTrayCheck.Location = new System.Drawing.Point(154, 17);
this.chbTrayCheck.Location = new System.Drawing.Point(6, 17);
this.chbTrayCheck.Name = "chbTrayCheck";
this.chbTrayCheck.Size = new System.Drawing.Size(123, 21);
this.chbTrayCheck.TabIndex = 197;
......@@ -250,23 +248,11 @@
this.chbTrayCheck.Visible = false;
this.chbTrayCheck.CheckedChanged += new System.EventHandler(this.chbTrayCheck_CheckedChanged);
//
// chbBuzzer
//
this.chbBuzzer.AutoSize = true;
this.chbBuzzer.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbBuzzer.Location = new System.Drawing.Point(8, 47);
this.chbBuzzer.Name = "chbBuzzer";
this.chbBuzzer.Size = new System.Drawing.Size(87, 21);
this.chbBuzzer.TabIndex = 196;
this.chbBuzzer.Text = "启用蜂鸣器";
this.chbBuzzer.UseVisualStyleBackColor = true;
this.chbBuzzer.CheckedChanged += new System.EventHandler(this.chbBuzzer_CheckedChanged);
//
// btnClearLog
//
this.btnClearLog.BackColor = System.Drawing.Color.White;
this.btnClearLog.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClearLog.Location = new System.Drawing.Point(154, 77);
this.btnClearLog.Location = new System.Drawing.Point(6, 77);
this.btnClearLog.Name = "btnClearLog";
this.btnClearLog.Size = new System.Drawing.Size(85, 35);
this.btnClearLog.TabIndex = 190;
......@@ -274,31 +260,6 @@
this.btnClearLog.UseVisualStyleBackColor = false;
this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
//
// chbAGV
//
this.chbAGV.AutoSize = true;
this.chbAGV.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbAGV.Location = new System.Drawing.Point(154, 47);
this.chbAGV.Name = "chbAGV";
this.chbAGV.Size = new System.Drawing.Size(121, 21);
this.chbAGV.TabIndex = 198;
this.chbAGV.Text = "AGV cancelState";
this.chbAGV.UseVisualStyleBackColor = true;
this.chbAGV.Visible = false;
this.chbAGV.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// chbAutoRun
//
this.chbAutoRun.AutoSize = true;
this.chbAutoRun.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbAutoRun.Location = new System.Drawing.Point(8, 17);
this.chbAutoRun.Name = "chbAutoRun";
this.chbAutoRun.Size = new System.Drawing.Size(99, 21);
this.chbAutoRun.TabIndex = 94;
this.chbAutoRun.Text = "开机自动启动";
this.chbAutoRun.UseVisualStyleBackColor = true;
this.chbAutoRun.CheckedChanged += new System.EventHandler(this.chbAutoRun_CheckedChanged);
//
// listView1
//
this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
......@@ -311,7 +272,7 @@
this.listView1.Location = new System.Drawing.Point(9, 7);
this.listView1.MultiSelect = false;
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(705, 599);
this.listView1.Size = new System.Drawing.Size(725, 599);
this.listView1.TabIndex = 191;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
......@@ -323,9 +284,9 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.logBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.logBox.Location = new System.Drawing.Point(720, 167);
this.logBox.Location = new System.Drawing.Point(740, 167);
this.logBox.Name = "logBox";
this.logBox.Size = new System.Drawing.Size(600, 439);
this.logBox.Size = new System.Drawing.Size(580, 439);
this.logBox.TabIndex = 106;
this.logBox.Text = "";
this.logBox.VisibleChanged += new System.EventHandler(this.logBox_VisibleChanged);
......@@ -564,35 +525,82 @@
//
// tabPage2
//
this.tabPage2.Controls.Add(this.treeView1);
this.tabPage2.Controls.Add(this.panel2);
this.tabPage2.Location = new System.Drawing.Point(4, 29);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(1328, 609);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "tabPage2";
this.tabPage2.Text = " 料仓移栽设备 ";
this.tabPage2.UseVisualStyleBackColor = true;
//
// treeView1
//
this.treeView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.treeView1.Location = new System.Drawing.Point(3, 3);
this.treeView1.Name = "treeView1";
treeNode1.Name = "D移栽机构";
treeNode1.Text = "D移栽机构";
treeNode2.Name = "T上料机构";
treeNode2.Text = "T上料机构";
treeNode3.Name = "J接驳台横移";
treeNode3.Text = "J接驳台横移";
treeNode4.Name = "HY横移模块";
treeNode4.Text = "HY横移模块";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4});
this.treeView1.Size = new System.Drawing.Size(254, 603);
this.treeView1.TabIndex = 97;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
// panel2
//
this.panel2.Controls.Add(this.tableLayoutPanel1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1328, 609);
this.panel2.TabIndex = 98;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 5;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1328, 609);
this.tableLayoutPanel1.TabIndex = 10;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.panel3);
this.tabPage3.Location = new System.Drawing.Point(4, 29);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(1328, 609);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = " 入料/横移设备 ";
this.tabPage3.UseVisualStyleBackColor = true;
//
// panel3
//
this.panel3.Controls.Add(this.tableLayoutPanel2);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1328, 609);
this.panel3.TabIndex = 0;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 5;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 6;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(1328, 609);
this.tableLayoutPanel2.TabIndex = 11;
//
// lblStatus
//
......@@ -880,8 +888,8 @@
this.menuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.操作ToolStripMenuItem,
this.运行参数ToolStripMenuItem,
this.设置TToolStripMenuItem,
this.运行参数ToolStripMenuItem,
this.帮助ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
......@@ -971,6 +979,9 @@
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.contextMenuStrip1.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
......@@ -990,7 +1001,6 @@
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Button btnClearLog;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.CheckBox chbAutoRun;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.Label lblCID;
private System.Windows.Forms.ListView listView1;
......@@ -1017,8 +1027,6 @@
private System.Windows.Forms.TextBox txtTrayPosid;
private System.Windows.Forms.ComboBox cmbTray;
private System.Windows.Forms.Button btnUpdateTray;
private System.Windows.Forms.CheckBox chbAGV;
private System.Windows.Forms.CheckBox chbBuzzer;
private System.Windows.Forms.CheckBox chbTrayCheck;
private System.Windows.Forms.ToolStripMenuItem 操作ToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
......@@ -1064,7 +1072,11 @@
private System.Windows.Forms.ToolStripMenuItem aGVCancelStateToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator17;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
}
}
......@@ -44,7 +44,6 @@ namespace OnlineStore.AssemblyLine
this.Text = title;
this.notifyIcon1.Text = title;
int autoValue = ConfigAppSettings.GetIntValue(Setting_Init.App_AutoRun);
chbAutoRun.Checked = autoValue.Equals(1);
chbTrayCheck.Checked = TrayManager.NeedCheckTray;
lineBean = LineManager.Line;
if (lineBean == null)
......@@ -58,35 +57,8 @@ namespace OnlineStore.AssemblyLine
FrmIOStatus frmIOStatus = new FrmIOStatus();
AddForm(" 流水线IO ", frmIOStatus);
List<MoveEquip> moveEquipList = new List<MoveEquip>(lineBean.MoveEquipMap.Values);
for (int i = 0; i < moveEquipList.Count; i++)
{
MoveEquip equip = moveEquipList[i];
FrmMoveEquip test = new FrmMoveEquip(equip);
AddForm(" " + equip.Name, test);
}
List<FeedingEquip> feeds = new List<FeedingEquip>(lineBean.FeedingEquipMap.Values);
for (int i = 0; i < feeds.Count; i++)
{
FeedingEquip feed = feeds[i];
FrmFeedingEquip test = new FrmFeedingEquip(feed);
AddForm(" " + feed.Name + " ", test);
}
List<ProvidingEquip> provids = new List<ProvidingEquip>(lineBean.ProvidingEquipMap.Values);
for (int i = 0; i < provids.Count; i++)
{
ProvidingEquip provid = provids[i];
FrmProvidingEquip test = new FrmProvidingEquip(provid);
AddForm(" " + provid.Name + " ", test);
}
List<DischargeLine> diss = new List<DischargeLine>(lineBean.DisLineMap.Values);
for (int i = 0; i < diss.Count; i++)
{
DischargeLine line = diss[i];
FrmDischargeLine frm = new FrmDischargeLine(line);
AddForm(" " + line.Name + " ", frm);
}
LoadMoveList();
lblCID.Text = ConfigAppSettings.GetValue(Setting_Init.Line_CID);
LoadListView();
......@@ -151,49 +123,14 @@ namespace OnlineStore.AssemblyLine
}
LoadStoreData();
LoadTree();
timer1.Start();
}
private void LoadTree()
{
List<MoveEquip> moveEquipList = new List<MoveEquip>(lineBean.MoveEquipMap.Values);
for (int i = 0; i < moveEquipList.Count; i++)
{
MoveEquip equip = moveEquipList[i];
FrmMoveEquip test = new FrmMoveEquip(equip);
treeView1.Nodes[0].Nodes.Add(equip.Name);
}
List<FeedingEquip> feeds = new List<FeedingEquip>(lineBean.FeedingEquipMap.Values);
for (int i = 0; i < feeds.Count; i++)
{
FeedingEquip feed = feeds[i];
FrmFeedingEquip test = new FrmFeedingEquip(feed);
//AddForm(" " + feed.Name + " ", test);
treeView1.Nodes[1].Nodes.Add(feed.Name);
}
List<ProvidingEquip> provids = new List<ProvidingEquip>(lineBean.ProvidingEquipMap.Values);
for (int i = 0; i < provids.Count; i++)
{
ProvidingEquip provid = provids[i];
FrmProvidingEquip test = new FrmProvidingEquip(provid);
//AddForm(" " + provid.Name + " ", test);
treeView1.Nodes[2].Nodes.Add(provid.Name);
}
List<DischargeLine> diss = new List<DischargeLine>(lineBean.DisLineMap.Values);
for (int i = 0; i < diss.Count; i++)
{
DischargeLine line = diss[i];
FrmDischargeLine frm = new FrmDischargeLine(line);
//AddForm(" " + line.Name + " ", frm);
treeView1.Nodes[3].Nodes.Add(line.Name);
}
}
private void LoadListView()
{
this.listView1.Columns.Clear();
AddHealder("设备名称", 90);
AddHealder("设备名称", 110);
AddHealder("启用", 40);
AddHealder("报警", 110);
AddHealder("状态", 110);
......@@ -246,25 +183,25 @@ namespace OnlineStore.AssemblyLine
}
this.listView1.Items.Add((ListViewItem)emptyView.Clone());
foreach (ProvidingEquip equip in lineBean.ProvidingEquipMap.Values)
foreach (HYEquipBase equip in lineBean.HYEquipMap.Values)
{
ListViewItem lvi = new ListViewItem();
lvi.Text = equip.Name;
lvi.SubItems.Add(equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
lvi.SubItems.Add(equip.IsDebug.Equals(1) ? "✘" : "✔");
lvi.SubItems.Add(equip.alarmType.ToString());
lvi.SubItems.Add(equip.GetRunStr());
this.listView1.Items.Add(lvi);
}
this.listView1.Items.Add((ListViewItem)emptyView.Clone());
foreach (DischargeLine equip in lineBean.DisLineMap.Values)
{
ListViewItem lvi = new ListViewItem();
lvi.Text = equip.Name;
lvi.SubItems.Add(equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
lvi.SubItems.Add(equip.alarmType.ToString());
lvi.SubItems.Add(equip.GetRunStr());
this.listView1.Items.Add(lvi);
}
//foreach (DischargeLine equip in lineBean.DisLineMap.Values)
//{
// ListViewItem lvi = new ListViewItem();
// lvi.Text = equip.Name;
// lvi.SubItems.Add(equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
// lvi.SubItems.Add(equip.alarmType.ToString());
// lvi.SubItems.Add(equip.GetRunStr());
// this.listView1.Items.Add(lvi);
//}
cmbBoxIndex.Items.Clear();
foreach (int key in lineBean.MoveEquipMap.Keys)
{
......@@ -329,14 +266,14 @@ namespace OnlineStore.AssemblyLine
//如果料仓还在运行状态,先关闭料仓
if (!lineBean.runStatus.Equals(LineRunStatus.Wait))
{
LogUtil.info( "即将退出程序,停止" + lineBean.Name + "运行 ");
LogUtil.info("即将退出程序,停止" + lineBean.Name + "运行 ");
lineBean.StopRun();
}
foreach (EquipBase equip in lineBean.AllEquipMap.Values)
{
if (equip.runStatus > LineRunStatus.Wait)
{
LogUtil.info( "即将退出程序,停止" + equip.Name + "运行 ");
LogUtil.info("即将退出程序,停止" + equip.Name + "运行 ");
equip.StopRun();
}
}
......@@ -390,7 +327,7 @@ namespace OnlineStore.AssemblyLine
MessageBox.Show(lineBean.Name + "当前状态:" + lineBean.runStatus + ",不能启动!");
return;
}
LogUtil.info( "点击 开始启动");
LogUtil.info("点击 开始启动");
startTimer.Interval = 300;
startTimer.Elapsed += timer_Elapsed;
startTimer.AutoReset = false;
......@@ -559,6 +496,7 @@ namespace OnlineStore.AssemblyLine
private void timer1_Tick(object sender, EventArgs e)
{
LogM();
UpdateControl();
if (!listView1.Visible)
{
return;
......@@ -578,7 +516,7 @@ namespace OnlineStore.AssemblyLine
}
lblStatus.Text = lineBean.GetRunStr() + canScanCode;
string time = LineManager.Line.alarmType.Equals(LineAlarmType.None) ? "" : LineManager.Line.LastAlarmTime.ToLongTimeString();
string warnMsg = LineManager.Line.WarnMsg.Equals("") ? "" : time+ LineManager.Line.WarnMsg + "\r\n";
string warnMsg = LineManager.Line.WarnMsg.Equals("") ? "" : time + LineManager.Line.WarnMsg + "\r\n";
lblMoveInfo.Text = LineManager.Line.GetMoveStr();
if (TrayManager.TrayErrorMsg.Equals("").Equals(false))
......@@ -593,7 +531,7 @@ namespace OnlineStore.AssemblyLine
if (move.alarmType.Equals(LineAlarmType.None).Equals(false))
{
warnMsg +=move.LastAlarmTime.ToLongTimeString()+" "+ move.WarnMsg + "\r\n";
warnMsg += move.LastAlarmTime.ToLongTimeString() + " " + move.WarnMsg + "\r\n";
}
else
{
......@@ -639,7 +577,7 @@ namespace OnlineStore.AssemblyLine
SetItemText(i, item_SAlarmType_index, "");
SetItemText(i, item_BoxStr_index, "");
}
SetItemColor(i, move.runStatus,move.alarmType);
SetItemColor(i, move.runStatus, move.alarmType);
i++;
}
i++;
......@@ -652,23 +590,23 @@ namespace OnlineStore.AssemblyLine
i++;
}
i++;
foreach (ProvidingEquip equip in lineBean.ProvidingEquipMap.Values)
foreach (HYEquipBase equip in lineBean.HYEquipMap.Values)
{
SetItemText(i, item_debug_index, equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
SetItemText(i, item_debug_index, equip.IsDebug.Equals(1) ? "✘" : "✔");
SetItemText(i, item_alarm_index, equip.alarmType.ToString());
SetItemText(i, item_runStr_index, equip.GetRunStr());
SetItemColor(i, equip.runStatus, equip.alarmType);
i++;
}
i++;
foreach (DischargeLine equip in lineBean.DisLineMap.Values)
{
SetItemText(i, item_debug_index, equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
SetItemText(i, item_alarm_index, equip.alarmType.ToString());
SetItemText(i, item_runStr_index, equip.GetRunStr());
SetItemColor(i, equip.runStatus, equip.alarmType);
i++;
}
//foreach (DischargeLine equip in lineBean.DisLineMap.Values)
//{
// SetItemText(i, item_debug_index, equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
// SetItemText(i, item_alarm_index, equip.alarmType.ToString());
// SetItemText(i, item_runStr_index, equip.GetRunStr());
// SetItemColor(i, equip.runStatus, equip.alarmType);
// i++;
//}
if (lineBean.runStatus > LineRunStatus.Wait)
{
if (启动AToolStripMenuItem.Enabled.Equals(true))
......@@ -692,10 +630,7 @@ namespace OnlineStore.AssemblyLine
SetMenuS(复位RToolStripMenuItem, false);
SetMenuS(停止TToolStripMenuItem, false);
}
if (!chbAGV.Checked.Equals(AgvClient.CurrCancelState))
{
chbAGV.Checked = AgvClient.CurrCancelState;
}
}
private void SetItemColor(int i, LineRunStatus runStatus, LineAlarmType alarmType)
......@@ -751,23 +686,7 @@ namespace OnlineStore.AssemblyLine
}
}
}
private void chbAutoRun_CheckedChanged(object sender, EventArgs e)
{
if (!LoadOk)
{
return;
}
if (chbAutoRun.Checked)
{
ConfigAppSettings.SaveValue(Setting_Init.App_AutoRun, 1);
ManagerUtil.AutoRun(Application.ExecutablePath, true);
}
else
{
ConfigAppSettings.SaveValue(Setting_Init.App_AutoRun, 0);
ManagerUtil.AutoRun(Application.ExecutablePath, false);
}
}
private void tabControl1_DrawItem(object sender, DrawItemEventArgs e)
{
......@@ -933,11 +852,11 @@ namespace OnlineStore.AssemblyLine
foreach (TrayInfo t in tray)
{
LogUtil.info(t.ToStr());
msg += t.ToStr()+ "\r\n";
msg += t.ToStr() + "\r\n";
}
LogUtil.info("-------------------结束打印托盘信息");
msg += "-------------------结束打印托盘信息";
MessageBox.Show(msg,"托盘信息列表");
MessageBox.Show(msg, "托盘信息列表");
}
private void btnClearTray_Click(object sender, EventArgs e)
......@@ -1035,35 +954,7 @@ namespace OnlineStore.AssemblyLine
frm.ShowDialog();
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (!LoadOk)
{
return;
}
if (chbAGV.Checked.Equals(AgvClient.CurrCancelState))
{
return;
}
bool result = chbAGV.Checked;
AgvClient.SetCancelState(result);
LogUtil.info("勾选:AgvClient.SetCancelState =" + result);
}
private void chbBuzzer_CheckedChanged(object sender, EventArgs e)
{
if (!LoadOk)
{
return;
}
if (chbBuzzer.Checked.Equals(LineManager.UseBuzzer))
{
return;
}
LineManager.UseBuzzer = chbBuzzer.Checked;
LogUtil.info("勾选:UseBuzzer =" + LineManager.UseBuzzer);
ConfigAppSettings.SaveValue(Setting_Init.UseBuzzer, (LineManager.UseBuzzer ? 1 : 0));
}
private void chbTrayCheck_CheckedChanged(object sender, EventArgs e)
{
......@@ -1202,9 +1093,125 @@ namespace OnlineStore.AssemblyLine
LogUtil.info(Name + " 点击:" + aGVCancelStateToolStripMenuItem.Text);
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
#region 按钮界面
private void UpdateControl()
{
if (tableLayoutPanel1.Visible)
{
foreach (int key in equipControls1.Keys)
{
EquipControl con = equipControls1[key];
con.ShowData(lineBean.MoveEquipMap[key]);
}
}
if (tableLayoutPanel2.Visible)
{
foreach (int key in equipControls2.Keys)
{
EquipControl con = equipControls2[key];
if (key < 200)
{
con.ShowData(lineBean.FeedingEquipMap[key]);
}
else
{
con.ShowData(lineBean.HYEquipMap[key]);
}
}
}
}
private Dictionary<int, EquipControl> equipControls1 = new Dictionary<int, EquipControl>();
private Dictionary<int, EquipControl> equipControls2 = new Dictionary<int, EquipControl>();
private void LoadMoveList()
{
equipControls1 = new Dictionary<int, EquipControl>();
equipControls2 = new Dictionary<int, EquipControl>();
List<MoveEquip> moveEquipList = new List<MoveEquip>(lineBean.MoveEquipMap.Values);
List<FeedingEquip> FeedList = new List<FeedingEquip>(lineBean.FeedingEquipMap.Values);
List<HYEquipBase> hyList = new List<HYEquipBase>(lineBean.HYEquipMap.Values);
int num = 0;
for (int i = 0; i < moveEquipList.Count; i++)
{
MoveEquip equip = moveEquipList[i];
EquipControl control = EquipControl.NewControl(equip);
control.DoubleClick += Control_DoubleClick;
control.Click += Control_DoubleClick;
int row = num / 5;
int col = num % 5;
this.tableLayoutPanel1.Controls.Add(control, col, row);
equipControls1.Add(equip.DeviceID, control);
num++;
}
num = 0;
for (int i = 0; i < FeedList.Count; i++)
{
FeedingEquip equip = FeedList[i];
EquipControl control = EquipControl.NewControl(equip);
control.DoubleClick += Control_DoubleClick;
control.Click += Control_DoubleClick;
int row = num / 5;
int col = num % 5;
this.tableLayoutPanel2.Controls.Add(control, col, row);
equipControls2.Add(equip.DeviceID, control);
num++;
}
for (int i = 0; i < hyList.Count; i++)
{
HYEquipBase equip = hyList[i];
EquipControl control = EquipControl.NewControl(equip);
control.DoubleClick += Control_DoubleClick;
control.Click += Control_DoubleClick;
int row = num / 5;
int col = num % 5;
this.tableLayoutPanel2.Controls.Add(control, col, row);
equipControls2.Add(equip.DeviceID, control);
num++;
}
}
private void Control_DoubleClick(object sender, EventArgs e)
{
if (sender is EquipControl)
{
EquipControl control = (EquipControl)sender;
int deviceId = control.DeviceId;
if (lineBean.MoveEquipMap.ContainsKey(deviceId))
{
FrmMoveEquip frm = new FrmMoveEquip(lineBean.MoveEquipMap[deviceId]);
frm.ShowDialog();
}
else if (lineBean.FeedingEquipMap.ContainsKey(deviceId))
{
FrmFeedingEquip frm = new FrmFeedingEquip(lineBean.FeedingEquipMap[deviceId]);
frm.ShowDialog();
}
else if (lineBean.HYEquipMap.ContainsKey(deviceId))
{
FrmHYEquip frm = new FrmHYEquip(lineBean.HYEquipMap[deviceId]);
frm.ShowDialog();
}
}
}
#endregion
}
}
......@@ -77,6 +77,7 @@
this.btnP2 = new System.Windows.Forms.Button();
this.txtP2 = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.Button();
this.lblName = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox4.SuspendLayout();
......@@ -98,6 +99,7 @@
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btnCloseAll);
this.groupBox1.Controls.Add(this.txtDOIndex);
this.groupBox1.Controls.Add(this.txtDoName);
this.groupBox1.Controls.Add(this.label17);
......@@ -109,9 +111,9 @@
this.groupBox1.Controls.Add(this.txtSlaveId);
this.groupBox1.Controls.Add(this.cmbWriteIO);
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(497, 6);
this.groupBox1.Location = new System.Drawing.Point(498, 6);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(375, 160);
this.groupBox1.Size = new System.Drawing.Size(375, 149);
this.groupBox1.TabIndex = 105;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "DO写入";
......@@ -120,10 +122,10 @@
//
this.txtDOIndex.Enabled = false;
this.txtDOIndex.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtDOIndex.Location = new System.Drawing.Point(321, 57);
this.txtDOIndex.Location = new System.Drawing.Point(198, 60);
this.txtDOIndex.MaxLength = 10;
this.txtDOIndex.Name = "txtDOIndex";
this.txtDOIndex.Size = new System.Drawing.Size(47, 23);
this.txtDOIndex.Size = new System.Drawing.Size(40, 23);
this.txtDOIndex.TabIndex = 276;
this.txtDOIndex.Text = "0";
//
......@@ -131,10 +133,10 @@
//
this.txtDoName.Enabled = false;
this.txtDoName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtDoName.Location = new System.Drawing.Point(64, 57);
this.txtDoName.Location = new System.Drawing.Point(55, 60);
this.txtDoName.MaxLength = 10;
this.txtDoName.Name = "txtDoName";
this.txtDoName.Size = new System.Drawing.Size(116, 23);
this.txtDoName.Size = new System.Drawing.Size(92, 23);
this.txtDoName.TabIndex = 275;
this.txtDoName.Text = "0";
//
......@@ -143,11 +145,11 @@
this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label17.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label17.Location = new System.Drawing.Point(12, 66);
this.label17.Location = new System.Drawing.Point(12, 63);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(46, 17);
this.label17.Size = new System.Drawing.Size(35, 17);
this.label17.TabIndex = 274;
this.label17.Text = "设备IP:";
this.label17.Text = "设备:";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label14
......@@ -155,7 +157,7 @@
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label14.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label14.Location = new System.Drawing.Point(265, 60);
this.label14.Location = new System.Drawing.Point(155, 63);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(35, 17);
this.label14.TabIndex = 273;
......@@ -167,9 +169,9 @@
this.btnOpenDo.BackColor = System.Drawing.Color.White;
this.btnOpenDo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOpenDo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOpenDo.Location = new System.Drawing.Point(162, 94);
this.btnOpenDo.Location = new System.Drawing.Point(135, 94);
this.btnOpenDo.Name = "btnOpenDo";
this.btnOpenDo.Size = new System.Drawing.Size(100, 34);
this.btnOpenDo.Size = new System.Drawing.Size(110, 34);
this.btnOpenDo.TabIndex = 272;
this.btnOpenDo.Text = "打开";
this.btnOpenDo.UseVisualStyleBackColor = false;
......@@ -180,9 +182,9 @@
this.btnWriteSingleDO.BackColor = System.Drawing.Color.White;
this.btnWriteSingleDO.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnWriteSingleDO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnWriteSingleDO.Location = new System.Drawing.Point(268, 94);
this.btnWriteSingleDO.Location = new System.Drawing.Point(251, 94);
this.btnWriteSingleDO.Name = "btnWriteSingleDO";
this.btnWriteSingleDO.Size = new System.Drawing.Size(100, 34);
this.btnWriteSingleDO.Size = new System.Drawing.Size(110, 34);
this.btnWriteSingleDO.TabIndex = 269;
this.btnWriteSingleDO.Text = "关闭";
this.btnWriteSingleDO.UseVisualStyleBackColor = false;
......@@ -191,10 +193,10 @@
// txtWriteTime
//
this.txtWriteTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtWriteTime.Location = new System.Drawing.Point(75, 100);
this.txtWriteTime.Location = new System.Drawing.Point(321, 60);
this.txtWriteTime.MaxLength = 10;
this.txtWriteTime.Name = "txtWriteTime";
this.txtWriteTime.Size = new System.Drawing.Size(66, 23);
this.txtWriteTime.Size = new System.Drawing.Size(40, 23);
this.txtWriteTime.TabIndex = 271;
this.txtWriteTime.Text = "0";
//
......@@ -203,7 +205,7 @@
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label5.Location = new System.Drawing.Point(12, 103);
this.label5.Location = new System.Drawing.Point(253, 63);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(60, 17);
this.label5.TabIndex = 270;
......@@ -229,9 +231,9 @@
this.cmbWriteIO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbWriteIO.FormattingEnabled = true;
this.cmbWriteIO.ItemHeight = 22;
this.cmbWriteIO.Location = new System.Drawing.Point(10, 19);
this.cmbWriteIO.Location = new System.Drawing.Point(17, 19);
this.cmbWriteIO.Name = "cmbWriteIO";
this.cmbWriteIO.Size = new System.Drawing.Size(358, 28);
this.cmbWriteIO.Size = new System.Drawing.Size(344, 28);
this.cmbWriteIO.TabIndex = 234;
this.cmbWriteIO.ValueMember = "ProName";
this.cmbWriteIO.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbWriteIO_DrawItem);
......@@ -244,7 +246,7 @@
this.groupBox4.Controls.Add(this.tableLayoutPanel2);
this.groupBox4.Location = new System.Drawing.Point(251, 6);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(240, 467);
this.groupBox4.Size = new System.Drawing.Size(240, 507);
this.groupBox4.TabIndex = 104;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "DO列表";
......@@ -262,7 +264,7 @@
this.tableLayoutPanel2.RowCount = 2;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(229, 447);
this.tableLayoutPanel2.Size = new System.Drawing.Size(229, 487);
this.tableLayoutPanel2.TabIndex = 103;
//
// groupBox3
......@@ -272,7 +274,7 @@
this.groupBox3.Controls.Add(this.tableLayoutPanel1);
this.groupBox3.Location = new System.Drawing.Point(6, 6);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(240, 467);
this.groupBox3.Size = new System.Drawing.Size(240, 507);
this.groupBox3.TabIndex = 103;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "DI列表";
......@@ -290,23 +292,22 @@
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(229, 447);
this.tableLayoutPanel1.Size = new System.Drawing.Size(229, 487);
this.tableLayoutPanel1.TabIndex = 102;
//
// groupBox5
//
this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox5.Controls.Add(this.btnCloseAll);
this.groupBox5.Controls.Add(this.btnStop2Up);
this.groupBox5.Controls.Add(this.btnStop1Up);
this.groupBox5.Controls.Add(this.btnClampSlack);
this.groupBox5.Controls.Add(this.btnUpDownUp);
this.groupBox5.Controls.Add(this.btnBeforeAfterBefore);
this.groupBox5.Controls.Add(this.btnTopUp);
this.groupBox5.Location = new System.Drawing.Point(878, 6);
this.groupBox5.Location = new System.Drawing.Point(879, 6);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(428, 160);
this.groupBox5.Size = new System.Drawing.Size(271, 149);
this.groupBox5.TabIndex = 255;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "IO操作测试";
......@@ -316,9 +317,9 @@
this.btnCloseAll.BackColor = System.Drawing.Color.White;
this.btnCloseAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCloseAll.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCloseAll.Location = new System.Drawing.Point(308, 66);
this.btnCloseAll.Location = new System.Drawing.Point(17, 94);
this.btnCloseAll.Name = "btnCloseAll";
this.btnCloseAll.Size = new System.Drawing.Size(114, 73);
this.btnCloseAll.Size = new System.Drawing.Size(110, 34);
this.btnCloseAll.TabIndex = 259;
this.btnCloseAll.Text = "关闭所有DO";
this.btnCloseAll.UseVisualStyleBackColor = false;
......@@ -329,9 +330,9 @@
this.btnStop2Up.BackColor = System.Drawing.Color.White;
this.btnStop2Up.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStop2Up.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStop2Up.Location = new System.Drawing.Point(162, 27);
this.btnStop2Up.Location = new System.Drawing.Point(134, 21);
this.btnStop2Up.Name = "btnStop2Up";
this.btnStop2Up.Size = new System.Drawing.Size(140, 34);
this.btnStop2Up.Size = new System.Drawing.Size(110, 34);
this.btnStop2Up.TabIndex = 258;
this.btnStop2Up.Text = "阻挡2下降";
this.btnStop2Up.UseVisualStyleBackColor = false;
......@@ -342,9 +343,9 @@
this.btnStop1Up.BackColor = System.Drawing.Color.White;
this.btnStop1Up.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStop1Up.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStop1Up.Location = new System.Drawing.Point(12, 27);
this.btnStop1Up.Location = new System.Drawing.Point(18, 21);
this.btnStop1Up.Name = "btnStop1Up";
this.btnStop1Up.Size = new System.Drawing.Size(140, 34);
this.btnStop1Up.Size = new System.Drawing.Size(110, 34);
this.btnStop1Up.TabIndex = 256;
this.btnStop1Up.Text = "阻挡1下降";
this.btnStop1Up.UseVisualStyleBackColor = false;
......@@ -355,9 +356,9 @@
this.btnClampSlack.BackColor = System.Drawing.Color.White;
this.btnClampSlack.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClampSlack.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClampSlack.Location = new System.Drawing.Point(12, 105);
this.btnClampSlack.Location = new System.Drawing.Point(18, 99);
this.btnClampSlack.Name = "btnClampSlack";
this.btnClampSlack.Size = new System.Drawing.Size(140, 34);
this.btnClampSlack.Size = new System.Drawing.Size(110, 34);
this.btnClampSlack.TabIndex = 255;
this.btnClampSlack.Text = "夹料夹紧";
this.btnClampSlack.UseVisualStyleBackColor = false;
......@@ -368,9 +369,9 @@
this.btnUpDownUp.BackColor = System.Drawing.Color.White;
this.btnUpDownUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownUp.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpDownUp.Location = new System.Drawing.Point(162, 105);
this.btnUpDownUp.Location = new System.Drawing.Point(134, 99);
this.btnUpDownUp.Name = "btnUpDownUp";
this.btnUpDownUp.Size = new System.Drawing.Size(140, 34);
this.btnUpDownUp.Size = new System.Drawing.Size(110, 34);
this.btnUpDownUp.TabIndex = 252;
this.btnUpDownUp.Text = "升降上升";
this.btnUpDownUp.UseVisualStyleBackColor = false;
......@@ -381,9 +382,9 @@
this.btnBeforeAfterBefore.BackColor = System.Drawing.Color.White;
this.btnBeforeAfterBefore.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnBeforeAfterBefore.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnBeforeAfterBefore.Location = new System.Drawing.Point(162, 66);
this.btnBeforeAfterBefore.Location = new System.Drawing.Point(134, 60);
this.btnBeforeAfterBefore.Name = "btnBeforeAfterBefore";
this.btnBeforeAfterBefore.Size = new System.Drawing.Size(140, 34);
this.btnBeforeAfterBefore.Size = new System.Drawing.Size(110, 34);
this.btnBeforeAfterBefore.TabIndex = 249;
this.btnBeforeAfterBefore.Text = "横移前进";
this.btnBeforeAfterBefore.UseVisualStyleBackColor = false;
......@@ -394,9 +395,9 @@
this.btnTopUp.BackColor = System.Drawing.Color.White;
this.btnTopUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnTopUp.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnTopUp.Location = new System.Drawing.Point(12, 66);
this.btnTopUp.Location = new System.Drawing.Point(18, 60);
this.btnTopUp.Name = "btnTopUp";
this.btnTopUp.Size = new System.Drawing.Size(140, 34);
this.btnTopUp.Size = new System.Drawing.Size(110, 34);
this.btnTopUp.TabIndex = 246;
this.btnTopUp.Text = "顶升上升";
this.btnTopUp.UseVisualStyleBackColor = false;
......@@ -423,7 +424,7 @@
this.lblThisSta.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lblThisSta.Location = new System.Drawing.Point(274, 64);
this.lblThisSta.Name = "lblThisSta";
this.lblThisSta.Size = new System.Drawing.Size(528, 132);
this.lblThisSta.Size = new System.Drawing.Size(378, 132);
this.lblThisSta.TabIndex = 246;
this.lblThisSta.Text = "等待启动";
this.lblThisSta.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
......@@ -517,7 +518,7 @@
this.tabControl1.Location = new System.Drawing.Point(5, 58);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1323, 509);
this.tabControl1.Size = new System.Drawing.Size(1173, 549);
this.tabControl1.TabIndex = 257;
//
// tabPage1
......@@ -530,7 +531,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 26);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1315, 479);
this.tabPage1.Size = new System.Drawing.Size(1165, 519);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = " IO列表 ";
this.tabPage1.UseVisualStyleBackColor = true;
......@@ -544,19 +545,21 @@
this.groupBox6.Controls.Add(this.lblMoveInfo);
this.groupBox6.Controls.Add(this.lblInstoreList);
this.groupBox6.Controls.Add(this.lblThisSta);
this.groupBox6.Location = new System.Drawing.Point(498, 172);
this.groupBox6.Location = new System.Drawing.Point(498, 161);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(808, 301);
this.groupBox6.Size = new System.Drawing.Size(658, 352);
this.groupBox6.TabIndex = 278;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "消息";
//
// lblInoutInfo
//
this.lblInoutInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblInoutInfo.ForeColor = System.Drawing.Color.Green;
this.lblInoutInfo.Location = new System.Drawing.Point(13, 16);
this.lblInoutInfo.Name = "lblInoutInfo";
this.lblInoutInfo.Size = new System.Drawing.Size(788, 42);
this.lblInoutInfo.Size = new System.Drawing.Size(639, 42);
this.lblInoutInfo.TabIndex = 281;
this.lblInoutInfo.Text = "当前出入库:";
//
......@@ -580,7 +583,7 @@
this.lblInstoreList.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lblInstoreList.Location = new System.Drawing.Point(274, 180);
this.lblInstoreList.Name = "lblInstoreList";
this.lblInstoreList.Size = new System.Drawing.Size(528, 115);
this.lblInstoreList.Size = new System.Drawing.Size(378, 115);
this.lblInstoreList.TabIndex = 277;
//
// tabPage2
......@@ -862,6 +865,7 @@
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.Controls.Add(this.btnClose);
this.panel1.Controls.Add(this.lblName);
this.panel1.Controls.Add(this.chbDebug);
this.panel1.Controls.Add(this.lblStoreStatus);
......@@ -872,9 +876,22 @@
this.panel1.Controls.Add(this.btnReset);
this.panel1.Location = new System.Drawing.Point(2, 1);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1319, 54);
this.panel1.Size = new System.Drawing.Size(1169, 54);
this.panel1.TabIndex = 258;
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.Color.White;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClose.Location = new System.Drawing.Point(1203, 13);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(110, 40);
this.btnClose.TabIndex = 251;
this.btnClose.Text = "返回";
this.btnClose.UseVisualStyleBackColor = false;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// lblName
//
this.lblName.BackColor = System.Drawing.Color.DodgerBlue;
......@@ -891,7 +908,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1334, 571);
this.ClientSize = new System.Drawing.Size(1184, 611);
this.Controls.Add(this.panel1);
this.Controls.Add(this.tabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
......@@ -985,6 +1002,7 @@
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnDSave;
private System.Windows.Forms.Label lblInoutInfo;
private System.Windows.Forms.Button btnClose;
}
}
......@@ -57,6 +57,7 @@ namespace OnlineStore.AssemblyLine
lblThisSta.Text = equipBean.WarnMsg;
txtP1.Text = equipBean.Config.UpDownAxisP1.ToString();
lblName.Text = equipBean.Name;
this.Text = equipBean.Name;
LoadDP2();
IsLoad = true;
}
......@@ -372,11 +373,11 @@ namespace OnlineStore.AssemblyLine
private void btnStop1Up_Click(object sender, EventArgs e)
{
BtnMove(btnStop1Up, "阻挡1下降", "阻挡1上升", IO_Type.StopCylinder_Down1);
BtnMove(btnStop1Up, "阻挡1下降", "阻挡1上升", IO_Type.StopDown1);
}
private void btnStop2Up_Click(object sender, EventArgs e)
{
BtnMove(btnStop2Up, "阻挡2下降", "阻挡2上升", IO_Type.StopCylinder_Down2);
BtnMove(btnStop2Up, "阻挡2下降", "阻挡2上升", IO_Type.StopDown2);
}
private void btnTopUp_Click(object sender, EventArgs e)
......@@ -402,7 +403,7 @@ namespace OnlineStore.AssemblyLine
}
private void btnClampSlack_Click(object sender, EventArgs e)
{
BtnMove(btnClampSlack, "夹料夹紧", "夹料放松", IO_Type.ClampCylinder_Tighten, IO_Type.ClampCylinder_Slack);
BtnMove(btnClampSlack, "夹料夹紧", "夹料放松", IO_Type.ClampCylinder_Relax, IO_Type.ClampCylinder_Work);
}
private void cmbSizeList_SelectedIndexChanged(object sender, EventArgs e)
......@@ -591,6 +592,11 @@ namespace OnlineStore.AssemblyLine
}
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
......
......@@ -29,7 +29,6 @@ namespace OnlineStore.AssemblyLine
comboxType.Items.Clear();
foreach (EquipBase b in LineManager.Line.AllEquipMap.Values)
{
if (b.baseConfig.DType.Equals(DeviceType.DischargeLine)) { continue; }
string key = b.Name + "-托盘RF";
string value = RFIDManager.GetRFIP(b.DeviceID);
rfMap.Add(key, value);
......
namespace OnlineStore.AssemblyLine
{
partial class EquipControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.lblTrayNum = new System.Windows.Forms.Label();
this.lblName = new System.Windows.Forms.Label();
this.lblStatus = new System.Windows.Forms.Label();
this.lblMoveInfo = new System.Windows.Forms.Label();
this.lblDebug = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.lblBox = new System.Windows.Forms.Label();
this.panName = new System.Windows.Forms.Panel();
this.panName.SuspendLayout();
this.SuspendLayout();
//
// lblTrayNum
//
this.lblTrayNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblTrayNum.AutoSize = true;
this.lblTrayNum.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblTrayNum.ForeColor = System.Drawing.Color.Black;
this.lblTrayNum.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblTrayNum.Location = new System.Drawing.Point(185, 35);
this.lblTrayNum.Name = "lblTrayNum";
this.lblTrayNum.Size = new System.Drawing.Size(56, 17);
this.lblTrayNum.TabIndex = 0;
this.lblTrayNum.Text = "托盘号:";
this.lblTrayNum.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblName
//
this.lblName.BackColor = System.Drawing.Color.Transparent;
this.lblName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblName.ForeColor = System.Drawing.Color.Black;
this.lblName.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblName.Location = new System.Drawing.Point(3, 2);
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(182, 22);
this.lblName.TabIndex = 1;
this.lblName.Text = "移栽D1-1_1";
this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblStatus
//
this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblStatus.AutoSize = true;
this.lblStatus.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblStatus.ForeColor = System.Drawing.Color.Black;
this.lblStatus.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblStatus.Location = new System.Drawing.Point(3, 29);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(56, 17);
this.lblStatus.TabIndex = 2;
this.lblStatus.Text = "暂未启动";
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblMoveInfo
//
this.lblMoveInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblMoveInfo.AutoSize = true;
this.lblMoveInfo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblMoveInfo.ForeColor = System.Drawing.Color.Black;
this.lblMoveInfo.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblMoveInfo.Location = new System.Drawing.Point(3, 50);
this.lblMoveInfo.Name = "lblMoveInfo";
this.lblMoveInfo.Size = new System.Drawing.Size(68, 17);
this.lblMoveInfo.TabIndex = 3;
this.lblMoveInfo.Text = "暂无出入库";
this.lblMoveInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblDebug
//
this.lblDebug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblDebug.AutoSize = true;
this.lblDebug.BackColor = System.Drawing.Color.Transparent;
this.lblDebug.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblDebug.Location = new System.Drawing.Point(183, 4);
this.lblDebug.Name = "lblDebug";
this.lblDebug.Size = new System.Drawing.Size(51, 20);
this.lblDebug.TabIndex = 5;
this.lblDebug.Text = "启用:";
//
// lblBox
//
this.lblBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblBox.BackColor = System.Drawing.Color.LightGray;
this.lblBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblBox.ForeColor = System.Drawing.Color.Black;
this.lblBox.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblBox.Location = new System.Drawing.Point(2, 75);
this.lblBox.Name = "lblBox";
this.lblBox.Size = new System.Drawing.Size(247, 24);
this.lblBox.TabIndex = 6;
this.lblBox.Text = "BOX状态:";
this.lblBox.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panName
//
this.panName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panName.BackColor = System.Drawing.Color.Lime;
this.panName.Controls.Add(this.lblDebug);
this.panName.Controls.Add(this.lblName);
this.panName.Location = new System.Drawing.Point(1, 1);
this.panName.Name = "panName";
this.panName.Size = new System.Drawing.Size(248, 28);
this.panName.TabIndex = 7;
//
// EquipControl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.LightGreen;
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.Controls.Add(this.panName);
this.Controls.Add(this.lblBox);
this.Controls.Add(this.lblMoveInfo);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lblTrayNum);
this.Name = "EquipControl";
this.Size = new System.Drawing.Size(250, 100);
this.Load += new System.EventHandler(this.EquipControl_Load);
this.panName.ResumeLayout(false);
this.panName.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lblTrayNum;
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.Label lblMoveInfo;
private System.Windows.Forms.Label lblDebug;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Label lblBox;
private System.Windows.Forms.Panel panName;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OnlineStore.DeviceLibrary;
namespace OnlineStore.AssemblyLine
{
public partial class EquipControl : UserControl
{
public string TrayNum
{
get { return lblTrayNum.Text; }
set { lblTrayNum.Text = value; }
}
public string EquipName
{
get { return lblName.Text; }
set { lblName.Text = value; }
}
public string WorkStatus
{
get { return lblStatus.Text; }
set { lblStatus.Text = value; }
}
public string MoveInfo
{
get { return lblMoveInfo.Text; }
set { lblMoveInfo.Text = value; }
}
public Color ColorStatus
{
get { return this.BackColor; }
set
{
this.BackColor = value;
}
}
public void InitData(EquipBase equip)
{
if (equip is MoveEquip)
{
panName.BackColor = Color.DeepSkyBlue;
lblBox.Visible = true;
lblBox.Text = "";
}
else if (equip is FeedingEquip)
{
panName.BackColor = Color.Lime;
lblBox.Visible = false ;
lblBox.Text = "";
}
else
{
panName.BackColor = Color.Aqua;
lblBox.Visible = false ;
lblBox.Text = "";
}
DeviceId = equip.DeviceID;
lblName.Text = equip.Name;
}
public int DeviceId = 0;
public void ShowData(EquipBase equip)
{
lblTrayNum.Text ="托盘:"+equip.currTrayNum;
lblStatus.Text = equip.GetRunStr();
toolTip1.ToolTipTitle = ""+equip.Name+":双击进入";
lblDebug.Text = "启用:" + (equip.IsDebug ? "✘" : "✔");
if (equip.DeviceID < 200)
{
if (equip.MoveInfo.MoveType.Equals(LineMoveType.InStore))
{
lblMoveInfo.Text = "入库中:" + equip.MoveInfo.MoveParam.PosId + "_" + equip.MoveInfo.MoveParam.WareCode;
}
else if (equip.MoveInfo.MoveType.Equals(LineMoveType.OutStore))
{
lblMoveInfo.Text = "出库中:" + equip.MoveInfo.MoveParam.PosId + "_" + equip.MoveInfo.MoveParam.WareCode;
}
else
{
lblMoveInfo.Text = "暂无出入库";
}
if (equip.DeviceID < 100)
{
BoxInfo box = LineServer.GetBoxInfo(equip.DeviceID);
string online = "✘";
if (box != null)
{
//lvi.SubItems.Add(box.CId.ToString());
//lvi.SubItems.Add(online);
//lvi.SubItems.Add(box.SAlarmType.ToString());
//lvi.SubItems.Add(box.ToShowStr());
if ((DateTime.Now - box.LastMsgTime).TotalSeconds < LineServer.ClientKeepSecond)
{
online = "✔";
}
if (box.SAlarmType.Equals(LineAlarm.None))
{
lblBox.Text = "BOX[" + box.CId.ToString() + "]:" + online +" "+ box.ToShowStr();
lblBox.BackColor = Color.Green;
}
else
{
lblBox.Text = "BOX[" + box.CId.ToString() + "]:" + online + " " + box.ToShowStr();
lblBox.BackColor = Color.Red;
}
}
else
{
lblBox.Text = "BOX状态:" + online;
lblBox.BackColor = Color.Gray;
}
}
}
else
{
lblMoveInfo.Text = "暂无托盘横移";
}
SetItemColor(equip.runStatus, equip.alarmType);
}
public EquipControl()
{
InitializeComponent();
}
private void SetItemColor( LineRunStatus runStatus, LineAlarmType alarmType)
{
if (runStatus.Equals(LineRunStatus.Wait))
{
this.BackColor= Color.White ;
}
else if (alarmType.Equals(LineAlarmType.IoSingleTimeOut))
{
this.BackColor = Color.LightCoral;
}
else if (alarmType.Equals(LineAlarmType.None).Equals(false))
{
this.BackColor = Color.Red;
}
else if (runStatus.Equals(LineRunStatus.HomeMoving) || runStatus.Equals(LineRunStatus.Reset))
{
this.BackColor = Color.Orange;
}
else if (runStatus.Equals(LineRunStatus.Busy))
{
this.BackColor = Color.LimeGreen;
}
else if (runStatus.Equals(LineRunStatus.Runing))
{
this.BackColor = Color.LightBlue;
}
}
private void EquipControl_Load(object sender, EventArgs e)
{
//lblName.Text = "";
//lblTrayNum.Text = "";
//lblStatus.Text = "";
//lblMoveInfo.Text = "";
}
public static EquipControl NewControl(EquipBase equip)
{
EquipControl control = new EquipControl();
control.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
control.BackColor = System.Drawing.SystemColors.Control;
control.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
control.ColorStatus = System.Drawing.SystemColors.Control;
control.EquipName = "";
control.Location = new System.Drawing.Point(3, 3);
control.MoveInfo = "";
control.Name = "EquipControl" + equip.DeviceID;
control.Size = new System.Drawing.Size(270, 91);
control.TabIndex = 0;
control.TrayNum = "";
control.WorkStatus = "";
control.EquipName = equip.Name;
control.DeviceId = equip.DeviceID;
control.InitData(equip);
control.ShowData(equip);
return control;
}
}
}
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
<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" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</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" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
......@@ -28,14 +28,14 @@ namespace OnlineStore.Common
public static string Line_moveEquip_count = "Line_moveEquip_count";
public static string Line_feedingEquip_count = "Line_feedingEquip_count";
public static string Line_providingEquip_count = "Line_providingEquip_count";
public static string Line_HYEquip_count = "Line_HYEquip_count";
public static string Line_Type = "Line_Type";
public static string ConfigPath_Line = "ConfigPath_Line";
public static string ConfigPath_MoveEquip = "ConfigPath_MoveEquip";
public static string ConfigPath_FeedingEquip = "ConfigPath_FeedingEquip";
public static string ConfigPath_ProvidingEquip = "ConfigPath_ProvidingEquip";
public static string ConfigPath_HYEquip = "ConfigPath_HYEquip";
/// <summary>
/// 摄像机名称,多个中间使用#分割
/// </summary>
......
......@@ -66,15 +66,13 @@
<ItemGroup>
<Compile Include="agvClient\AgvClient.cs" />
<Compile Include="assemblyLine\FeedingEquip_OutStore.cs" />
<Compile Include="assemblyLine\HY\HYEquipBase.cs" />
<Compile Include="assemblyLine\HY\HY_OutLine.cs" />
<Compile Include="assemblyLine\HY\HY_C1Line.cs" />
<Compile Include="assemblyLine\LineBean_Shunt2.cs" />
<Compile Include="assemblyLine\LineBean_Shunt.cs" />
<Compile Include="assemblyLine\OutTrayLineBean.cs" />
<Compile Include="assemblymanager\ALineManager.cs" />
<Compile Include="assemblyLine\DischargeLine.cs" />
<Compile Include="assemblyLine\DischargeLine_Partial.cs" />
<Compile Include="assemblyLine\ProvidingEquip_Partial.cs" />
<Compile Include="assemblyLine\FeedingEquip_InStore.cs" />
<Compile Include="assemblyLine\ProvidingEquip.cs" />
<Compile Include="assemblyLine\FeedingEquip.cs" />
<Compile Include="assemblymanager\RFIDManagercs.cs" />
<Compile Include="assemblymanager\SServerManager.cs" />
......@@ -98,6 +96,7 @@
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager.cs" />
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager_Partial.cs" />
<Compile Include="assemblyLine\EquipBase.cs" />
<Compile Include="assemblyLine\HY\HY_Coveryor.cs" />
<Compile Include="model\LineAlarm.cs">
<SubType>Code</SubType>
</Compile>
......@@ -161,19 +160,70 @@
<None Include="LineConfig\Config_DischargeLine_1.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\Config_ProvidingEquip_1.csv">
<None Include="LineConfig\HY\Config_HYEquip_01.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\Config_DischargeLine_2.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\Config_ProvidingEquip_2.csv">
<None Include="LineConfig\HY\Config_HYEquip_02.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\Config_ProvidingEquip_3.csv">
<None Include="LineConfig\HY\Config_HYEquip_03.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\Config_ProvidingEquip_4.csv">
<None Include="LineConfig\HY\Config_HYEquip_05.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_06.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_07.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_08.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_09.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_10.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_11.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_12.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_13.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_14.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_15.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_16.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_17.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_18.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_19.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_20.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_21.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_04.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\MoveEquip\Config_MoveEquip_01.csv">
......
......@@ -63,17 +63,17 @@ DI,0,急停,SuddenStop_BTN,0,HC,X00
DI,0,复位,Reset_BTN,1,HC,X01
DI,0,气压检测1,Airpressure_Check,2,HC,X02
DI,217,C7-HY17阻挡托盘检测,C7-HY17阻挡托盘检测,3,HC,X03
DI,217,HY17横移托盘检测,HY17横移托盘检测,4,HC,X04
DI,217,HY17横移顶升上升端,HY17横移顶升上升端,5,HC,X05
DI,217,HY17横移顶升下降端,HY17横移顶升下降端,6,HC,X06
DI,217,HY17横移定位1上升端,HY17横移定位1上升端,7,HC,X07
DI,217,HY17横移定位1下降端,HY17横移定位1下降端,8,HC,X08
DI,217,HY17横移定位2上升端,HY17横移定位2上升端,9,HC,X09
DI,217,HY17横移定位2下降端,HY17横移定位2下降端,10,HC,X10
DI,217,HY17接驳台气缸取料端,HY17接驳台气缸取料端,11,HC,X11
DI,217,HY17接驳台气缸放料端,HY17接驳台气缸放料端,12,HC,X12
DI,217,HY17夹料气缸料盘检测,HY17夹料气缸料盘检测,13,HC,X13
DI,217,HY17夹料气缸放松端,HY17夹料气缸放松端,14,HC,X14
DI,217,HY17横移托盘检测,HY_TrayCheck,4,HC,X04
DI,217,HY17横移顶升上升端,HY_TopCylinder_UP,5,HC,X05
DI,217,HY17横移顶升下降端,HY_TopCylinder_Down,6,HC,X06
DI,217,HY17横移定位1上升端,HY_LocationCylinder_UP1,7,HC,X07
DI,217,HY17横移定位1下降端,HY_LocationCylinder_Down1,8,HC,X08
DI,217,HY17横移定位2上升端,HY_LocationCylinder_UP2,9,HC,X09
DI,217,HY17横移定位2下降端,HY_LocationCylinder_Down2,10,HC,X10
DI,217,HY17接驳台气缸取料端,HY_MoveCylinder_Take,11,HC,X11
DI,217,HY17接驳台气缸放料端,HY_MoveCylinder_Give,12,HC,X12
DI,217,HY17夹料气缸料盘检测,HY_ClampCylinder_Check,13,HC,X13
DI,217,HY17夹料气缸放松端,HY_ClampCylinder_Relax,14,HC,X14
,0,,,15,HC,X15
,,,,,,
DO,0,待机状态(指示灯),AutoRun_HddLed,0,HC,Y00
......@@ -81,22 +81,22 @@ DO,0,运行状态(指示灯),RunSign_HddLed,1,HC,Y01
DO,0,故障状态(指示灯),Alarm_HddLed,2,HC,Y02
DO,0,故障状态(蜂鸣器),Alarm_Buzzer,3,HC,Y03
DO,0,C6/C7/C9线体运转,MotorRun_679,4,HC,Y04
DO,217,HY17横移电机正转,HY17横移电机正转,5,HC,Y05
DO,217,HY17阻挡下降,HY17阻挡下降,6,HC,Y06
DO,217,HY17横移顶升上升,HY17横移顶升上升,7,HC,Y07
DO,217,HY17横移顶升下降,HY17横移顶升下降,8,HC,Y08
DO,217,HY17横移定位上升,HY17横移定位上升,9,HC,Y09
DO,217,HY17横移定位下降,HY17横移定位下降,10,HC,Y10
DO,217,HY17接驳台气缸取料,HY17接驳台气缸取料,11,HC,Y11
DO,217,HY17接驳台气缸放料,HY17接驳台气缸放料,12,HC,Y12
DO,217,HY17夹料气缸夹紧,HY17夹料气缸夹紧,13,HC,Y13
DO,217,HY17夹料气缸放松,HY17夹料气缸放松,14,HC,Y14
DO,217,HY17横移电机正转,HY_LineRun,5,HC,Y05
DO,217,HY17阻挡下降,HY_StopDown,6,HC,Y06
DO,217,HY17横移顶升上升,HY_TopCylinder_UP,7,HC,Y07
DO,217,HY17横移顶升下降,HY_TopCylinder_Down,8,HC,Y08
DO,217,HY17横移定位上升,HY_LocationCylinder_UP,9,HC,Y09
DO,217,HY17横移定位下降,HY_LocationCylinder_Down,10,HC,Y10
DO,217,HY17接驳台气缸取料,HY_MoveCylinder_Take,11,HC,Y11
DO,217,HY17接驳台气缸放料,HY_MoveCylinder_Give,12,HC,Y12
DO,217,HY17夹料气缸夹紧,HY_ClampCylinder_Work,13,HC,Y13
DO,217,HY17夹料气缸放松,HY_ClampCylinder_Relax,14,HC,Y14
,,,,15,HC,Y15
,,,,,,
,,,,,,
,,D11&D12&HY15,D11&D12&HY15,,,
DI,22,D11-1阻挡1托盘检测,StopCylinder_Check1,16,HC,X16
DI,22,D11-1阻挡2托盘检测,StopCylinder_Check2,17,HC,X17
DI,22,D11-1阻挡1托盘检测,StopCheck1,16,HC,X16
DI,22,D11-1阻挡2托盘检测,StopCheck2,17,HC,X17
DI,22,D11-1顶升上升端,TopCylinder_UP,18,HC,X18
DI,22,D11-1顶升下降端,TopCylinder_Down,19,HC,X19
DI,22,D11-1横移前进端,BeforeAfterCylinder_Before,20,HC,X20
......@@ -105,8 +105,8 @@ DI,22,D11-1夹料气缸料盘检测,ClampCylinder_Check,22,HC,X22
DI,22,D11-1夹料放松端,ClampCylinder_Relax,23,HC,X23
DI,22,D11-1升降上升端,UpDownCylinder_Up,24,HC,X24
DI,22,D11-1升降下降端,UpDownCylinder_Down,25,HC,X25
DI,21,D11-2阻挡1托盘检测,StopCylinder_Check1,26,HC,X26
DI,21,D11-2阻挡2托盘检测,StopCylinder_Check2,27,HC,X27
DI,21,D11-2阻挡1托盘检测,StopCheck1,26,HC,X26
DI,21,D11-2阻挡2托盘检测,StopCheck2,27,HC,X27
DI,21,D11-2顶升上升端,TopCylinder_UP,28,HC,X28
DI,21,D11-2顶升下降端,TopCylinder_Down,29,HC,X29
DI,21,D11-2横移前进端,BeforeAfterCylinder_Before,30,HC,X30
......@@ -115,29 +115,29 @@ DI,21,D11-2夹料气缸料盘检测,ClampCylinder_Check,32,HC,X32
DI,21,D11-2夹料放松端,ClampCylinder_Relax,33,HC,X33
DI,21,D11-2升降上升端,UpDownCylinder_Up,34,HC,X34
DI,21,D11-2升降下降端,UpDownCylinder_Down,35,HC,X35
DI,24,D12-1阻挡1托盘检测,StopCylinder_Check1,36,HC,X36
DI,24,D12-1阻挡2托盘检测,StopCylinder_Check2,37,HC,X37
DI,24,D12-1阻挡1托盘检测,StopCheck1,36,HC,X36
DI,24,D12-1阻挡2托盘检测,StopCheck2,37,HC,X37
DI,24,D12-1顶升上升端,TopCylinder_UP,38,HC,X38
DI,24,D12-1顶升下降端,TopCylinder_Down,39,HC,X39
DI,24,D12-1横移前进端,BeforeAfterCylinder_Before,40,HC,X40
DI,24,D12-1横移后退端,BeforeAfterCylinder_After,41,HC,X41
DI,24,D12-1夹料气缸料盘检测,ClampCylinder_Check,42,HC,X42
DI,24,D12-1夹料放松端,ClampCylinder_Relax,43,HC,X43
DI,23,D12-2阻挡1托盘检测,StopCylinder_Check1,44,HC,X44
DI,23,D12-2阻挡2托盘检测,StopCylinder_Check2,45,HC,X45
DI,23,D12-2阻挡1托盘检测,StopCheck1,44,HC,X44
DI,23,D12-2阻挡2托盘检测,StopCheck2,45,HC,X45
DI,23,D12-2顶升上升端,TopCylinder_UP,46,HC,X46
DI,23,D12-2顶升下降端,TopCylinder_Down,47,HC,X47
DI,23,D12-2横移前进端,BeforeAfterCylinder_Before,48,HC,X48
DI,23,D12-2横移后退端,BeforeAfterCylinder_After,49,HC,X49
DI,23,D12-2夹料气缸料盘检测,ClampCylinder_Check,50,HC,X50
DI,23,D12-2夹料放松端,ClampCylinder_Relax,51,HC,X51
DI,216,HY16前阻挡托盘检测,HY16前阻挡托盘检测,52,HC,X52
DI,216,HY16横移托盘检测,HY16横移托盘检测,53,HC,X53
DI,216,HY16横移顶升上升端,HY16横移顶升上升端,54,HC,X54
DI,216,HY16横移顶升下降端,HY16横移顶升下降端,55,HC,X55
DI,216,HY16-C7阻挡上升端,HY16-C7阻挡上升端,56,HC,X56
DI,216,HY16-C7阻挡下降端,HY16-C7阻挡下降端,57,HC,X57
DI,217,C7-HY17满料检测,C7-HY17满料检测,58,HC,X58
DI,216,HY16前阻挡托盘检测,HY_FrontStopCheck,52,HC,X52
DI,216,HY16横移托盘检测,HY_TrayCheck,53,HC,X53
DI,216,HY16横移顶升上升端,HY_TopCylinder_UP,54,HC,X54
DI,216,HY16横移顶升下降端,HY_TopCylinder_Down,55,HC,X55
DI,216,HY16-C7阻挡上升端,HY_StopCylinder_Up,56,HC,X56
DI,216,HY16-C7阻挡下降端,HY_StopCylinder_Down,57,HC,X57
DI,217,C7-HY17满料检测,HY_TrayImpletion_Check,58,HC,X58
,,,,59,HC,X59
,,,,60,HC,X60
,,,,61,HC,X61
......@@ -145,8 +145,8 @@ DI,217,C7-HY17满料检测,C7-HY17满料检测,58,HC,X58
,,,,63,HC,X63
,,,,,,
,,,,,,
DO,22,D11-1阻挡1下降,StopCylinder_Check1,16,HC,Y16
DO,22,D11-1阻挡2下降,StopCylinder_Check2,17,HC,Y17
DO,22,D11-1阻挡1下降,StopDown1,16,HC,Y16
DO,22,D11-1阻挡2下降,StopDown2,17,HC,Y17
DO,22,D11-1顶升上升,TopCylinder_UP,18,HC,Y18
DO,22,D11-1顶升下降,TopCylinder_Down,19,HC,Y19
DO,22,D11-1横移前进,BeforeAfterCylinder_Before,20,HC,Y20
......@@ -155,8 +155,8 @@ DO,22,D11-1夹料夹紧,ClampCylinder_Work,22,HC,Y22
DO,22,D11-1夹料放松,ClampCylinder_Relax,23,HC,Y23
DO,22,D11-1升降上升,UpDownCylinder_Up,24,HC,Y24
DO,22,D11-1升降下降,UpDownCylinder_Down,25,HC,Y25
DO,21,D11-2阻挡1下降,StopCylinder_Check1,26,HC,Y26
DO,21,D11-2阻挡2下降,StopCylinder_Check2,27,HC,Y27
DO,21,D11-2阻挡1下降,StopDown1,26,HC,Y26
DO,21,D11-2阻挡2下降,StopDown2,27,HC,Y27
DO,21,D11-2顶升上升,TopCylinder_UP,28,HC,Y28
DO,21,D11-2顶升下降,TopCylinder_Down,29,HC,Y29
DO,21,D11-2横移前进,BeforeAfterCylinder_Before,30,HC,Y30
......@@ -165,29 +165,29 @@ DO,21,D11-2夹料夹紧,ClampCylinder_Work,32,HC,Y32
DO,21,D11-2夹料放松,ClampCylinder_Relax,33,HC,Y33
DO,21,D11-2升降上升,UpDownCylinder_Up,34,HC,Y34
DO,21,D11-2升降下降,UpDownCylinder_Down,35,HC,Y35
DO,24,D12-1阻挡1下降,StopCylinder_Check1,36,HC,Y36
DO,24,D12-1阻挡2下降,StopCylinder_Check2,37,HC,Y37
DO,24,D12-1阻挡1下降,StopDown1,36,HC,Y36
DO,24,D12-1阻挡2下降,StopDown2,37,HC,Y37
DO,24,D12-1顶升上升,TopCylinder_UP,38,HC,Y38
DO,24,D12-1顶升下降,TopCylinder_Down,39,HC,Y39
DO,24,D12-1横移前进,BeforeAfterCylinder_Before,40,HC,Y40
DO,24,D12-1横移后退,BeforeAfterCylinder_After,41,HC,Y41
DO,24,D12-1夹料夹紧,ClampCylinder_Work,42,HC,Y42
DO,24,D12-1夹料放松,ClampCylinder_Relax,43,HC,Y43
DO,23,D12-2阻挡1下降,StopCylinder_Check1,44,HC,Y44
DO,23,D12-2阻挡2下降,StopCylinder_Check2,45,HC,Y45
DO,23,D12-2阻挡1下降,StopDown1,44,HC,Y44
DO,23,D12-2阻挡2下降,StopDown2,45,HC,Y45
DO,23,D12-2顶升上升,TopCylinder_UP,46,HC,Y46
DO,23,D12-2顶升下降,TopCylinder_Down,47,HC,Y47
DO,23,D12-2横移前进,BeforeAfterCylinder_Before,48,HC,Y48
DO,23,D12-2横移后退,BeforeAfterCylinder_After,49,HC,Y49
DO,23,D12-2夹料夹紧,ClampCylinder_Work,50,HC,Y50
DO,23,D12-2夹料放松,ClampCylinder_Relax,51,HC,Y51
DO,216,HY16横移电机正转,HY16横移电机正转,52,HC,Y52
DO,216,HY16横移顶升上升,HY16横移顶升上升,53,HC,Y53
DO,216,HY16横移顶升下降,HY16横移顶升下降,54,HC,Y54
DO,216,HY16前阻挡下降,HY16前阻挡下降,55,HC,Y55
DO,216,HY16阻挡下降,HY16阻挡下降,56,HC,Y56
DO,216,HY16-C7阻挡上升,HY16-C7阻挡上升,57,HC,Y57
DO,216,HY16-C7阻挡下降,HY16-C7阻挡下降,58,HC,Y58
DO,216,HY16横移电机正转,HY_LineRun,52,HC,Y52
DO,216,HY16横移顶升上升,HY_TopCylinder_UP,53,HC,Y53
DO,216,HY16横移顶升下降,HY_TopCylinder_Down,54,HC,Y54
DO,216,HY16前阻挡下降,HY_FrontStopDown,55,HC,Y55
DO,216,HY16阻挡下降,HY_StopDown,56,HC,Y56
DO,216,HY16-C7阻挡上升,HY_StopCylinder_Up,57,HC,Y57
DO,216,HY16-C7阻挡下降,HY_StopCylinder_Down,58,HC,Y58
DO,0,C1线体电机1/2/3启动,MotorRun_C1_123,59,HC,Y59
,,,,60,HC,Y60
,,,,61,HC,Y61
......@@ -229,17 +229,17 @@ DI,105,T5上料气缸料盘检测,SL_MoveCylinder_Check,92,HC,X92
,,,,94,HC,X94
,,,,95,HC,X95
,,,,,,
DI,219,HY19前阻挡托盘检测,HY19前阻挡托盘检测,96,HC,X96
DI,219,HY19横移托盘检测,HY19横移托盘检测,97,HC,X97
DI,219,HY19横移顶升上升端,HY19横移顶升上升端,98,HC,X98
DI,219,HY19横移顶升下降端,HY19横移顶升下降端,99,HC,X99
DI,221,HY21横移托盘检测,HY21横移托盘检测,100,HC,X100
DI,221,HY21横移顶升上升端,HY21横移顶升上升端,101,HC,X101
DI,221,HY21横移顶升下降端,HY21横移顶升下降端,102,HC,X102
DI,221,HY21横移定位1上升端,HY21横移定位1上升端,103,HC,X103
DI,221,HY21横移定位1下降端,HY21横移定位1下降端,104,HC,X104
DI,221,HY21横移定位2上升端,HY21横移定位2上升端,105,HC,X105
DI,221,HY21横移定位2下降端,HY21横移定位2下降端,106,HC,X106
DI,219,HY19前阻挡托盘检测,HY_FrontStopCheck,96,HC,X96
DI,219,HY19横移托盘检测,HY_TrayCheck,97,HC,X97
DI,219,HY19横移顶升上升端,HY_TopCylinder_UP,98,HC,X98
DI,219,HY19横移顶升下降端,HY_TopCylinder_Down,99,HC,X99
DI,221,HY21横移托盘检测,HY_TrayCheck,100,HC,X100
DI,221,HY21横移顶升上升端,HY_TopCylinder_UP,101,HC,X101
DI,221,HY21横移顶升下降端,HY_TopCylinder_Down,102,HC,X102
DI,221,HY21横移定位1上升端,HY_LocationCylinder_UP1,103,HC,X103
DI,221,HY21横移定位1下降端,HY_LocationCylinder_Down1,104,HC,X104
DI,221,HY21横移定位2上升端,HY_LocationCylinder_UP2,105,HC,X105
DI,221,HY21横移定位2下降端,HY_LocationCylinder_Down2,106,HC,X106
,,,,107,HC,X107
,,,,108,HC,X108
,,,,109,HC,X109
......@@ -251,8 +251,8 @@ DO,105,T5故障指示灯,SL_AlarmLed,65,HC,Y65
DO,105,T5进料线体运转,SL_Line_Run,66,HC,Y66
DO,105,T5线体定位横移电机运转,SL_LocationSideWay_Run,67,HC,Y67
DO,105,T5线体出口横移电机运转,SL_OutSideWay_Run,68,HC,Y68
DO,219,HY19横移电机正转,HY19横移电机正转,69,HC,Y69
DO,221,HY21横移电机正转,HY21横移电机正转,70,HC,Y70
DO,219,HY19横移电机正转,HY_LineRun,69,HC,Y69
DO,221,HY21横移电机正转,HY_LineRun,70,HC,Y70
DO,105,T5进料阻挡下降,SL_Entry_StopDown,71,HC,Y71
DO,105,T5定位工位缓冲阻挡,SL_Buffer_StopDown,72,HC,Y72
DO,105,T5出料阻挡下降,SL_Out_StopDown,73,HC,Y73
......@@ -268,14 +268,14 @@ DO,105,T5上料气缸放松,SL_MoveCylinder_Relax,82,HC,Y82
DO,105,T5上料气缸夹紧,SL_MoveCylinder_Work,83,HC,Y83
DO,105,T5托盘定位气缸前进,SL_TrayLocation_Before,84,HC,Y84
DO,105,T5托盘定位气缸后退,SL_TrayLocation_After,85,HC,Y85
DO,219,HY19横移顶升上升,HY19横移顶升上升,86,HC,Y86
DO,219,HY19横移顶升下降,HY19横移顶升下降,87,HC,Y87
DO,219,HY19前阻挡下降,HY19前阻挡下降,88,HC,Y88
DO,219,HY19阻挡下降,HY19阻挡下降,89,HC,Y89
DO,221,HY21横移顶升上升,HY21横移顶升上升,90,HC,Y90
DO,221,HY21横移顶升下降,HY21横移顶升下降,91,HC,Y91
DO,221,HY21横移定位上升,HY21横移定位上升,92,HC,Y92
DO,221,HY21横移定位下降,HY21横移定位下降,93,HC,Y93
DO,219,HY19横移顶升上升,HY_TopCylinder_UP,86,HC,Y86
DO,219,HY19横移顶升下降,HY_TopCylinder_Down,87,HC,Y87
DO,219,HY19前阻挡下降,HY_FrontStopDown,88,HC,Y88
DO,219,HY19阻挡下降,HY_StopDown,89,HC,Y89
DO,221,HY21横移顶升上升,HY_TopCylinder_UP,90,HC,Y90
DO,221,HY21横移顶升下降,HY_TopCylinder_Down,91,HC,Y91
DO,221,HY21横移定位上升,HY_LocationCylinder_UP,92,HC,Y92
DO,221,HY21横移定位下降,HY_LocationCylinder_Down,93,HC,Y93
,,,,94,HC,Y94
,,,,95,HC,Y95
,,,,,,
......@@ -314,17 +314,17 @@ DI,104,T4上料气缸料盘检测,SL_MoveCylinder_Check,140,HC,X140
DI,104,T4出口检测,SL_OutLine_Check,141,HC,X141
,,,,142,HC,X142
,,,,143,HC,X143
DI,218,HY18前阻挡托盘检测,HY18前阻挡托盘检测,144,HC,X144
DI,218,HY18横移托盘检测,HY18横移托盘检测,145,HC,X145
DI,218,HY18横移顶升上升端,HY18横移顶升上升端,146,HC,X146
DI,218,HY18横移顶升下降端,HY18横移顶升下降端,147,HC,X147
DI,220,HY20横移托盘检测,HY20横移托盘检测,148,HC,X148
DI,220,HY20横移顶升上升端,HY20横移顶升上升端,149,HC,X149
DI,220,HY20横移顶升下降端,HY20横移顶升下降端,150,HC,X150
DI,220,HY20横移定位1上升端,HY20横移定位1上升端,151,HC,X151
DI,220,HY20横移定位1下降端,HY20横移定位1下降端,152,HC,X152
DI,220,HY20横移定位2上升端,HY20横移定位2上升端,153,HC,X153
DI,220,HY20横移定位2下降端,HY20横移定位2下降端,154,HC,X154
DI,218,HY18前阻挡托盘检测,HY_FrontStopCheck,144,HC,X144
DI,218,HY18横移托盘检测,HY_TrayCheck,145,HC,X145
DI,218,HY18横移顶升上升端,HY_TopCylinder_UP,146,HC,X146
DI,218,HY18横移顶升下降端,HY_TopCylinder_Down,147,HC,X147
DI,220,HY20横移托盘检测,HY_TrayCheck,148,HC,X148
DI,220,HY20横移顶升上升端,HY_TopCylinder_UP,149,HC,X149
DI,220,HY20横移顶升下降端,HY_TopCylinder_Down,150,HC,X150
DI,220,HY20横移定位1上升端,HY_LocationCylinder_UP1,151,HC,X151
DI,220,HY20横移定位1下降端,HY_LocationCylinder_Down1,152,HC,X152
DI,220,HY20横移定位2上升端,HY_LocationCylinder_UP2,153,HC,X153
DI,220,HY20横移定位2下降端,HY_LocationCylinder_Down2,154,HC,X154
,,,,155,HC,X155
,,,,156,HC,X156
,,,,157,HC,X157
......@@ -337,8 +337,8 @@ DO,104,T4进料线体运转,SL_Line_Run,98,HC,Y98
DO,104,T4出料线体运转,SL_OutLine_Run,99,HC,Y99
DO,104,T4线体定位横移电机运转,SL_LocationSideWay_Run,100,HC,Y100
DO,104,T4线体出口横移电机运转,SL_OutSideWay_Run,101,HC,Y101
DO,218,HY18横移电机正转,HY18横移电机正转,102,HC,Y102
DO,220,HY20横移电机正转,HY20横移电机正转,103,HC,Y103
DO,218,HY18横移电机正转,HY_LineRun,102,HC,Y102
DO,220,HY20横移电机正转,HY_LineRun,103,HC,Y103
DO,104,T4线体过渡滚筒运转,SL_RollerLine_Run,104,HC,Y104
DO,104,T4进料阻挡下降,SL_Entry_StopDown,105,HC,Y105
DO,104,T4定位工位缓冲阻挡,SL_Buffer_StopDown,106,HC,Y106
......@@ -355,19 +355,19 @@ DO,104,T4上料气缸放松,SL_MoveCylinder_Relax,116,HC,Y116
DO,104,T4上料气缸夹紧,SL_MoveCylinder_Work,117,HC,Y117
DO,104,T4托盘定位气缸前进,SL_TrayLocation_Before,118,HC,Y118
DO,104,T4托盘定位气缸后退,SL_TrayLocation_After,119,HC,Y119
DO,218,HY18横移顶升上升,HY18横移顶升上升,120,HC,Y120
DO,218,HY18横移顶升下降,HY18横移顶升下降,121,HC,Y121
DO,218,HY18前阻挡下降,HY18前阻挡下降,122,HC,Y122
DO,218,HY18阻挡下降,HY18阻挡下降,123,HC,Y123
DO,220,HY20横移顶升上升,HY20横移顶升上升,124,HC,Y124
DO,220,HY20横移顶升下降,HY20横移顶升下降,125,HC,Y125
DO,220,HY20横移定位上升,HY20横移定位上升,126,HC,Y126
DO,220,HY20横移定位下降,HY20横移定位下降,127,HC,Y127
DO,218,HY18横移顶升上升,HY_TopCylinder_UP,120,HC,Y120
DO,218,HY18横移顶升下降,HY_TopCylinder_Down,121,HC,Y121
DO,218,HY18前阻挡下降,HY_FrontStopDown,122,HC,Y122
DO,218,HY18阻挡下降,HY_StopDown,123,HC,Y123
DO,220,HY20横移顶升上升,HY_TopCylinder_UP,124,HC,Y124
DO,220,HY20横移顶升下降,HY_TopCylinder_Down,125,HC,Y125
DO,220,HY20横移定位上升,HY_LocationCylinder_UP,126,HC,Y126
DO,220,HY20横移定位下降,HY_LocationCylinder_Down,127,HC,Y127
,,,,,,
,,XT3,XT3,,,
,,D6&HY15,D6&HY15,,,
DI,11,D6-1阻挡1托盘检测,StopCylinder_Check1,160,HC,X160
DI,11,D6-1阻挡2托盘检测,StopCylinder_Check2,161,HC,X161
DI,11,D6-1阻挡1托盘检测,StopCheck1,160,HC,X160
DI,11,D6-1阻挡2托盘检测,StopCheck2,161,HC,X161
DI,11,D6-1顶升上升端,TopCylinder_UP,162,HC,X162
DI,11,D6-1顶升下降端,TopCylinder_Down,163,HC,X163
DI,11,D6-1横移前进端,BeforeAfterCylinder_Before,164,HC,X164
......@@ -376,8 +376,8 @@ DI,11,D6-1夹料气缸料盘检测,ClampCylinder_Check,166,HC,X166
DI,11,D6-1夹料放松端,ClampCylinder_Relax,167,HC,X167
DI,11,D6-1升降上升端,UpDownCylinder_Up,168,HC,X168
DI,11,D6-1升降下降端,UpDownCylinder_Down,169,HC,X169
DI,12,D6-2阻挡1托盘检测,StopCylinder_Check1,170,HC,X170
DI,12,D6-2阻挡2托盘检测,StopCylinder_Check2,171,HC,X171
DI,12,D6-2阻挡1托盘检测,StopCheck1,170,HC,X170
DI,12,D6-2阻挡2托盘检测,StopCheck2,171,HC,X171
DI,12,D6-2顶升上升端,TopCylinder_UP,172,HC,X172
DI,12,D6-2顶升下降端,TopCylinder_Down,173,HC,X173
DI,12,D6-2横移前进端,BeforeAfterCylinder_Before,174,HC,X174
......@@ -386,10 +386,10 @@ DI,12,D6-2夹料气缸料盘检测,ClampCylinder_Check,176,HC,X176
DI,12,D6-2夹料放松端,ClampCylinder_Relax,177,HC,X177
DI,12,D6-2升降上升端,UpDownCylinder_Up,178,HC,X178
DI,12,D6-2升降下降端,UpDownCylinder_Down,179,HC,X179
DI,215,HY15前阻挡托盘检测,HY15前阻挡托盘检测,180,HC,X180
DI,215,HY15横移托盘检测,HY15横移托盘检测,181,HC,X181
DI,215,HY15横移顶升上升端,HY15横移顶升上升端,182,HC,X182
DI,215,HY15横移顶升下降端,HY15横移顶升下降端,183,HC,X183
DI,215,HY15前阻挡托盘检测,HY_FrontStopCheck,180,HC,X180
DI,215,HY15横移托盘检测,HY_TrayCheck,181,HC,X181
DI,215,HY15横移顶升上升端,HY_TopCylinder_UP,182,HC,X182
DI,215,HY15横移顶升下降端,HY_TopCylinder_Down,183,HC,X183
,,,,184,HC,X184
,,,,185,HC,X185
,,,,186,HC,X186
......@@ -399,8 +399,8 @@ DI,215,HY15横移顶升下降端,HY15横移顶升下降端,183,HC,X183
,,,,190,HC,X190
,,,,191,HC,X191
,,,,,,
DO,11,D6-1阻挡1下降,StopCylinder_Check1,128,HC,Y128
DO,11,D6-1阻挡2下降,StopCylinder_Check2,129,HC,Y129
DO,11,D6-1阻挡1下降,StopDown1,128,HC,Y128
DO,11,D6-1阻挡2下降,StopDown2,129,HC,Y129
DO,11,D6-1顶升上升,TopCylinder_UP,130,HC,Y130
DO,11,D6-1顶升下降,TopCylinder_Down,131,HC,Y131
DO,11,D6-1横移前进,BeforeAfterCylinder_Before,132,HC,Y132
......@@ -409,8 +409,8 @@ DO,11,D6-1夹料夹紧,ClampCylinder_Work,134,HC,Y134
DO,11,D6-1夹料放松,ClampCylinder_Relax,135,HC,Y135
DO,11,D6-1升降上升,UpDownCylinder_Up,136,HC,Y136
DO,11,D6-1升降下降,UpDownCylinder_Down,137,HC,Y137
DO,12,D6-2阻挡1下降,StopCylinder_Check1,138,HC,Y138
DO,12,D6-2阻挡2下降,StopCylinder_Check2,139,HC,Y139
DO,12,D6-2阻挡1下降,StopDown1,138,HC,Y138
DO,12,D6-2阻挡2下降,StopDown2,139,HC,Y139
DO,12,D6-2顶升上升,TopCylinder_UP,140,HC,Y140
DO,12,D6-2顶升下降,TopCylinder_Down,141,HC,Y141
DO,12,D6-2横移前进,BeforeAfterCylinder_Before,142,HC,Y142
......@@ -419,11 +419,11 @@ DO,12,D6-2夹料夹紧,ClampCylinder_Work,144,HC,Y144
DO,12,D6-2夹料放松,ClampCylinder_Relax,145,HC,Y145
DO,12,D6-2升降上升,UpDownCylinder_Up,146,HC,Y146
DO,12,D6-2升降下降,UpDownCylinder_Down,147,HC,Y147
DO,215,HY15横移电机正转,HY15横移电机正转,148,HC,Y148
DO,215,HY15横移顶升上升,HY15横移顶升上升,149,HC,Y149
DO,215,HY15横移顶升下降,HY15横移顶升下降,150,HC,Y150
DO,215,HY15前阻挡下降,HY15前阻挡下降,151,HC,Y151
DO,215,HY15阻挡下降,HY15阻挡下降,152,HC,Y152
DO,215,HY15横移电机正转,HY_LineRun,148,HC,Y148
DO,215,HY15横移顶升上升,HY_TopCylinder_UP,149,HC,Y149
DO,215,HY15横移顶升下降,HY_TopCylinder_Down,150,HC,Y150
DO,215,HY15前阻挡下降,HY_FrontStopDown,151,HC,Y151
DO,215,HY15阻挡下降,HY_StopDown,152,HC,Y152
,,,,153,HC,Y153
,,,,154,HC,Y154
,,,,155,HC,Y155
......@@ -435,8 +435,8 @@ DO,215,HY15阻挡下降,HY15阻挡下降,152,HC,Y152
,,,,,,
,,XT4,XT4,,,
,,D4&D5&HY13,D4&D5&HY13,,,
DI,7,D4-1阻挡1托盘检测,StopCylinder_Check1,192,HC,X192
DI,7,D4-1阻挡2托盘检测,StopCylinder_Check2,193,HC,X193
DI,7,D4-1阻挡1托盘检测,StopCheck1,192,HC,X192
DI,7,D4-1阻挡2托盘检测,StopCheck2,193,HC,X193
DI,7,D4-1顶升上升端,TopCylinder_UP,194,HC,X194
DI,7,D4-1顶升下降端,TopCylinder_Down,195,HC,X195
DI,7,D4-1横移前进端,BeforeAfterCylinder_Before,196,HC,X196
......@@ -445,8 +445,8 @@ DI,7,D4-1夹料气缸料盘检测,ClampCylinder_Check,198,HC,X198
DI,7,D4-1夹料放松端,ClampCylinder_Relax,199,HC,X199
DI,7,D4-1升降上升端,UpDownCylinder_Up,200,HC,X200
DI,7,D4-1升降下降端,UpDownCylinder_Down,201,HC,X201
DI,8,D4-2阻挡1托盘检测,StopCylinder_Check1,202,HC,X202
DI,8,D4-2阻挡2托盘检测,StopCylinder_Check2,203,HC,X203
DI,8,D4-2阻挡1托盘检测,StopCheck1,202,HC,X202
DI,8,D4-2阻挡2托盘检测,StopCheck2,203,HC,X203
DI,8,D4-2顶升上升端,TopCylinder_UP,204,HC,X204
DI,8,D4-2顶升下降端,TopCylinder_Down,205,HC,X205
DI,8,D4-2横移前进端,BeforeAfterCylinder_Before,206,HC,X206
......@@ -455,28 +455,28 @@ DI,8,D4-2夹料气缸料盘检测,ClampCylinder_Check,208,HC,X208
DI,8,D4-2夹料放松端,ClampCylinder_Relax,209,HC,X209
DI,8,D4-2升降上升端,UpDownCylinder_Up,210,HC,X210
DI,8,D4-2升降下降端,UpDownCylinder_Down,211,HC,X211
DI,9,D5-1阻挡1托盘检测,StopCylinder_Check1,212,HC,X212
DI,9,D5-1阻挡2托盘检测,StopCylinder_Check2,213,HC,X213
DI,9,D5-1阻挡1托盘检测,StopCheck1,212,HC,X212
DI,9,D5-1阻挡2托盘检测,StopCheck2,213,HC,X213
DI,9,D5-1顶升上升端,TopCylinder_UP,214,HC,X214
DI,9,D5-1顶升下降端,TopCylinder_Down,215,HC,X215
DI,9,D5-1横移前进端,BeforeAfterCylinder_Before,216,HC,X216
DI,9,D5-1横移后退端,BeforeAfterCylinder_After,217,HC,X217
DI,9,D5-1夹料气缸料盘检测,ClampCylinder_Check,218,HC,X218
DI,9,D5-1夹料放松端,ClampCylinder_Relax,219,HC,X219
DI,10,D5-2阻挡1托盘检测,StopCylinder_Check1,220,HC,X220
DI,10,D5-2阻挡2托盘检测,StopCylinder_Check2,221,HC,X221
DI,10,D5-2阻挡1托盘检测,StopCheck1,220,HC,X220
DI,10,D5-2阻挡2托盘检测,StopCheck2,221,HC,X221
DI,10,D5-2顶升上升端,TopCylinder_UP,222,HC,X222
DI,10,D5-2顶升下降端,TopCylinder_Down,223,HC,X223
,,,,,,
DI,10,D5-2横移前进端,D5-2横移前进端,224,HC,X224
DI,10,D5-2横移后退端,D5-2横移后退端,225,HC,X225
DI,10,D5-2夹料气缸料盘检测,D5-2夹料气缸料盘检测,226,HC,X226
DI,10,D5-2夹料放松端,D5-2夹料放松端,227,HC,X227
DI,213,HY13前阻挡托盘检测,HY13前阻挡托盘检测,228,HC,X228
DI,213,HY13横移托盘检测,HY13横移托盘检测,229,HC,X229
DI,213,HY13横移顶升上升端,HY13横移顶升上升端,230,HC,X230
DI,213,HY13横移顶升下降端,HY13横移顶升下降端,231,HC,X231
DI,213,C6线体HY13侧满料检测,C6线体HY13侧满料检测,232,HC,X232
DI,10,D5-2横移前进端,BeforeAfterCylinder_Before,224,HC,X224
DI,10,D5-2横移后退端,BeforeAfterCylinder_After,225,HC,X225
DI,10,D5-2夹料气缸料盘检测,ClampCylinder_Check,226,HC,X226
DI,10,D5-2夹料放松端,ClampCylinder_Relax,227,HC,X227
DI,213,HY13前阻挡托盘检测,HY_FrontStopCheck,228,HC,X228
DI,213,HY13横移托盘检测,HY_TrayCheck,229,HC,X229
DI,213,HY13横移顶升上升端,HY_TopCylinder_UP,230,HC,X230
DI,213,HY13横移顶升下降端,HY_TopCylinder_Down,231,HC,X231
DI,213,C6线体HY13侧满料检测,HY_TrayImpletion_Check,232,HC,X232
,,,,233,HC,X233
,,,,234,HC,X234
,,,,235,HC,X235
......@@ -485,8 +485,8 @@ DI,213,C6线体HY13侧满料检测,C6线体HY13侧满料检测,232,HC,X232
,,,,238,HC,X238
,,,,239,HC,X239
,,,,,,
DO,7,D4-1阻挡1下降,StopCylinder_Check1,160,HC,Y160
DO,7,D4-1阻挡2下降,StopCylinder_Check2,161,HC,Y161
DO,7,D4-1阻挡1下降,StopDown1,160,HC,Y160
DO,7,D4-1阻挡2下降,StopDown2,161,HC,Y161
DO,7,D4-1顶升上升,TopCylinder_UP,162,HC,Y162
DO,7,D4-1顶升下降,TopCylinder_Down,163,HC,Y163
DO,7,D4-1横移前进,BeforeAfterCylinder_Before,164,HC,Y164
......@@ -495,8 +495,8 @@ DO,7,D4-1夹料夹紧,ClampCylinder_Work,166,HC,Y166
DO,7,D4-1夹料放松,ClampCylinder_Relax,167,HC,Y167
DO,7,D4-1升降上升,UpDownCylinder_Up,168,HC,Y168
DO,7,D4-1升降下降,UpDownCylinder_Down,169,HC,Y169
DO,8,D4-2阻挡1下降,StopCylinder_Check1,170,HC,Y170
DO,8,D4-2阻挡2下降,StopCylinder_Check2,171,HC,Y171
DO,8,D4-2阻挡1下降,StopDown1,170,HC,Y170
DO,8,D4-2阻挡2下降,StopDown2,171,HC,Y171
DO,8,D4-2顶升上升,TopCylinder_UP,172,HC,Y172
DO,8,D4-2顶升下降,TopCylinder_Down,173,HC,Y173
DO,8,D4-2横移前进,BeforeAfterCylinder_Before,174,HC,Y174
......@@ -505,16 +505,16 @@ DO,8,D4-2夹料夹紧,ClampCylinder_Work,176,HC,Y176
DO,8,D4-2夹料放松,ClampCylinder_Relax,177,HC,Y177
DO,8,D4-2升降上升,UpDownCylinder_Up,178,HC,Y178
DO,8,D4-2升降下降,UpDownCylinder_Down,179,HC,Y179
DO,9,D5-1阻挡1下降,StopCylinder_Check1,180,HC,Y180
DO,9,D5-1阻挡2下降,StopCylinder_Check2,181,HC,Y181
DO,9,D5-1阻挡1下降,StopDown1,180,HC,Y180
DO,9,D5-1阻挡2下降,StopDown2,181,HC,Y181
DO,9,D5-1顶升上升,TopCylinder_UP,182,HC,Y182
DO,9,D5-1顶升下降,TopCylinder_Down,183,HC,Y183
DO,9,D5-1横移前进,BeforeAfterCylinder_Before,184,HC,Y184
DO,9,D5-1横移后退,BeforeAfterCylinder_After,185,HC,Y185
DO,9,D5-1夹料夹紧,ClampCylinder_Work,186,HC,Y186
DO,9,D5-1夹料放松,ClampCylinder_Relax,187,HC,Y187
DO,10,D5-2阻挡1下降,StopCylinder_Check1,188,HC,Y188
DO,10,D5-2阻挡2下降,StopCylinder_Check2,189,HC,Y189
DO,10,D5-2阻挡1下降,StopDown1,188,HC,Y188
DO,10,D5-2阻挡2下降,StopDown2,189,HC,Y189
DO,10,D5-2顶升上升,TopCylinder_UP,190,HC,Y190
DO,10,D5-2顶升下降,TopCylinder_Down,191,HC,Y191
,,,,,,
......@@ -522,11 +522,11 @@ DO,10,D5-2横移前进,BeforeAfterCylinder_Before,192,HC,Y192
DO,10,D5-2横移后退,BeforeAfterCylinder_After,193,HC,Y193
DO,10,D5-2夹料夹紧,ClampCylinder_Work,194,HC,Y194
DO,10,D5-2夹料放松,ClampCylinder_Relax,195,HC,Y195
DO,213,HY13横移电机正转,HY13横移电机正转,196,HC,Y196
DO,213,HY13横移顶升上升,HY13横移顶升上升,197,HC,Y197
DO,213,HY13横移顶升下降,HY13横移顶升下降,198,HC,Y198
DO,213,HY13前阻挡下降,HY13前阻挡下降,199,HC,Y199
DO,213,HY13阻挡下降,HY13阻挡下降,200,HC,Y200
DO,213,HY13横移电机正转,HY_LineRun,196,HC,Y196
DO,213,HY13横移顶升上升,HY_TopCylinder_UP,197,HC,Y197
DO,213,HY13横移顶升下降,HY_TopCylinder_Down,198,HC,Y198
DO,213,HY13前阻挡下降,HY_FrontStopDown,199,HC,Y199
DO,213,HY13阻挡下降,HY_StopDown,200,HC,Y200
,,,,201,HC,Y201
,,,,202,HC,Y202
,,,,203,HC,Y203
......@@ -605,8 +605,8 @@ DO,103,T3托盘定位气缸后退,SL_TrayLocation_After,229,HC,Y229
,,,,,,
,,XT5,XT5,,,
,,D3&HY8&HY9,D3&HY8&HY9,,,
DI,5,D3-1阻挡1托盘检测,StopCylinder_Check1,272,HC,X272
DI,5,D3-1阻挡2托盘检测,StopCylinder_Check2,273,HC,X273
DI,5,D3-1阻挡1托盘检测,StopCheck1,272,HC,X272
DI,5,D3-1阻挡2托盘检测,StopCheck2,273,HC,X273
DI,5,D3-1顶升上升端,TopCylinder_UP,274,HC,X274
DI,5,D3-1顶升下降端,TopCylinder_Down,275,HC,X275
DI,5,D3-1横移前进端,BeforeAfterCylinder_Before,276,HC,X276
......@@ -615,8 +615,8 @@ DI,5,D3-1夹料气缸料盘检测,ClampCylinder_Check,278,HC,X278
DI,5,D3-1夹料放松端,ClampCylinder_Relax,279,HC,X279
DI,5,D3-1升降上升端,UpDownCylinder_Up,280,HC,X280
DI,5,D3-1升降下降端,UpDownCylinder_Down,281,HC,X281
DI,6,D3-2阻挡1托盘检测,StopCylinder_Check1,282,HC,X282
DI,6,D3-2阻挡2托盘检测,StopCylinder_Check2,283,HC,X283
DI,6,D3-2阻挡1托盘检测,StopCheck1,282,HC,X282
DI,6,D3-2阻挡2托盘检测,StopCheck2,283,HC,X283
DI,6,D3-2顶升上升端,TopCylinder_UP,284,HC,X284
DI,6,D3-2顶升下降端,TopCylinder_Down,285,HC,X285
DI,6,D3-2横移前进端,BeforeAfterCylinder_Before,286,HC,X286
......@@ -625,22 +625,22 @@ DI,6,D3-2夹料气缸料盘检测,ClampCylinder_Check,288,HC,X288
DI,6,D3-2夹料放松端,ClampCylinder_Relax,289,HC,X289
DI,6,D3-2升降上升端,UpDownCylinder_Up,290,HC,X290
DI,6,D3-2升降下降端,UpDownCylinder_Down,291,HC,X291
DI,208,HY8横移托盘检测,HY8横移托盘检测,292,HC,X292
DI,208,HY8横移顶升上升端,HY8横移顶升上升端,293,HC,X293
DI,208,HY8横移顶升下降端,HY8横移顶升下降端,294,HC,X294
DI,208,HY8-HY9阻挡上升端,HY8-HY9阻挡上升端,295,HC,X295
DI,208,HY8-HY9阻挡下降端,HY8-HY9阻挡下降端,296,HC,X296
DI,209,HY9前阻挡托盘检测,HY9前阻挡托盘检测,297,HC,X297
DI,209,HY9横移托盘检测,HY9横移托盘检测,298,HC,X298
DI,209,HY9横移顶升上升端,HY9横移顶升上升端,299,HC,X299
DI,209,HY9横移顶升下降端,HY9横移顶升下降端,300,HC,X300
DI,209,C4-HY9阻挡上升端,C4-HY9阻挡上升端,301,HC,X301
DI,209,C4-HY9阻挡下降端,C4-HY9阻挡下降端,302,HC,X302
DI,209,C4-HY9阻挡托盘检测,C4-HY9阻挡托盘检测,303,HC,X303
DI,208,HY8横移托盘检测,HY_TrayCheck,292,HC,X292
DI,208,HY8横移顶升上升端,HY_TopCylinder_UP,293,HC,X293
DI,208,HY8横移顶升下降端,HY_TopCylinder_Down,294,HC,X294
DI,208,HY8-HY9阻挡上升端,HY_StopCylinder_Up,295,HC,X295
DI,208,HY8-HY9阻挡下降端,HY_StopCylinder_Down,296,HC,X296
DI,209,HY9前阻挡托盘检测,HY_FrontStopCheck,297,HC,X297
DI,209,HY9横移托盘检测,HY_TrayCheck,298,HC,X298
DI,209,HY9横移顶升上升端,HY_TopCylinder_UP,299,HC,X299
DI,209,HY9横移顶升下降端,HY_TopCylinder_Down,300,HC,X300
DI,209,C4-HY9阻挡上升端,HY_StopCylinder_Up,301,HC,X301
DI,209,C4-HY9阻挡下降端,HY_StopCylinder_Down,302,HC,X302
DI,209,C4-HY9阻挡托盘检测,HY_StopTray_Check,303,HC,X303
,,,,,,
,,,,,,
DO,5,D3-1阻挡1下降,StopCylinder_Check1,240,HC,Y240
DO,5,D3-1阻挡2下降,StopCylinder_Check2,241,HC,Y241
DO,5,D3-1阻挡1下降,StopDown1,240,HC,Y240
DO,5,D3-1阻挡2下降,StopDown2,241,HC,Y241
DO,5,D3-1顶升上升,TopCylinder_UP,242,HC,Y242
DO,5,D3-1顶升下降,TopCylinder_Down,243,HC,Y243
DO,5,D3-1横移前进,BeforeAfterCylinder_Before,244,HC,Y244
......@@ -649,8 +649,8 @@ DO,5,D3-1夹料夹紧,ClampCylinder_Work,246,HC,Y246
DO,5,D3-1夹料放松,ClampCylinder_Relax,247,HC,Y247
DO,5,D3-1升降上升,UpDownCylinder_Up,248,HC,Y248
DO,5,D3-1升降下降,UpDownCylinder_Down,249,HC,Y249
DO,6,D3-2阻挡1下降,StopCylinder_Check1,250,HC,Y250
DO,6,D3-2阻挡2下降,StopCylinder_Check2,251,HC,Y251
DO,6,D3-2阻挡1下降,StopDown1,250,HC,Y250
DO,6,D3-2阻挡2下降,StopDown2,251,HC,Y251
DO,6,D3-2顶升上升,TopCylinder_UP,252,HC,Y252
DO,6,D3-2顶升下降,TopCylinder_Down,253,HC,Y253
DO,6,D3-2横移前进,BeforeAfterCylinder_Before,254,HC,Y254
......@@ -659,15 +659,15 @@ DO,6,D3-2夹料夹紧,ClampCylinder_Work,256,HC,Y256
DO,6,D3-2夹料放松,ClampCylinder_Relax,257,HC,Y257
DO,6,D3-2升降上升,UpDownCylinder_Up,258,HC,Y258
DO,6,D3-2升降下降,UpDownCylinder_Down,259,HC,Y259
DO,208,HY8横移电机正转,HY8横移电机正转,260,HC,Y260
DO,208,HY8横移电机反转,HY8横移电机反转,261,HC,Y261
DO,208,HY8横移顶升上升,HY8横移顶升上升,262,HC,Y262
DO,208,HY8横移顶升下降,HY8横移顶升下降,263,HC,Y263
DO,208,HY8阻挡下降,HY8阻挡下降,264,HC,Y264
DO,208,HY8-HY9阻挡上升,HY8-HY9阻挡上升,265,HC,Y265
DO,208,HY8-HY9阻挡下降,HY8-HY9阻挡下降,266,HC,Y266
DO,209,HY9横移电机正转,HY9横移电机正转,267,HC,Y267
DO,209,HY9横移电机反转,HY9横移电机反转,268,HC,Y268
DO,208,HY8横移电机正转,HY_LineRun,260,HC,Y260
DO,208,HY8横移电机反转,HY_LineBackRun,261,HC,Y261
DO,208,HY8横移顶升上升,HY_TopCylinder_UP,262,HC,Y262
DO,208,HY8横移顶升下降,HY_TopCylinder_Down,263,HC,Y263
DO,208,HY8阻挡下降,HY_StopDown,264,HC,Y264
DO,208,HY8-HY9阻挡上升,HY_StopCylinder_Up,265,HC,Y265
DO,208,HY8-HY9阻挡下降,HY_StopCylinder_Down,266,HC,Y266
DO,209,HY9横移电机正转,HY_LineRun,267,HC,Y267
DO,209,HY9横移电机反转,HY_LineBackRun,268,HC,Y268
,,,,269,HC,Y269
,,,,270,HC,Y270
,,,,271,HC,Y271
......@@ -675,8 +675,8 @@ DO,209,HY9横移电机反转,HY9横移电机反转,268,HC,Y268
,,,,,,
,,XT6,XT6,,,
,,D1&D2&HY6,D1&D2&HY6,,,
DI,1,D1-1阻挡1托盘检测,StopCylinder_Check1,304,HC,X304
DI,1,D1-1阻挡2托盘检测,StopCylinder_Check2,305,HC,X305
DI,1,D1-1阻挡1托盘检测,StopCheck1,304,HC,X304
DI,1,D1-1阻挡2托盘检测,StopCheck2,305,HC,X305
DI,1,D1-1顶升上升端,TopCylinder_UP,306,HC,X306
DI,1,D1-1顶升下降端,TopCylinder_Down,307,HC,X307
DI,1,D1-1横移前进端,BeforeAfterCylinder_Before,308,HC,X308
......@@ -685,8 +685,8 @@ DI,1,D1-1夹料气缸料盘检测,ClampCylinder_Check,310,HC,X310
DI,1,D1-1夹料放松端,ClampCylinder_Relax,311,HC,X311
DI,1,D1-1升降上升端,UpDownCylinder_Up,312,HC,X312
DI,1,D1-1升降下降端,UpDownCylinder_Down,313,HC,X313
DI,2,D1-2阻挡1托盘检测,StopCylinder_Check1,314,HC,X314
DI,2,D1-2阻挡2托盘检测,StopCylinder_Check2,315,HC,X315
DI,2,D1-2阻挡1托盘检测,StopCheck1,314,HC,X314
DI,2,D1-2阻挡2托盘检测,StopCheck2,315,HC,X315
DI,2,D1-2顶升上升端,TopCylinder_UP,316,HC,X316
DI,2,D1-2顶升下降端,TopCylinder_Down,317,HC,X317
DI,2,D1-2横移前进端,BeforeAfterCylinder_Before,318,HC,X318
......@@ -695,8 +695,8 @@ DI,2,D1-2夹料气缸料盘检测,ClampCylinder_Check,320,HC,X320
DI,2,D1-2夹料放松端,ClampCylinder_Relax,321,HC,X321
DI,2,D1-2升降上升端,UpDownCylinder_Up,322,HC,X322
DI,2,D1-2升降下降端,UpDownCylinder_Down,323,HC,X323
DI,3,D2-1阻挡1托盘检测,StopCylinder_Check1,324,HC,X324
DI,3,D2-1阻挡2托盘检测,StopCylinder_Check2,325,HC,X325
DI,3,D2-1阻挡1托盘检测,StopCheck1,324,HC,X324
DI,3,D2-1阻挡2托盘检测,StopCheck2,325,HC,X325
DI,3,D2-1顶升上升端,TopCylinder_UP,326,HC,X326
DI,3,D2-1顶升下降端,TopCylinder_Down,327,HC,X327
DI,3,D2-1横移前进端,BeforeAfterCylinder_Before,328,HC,X328
......@@ -705,8 +705,8 @@ DI,3,D2-1夹料气缸料盘检测,ClampCylinder_Check,330,HC,X330
DI,3,D2-1夹料放松端,ClampCylinder_Relax,331,HC,X331
DI,3,D2-1升降上升端,UpDownCylinder_Up,332,HC,X332
DI,3,D2-1升降下降端,UpDownCylinder_Down,333,HC,X333
DI,4,D2-2阻挡1托盘检测,StopCylinder_Check1,334,HC,X334
DI,4,D2-2阻挡2托盘检测,StopCylinder_Check2,335,HC,X335
DI,4,D2-2阻挡1托盘检测,StopCheck1,334,HC,X334
DI,4,D2-2阻挡2托盘检测,StopCheck2,335,HC,X335
DI,4,D2-2顶升上升端,TopCylinder_UP,336,HC,X336
DI,4,D2-2顶升下降端,TopCylinder_Down,337,HC,X337
DI,4,D2-2横移前进端,BeforeAfterCylinder_Before,338,HC,X338
......@@ -715,17 +715,17 @@ DI,4,D2-2夹料气缸料盘检测,ClampCylinder_Check,340,HC,X340
DI,4,D2-2夹料放松端,ClampCylinder_Relax,341,HC,X341
DI,4,D2-2升降上升端,UpDownCylinder_Up,342,HC,X342
DI,4,D2-2升降下降端,UpDownCylinder_Down,343,HC,X343
DI,206,HY6前阻挡托盘检测,HY6前阻挡托盘检测,344,HC,X344
DI,206,HY6横移托盘检测,HY6横移托盘检测,345,HC,X345
DI,206,HY6横移顶升上升端,HY6横移顶升上升端,346,HC,X346
DI,206,HY6横移顶升下降端,HY6横移顶升下降端,347,HC,X347
DI,206,C3线体HY6侧满料检测,C3线体HY6侧满料检测,348,HC,X348
DI,206,HY6前阻挡托盘检测,HY_FrontStopCheck,344,HC,X344
DI,206,HY6横移托盘检测,HY_TrayCheck,345,HC,X345
DI,206,HY6横移顶升上升端,HY_TopCylinder_UP,346,HC,X346
DI,206,HY6横移顶升下降端,HY_TopCylinder_Down,347,HC,X347
DI,206,C3线体HY6侧满料检测,HY_TrayImpletion_Check,348,HC,X348
,,,,349,HC,X349
,,,,350,HC,X350
,,,,351,HC,X351
,,,,,,
DO,1,D1-1阻挡1下降,StopCylinder_Check1,272,HC,Y272
DO,1,D1-1阻挡2下降,StopCylinder_Check2,273,HC,Y273
DO,1,D1-1阻挡1下降,StopDown1,272,HC,Y272
DO,1,D1-1阻挡2下降,StopDown2,273,HC,Y273
DO,1,D1-1顶升上升,TopCylinder_UP,274,HC,Y274
DO,1,D1-1顶升下降,TopCylinder_Down,275,HC,Y275
DO,1,D1-1横移前进,BeforeAfterCylinder_Before,276,HC,Y276
......@@ -734,8 +734,8 @@ DO,1,D1-1夹料夹紧,ClampCylinder_Work,278,HC,Y278
DO,1,D1-1夹料放松,ClampCylinder_Relax,279,HC,Y279
DO,1,D1-1升降上升,UpDownCylinder_Up,280,HC,Y280
DO,1,D1-1升降下降,UpDownCylinder_Down,281,HC,Y281
DO,2,D1-2阻挡1下降,StopCylinder_Check1,282,HC,Y282
DO,2,D1-2阻挡2下降,StopCylinder_Check2,283,HC,Y283
DO,2,D1-2阻挡1下降,StopDown1,282,HC,Y282
DO,2,D1-2阻挡2下降,StopDown2,283,HC,Y283
DO,2,D1-2顶升上升,TopCylinder_UP,284,HC,Y284
DO,2,D1-2顶升下降,TopCylinder_Down,285,HC,Y285
DO,2,D1-2横移前进,BeforeAfterCylinder_Before,286,HC,Y286
......@@ -744,8 +744,8 @@ DO,2,D1-2夹料夹紧,ClampCylinder_Work,288,HC,Y288
DO,2,D1-2夹料放松,ClampCylinder_Relax,289,HC,Y289
DO,2,D1-2升降上升,UpDownCylinder_Up,290,HC,Y290
DO,2,D1-2升降下降,UpDownCylinder_Down,291,HC,Y291
DO,3,D2-1阻挡1下降,StopCylinder_Check1,292,HC,Y292
DO,3,D2-1阻挡2下降,StopCylinder_Check2,293,HC,Y293
DO,3,D2-1阻挡1下降,StopDown1,292,HC,Y292
DO,3,D2-1阻挡2下降,StopDown2,293,HC,Y293
DO,3,D2-1顶升上升,TopCylinder_UP,294,HC,Y294
DO,3,D2-1顶升下降,TopCylinder_Down,295,HC,Y295
DO,3,D2-1横移前进,BeforeAfterCylinder_Before,296,HC,Y296
......@@ -754,8 +754,8 @@ DO,3,D2-1夹料夹紧,ClampCylinder_Work,298,HC,Y298
DO,3,D2-1夹料放松,ClampCylinder_Relax,299,HC,Y299
DO,3,D2-1升降上升,UpDownCylinder_Up,300,HC,Y300
DO,3,D2-1升降下降,UpDownCylinder_Down,301,HC,Y301
DO,4,D2-2阻挡1下降,StopCylinder_Check1,302,HC,Y302
DO,4,D2-2阻挡2下降,StopCylinder_Check2,303,HC,Y303
DO,4,D2-2阻挡1下降,StopDown1,302,HC,Y302
DO,4,D2-2阻挡2下降,StopDown2,303,HC,Y303
DO,4,D2-2顶升上升,TopCylinder_UP,304,HC,Y304
DO,4,D2-2顶升下降,TopCylinder_Down,305,HC,Y305
DO,4,D2-2横移前进,BeforeAfterCylinder_Before,306,HC,Y306
......@@ -764,11 +764,11 @@ DO,4,D2-2夹料夹紧,ClampCylinder_Work,308,HC,Y308
DO,4,D2-2夹料放松,ClampCylinder_Relax,309,HC,Y309
DO,4,D2-2升降上升,UpDownCylinder_Up,310,HC,Y310
DO,4,D2-2升降下降,UpDownCylinder_Down,311,HC,Y311
DO,206,HY6横移电机正转,HY6横移电机正转,312,HC,Y312
DO,206,HY6前阻挡下降,HY6前阻挡下降,313,HC,Y313
DO,206,HY6阻挡下降,HY6阻挡下降,314,HC,Y314
DO,206,HY6横移顶升上升,HY6横移顶升上升,315,HC,Y315
DO,206,HY6横移顶升下降,HY6横移顶升下降,316,HC,Y316
DO,206,HY6横移电机正转,HY_LineRun,312,HC,Y312
DO,206,HY6前阻挡下降,HY_FrontStopDown,313,HC,Y313
DO,206,HY6阻挡下降,HY_StopDown,314,HC,Y314
DO,206,HY6横移顶升上升,HY_TopCylinder_UP,315,HC,Y315
DO,206,HY6横移顶升下降,HY_TopCylinder_Down,316,HC,Y316
,,,,317,HC,Y317
,,,,318,HC,Y318
,,,,319,HC,Y319
......@@ -808,17 +808,17 @@ DI,101,T1上料气缸料盘检测,SL_MoveCylinder_Check,380,HC,X380
,,,,382,HC,X382
,,,,383,HC,X383
,,,,,,
DI,201,HY1横移托盘检测,HY1横移托盘检测,384,HC,X384
DI,201,HY1横移顶升上升端,HY1横移顶升上升端,385,HC,X385
DI,201,HY1横移顶升下降端,HY1横移顶升下降端,386,HC,X386
DI,201,HY1横移定位1上升端,HY1横移定位1上升端,387,HC,X387
DI,201,HY1横移定位1下降端,HY1横移定位1下降端,388,HC,X388
DI,201,HY1横移定位2上升端,HY1横移定位2上升端,389,HC,X389
DI,201,HY1横移定位2下降端,HY1横移定位2下降端,390,HC,X390
DI,203,HY3前阻挡托盘检测,HY3前阻挡托盘检测,391,HC,X391
DI,203,HY3横移托盘检测,HY3横移托盘检测,392,HC,X392
DI,203,HY3横移顶升上升端,HY3横移顶升上升端,393,HC,X393
DI,203,HY3横移顶升下降端,HY3横移顶升下降端,394,HC,X394
DI,201,HY1横移托盘检测,HY_TrayCheck,384,HC,X384
DI,201,HY1横移顶升上升端,HY_TopCylinder_UP,385,HC,X385
DI,201,HY1横移顶升下降端,HY_TopCylinder_Down,386,HC,X386
DI,201,HY1横移定位1上升端,HY_LocationCylinder_UP1,387,HC,X387
DI,201,HY1横移定位1下降端,HY_LocationCylinder_Down1,388,HC,X388
DI,201,HY1横移定位2上升端,HY_LocationCylinder_UP2,389,HC,X389
DI,201,HY1横移定位2下降端,HY_LocationCylinder_Down2,390,HC,X390
DI,203,HY3前阻挡托盘检测,HY_FrontStopCheck,391,HC,X391
DI,203,HY3横移托盘检测,HY_TrayCheck,392,HC,X392
DI,203,HY3横移顶升上升端,HY_TopCylinder_UP,393,HC,X393
DI,203,HY3横移顶升下降端,HY_TopCylinder_Down,394,HC,X394
,,,,395,HC,X395
,,,,396,HC,X396
,,,,397,HC,X397
......@@ -830,8 +830,8 @@ DO,101,T1故障指示灯,SL_AlarmLed,321,HC,Y321
DO,101,T1进料线体运转,SL_Line_Run,322,HC,Y322
DO,101,T1线体定位横移电机运转,SL_LocationSideWay_Run,323,HC,Y323
DO,101,T1线体出口横移电机运转,SL_OutSideWay_Run,324,HC,Y324
DO,201,HY1横移电机正转,HY1横移电机正转,325,HC,Y325
DO,203,HY3横移电机正转,HY3横移电机正转,326,HC,Y326
DO,201,HY1横移电机正转,HY_LineRun,325,HC,Y325
DO,203,HY3横移电机正转,HY_LineRun,326,HC,Y326
DO,101,T1进料阻挡下降,SL_Entry_StopDown,327,HC,Y327
DO,101,T1定位工位缓冲阻挡,SL_Buffer_StopDown,328,HC,Y328
DO,101,T1出料阻挡下降,SL_Out_StopDown,329,HC,Y329
......@@ -847,14 +847,14 @@ DO,101,T1上料气缸放松,SL_MoveCylinder_Relax,338,HC,Y338
DO,101,T1上料气缸夹紧,SL_MoveCylinder_Work,339,HC,Y339
DO,101,T1托盘定位气缸前进,SL_TrayLocation_Before,340,HC,Y340
DO,101,T1托盘定位气缸后退,SL_TrayLocation_After,341,HC,Y341
DO,201,HY1横移顶升上升,HY1横移顶升上升,342,HC,Y342
DO,201,HY1横移顶升下降,HY1横移顶升下降,343,HC,Y343
DO,201,HY1横移定位上升,HY1横移定位上升,344,HC,Y344
DO,201,HY1横移定位下降,HY1横移定位下降,345,HC,Y345
DO,203,HY3横移顶升上升,HY3横移顶升上升,346,HC,Y346
DO,203,HY3横移顶升下降,HY3横移顶升下降,347,HC,Y347
DO,203,HY3前阻挡下降,HY3前阻挡下降,348,HC,Y348
DO,203,HY3阻挡下降,HY3阻挡下降,349,HC,Y349
DO,201,HY1横移顶升上升,HY_TopCylinder_UP,342,HC,Y342
DO,201,HY1横移顶升下降,HY_TopCylinder_Down,343,HC,Y343
DO,201,HY1横移定位上升,HY_LocationCylinder_UP,344,HC,Y344
DO,201,HY1横移定位下降,HY_LocationCylinder_Down,345,HC,Y345
DO,203,HY3横移顶升上升,HY_TopCylinder_UP,346,HC,Y346
DO,203,HY3横移顶升下降,HY_TopCylinder_Down,347,HC,Y347
DO,203,HY3前阻挡下降,HY_FrontStopDown,348,HC,Y348
DO,203,HY3阻挡下降,HY_StopDown,349,HC,Y349
,,,,350,HC,Y350
,,,,351,HC,Y351
,,,,,,
......@@ -894,18 +894,18 @@ DI,102,T2上料气缸料盘检测,SL_MoveCylinder_Check,428,HC,X428
,,,,430,HC,X430
,,,,431,HC,X431
,,,,,,
DI,202,HY2前阻挡托盘检测,HY2前阻挡托盘检测,432,HC,X432
DI,202,HY2横移托盘检测,HY2横移托盘检测,433,HC,X433
DI,202,HY2横移顶升上升端,HY2横移顶升上升端,434,HC,X434
DI,202,HY2横移顶升下降端,HY2横移顶升下降端,435,HC,X435
DI,202,HY2横移定位1上升端,HY2横移定位1上升端,436,HC,X436
DI,202,HY2横移定位1下降端,HY2横移定位1下降端,437,HC,X437
DI,202,HY2横移定位2上升端,HY2横移定位2上升端,438,HC,X438
DI,202,HY2横移定位2下降端,HY2横移定位2下降端,439,HC,X439
DI,204,HY4横移托盘检测,HY4横移托盘检测,440,HC,X440
DI,204,HY4横移顶升上升端,HY4横移顶升上升端,441,HC,X441
DI,204,HY4横移顶升下降端,HY4横移顶升下降端,442,HC,X442
DI,204,C2线体HY4侧满料检测,C2线体HY4侧满料检测,443,HC,X443
DI,202,HY2前阻挡托盘检测,HY_FrontStopCheck,432,HC,X432
DI,202,HY2横移托盘检测,HY_TrayCheck,433,HC,X433
DI,202,HY2横移顶升上升端,HY_TopCylinder_UP,434,HC,X434
DI,202,HY2横移顶升下降端,HY_TopCylinder_Down,435,HC,X435
DI,202,HY2横移定位1上升端,HY_LocationCylinder_UP1,436,HC,X436
DI,202,HY2横移定位1下降端,HY_LocationCylinder_Down1,437,HC,X437
DI,202,HY2横移定位2上升端,HY_LocationCylinder_UP2,438,HC,X438
DI,202,HY2横移定位2下降端,HY_LocationCylinder_Down2,439,HC,X439
DI,204,HY4横移托盘检测,HY_TrayCheck,440,HC,X440
DI,204,HY4横移顶升上升端,HY_TopCylinder_UP,441,HC,X441
DI,204,HY4横移顶升下降端,HY_TopCylinder_Down,442,HC,X442
DI,204,C2线体HY4侧满料检测,HY_TrayImpletion_Check,443,HC,X443
,,,,444,HC,X444
,,,,445,HC,X445
,,,,446,HC,X446
......@@ -916,9 +916,9 @@ DO,102,T2故障指示灯,SL_AlarmLed,353,HC,Y353
DO,102,T2进料线体运转,SL_Line_Run,354,HC,Y354
DO,102,T2线体定位横移电机运转,SL_LocationSideWay_Run,355,HC,Y355
DO,102,T2线体出口横移电机运转,SL_OutSideWay_Run,356,HC,Y356
DO,202,HY2横移电机正转,HY2横移电机正转,357,HC,Y357
DO,204,HY4横移电机正转,HY4横移电机正转,358,HC,Y358
DO,204,HY4横移电机反转,HY4横移电机反转,359,HC,Y359
DO,202,HY2横移电机正转,HY_LineRun,357,HC,Y357
DO,204,HY4横移电机正转,HY_LineRun,358,HC,Y358
DO,204,HY4横移电机反转,HY_LineBackRun,359,HC,Y359
DO,102,T2进料阻挡下降,SL_Entry_StopDown,360,HC,Y360
DO,102,T2定位工位缓冲阻挡,SL_Buffer_StopDown,361,HC,Y361
DO,102,T2出料阻挡下降,SL_Out_StopDown,362,HC,Y362
......@@ -934,44 +934,44 @@ DO,102,T2上料气缸放松,SL_MoveCylinder_Relax,371,HC,Y371
DO,102,T2上料气缸夹紧,SL_MoveCylinder_Work,372,HC,Y372
DO,102,T2托盘定位气缸前进,SL_TrayLocation_Before,373,HC,Y373
DO,102,T2托盘定位气缸后退,SL_TrayLocation_After,374,HC,Y374
DO,202,HY2横移顶升上升,HY2横移顶升上升,375,HC,Y375
DO,202,HY2横移顶升下降,HY2横移顶升下降,376,HC,Y376
DO,202,HY2横移定位上升,HY2横移定位上升,377,HC,Y377
DO,202,HY2横移定位下降,HY2横移定位下降,378,HC,Y378
DO,202,HY2前阻挡下降,HY2前阻挡下降,379,HC,Y379
DO,204,HY4横移顶升上升,HY4横移顶升上升,380,HC,Y380
DO,204,HY4横移顶升下降,HY4横移顶升下降,381,HC,Y381
DO,204,HY4前阻挡下降,HY4前阻挡下降,382,HC,Y382
DO,204,HY4阻挡下降,HY4阻挡下降,383,HC,Y383
DO,202,HY2横移顶升上升,HY_TopCylinder_UP,375,HC,Y375
DO,202,HY2横移顶升下降,HY_TopCylinder_Down,376,HC,Y376
DO,202,HY2横移定位上升,HY_LocationCylinder_UP,377,HC,Y377
DO,202,HY2横移定位下降,HY_LocationCylinder_Down,378,HC,Y378
DO,202,HY2前阻挡下降,HY_FrontStopDown,379,HC,Y379
DO,204,HY4横移顶升上升,HY_TopCylinder_UP,380,HC,Y380
DO,204,HY4横移顶升下降,HY_TopCylinder_Down,381,HC,Y381
DO,204,HY4前阻挡下降,HY_FrontStopDown,382,HC,Y382
DO,204,HY4阻挡下降,HY_StopDown,383,HC,Y383
,,,,,,
,,XT7,XT7,,,
,,D7&D8,D7&D8,,,
DI,14,D7-1阻挡1托盘检测,StopCylinder_Check1,448,HC,X448
DI,14,D7-1阻挡2托盘检测,StopCylinder_Check2,449,HC,X449
DI,14,D7-1阻挡1托盘检测,StopCheck1,448,HC,X448
DI,14,D7-1阻挡2托盘检测,StopCheck2,449,HC,X449
DI,14,D7-1顶升上升端,TopCylinder_UP,450,HC,X450
DI,14,D7-1顶升下降端,TopCylinder_Down,451,HC,X451
DI,14,D7-1横移前进端,BeforeAfterCylinder_Before,452,HC,X452
DI,14,D7-1横移后退端,BeforeAfterCylinder_After,453,HC,X453
DI,14,D7-1夹料气缸料盘检测,ClampCylinder_Check,454,HC,X454
DI,14,D7-1夹料放松端,ClampCylinder_Relax,455,HC,X455
DI,13,D7-2阻挡1托盘检测,StopCylinder_Check1,456,HC,X456
DI,13,D7-2阻挡2托盘检测,StopCylinder_Check2,457,HC,X457
DI,13,D7-2阻挡1托盘检测,StopCheck1,456,HC,X456
DI,13,D7-2阻挡2托盘检测,StopCheck2,457,HC,X457
DI,13,D7-2顶升上升端,TopCylinder_UP,458,HC,X458
DI,13,D7-2顶升下降端,TopCylinder_Down,459,HC,X459
DI,13,D7-2横移前进端,BeforeAfterCylinder_Before,460,HC,X460
DI,13,D7-2横移后退端,BeforeAfterCylinder_After,461,HC,X461
DI,13,D7-2夹料气缸料盘检测,ClampCylinder_Check,462,HC,X462
DI,13,D7-2夹料放松端,ClampCylinder_Relax,463,HC,X463
DI,16,D8-1阻挡1托盘检测,StopCylinder_Check1,464,HC,X464
DI,16,D8-1阻挡2托盘检测,StopCylinder_Check2,465,HC,X465
DI,16,D8-1阻挡1托盘检测,StopCheck1,464,HC,X464
DI,16,D8-1阻挡2托盘检测,StopCheck2,465,HC,X465
DI,16,D8-1顶升上升端,TopCylinder_UP,466,HC,X466
DI,16,D8-1顶升下降端,TopCylinder_Down,467,HC,X467
DI,16,D8-1横移前进端,BeforeAfterCylinder_Before,468,HC,X468
DI,16,D8-1横移后退端,BeforeAfterCylinder_After,469,HC,X469
DI,16,D8-1夹料气缸料盘检测,ClampCylinder_Check,470,HC,X470
DI,16,D8-1夹料放松端,ClampCylinder_Relax,471,HC,X471
DI,15,D8-2阻挡1托盘检测,StopCylinder_Check1,472,HC,X472
DI,15,D8-2阻挡2托盘检测,StopCylinder_Check2,473,HC,X473
DI,15,D8-2阻挡1托盘检测,StopCheck1,472,HC,X472
DI,15,D8-2阻挡2托盘检测,StopCheck2,473,HC,X473
DI,15,D8-2顶升上升端,TopCylinder_UP,474,HC,X474
DI,15,D8-2顶升下降端,TopCylinder_Down,475,HC,X475
DI,15,D8-2横移前进端,BeforeAfterCylinder_Before,476,HC,X476
......@@ -979,32 +979,32 @@ DI,15,D8-2横移后退端,BeforeAfterCylinder_After,477,HC,X477
DI,15,D8-2夹料气缸料盘检测,ClampCylinder_Check,478,HC,X478
DI,15,D8-2夹料放松端,ClampCylinder_Relax,479,HC,X479
,,,,,,
DO,14,D7-1阻挡1下降,StopCylinder_Check1,384,HC,Y384
DO,14,D7-1阻挡2下降,StopCylinder_Check2,385,HC,Y385
DO,14,D7-1阻挡1下降,StopDown1,384,HC,Y384
DO,14,D7-1阻挡2下降,StopDown2,385,HC,Y385
DO,14,D7-1顶升上升,TopCylinder_UP,386,HC,Y386
DO,14,D7-1顶升下降,TopCylinder_Down,387,HC,Y387
DO,14,D7-1横移前进,BeforeAfterCylinder_Before,388,HC,Y388
DO,14,D7-1横移后退,BeforeAfterCylinder_After,389,HC,Y389
DO,14,D7-1夹料夹紧,ClampCylinder_Work,390,HC,Y390
DO,14,D7-1夹料放松,ClampCylinder_Relax,391,HC,Y391
DO,13,D7-2阻挡1下降,StopCylinder_Check1,392,HC,Y392
DO,13,D7-2阻挡2下降,StopCylinder_Check2,393,HC,Y393
DO,13,D7-2阻挡1下降,StopDown1,392,HC,Y392
DO,13,D7-2阻挡2下降,StopDown2,393,HC,Y393
DO,13,D7-2顶升上升,TopCylinder_UP,394,HC,Y394
DO,13,D7-2顶升下降,TopCylinder_Down,395,HC,Y395
DO,13,D7-2横移前进,BeforeAfterCylinder_Before,396,HC,Y396
DO,13,D7-2横移后退,BeforeAfterCylinder_After,397,HC,Y397
DO,13,D7-2夹料夹紧,ClampCylinder_Work,398,HC,Y398
DO,13,D7-2夹料放松,ClampCylinder_Relax,399,HC,Y399
DO,16,D8-1阻挡1下降,StopCylinder_Check1,400,HC,Y400
DO,16,D8-1阻挡2下降,StopCylinder_Check2,401,HC,Y401
DO,16,D8-1阻挡1下降,StopDown1,400,HC,Y400
DO,16,D8-1阻挡2下降,StopDown2,401,HC,Y401
DO,16,D8-1顶升上升,TopCylinder_UP,402,HC,Y402
DO,16,D8-1顶升下降,TopCylinder_Down,403,HC,Y403
DO,16,D8-1横移前进,BeforeAfterCylinder_Before,404,HC,Y404
DO,16,D8-1横移后退,BeforeAfterCylinder_After,405,HC,Y405
DO,16,D8-1夹料夹紧,ClampCylinder_Work,406,HC,Y406
DO,16,D8-1夹料放松,ClampCylinder_Relax,407,HC,Y407
DO,15,D8-2阻挡1下降,StopCylinder_Check1,408,HC,Y408
DO,15,D8-2阻挡2下降,StopCylinder_Check2,409,HC,Y409
DO,15,D8-2阻挡1下降,StopDown1,408,HC,Y408
DO,15,D8-2阻挡2下降,StopDown2,409,HC,Y409
DO,15,D8-2顶升上升,TopCylinder_UP,410,HC,Y410
DO,15,D8-2顶升下降,TopCylinder_Down,411,HC,Y411
DO,15,D8-2横移前进,BeforeAfterCylinder_Before,412,HC,Y412
......@@ -1015,34 +1015,34 @@ DO,15,D8-2夹料放松,ClampCylinder_Relax,415,HC,Y415
,,,,,,
,,XT8,XT8,,,
,,HY5&HY7&HY10&J1,HY5&HY7&HY10&J1,,,
DI,205,C2-HY5阻挡托盘检测,C2-HY5阻挡托盘检测,480,HC,X480
DI,205,HY5横移托盘检测,HY5横移托盘检测,481,HC,X481
DI,205,HY5横移顶升上升端,HY5横移顶升上升端,482,HC,X482
DI,205,HY5横移顶升下降端,HY5横移顶升下降端,483,HC,X483
DI,205,C8线体HY5侧满料检测,C8线体HY5侧满料检测,484,HC,X484
DI,207,HY7横移托盘检测,HY7横移托盘检测,485,HC,X485
DI,207,HY7横移顶升上升端,HY7横移顶升上升端,486,HC,X486
DI,207,HY7横移顶升下降端,HY7横移顶升下降端,487,HC,X487
DI,207,C3-HY7阻挡托盘检测,C3-HY7阻挡托盘检测,488,HC,X488
DI,207,C8-HY7阻挡托盘检测,C8-HY7阻挡托盘检测,489,HC,X489
DI,207,C8线体HY7侧满料检测,C8线体HY7侧满料检测,490,HC,X490
DI,209,C4-HY9满料检测,C4-HY9满料检测,491,HC,X491
DI,210,HY10前阻挡托盘检测,HY10前阻挡托盘检测,492,HC,X492
DI,210,HY10横移托盘检测,HY10横移托盘检测,493,HC,X493
DI,210,HY10横移顶升上升端,HY10横移顶升上升端,494,HC,X494
DI,210,HY10横移顶升下降端,HY10横移顶升下降端,495,HC,X495
DI,210,HY10横移定位1上升端,HY10横移定位1上升端,496,HC,X496
DI,210,HY10横移定位1下降端,HY10横移定位1下降端,497,HC,X497
DI,210,HY10横移定位2上升端,HY10横移定位2上升端,498,HC,X498
DI,210,HY10横移定位2下降端,HY10横移定位2下降端,499,HC,X499
DI,210,HY10接驳台气缸取料端,HY10接驳台气缸取料端,500,HC,X500
DI,210,HY10接驳台气缸放料端,HY10接驳台气缸放料端,501,HC,X501
DI,210,HY10夹料气缸料盘检测,HY10夹料气缸料盘检测,502,HC,X502
DI,210,HY10夹料气缸放松端,HY10夹料气缸放松端,503,HC,X503
DI,210,HY10接驳台料盘检测7寸,HY10接驳台料盘检测7寸,504,HC,X504
DI,210,HY10接驳台料盘检测11寸,HY10接驳台料盘检测11寸,505,HC,X505
DI,210,HY10接驳台料盘检测13寸,HY10接驳台料盘检测13寸,506,HC,X506
DI,210,HY10接驳台料盘检测15寸,HY10接驳台料盘检测15寸,507,HC,X507
DI,205,C2-HY5阻挡托盘检测,HY_StopTray_Check,480,HC,X480
DI,205,HY5横移托盘检测,HY_TrayCheck,481,HC,X481
DI,205,HY5横移顶升上升端,HY_TopCylinder_UP,482,HC,X482
DI,205,HY5横移顶升下降端,HY_TopCylinder_Down,483,HC,X483
DI,205,C8线体HY5侧满料检测,HY_TrayImpletion_Check,484,HC,X484
DI,207,HY7横移托盘检测,HY_TrayCheck,485,HC,X485
DI,207,HY7横移顶升上升端,HY_TopCylinder_UP,486,HC,X486
DI,207,HY7横移顶升下降端,HY_TopCylinder_Down,487,HC,X487
DI,207,C3-HY7阻挡托盘检测,HY_StopTray_Check,488,HC,X488
DI,207,C8-HY7阻挡托盘检测,HY_StopTray_Check2,489,HC,X489
DI,207,C8线体HY7侧满料检测,HY_TrayImpletion_Check,490,HC,X490
DI,209,C4-HY9满料检测,HY_TrayImpletion_Check,491,HC,X491
DI,210,HY10前阻挡托盘检测,HY_FrontStopCheck,492,HC,X492
DI,210,HY10横移托盘检测,HY_TrayCheck,493,HC,X493
DI,210,HY10横移顶升上升端,HY_TopCylinder_UP,494,HC,X494
DI,210,HY10横移顶升下降端,HY_TopCylinder_Down,495,HC,X495
DI,210,HY10横移定位1上升端,HY_LocationCylinder_UP1,496,HC,X496
DI,210,HY10横移定位1下降端,HY_LocationCylinder_Down1,497,HC,X497
DI,210,HY10横移定位2上升端,HY_LocationCylinder_UP2,498,HC,X498
DI,210,HY10横移定位2下降端,HY_LocationCylinder_Down2,499,HC,X499
DI,210,HY10接驳台气缸取料端,HY_MoveCylinder_Take,500,HC,X500
DI,210,HY10接驳台气缸放料端,HY_MoveCylinder_Give,501,HC,X501
DI,210,HY10夹料气缸料盘检测,HY_ClampCylinder_Check,502,HC,X502
DI,210,HY10夹料气缸放松端,HY_ClampCylinder_Relax,503,HC,X503
DI,210,HY10接驳台料盘检测7寸,HY_TrayCheck1,504,HC,X504
DI,210,HY10接驳台料盘检测11寸,HY_TrayCheck2,505,HC,X505
DI,210,HY10接驳台料盘检测13寸,HY_TrayCheck3,506,HC,X506
DI,210,HY10接驳台料盘检测15寸,HY_TrayCheck4,507,HC,X507
,,,,508,HC,X508
,,,,509,HC,X509
,,,,510,HC,X510
......@@ -1051,31 +1051,31 @@ DI,210,HY10接驳台料盘检测15寸,HY10接驳台料盘检测15寸,507,HC,X507
,,,,,,
DO,0,C1线体电机4启动,MotorRun_C1_4,416,HC,Y416
DO,0,C2/C3/C4/C5/C8线体运转,MotorRun_23458,417,HC,Y417
DO,205,HY5横移电机正转,HY5横移电机正转,418,HC,Y418
DO,205,HY5横移顶升上升,HY5横移顶升上升,419,HC,Y419
DO,205,HY5横移顶升下降,HY5横移顶升下降,420,HC,Y420
DO,205,C2-HY5阻挡下降,C2-HY5阻挡下降,421,HC,Y421
DO,207,HY7横移电机正转,HY7横移电机正转,422,HC,Y422
DO,207,HY7横移顶升上升,HY7横移顶升上升,423,HC,Y423
DO,207,HY7横移顶升下降,HY7横移顶升下降,424,HC,Y424
DO,207,C3-HY7阻挡下降,C3-HY7阻挡下降,425,HC,Y425
DO,207,C8-HY7阻挡下降,C8-HY7阻挡下降,426,HC,Y426
DO,210,HY10横移电机正转,HY10横移电机正转,427,HC,Y427
DO,210,HY10前阻挡下降,HY10前阻挡下降,428,HC,Y428
DO,210,HY10横移顶升上升,HY10横移顶升上升,429,HC,Y429
DO,210,HY10横移顶升下降,HY10横移顶升下降,430,HC,Y430
DO,210,HY10横移定位上升,HY10横移定位上升,431,HC,Y431
DO,210,HY10横移定位下降,HY10横移定位下降,432,HC,Y432
DO,210,HY10接驳台气缸取料,HY10接驳台气缸取料,433,HC,Y433
DO,210,HY10接驳台气缸放料,HY10接驳台气缸放料,434,HC,Y434
DO,210,HY10夹料气缸夹紧,HY10夹料气缸夹紧,435,HC,Y435
DO,210,HY10夹料气缸放松,HY10夹料气缸放松,436,HC,Y436
DO,209,HY9横移顶升上升,HY9横移顶升上升,437,HC,Y437
DO,209,HY9横移顶升下降,HY9横移顶升下降,438,HC,Y438
DO,209,HY9前阻挡下降,HY9前阻挡下降,439,HC,Y439
DO,209,HY9阻挡下降,HY9阻挡下降,440,HC,Y440
DO,209,C4-HY9阻挡上升,C4-HY9阻挡上升,441,HC,Y441
DO,209,C4-HY9阻挡下降,C4-HY9阻挡下降,442,HC,Y442
DO,205,HY5横移电机正转,HY_LineRun,418,HC,Y418
DO,205,HY5横移顶升上升,HY_TopCylinder_UP,419,HC,Y419
DO,205,HY5横移顶升下降,HY_TopCylinder_Down,420,HC,Y420
DO,205,C2-HY5阻挡下降,HY_StopDown,421,HC,Y421
DO,207,HY7横移电机正转,HY_LineRun,422,HC,Y422
DO,207,HY7横移顶升上升,HY_TopCylinder_UP,423,HC,Y423
DO,207,HY7横移顶升下降,HY_TopCylinder_Down,424,HC,Y424
DO,207,C3-HY7阻挡下降,HY_StopCylinder_Up,425,HC,Y425
DO,207,C8-HY7阻挡下降,HY_StopCylinder_Down,426,HC,Y426
DO,210,HY10横移电机正转,HY_LineRun,427,HC,Y427
DO,210,HY10前阻挡下降,HY_FrontStopDown,428,HC,Y428
DO,210,HY10横移顶升上升,HY_TopCylinder_UP,429,HC,Y429
DO,210,HY10横移顶升下降,HY_TopCylinder_Down,430,HC,Y430
DO,210,HY10横移定位上升,HY_LocationCylinder_UP,431,HC,Y431
DO,210,HY10横移定位下降,HY_LocationCylinder_Down,432,HC,Y432
DO,210,HY10接驳台气缸取料,HY_MoveCylinder_Take,433,HC,Y433
DO,210,HY10接驳台气缸放料,HY_MoveCylinder_Give,434,HC,Y434
DO,210,HY10夹料气缸夹紧,HY_ClampCylinder_Work,435,HC,Y435
DO,210,HY10夹料气缸放松,HY_ClampCylinder_Relax,436,HC,Y436
DO,209,HY9横移顶升上升,HY_TopCylinder_UP,437,HC,Y437
DO,209,HY9横移顶升下降,HY_TopCylinder_Down,438,HC,Y438
DO,209,HY9前阻挡下降,HY_FrontStopDown,439,HC,Y439
DO,209,HY9阻挡下降,HY_StopDown,440,HC,Y440
DO,209,C4-HY9阻挡上升,HY_StopCylinder_Up,441,HC,Y441
DO,209,C4-HY9阻挡下降,HY_StopCylinder_Down,442,HC,Y442
,,,,443,HC,Y443
,,,,444,HC,Y444
,,,,445,HC,Y445
......@@ -1084,16 +1084,16 @@ DO,209,C4-HY9阻挡下降,C4-HY9阻挡下降,442,HC,Y442
,,,,,,
,,XT9,XT9,,,
,,D9&D10&HY11&T3-C1,D9&D10&HY11&T3-C1,,,
DI,18,D9-1阻挡1托盘检测,StopCylinder_Check1,512,HC,X512
DI,18,D9-1阻挡2托盘检测,StopCylinder_Check2,513,HC,X513
DI,18,D9-1阻挡1托盘检测,StopCheck1,512,HC,X512
DI,18,D9-1阻挡2托盘检测,StopCheck2,513,HC,X513
DI,18,D9-1顶升上升端,TopCylinder_UP,514,HC,X514
DI,18,D9-1顶升下降端,TopCylinder_Down,515,HC,X515
DI,18,D9-1横移前进端,BeforeAfterCylinder_Before,516,HC,X516
DI,18,D9-1横移后退端,BeforeAfterCylinder_After,517,HC,X517
DI,18,D9-1夹料气缸料盘检测,ClampCylinder_Check,518,HC,X518
DI,18,D9-1夹料放松端,ClampCylinder_Relax,519,HC,X519
DI,17,D9-2阻挡1托盘检测,StopCylinder_Check1,520,HC,X520
DI,17,D9-2阻挡2托盘检测,StopCylinder_Check2,521,HC,X521
DI,17,D9-2阻挡1托盘检测,StopCheck1,520,HC,X520
DI,17,D9-2阻挡2托盘检测,StopCheck2,521,HC,X521
DI,17,D9-2顶升上升端,TopCylinder_UP,522,HC,X522
DI,17,D9-2顶升下降端,TopCylinder_Down,523,HC,X523
DI,17,D9-2横移前进端,BeforeAfterCylinder_Before,524,HC,X524
......@@ -1101,8 +1101,8 @@ DI,17,D9-2横移后退端,BeforeAfterCylinder_After,525,HC,X525
DI,17,D9-2夹料气缸料盘检测,ClampCylinder_Check,526,HC,X526
DI,17,D9-2夹料放松端,ClampCylinder_Relax,527,HC,X527
DI,17,D9-2升降上升端,UpDownCylinder_Up,528,HC,X528
DI,17,D9-2升降下降端,StopCylinder_Check1,529,HC,X529
DI,20,D10-1阻挡1托盘检测,StopCylinder_Check2,530,HC,X530
DI,17,D9-2升降下降端,StopCheck1,529,HC,X529
DI,20,D10-1阻挡1托盘检测,StopCheck2,530,HC,X530
DI,20,D10-1阻挡2托盘检测,TopCylinder_UP,531,HC,X531
DI,20,D10-1顶升上升端,TopCylinder_Down,532,HC,X532
DI,20,D10-1顶升下降端,TopCylinder_Down,533,HC,X533
......@@ -1112,8 +1112,8 @@ DI,20,D10-1夹料气缸料盘检测,ClampCylinder_Check,536,HC,X536
DI,20,D10-1夹料放松端,ClampCylinder_Relax,537,HC,X537
DI,20,D10-1升降上升端,UpDownCylinder_Up,538,HC,X538
DI,20,D10-1升降下降端,UpDownCylinder_Down,539,HC,X539
DI,19,D10-2阻挡1托盘检测,StopCylinder_Check1,540,HC,X540
DI,19,D10-2阻挡2托盘检测,StopCylinder_Check2,541,HC,X541
DI,19,D10-2阻挡1托盘检测,StopCheck1,540,HC,X540
DI,19,D10-2阻挡2托盘检测,StopCheck2,541,HC,X541
DI,19,D10-2顶升上升端,TopCylinder_UP,542,HC,X542
DI,19,D10-2顶升下降端,TopCylinder_Down,543,HC,X543
,,,,,,
......@@ -1123,47 +1123,47 @@ DI,19,D10-2夹料气缸料盘检测,ClampCylinder_Check,546,HC,X546
DI,19,D10-2夹料放松端,ClampCylinder_Relax,547,HC,X547
DI,19,D10-2升降上升端,UpDownCylinder_Up,548,HC,X548
DI,19,D10-2升降下降端,UpDownCylinder_Down,549,HC,X549
DI,211,HY11前阻挡托盘检测,HY11前阻挡托盘检测,550,HC,X550
DI,211,HY11横移托盘检测,HY11横移托盘检测,551,HC,X551
DI,211,HY11横移顶升上升端,HY11横移顶升上升端,552,HC,X552
DI,211,HY11横移顶升下降端,HY11横移顶升下降端,553,HC,X553
DI,211,C5-HY11阻挡托盘检测,C5-HY11阻挡托盘检测,554,HC,X554
DI,0,T3-C1前阻挡托盘检测,T3-C1前阻挡托盘检测,555,HC,X555
DI,0,T3-C1阻挡托盘检测,T3-C1阻挡托盘检测,556,HC,X556
DI,0,T3-C1顶升上升端,T3-C1顶升上升端,557,HC,X557
DI,0,T3-C1顶升下降端,T3-C1顶升下降端,558,HC,X558
DI,211,HY11前阻挡托盘检测,HY_FrontStopCheck,550,HC,X550
DI,211,HY11横移托盘检测,HY_TrayCheck,551,HC,X551
DI,211,HY11横移顶升上升端,HY_TopCylinder_UP,552,HC,X552
DI,211,HY11横移顶升下降端,HY_TopCylinder_Down,553,HC,X553
DI,211,C5-HY11阻挡托盘检测,HY_StopTray_Check,554,HC,X554
DI,0,T3-C1前阻挡托盘检测,HY_FrontStopCheck,555,HC,X555
DI,0,T3-C1阻挡托盘检测,HY_TrayCheck,556,HC,X556
DI,0,T3-C1顶升上升端,HY_TopCylinder_UP,557,HC,X557
DI,0,T3-C1顶升下降端,HY_TopCylinder_Down,558,HC,X558
,,,,559,HC,X559
,,,,,,
DO,18,D9-1阻挡1下降,StopCylinder_Check1,448,HC,Y448
DO,18,D9-1阻挡2下降,StopCylinder_Check2,449,HC,Y449
DO,18,D9-1阻挡1下降,StopDown1,448,HC,Y448
DO,18,D9-1阻挡2下降,StopDown2,449,HC,Y449
DO,18,D9-1顶升上升,TopCylinder_UP,450,HC,Y450
DO,18,D9-1顶升下降,TopCylinder_Down,451,HC,Y451
DO,18,D9-1横移前进,BeforeAfterCylinder_Before,452,HC,Y452
DO,18,D9-1横移后退,BeforeAfterCylinder_After,453,HC,Y453
DO,18,D9-1夹料夹紧,ClampCylinder_Work,454,HC,Y454
DO,18,D9-1夹料放松,ClampCylinder_Relax,455,HC,Y455
DO,17,D9-2阻挡1下降,StopCylinder_Check1,456,HC,Y456
DO,17,D9-2阻挡2下降,StopCylinder_Check2,457,HC,Y457
DO,17,D9-2阻挡1下降,StopDown1,456,HC,Y456
DO,17,D9-2阻挡2下降,StopDown2,457,HC,Y457
DO,17,D9-2顶升上升,TopCylinder_UP,458,HC,Y458
DO,17,D9-2顶升下降,TopCylinder_Down,459,HC,Y459
DO,17,D9-2横移前进,BeforeAfterCylinder_Before,460,HC,Y460
DO,17,D9-2横移后退,BeforeAfterCylinder_After,461,HC,Y461
DO,17,D9-2夹料夹紧,ClampCylinder_Work,462,HC,Y462
DO,17,D9-2夹料放松,ClampCylinder_Relax,463,HC,Y463
DO,17,D9-2升降上升,D9-2升降上升,464,HC,Y464
DO,17,D9-2升降下降,D9-2升降下降,465,HC,Y465
DO,20,D10-1阻挡1下降,StopCylinder_Check1,466,HC,Y466
DO,20,D10-1阻挡2下降,StopCylinder_Check2,467,HC,Y467
DO,17,D9-2升降上升,UpDownCylinder_Up,464,HC,Y464
DO,17,D9-2升降下降,UpDownCylinder_Down,465,HC,Y465
DO,20,D10-1阻挡1下降,StopDown1,466,HC,Y466
DO,20,D10-1阻挡2下降,StopDown2,467,HC,Y467
DO,20,D10-1顶升上升,TopCylinder_UP,468,HC,Y468
DO,20,D10-1顶升下降,TopCylinder_Down,469,HC,Y469
DO,20,D10-1横移前进,BeforeAfterCylinder_Before,470,HC,Y470
DO,20,D10-1横移后退,BeforeAfterCylinder_After,471,HC,Y471
DO,20,D10-1夹料夹紧,ClampCylinder_Work,472,HC,Y472
DO,20,D10-1夹料放松,ClampCylinder_Relax,473,HC,Y473
DO,20,D10-1升降上升,D10-1升降上升,474,HC,Y474
DO,20,D10-1升降下降,D10-1升降下降,475,HC,Y475
DO,19,D10-2阻挡1下降,StopCylinder_Check1,476,HC,Y476
DO,19,D10-2阻挡2下降,StopCylinder_Check2,477,HC,Y477
DO,20,D10-1升降上升,UpDownCylinder_Up,474,HC,Y474
DO,20,D10-1升降下降,UpDownCylinder_Down,475,HC,Y475
DO,19,D10-2阻挡1下降,StopDown1,476,HC,Y476
DO,19,D10-2阻挡2下降,StopDown2,477,HC,Y477
DO,19,D10-2顶升上升,TopCylinder_UP,478,HC,Y478
DO,19,D10-2顶升下降,TopCylinder_Down,479,HC,Y479
,,,,,,
......@@ -1171,45 +1171,45 @@ DO,19,D10-2横移前进,BeforeAfterCylinder_Before,480,HC,Y480
DO,19,D10-2横移后退,BeforeAfterCylinder_After,481,HC,Y481
DO,19,D10-2夹料夹紧,ClampCylinder_Work,482,HC,Y482
DO,19,D10-2夹料放松,ClampCylinder_Relax,483,HC,Y483
DO,19,D10-2升降上升,D10-2升降上升,484,HC,Y484
DO,19,D10-2升降下降,D10-2升降下降,485,HC,Y485
DO,211,HY11横移电机正转,HY11横移电机正转,486,HC,Y486
DO,211,HY11横移顶升上升,HY11横移顶升上升,487,HC,Y487
DO,211,HY11横移顶升下降,HY11横移顶升下降,488,HC,Y488
DO,211,HY11前阻挡下降,HY11前阻挡下降,489,HC,Y489
DO,211,HY11阻挡下降,HY11阻挡下降,490,HC,Y490
DO,211,C5-HY11阻挡下降,C5-HY11阻挡下降,491,HC,Y491
DO,0,T3-C1前阻挡下降,T3-C1前阻挡下降,492,HC,Y492
DO,0,T3-C1阻挡下降,T3-C1阻挡下降,493,HC,Y493
DO,0,T3-C1顶升上升,T3-C1顶升上升,494,HC,Y494
DO,0,T3-C1顶升下降,T3-C1顶升下降,495,HC,Y495
DO,19,D10-2升降上升,UpDownCylinder_Up,484,HC,Y484
DO,19,D10-2升降下降,UpDownCylinder_Down,485,HC,Y485
DO,211,HY11横移电机正转,HY_LineRun,486,HC,Y486
DO,211,HY11横移顶升上升,HY_TopCylinder_UP,487,HC,Y487
DO,211,HY11横移顶升下降,HY_TopCylinder_Down,488,HC,Y488
DO,211,HY11前阻挡下降,HY_FrontStopDown,489,HC,Y489
DO,211,HY11阻挡下降,HY_StopDown,490,HC,Y490
DO,211,C5-HY11阻挡下降,HY_SideStopDown,491,HC,Y491
DO,0,T3-C1前阻挡下降,HY_FrontStopDown,492,HC,Y492
DO,0,T3-C1阻挡下降,HY_StopDown,493,HC,Y493
DO,0,T3-C1顶升上升,HY_TopCylinder_UP,494,HC,Y494
DO,0,T3-C1顶升下降,HY_TopCylinder_Down,495,HC,Y495
,,,,,,
,,,,,,
,,,,,,
,,XT10,XT10,,,
,,HY12&HY14&J2,HY12&HY14&J2,,,
DI,214,C6-HY14阻挡托盘检测,C6-HY14阻挡托盘检测,560,HC,X560
DI,214,HY14横移托盘检测,HY14横移托盘检测,561,HC,X561
DI,214,C9-HY14阻挡托盘检测,C9-HY14阻挡托盘检测,562,HC,X562
DI,214,HY14横移顶升上升端,HY14横移顶升上升端,563,HC,X563
DI,214,HY14横移顶升下降端,HY14横移顶升下降端,564,HC,X564
DI,211,C5-HY11满料检测,C5-HY11满料检测,565,HC,X565
DI,212,C9-HY12阻挡托盘检测,C9-HY12阻挡托盘检测,566,HC,X566
DI,212,HY12横移托盘检测,HY12横移托盘检测,567,HC,X567
DI,212,HY12横移顶升上升端,HY12横移顶升上升端,568,HC,X568
DI,212,HY12横移顶升下降端,HY12横移顶升下降端,569,HC,X569
DI,212,HY12横移定位1上升端,HY12横移定位1上升端,570,HC,X570
DI,212,HY12横移定位1下降端,HY12横移定位1下降端,571,HC,X571
DI,212,HY12横移定位2上升端,HY12横移定位2上升端,572,HC,X572
DI,212,HY12横移定位2下降端,HY12横移定位2下降端,573,HC,X573
DI,212,HY12接驳台气缸取料端,HY12接驳台气缸取料端,574,HC,X574
DI,212,HY12接驳台气缸放料端,HY12接驳台气缸放料端,575,HC,X575
DI,212,HY12夹料气缸料盘检测,HY12夹料气缸料盘检测,576,HC,X576
DI,212,HY12夹料气缸放松端,HY12夹料气缸放松端,577,HC,X577
DI,212,HY12接驳台料盘检测7寸,HY12接驳台料盘检测7寸,578,HC,X578
DI,212,HY12接驳台料盘检测11寸,HY12接驳台料盘检测11寸,579,HC,X579
DI,212,HY12接驳台料盘检测13寸,HY12接驳台料盘检测13寸,580,HC,X580
DI,212,HY12接驳台料盘检测15寸,HY12接驳台料盘检测15寸,581,HC,X581
DI,214,C6-HY14阻挡托盘检测,HY_StopTray_Check,560,HC,X560
DI,214,HY14横移托盘检测,HY_TrayCheck,561,HC,X561
DI,214,C9-HY14阻挡托盘检测,HY_StopTray_Check2,562,HC,X562
DI,214,HY14横移顶升上升端,HY_TopCylinder_UP,563,HC,X563
DI,214,HY14横移顶升下降端,HY_TopCylinder_Down,564,HC,X564
DI,211,C5-HY11满料检测,HY_TrayImpletion_Check,565,HC,X565
DI,212,C9-HY12阻挡托盘检测,HY_StopTray_Check,566,HC,X566
DI,212,HY12横移托盘检测,HY_TrayCheck,567,HC,X567
DI,212,HY12横移顶升上升端,HY_TopCylinder_UP,568,HC,X568
DI,212,HY12横移顶升下降端,HY_TopCylinder_Down,569,HC,X569
DI,212,HY12横移定位1上升端,HY_LocationCylinder_UP1,570,HC,X570
DI,212,HY12横移定位1下降端,HY_LocationCylinder_Down1,571,HC,X571
DI,212,HY12横移定位2上升端,HY_LocationCylinder_UP2,572,HC,X572
DI,212,HY12横移定位2下降端,HY_LocationCylinder_Down2,573,HC,X573
DI,212,HY12接驳台气缸取料端,HY_MoveCylinder_Take,574,HC,X574
DI,212,HY12接驳台气缸放料端,HY_MoveCylinder_Give,575,HC,X575
DI,212,HY12夹料气缸料盘检测,HY_ClampCylinder_Check,576,HC,X576
DI,212,HY12夹料气缸放松端,HY_ClampCylinder_Relax,577,HC,X577
DI,212,HY12接驳台料盘检测7寸,HY_TrayCheck1,578,HC,X578
DI,212,HY12接驳台料盘检测11寸,HY_TrayCheck2,579,HC,X579
DI,212,HY12接驳台料盘检测13寸,HY_TrayCheck3,580,HC,X580
DI,212,HY12接驳台料盘检测15寸,HY_TrayCheck4,581,HC,X581
,,,,582,HC,X582
,,,,583,HC,X583
,,,,584,HC,X584
......@@ -1221,21 +1221,21 @@ DI,212,HY12接驳台料盘检测15寸,HY12接驳台料盘检测15寸,581,HC,X581
,,,,590,HC,X590
,,,,591,HC,X591
,,,,,,
DO,214,C6-HY14阻挡下降,C6-HY14阻挡下降,496,HC,Y496
DO,214,C9-HY14阻挡下降,C9-HY14阻挡下降,497,HC,Y497
DO,214,HY14横移电机正转,HY14横移电机正转,498,HC,Y498
DO,214,HY14横移顶升上升,HY14横移顶升上升,499,HC,Y499
DO,214,HY14横移顶升下降,HY14横移顶升下降,500,HC,Y500
DO,212,HY12横移电机正转,HY12横移电机正转,501,HC,Y501
DO,212,HY12前阻挡下降,HY12前阻挡下降,502,HC,Y502
DO,212,HY12横移顶升上升,HY12横移顶升上升,503,HC,Y503
DO,212,HY12横移顶升下降,HY12横移顶升下降,504,HC,Y504
DO,212,HY12横移定位上升,HY12横移定位上升,505,HC,Y505
DO,212,HY12横移定位下降,HY12横移定位下降,506,HC,Y506
DO,212,HY12接驳台气缸取料,HY12接驳台气缸取料,507,HC,Y507
DO,212,HY12接驳台气缸放料,HY12接驳台气缸放料,508,HC,Y508
DO,212,HY12夹料气缸夹紧,HY12夹料气缸夹紧,509,HC,Y509
DO,212,HY12夹料气缸放松,HY12夹料气缸放松,510,HC,Y510
DO,214,C6-HY14阻挡下降,HY_StopCylinder_Up,496,HC,Y496
DO,214,C9-HY14阻挡下降,HY_StopCylinder_Down,497,HC,Y497
DO,214,HY14横移电机正转,HY_LineRun,498,HC,Y498
DO,214,HY14横移顶升上升,HY_TopCylinder_UP,499,HC,Y499
DO,214,HY14横移顶升下降,HY_TopCylinder_Down,500,HC,Y500
DO,212,HY12横移电机正转,HY_LineRun,501,HC,Y501
DO,212,HY12前阻挡下降,HY_FrontStopDown,502,HC,Y502
DO,212,HY12横移顶升上升,HY_TopCylinder_UP,503,HC,Y503
DO,212,HY12横移顶升下降,HY_TopCylinder_Down,504,HC,Y504
DO,212,HY12横移定位上升,HY_LocationCylinder_UP,505,HC,Y505
DO,212,HY12横移定位下降,HY_LocationCylinder_Down,506,HC,Y506
DO,212,HY12接驳台气缸取料,HY_MoveCylinder_Take,507,HC,Y507
DO,212,HY12接驳台气缸放料,HY_MoveCylinder_Give,508,HC,Y508
DO,212,HY12夹料气缸夹紧,HY_ClampCylinder_Work,509,HC,Y509
DO,212,HY12夹料气缸放松,HY_ClampCylinder_Relax,510,HC,Y510
,,,,511,HC,Y511
,,,,512,HC,Y512
,,,,513,HC,Y513
......
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,15,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=153000;24=153000;32=129000;44=107000;56=95000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=120000;56=100000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=180000;7X16=175000;7X24=165000,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,16,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=168000;24=155000;32=133000;44=115000;56=90000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=115000;56=80000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,2,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,9,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=185000;16=185000;24=176000;32=154000;44=134000;56=112000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=150000;44=115000;56=78000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=184000;15X16=183000;11X16=184500;7X16=185000,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,4,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,2,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,10,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=224000;24=206000;32=185000;44=160000;56=140000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=90000;8=160000;12=160000;16=160000;24=160000;32=160000;44=140000;56=110000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=228000;7X12=228000;7X16=224000;15X8=200000;15X12=200000;15X16=200000;15X24=170000;15X32=150000;15X44=140000;15X56=120000;13X12=220000;13X16=210000;13X24=200000;13X32=180000;13X44=150000;13X56=130000,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
......@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 当前正在通过的托盘号
/// </summary>
internal int currTrayNum = 0;
public int currTrayNum = 0;
/// <summary>
/// 升降轴
/// </summary>
......@@ -210,23 +210,23 @@ namespace OnlineStore.DeviceLibrary
}
public void ChangeDebug(bool isDebug)
{
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.ProvidingEquip))
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.HYEquip))
{
if (isDebug)
{
IsDebug = true;
//两个阻挡气缸下降
lineStatus = LineStatus.Debugging;
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
LogInfo("从正常状态切换到调试状态!");
}
else if (lineStatus.Equals(LineStatus.Debugging))
{
IsDebug = false;
lineStatus = LineStatus.StoreOnline;
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
LogInfo("从调试状态切换到正常状态!");
}
}
......@@ -238,11 +238,11 @@ namespace OnlineStore.DeviceLibrary
internal virtual void OpenStopCylinder()
{
preRWTime = DateTime.Now;
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.ProvidingEquip))
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.HYEquip))
{
LogInfo("OpenStopCylinder: 下降阻挡气缸,上下气缸上升,顶升气缸下降");
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
//上下气缸上升
if (!UseAxis)
{
......@@ -256,24 +256,21 @@ namespace OnlineStore.DeviceLibrary
internal virtual bool OpenStopCylinderOk(TimeSpan span)
{
TimeSpan rwSpan = DateTime.Now - preRWTime;
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.ProvidingEquip))
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.HYEquip))
{
if (IOValue(IO_Type.StopCylinder_Down1).Equals(IO_VALUE.HIGH) &&
IOValue(IO_Type.StopCylinder_Down2).Equals(IO_VALUE.HIGH))
if (IOValue(IO_Type.StopDown1).Equals(IO_VALUE.HIGH) &&
IOValue(IO_Type.StopDown2).Equals(IO_VALUE.HIGH))
{
return true;
}
else if (rwSpan.TotalSeconds > 5 && span.TotalSeconds > 6 && span.TotalSeconds < LineManager.Config.IOSingle_TimerOut * 2)
{
preRWTime = DateTime.Now;
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
}
}
else if (baseConfig.DType.Equals(DeviceType.DischargeLine))
{
return true;
}
else if (baseConfig.DType.Equals(DeviceType.FeedingEquip))
{
if (DeviceID.Equals(102))
......@@ -298,12 +295,12 @@ namespace OnlineStore.DeviceLibrary
}
internal virtual void CloseCylinderStop()
{
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.ProvidingEquip))
if (baseConfig.DType.Equals(DeviceType.MoveEquip) || baseConfig.DType.Equals(DeviceType.HYEquip))
{
LogInfo("CloseCylinderStop: 上升阻挡气缸,关闭上下气缸,顶升气缸IO");
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
//上下气缸上升
if (!UseAxis)
{
......@@ -612,7 +609,7 @@ namespace OnlineStore.DeviceLibrary
protected void OutLog(string msg)
{
string posId = MoveInfo.MoveParam != null ? MoveInfo.MoveParam.PosId : "";
if (baseConfig.DType.Equals(DeviceType.ProvidingEquip) || baseConfig.DType.Equals(DeviceType.MoveEquip))
if (baseConfig.DType.Equals(DeviceType.HYEquip) || baseConfig.DType.Equals(DeviceType.MoveEquip))
{
if (String.IsNullOrEmpty(posId))
{
......
......@@ -28,7 +28,7 @@ namespace OnlineStore.DeviceLibrary
baseConfig = config;
this.Config = config;
IsDebug = config.IsDebug.Equals(1);
Name = (" " + "_入料_" + DeviceID % 100 + " ").ToUpper();
Name = (" " + "_入料_T" + DeviceID % 100 + " ").ToUpper();
Init();
UseAxis = true;
......
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.DeviceLibrary
{
public class HYEquipBase : EquipBase
{
public HYEquip_Config Config;
public static HYEquipBase GetHY(string cid, HYEquip_Config config)
{
int hynum = (config.Id % 100);
List<int> jNumList = new List<int>() { 10,12,17};
List<int> oNumList = new List<int>() { 5, 7, 14 };
//List<int> cNumList = new List<int>() { 10, 12, 17 };
if (jNumList.Contains(hynum))
{
return new HY_Coveryor(cid, config);
}else if (oNumList.Contains(hynum))
{
return new HY_OutLine(cid, config);
}
else
{
return new HY_C1Line(cid, config);
}
}
public HYEquipBase(string cid, HYEquip_Config config)
{
this.DeviceID = config.Id;
this.Config = config;
baseConfig = config;
IsDebug = config.IsDebug.Equals(1);
Name = ( "_HY" + (DeviceID%100).ToString().PadLeft(2, '0') + "_").ToUpper();
Init();
MoveInfo = new LineMoveInfo(DeviceID, "[" + Name.Trim() + "-Move]");
SecondMoveInfo = new LineMoveInfo(DeviceID, "[" + Name.Trim() + "-SMove]");
UseAxis = config.UpDownUseAxis.Equals(1);
if (UseAxis)
{
Config.UpDown_Axis.ServerOnDO = IO_Type.UpDownAxis_ServoOn;
Config.UpDown_Axis.BreakOnDO = IO_Type.UpDownAxis_BreakOn;
}
UpdownAxis = new AxisBean(config.UpDown_Axis, Name);
}
public override bool Reset()
{
return false;
}
public override bool StartInStoreMove(InOutParam param)
{
return false;
}
public override bool StartOutStoreMove(InOutParam param)
{
return false;
}
public override bool StartRun(bool isDebug = false)
{
return false;
}
public override void StopRun()
{
}
protected override void BaseTimerProcess()
{
}
protected override void CheckFixtureProcess()
{
}
protected override void InStoreProcess()
{
}
protected override void OutStoreProcess()
{
}
protected override void ResetProcess()
{
}
internal override void StopMove()
{
}
}
}
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.DeviceLibrary
{
public class HY_C1Line:HYEquipBase
{
public HY_C1Line(string cid, HYEquip_Config config) : base(cid, config)
{
Name = ("_C1线HY" + (DeviceID % 100).ToString().PadLeft(2, '0') + "_").ToUpper();
}
}
}
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.DeviceLibrary
{
public class HY_Coveryor:HYEquipBase
{
public HY_Coveryor(string cid, HYEquip_Config config) : base(cid, config)
{
Name = ("_接驳台HY" + (DeviceID % 100).ToString().PadLeft(2, '0') + "_").ToUpper();
}
}
}
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.DeviceLibrary
{
public class HY_OutLine : HYEquipBase
{
public HY_OutLine(string cid, HYEquip_Config config) : base(cid, config)
{
Name = ("_出料线HY" + (DeviceID % 100).ToString().PadLeft(2, '0') + "_").ToUpper();
}
}
}
......@@ -38,8 +38,8 @@ namespace OnlineStore.DeviceLibrary
public Dictionary<int, MoveEquip> MoveEquipMap { get; set; }
public Dictionary<int, FeedingEquip> FeedingEquipMap { get; set; }
public Dictionary<int, ProvidingEquip> ProvidingEquipMap { get; set; }
public Dictionary<int, DischargeLine> DisLineMap { get; set; }
public Dictionary<int, HYEquipBase> HYEquipMap { get; set; }
//public Dictionary<int, DischargeLine> DisLineMap { get; set; }
public Dictionary<int, EquipBase> AllEquipMap { get; set; }
/// <summary>
......@@ -53,7 +53,7 @@ namespace OnlineStore.DeviceLibrary
private bool canStart = false;
public LineBean(Line_Config lineConfig, Dictionary<int, MoveEquip_Config> configList, Dictionary<int, FeedingEquip_Config> feedMap,
Dictionary<int, ProvidingEquip_Config> providMap, Dictionary<int, DischargeLine_Config> disLineMap)
Dictionary<int, HYEquip_Config> hyConfigMap)
{
if (lineConfig.IOSingle_TimerOut <= 0)
{
......@@ -76,8 +76,7 @@ namespace OnlineStore.DeviceLibrary
AllEquipMap = new Dictionary<int, EquipBase>();
MoveEquipMap = new Dictionary<int, MoveEquip>();
FeedingEquipMap = new Dictionary<int, FeedingEquip>();
ProvidingEquipMap = new Dictionary<int, ProvidingEquip>();
DisLineMap = new Dictionary<int, DischargeLine>();
HYEquipMap = new Dictionary<int, HYEquipBase>();
List<string> ioList = new List<string>();
ioList = new List<string>(DeviceConfig.ProIOIpMap.Values);
AddDeviceName(ioList, Config.IOIPList);
......@@ -102,23 +101,23 @@ namespace OnlineStore.DeviceLibrary
MoveEquipMap.Add(config.Id, equip);
AllEquipMap.Add(config.Id, equip);
}
foreach (ProvidingEquip_Config config in providMap.Values)
foreach (HYEquip_Config config in hyConfigMap.Values)
{
ProvidingEquip equip = new ProvidingEquip(lineConfig.CID, config);
HYEquipBase equip =HYEquipBase.GetHY( lineConfig.CID, config);
AddDeviceName(ioList, config.IOIPList);
ProvidingEquipMap.Add(config.Id, equip);
HYEquipMap.Add(config.Id, equip);
AllEquipMap.Add(config.Id, equip);
equip.TrayPEndEvent += Equip_TrayPEndEvent;
//equip.TrayPEndEvent += Equip_TrayPEndEvent;
}
foreach (DischargeLine_Config config in disLineMap.Values)
{
DischargeLine equip = new DischargeLine(lineConfig.CID, config);
//foreach (DischargeLine_Config config in disLineMap.Values)
//{
// DischargeLine equip = new DischargeLine(lineConfig.CID, config);
AddDeviceName(ioList, config.IOIPList);
DisLineMap.Add(config.Id, equip);
AllEquipMap.Add(config.Id, equip);
}
// AddDeviceName(ioList, config.IOIPList);
// DisLineMap.Add(config.Id, equip);
// AllEquipMap.Add(config.Id, equip);
//}
//先初始化设备
IOManager.Init();
AxisManager.Init();
......@@ -144,16 +143,16 @@ namespace OnlineStore.DeviceLibrary
FeedingEquip feed = FeedingEquipMap[id];
cioList.AddRange(feed.Config.IOIPList);
}
else if (ProvidingEquipMap.ContainsKey(id))
else if (HYEquipMap.ContainsKey(id))
{
ProvidingEquip feed = ProvidingEquipMap[id];
cioList.AddRange(feed.Config.IOIPList);
}
else if (DisLineMap.ContainsKey(id))
{
DischargeLine feed = DisLineMap[id];
HYEquipBase feed = HYEquipMap[id];
cioList.AddRange(feed.Config.IOIPList);
}
//else if (DisLineMap.ContainsKey(id))
//{
// DischargeLine feed = DisLineMap[id];
// cioList.AddRange(feed.Config.IOIPList);
//}
else if (MoveEquipMap.ContainsKey(id))
{
MoveEquip equip = MoveEquipMap[id];
......
......@@ -459,7 +459,7 @@ namespace OnlineStore.DeviceLibrary
Equip_TrayPEndEvent(4, SW41WaitTrayNum);
}
if (SW41_MoveInfo.MoveType.Equals(LineMoveType.None) && ProvidingEquipMap[204].runStatus <= LineRunStatus.Wait)
if (SW41_MoveInfo.MoveType.Equals(LineMoveType.None) && HYEquipMap[204].runStatus <= LineRunStatus.Wait)
{
if (IOValue(IO_Type.SW4_TrayCheck).Equals(IO_VALUE.HIGH) && IOValue(IO_Type.SW1_TrayCheck).Equals(IO_VALUE.LOW) &&
......@@ -556,9 +556,9 @@ namespace OnlineStore.DeviceLibrary
private void UpateSw41TrayNum()
{
Sw41TrayNum = 0;
if (ProvidingEquipMap.ContainsKey(204))
if (HYEquipMap.ContainsKey(204))
{
ProvidingEquip eq = ProvidingEquipMap[204];
HYEquipBase eq = HYEquipMap[204];
if (eq.runStatus >= LineRunStatus.HomeMoving)
{
Sw41TrayNum = eq.currTrayNum;
......@@ -1216,9 +1216,9 @@ namespace OnlineStore.DeviceLibrary
foreach (int lineNum in lineList)
{
int deviceN = 200 + lineNum;
if (ProvidingEquipMap.ContainsKey(deviceN))
if (HYEquipMap.ContainsKey(deviceN))
{
ProvidingEquip pro = ProvidingEquipMap[deviceN];
HYEquipBase pro = HYEquipMap[deviceN];
if (pro.runStatus >= LineRunStatus.HomeMoving && pro.isInSuddenDown.Equals(false) && pro.isNoAirCheck.Equals(false))
{
return true;
......@@ -1233,16 +1233,16 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
internal bool DLineStartOut(int dlineId, int LineNum)
{
foreach (DischargeLine line in DisLineMap.Values)
{
if ((line.DeviceID % 100).Equals(dlineId))
{
if (line.CanStartOut(LineNum))
{
return true;
}
}
}
//foreach (DischargeLine line in DisLineMap.Values)
//{
// if ((line.DeviceID % 100).Equals(dlineId))
// {
// if (line.CanStartOut(LineNum))
// {
// return true;
// }
// }
//}
return false;
}
#endregion
......
......@@ -23,7 +23,7 @@ namespace OnlineStore.DeviceLibrary
this.Config = config;
baseConfig = config;
IsDebug = config.IsDebug.Equals(1);
Name = (" " + "_进仓_" + DeviceID.ToString().PadLeft(2, '0') + " ").ToUpper();
Name = (" " + "_"+ GetNByID() + "_进仓" + DeviceID.ToString().PadLeft(2, '0') + "_" ).ToUpper();
Init();
......@@ -40,7 +40,30 @@ namespace OnlineStore.DeviceLibrary
}
UpdownAxis = new AxisBean(config.UpDown_Axis, Name);
}
private string GetNByID()
{
string name = "";
int index = DeviceID;
if (index >= 0)
{
int num =( index+1) / 2;
int subNum = index % 2;
if (subNum.Equals(0))
{
subNum = 2;
}
if (num <= 6)
{
}
else
{
subNum = 3 - subNum;
}
name = "D" + num + "-" + subNum;
}
return name;
}
public override bool StartRun(bool isDebug = false)
{
if (CanStartRun().Equals(false))
......@@ -93,13 +116,13 @@ namespace OnlineStore.DeviceLibrary
// CylinderMove(MoveInfo, IO_Type.UpDownCylinder_Down, IO_Type.UpDownCylinder_Up);
if (IsDebug)
{
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
}
else
{
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
}
isInPro = false;
}
......@@ -135,7 +158,7 @@ namespace OnlineStore.DeviceLibrary
DebugInfo(MoveInfo.MoveType + " : 上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松");
CylinderMove(MoveInfo, IO_Type.TopCylinder_UP, IO_Type.TopCylinder_Down);
CylinderMove(MoveInfo, IO_Type.BeforeAfterCylinder_Before, IO_Type.BeforeAfterCylinder_After);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Slack, IO_Type.ClampCylinder_Tighten);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Work, IO_Type.ClampCylinder_Relax);
break;
case LineMoveStep.MH_OtherCylinderBack:
......@@ -180,8 +203,8 @@ namespace OnlineStore.DeviceLibrary
UpdownUpMove();
CylinderMove(MoveInfo, IO_Type.TopCylinder_UP, IO_Type.TopCylinder_Down);
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
}
......@@ -193,8 +216,8 @@ namespace OnlineStore.DeviceLibrary
}
StopMove();
//停止运行时,把所有IO 置零
CheckAndMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopDown1, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopDown2, IO_VALUE.LOW);
CheckAndMove(IO_Type.TopCylinder_UP, IO_VALUE.LOW);
CheckAndMove(IO_Type.TopCylinder_Down, IO_VALUE.LOW);
CheckAndMove(IO_Type.BeforeAfterCylinder_Before, IO_VALUE.LOW);
......@@ -204,8 +227,8 @@ namespace OnlineStore.DeviceLibrary
CheckAndMove(IO_Type.UpDownCylinder_Up, IO_VALUE.LOW);
CheckAndMove(IO_Type.UpDownCylinder_Down, IO_VALUE.LOW);
}
CheckAndMove(IO_Type.ClampCylinder_Slack, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Tighten, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Work, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Relax, IO_VALUE.LOW);
runStatus = LineRunStatus.Wait;
}
......
......@@ -101,7 +101,7 @@ namespace OnlineStore.DeviceLibrary
{
MoveInfo.NextMoveStep(LineMoveStep.MO_54_CylinderOpen);
OutLog("出库 " + MoveInfo.SLog + ": 夹料气缸夹紧,更新料盘位置【" + MoveInfo.MoveParam.WareCode + "】【MOVING】【" + DeviceID + "】");
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Tighten, IO_Type.ClampCylinder_Slack);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Relax, IO_Type.ClampCylinder_Work);
//更新料盘位置
SServerManager.UpdateTrayLoc(Name, MoveInfo.MoveParam.WareCode, LocStatus.MOVING, DeviceID.ToString());
......@@ -190,7 +190,7 @@ namespace OnlineStore.DeviceLibrary
//出库全部完成
lineStatus = LineStatus.StoreOnline;
MoveInfo.NextMoveStep(LineMoveStep.MO_59_CylinderRelax);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Slack, IO_Type.ClampCylinder_Tighten);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Work, IO_Type.ClampCylinder_Relax);
}
else if (MoveInfo.MoveStep.Equals(LineMoveStep.MO_59_CylinderRelax))
{
......@@ -299,7 +299,7 @@ namespace OnlineStore.DeviceLibrary
{
MoveInfo.NextMoveStep(LineMoveStep.MI_08_CylinderOpen);
InLog("入库 " + MoveInfo.SLog + ": 夹料气缸夹紧");
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Tighten, IO_Type.ClampCylinder_Slack);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Relax, IO_Type.ClampCylinder_Work);
}
else if (MoveInfo.MoveStep.Equals(LineMoveStep.MI_08_CylinderOpen))
{
......@@ -354,7 +354,7 @@ namespace OnlineStore.DeviceLibrary
{
MoveInfo.NextMoveStep(LineMoveStep.MI_12_CylinderRelax);
InLog("入库 " + MoveInfo.SLog + ",夹料气缸放松");
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Slack, IO_Type.ClampCylinder_Tighten);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Work, IO_Type.ClampCylinder_Relax);
}
else if (MoveInfo.MoveStep.Equals(LineMoveStep.MI_12_CylinderRelax))
{
......@@ -580,7 +580,7 @@ namespace OnlineStore.DeviceLibrary
{
if (SecondMoveInfo.MoveType.Equals(LineMoveType.None).Equals(false))
{
if (IOValue(IO_Type.StopCylinder_Check2).Equals(IO_VALUE.HIGH))
if (IOValue(IO_Type.StopCheck2).Equals(IO_VALUE.HIGH))
{
trayCheck2LowWait.Stop();
}
......@@ -594,7 +594,7 @@ namespace OnlineStore.DeviceLibrary
if (SecondMoveInfo.MoveType.Equals(LineMoveType.None))
{
bool canpro = LineManager.Line.Move5CanProcessTray(DeviceID);
if (IOValue(IO_Type.StopCylinder_Check2).Equals(IO_VALUE.HIGH))
if (IOValue(IO_Type.StopCheck2).Equals(IO_VALUE.HIGH))
{
trayCheck2LowWait.Stop();
if (canpro && TrayManager.checkWatch(trayCheckWait, TrayManager.SwTrayWaitTime, true))
......@@ -603,14 +603,14 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_03_Stop2Down);
CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " 阻挡气缸1-1上升)");
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down1, IO_VALUE.LOW));
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown1, IO_VALUE.LOW));
}
}
else
{
bool check2IsOk = TrayManager.checkWatch(trayCheck2LowWait, TrayManager.SwTrayWaitTime, false);
if (IOValue(IO_Type.StopCylinder_Check1).Equals(IO_VALUE.HIGH))
if (IOValue(IO_Type.StopCheck1).Equals(IO_VALUE.HIGH))
{
if (TrayManager.checkWatch(trayCheckWait, TrayManager.SwTrayWaitTime, false) && check2IsOk && canpro)
{
......@@ -621,10 +621,10 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_00_Stop1Down);
CheckLog(" 托盘检测:料盘检测StopCylinder_Check1 " + SecondMoveInfo.SLog + "阻挡气缸1-1下降 , 等待 StopCylinder_Check1=0,清理托盘RFID");
ClearTrayRFID();
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH, 1200);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH, 1200);
SecondMoveInfo.OneWaitCanEndStep = true;
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check1, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck1, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
}
else
......@@ -673,22 +673,22 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.TimeOutSeconds = 20;
}
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_01_FixtureCheck))
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_03_Stop2Down);
CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " 再次等待托盘信号");
// IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_03_Stop2Down))
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_04_Wait);
CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " ,等待编码信号稳定StopCylinder_Check2=1");
CheckAndMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopDown1, IO_VALUE.LOW);
//SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(500));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_04_Wait))
{
......@@ -835,7 +835,7 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_17_Stop2Check);
CheckLog("托盘放行" + SecondMoveInfo.SLog + " , 等待StopCylinder_Check2=0");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.LOW));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_17_Stop2Check))
{
......@@ -847,9 +847,9 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_19_StopCylinder_Back);
CheckLog("托盘放行" + SecondMoveInfo.SLog + " , 阻挡气缸1-2上升 )");
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(100));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.LOW));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_19_StopCylinder_Back))
{
......@@ -865,8 +865,8 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_16_Stop2Down);
CheckLog("托盘放行" + SecondMoveInfo.SLog + " ,阻挡气缸1-2下降 ");
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH));
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.IsTimeOut(120))
......
......@@ -94,13 +94,13 @@ namespace OnlineStore.DeviceLibrary
UpdownHomeMove();
if (IsDebug)
{
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH);
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
}
else
{
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
}
isInPro = false;
}
......@@ -130,7 +130,7 @@ namespace OnlineStore.DeviceLibrary
LogInfo(MoveInfo.MoveType + " :上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松 ");
CylinderMove(MoveInfo, IO_Type.TopCylinder_UP, IO_Type.TopCylinder_Down);
CylinderMove(MoveInfo, IO_Type.BeforeAfterCylinder_Before, IO_Type.BeforeAfterCylinder_After);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Slack, IO_Type.ClampCylinder_Tighten);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Work, IO_Type.ClampCylinder_Relax);
break;
case LineMoveStep.MH_OtherCylinderBack:
MoveInfo.EndMove();
......@@ -167,8 +167,8 @@ namespace OnlineStore.DeviceLibrary
UpdownAxis.SuddenStop();
}
CylinderMove(MoveInfo, IO_Type.TopCylinder_UP, IO_Type.TopCylinder_Down);
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
}
public override void StopRun()
{
......@@ -179,8 +179,8 @@ namespace OnlineStore.DeviceLibrary
StopMove();
CloseAxis(UpdownAxis);
//停止运行时,把所有IO 置零
CheckAndMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopDown1, IO_VALUE.LOW);
CheckAndMove(IO_Type.StopDown2, IO_VALUE.LOW);
CheckAndMove(IO_Type.TopCylinder_UP, IO_VALUE.LOW);
CheckAndMove(IO_Type.TopCylinder_Down, IO_VALUE.LOW);
CheckAndMove(IO_Type.BeforeAfterCylinder_Before, IO_VALUE.LOW);
......@@ -190,8 +190,8 @@ namespace OnlineStore.DeviceLibrary
CheckAndMove(IO_Type.UpDownCylinder_Up, IO_VALUE.LOW);
CheckAndMove(IO_Type.UpDownCylinder_Down, IO_VALUE.LOW);
}
CheckAndMove(IO_Type.ClampCylinder_Slack, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Tighten, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Work, IO_VALUE.LOW);
CheckAndMove(IO_Type.ClampCylinder_Relax, IO_VALUE.LOW);
runStatus = LineRunStatus.Wait;
}
......
......@@ -47,7 +47,7 @@ namespace OnlineStore.DeviceLibrary
return;
}
//int num = TrayManager.GetTrayNum(DeviceID);
if (IOValue(IO_Type.StopCylinder_Check2).Equals(IO_VALUE.HIGH))
if (IOValue(IO_Type.StopCheck2).Equals(IO_VALUE.HIGH))
{
bool canProcess = (LineManager.Line.SwNoProcess(Config.SidesWayNum));
trayCheck2LowWait.Stop();
......@@ -57,14 +57,14 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo.NewMove(LineMoveType.CheckFixture);
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_03_Stop2Down);
LogUtil.info(Name + " [" + trayCount + "] 托盘阻挡" + SecondMoveInfo.SLog + "阻挡气缸1-1上升)");
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down1, IO_VALUE.LOW));
IOMove(IO_Type.StopDown1, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown1, IO_VALUE.LOW));
}
}
else
{
bool check2Ok = TrayManager.checkWatch(trayCheck2LowWait, TrayManager.SwTrayWaitTime, false);
if (IOValue(IO_Type.StopCylinder_Check1).Equals(IO_VALUE.HIGH) )
if (IOValue(IO_Type.StopCheck1).Equals(IO_VALUE.HIGH) )
{
bool canProcess = (LineManager.Line.SwNoProcess(Config.SidesWayNum));
if (TrayManager.checkWatch(trayCheckWait, TrayManager.SwTrayWaitTime, false) && (DateTime.Now - lastStopDown).TotalSeconds > 3 && check2Ok && canProcess)
......@@ -77,10 +77,10 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_00_Stop1Down);
LogUtil.debug(Name + " [" + trayCount + "] 托盘检测:" + SecondMoveInfo.SLog + "阻挡气缸1-1下降 ,等待 StopCylinder_Check1=0,清理托盘RFID");
ClearTrayRFID();
IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.HIGH, 1200);
IOMove(IO_Type.StopDown1, IO_VALUE.HIGH, 1200);
SecondMoveInfo.OneWaitCanEndStep = true;
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check1, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck1, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
}
else
......@@ -118,8 +118,8 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_16_Stop2Down);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " ,阻挡2下降");
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH));
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.HIGH));
}
}
else
......@@ -302,7 +302,7 @@ namespace OnlineStore.DeviceLibrary
TimeSpan span = DateTime.Now - SecondMoveInfo.LastSetpTime;
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_04_Wait);
LogUtil.debug(Name + "托盘阻挡" + SecondMoveInfo.SLog + " 阻挡气缸上升,下降耗时(" + FormUtil.GetSpanStr(span) + "),等待 阻挡2托盘检测=1)");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
// else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_01_FixtureCheck))
// {
......@@ -320,7 +320,7 @@ namespace OnlineStore.DeviceLibrary
{
CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " ,等待编码信号稳定StopCylinder_Check2=1");
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_04_Wait);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.HIGH));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_04_Wait))
{
......@@ -438,8 +438,8 @@ namespace OnlineStore.DeviceLibrary
// SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_16_Stop2Down);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " ,阻挡2下降");
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH));
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.HIGH));
}
}
......@@ -447,21 +447,21 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_16_Stop2Down);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " ,阻挡2下降");
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.HIGH));
IOMove(IO_Type.StopDown2, IO_VALUE.HIGH);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.HIGH));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_16_Stop2Down))
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_17_Stop2Check);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " , 阻挡2托盘检测=0");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.LOW));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_17_Stop2Check))
{
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_18_WaitTime);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " , 等待200ms后阻挡2上升");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(200));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Check2, IO_VALUE.LOW));
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCheck2, IO_VALUE.LOW));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_18_WaitTime))
{
......@@ -469,8 +469,8 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo.NextMoveStep(LineMoveStep.MO_19_StopCylinder_Back);
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " , 阻挡气缸2上升 ");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(100));
IOMove(IO_Type.StopCylinder_Down2, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopCylinder_Down2, IO_VALUE.LOW));
IOMove(IO_Type.StopDown2, IO_VALUE.LOW);
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.StopDown2, IO_VALUE.LOW));
}
else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MO_19_StopCylinder_Back))
{
......@@ -557,7 +557,7 @@ namespace OnlineStore.DeviceLibrary
//{
int lineId = DeviceID % 100;
MoveInfo.NextMoveStep(LineMoveStep.PO_03_CylinderOpen);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Tighten, IO_Type.ClampCylinder_Slack);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Relax, IO_Type.ClampCylinder_Work);
if (MoveInfo.MoveParam.InStoreNg)
{
LogInfo("出料 【" + posId + "】" + MoveInfo.SLog + " : 夹料气缸夹紧,入料NG料,不更新料盘位置");
......@@ -615,7 +615,7 @@ namespace OnlineStore.DeviceLibrary
//UpdownDownP3Move(MoveInfo.MoveParam.PlateH);
MoveInfo.NextMoveStep(LineMoveStep.PO_08_CylinderRelax);
OutLog("出料:" + MoveInfo.SLog + ",夹料气缸放松)");
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Slack, IO_Type.ClampCylinder_Tighten);
CylinderMove(MoveInfo, IO_Type.ClampCylinder_Work, IO_Type.ClampCylinder_Relax);
if (MoveInfo.MoveParam.urgentReel && this.Config.SidesWayNum.Equals(4))
{
......
......@@ -50,8 +50,8 @@ namespace OnlineStore.DeviceLibrary
{
Dictionary<int, MoveEquip_Config> moveECMap = null;
Dictionary<int, FeedingEquip_Config> feedingECMap = null;
Dictionary<int, ProvidingEquip_Config> providingECMap = null;
Dictionary<int, DischargeLine_Config> disChargeLineMap = null;
Dictionary<int, HYEquip_Config> HYECMap = null;
//Dictionary<int, DischargeLine_Config> disChargeLineMap = null;
DeviceConfig.SubDIList = new Dictionary<int, Dictionary<string, ConfigIO>>();
DeviceConfig.SubDOList = new Dictionary<int, Dictionary<string, ConfigIO>>();
......@@ -60,8 +60,8 @@ namespace OnlineStore.DeviceLibrary
moveECMap = new Dictionary<int, MoveEquip_Config>();
feedingECMap = new Dictionary<int, FeedingEquip_Config>();
providingECMap = new Dictionary<int, ProvidingEquip_Config>();
disChargeLineMap = new Dictionary<int, DischargeLine_Config>();
HYECMap = new Dictionary<int, HYEquip_Config>();
//disChargeLineMap = new Dictionary<int, DischargeLine_Config>();
allConfigMap = new Dictionary<int, DeviceConfig>();
string server = ConfigAppSettings.GetValue(Setting_Init.http_server);
if (server.Equals(""))
......@@ -117,31 +117,32 @@ namespace OnlineStore.DeviceLibrary
allConfigMap.Add(subType, moveConfig);
}
int providingEquipCount = ConfigAppSettings.GetIntValue(Setting_Init.Line_providingEquip_count);
string providingEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_ProvidingEquip);
for (int i = 1; i <= providingEquipCount; i++)
int hyEquipCount = ConfigAppSettings.GetIntValue(Setting_Init.Line_HYEquip_count);
string hyEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_HYEquip);
for (int i = 1; i <= hyEquipCount; i++)
{
int subType = 200 + i;
string config = appPath + providingEquipConfig.Replace(".csv", "_" + i + ".csv");
ProvidingEquip_Config moveConfig = CSVConfigReader.LoadProvidingConfig(subType,DeviceType.ProvidingEquip, config);
string nameStr = i.ToString().PadLeft(2, '0');
string config = appPath + hyEquipConfig.Replace(".csv", "_" +nameStr + ".csv");
HYEquip_Config moveConfig = CSVConfigReader.LoadHYConfig(subType,DeviceType.HYEquip, config);
moveConfig.SetIO(subType);
providingECMap.Add(subType, moveConfig);
HYECMap.Add(subType, moveConfig);
allConfigMap.Add(subType, moveConfig);
}
int dislineCount = ConfigAppSettings.GetIntValue(Setting_Init.Line_dischargeLine_count);
string dischargeLineConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
for (int i = 1; i <= dislineCount; i++)
{
int subType = 300 + i;
string config = appPath + dischargeLineConfig.Replace(".csv", "_" + i + ".csv");
DischargeLine_Config moveConfig = CSVConfigReader.LoadDischargeLineConfig(subType,DeviceType.DischargeLine, config);
moveConfig.SetIO(subType);
disChargeLineMap.Add(subType, moveConfig);
allConfigMap.Add(subType, moveConfig);
}
//int dislineCount = ConfigAppSettings.GetIntValue(Setting_Init.Line_dischargeLine_count);
//string dischargeLineConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
//for (int i = 1; i <= dislineCount; i++)
//{
// int subType = 300 + i;
// string config = appPath + dischargeLineConfig.Replace(".csv", "_" + i + ".csv");
// DischargeLine_Config moveConfig = CSVConfigReader.LoadDischargeLineConfig(subType,DeviceType.DischargeLine, config);
// moveConfig.SetIO(subType);
// disChargeLineMap.Add(subType, moveConfig);
// allConfigMap.Add(subType, moveConfig);
//}
Config.SetIO(1000);
Line = new LineBean(Config, moveECMap, feedingECMap, providingECMap, disChargeLineMap);
Line = new LineBean(Config, moveECMap, feedingECMap, HYECMap);
LogUtil.info( "加载 完成!");
return true;
}
......@@ -203,17 +204,17 @@ namespace OnlineStore.DeviceLibrary
LogUtil.error("出错:",ex);
}
}
public static void SaveProvidingEquipConfig(ProvidingEquip_Config config)
public static void SaveHYEquipConfig(HYEquip_Config config)
{
try
{
//位置配置到文件中
string appPath = Application.StartupPath;
string moveEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_ProvidingEquip);
string moveEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_HYEquip);
int id = config.Id - 200;
string configStr = appPath + moveEquipConfig.Replace(".csv", "_" + id + ".csv");
allConfigMap[config.Id] = config;
bool result = CSVConfigReader.SaveConfig(configStr, config,typeof(ProvidingEquip_Config));
bool result = CSVConfigReader.SaveConfig(configStr, config,typeof(HYEquip_Config));
if (!result)
{
LogUtil.error("保存配置文件失败:" + configStr);
......@@ -225,28 +226,28 @@ namespace OnlineStore.DeviceLibrary
}
}
public static void SaveDischargeLineConfig(DischargeLine_Config config)
{
try
{
//位置配置到文件中
string appPath = Application.StartupPath;
string moveEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
int id = config.Id - 300;
string configStr = appPath + moveEquipConfig.Replace(".csv", "_" + id + ".csv");
// disChargeLineMap[config.Id] = config;
allConfigMap[config.Id] = config;
bool result = CSVConfigReader.SaveConfig(configStr, config, typeof(DischargeLine_Config));
if (!result)
{
LogUtil.error("保存配置文件失败:" + configStr);
}
}
catch (Exception ex)
{
LogUtil.error("出错:",ex);
}
}
//public static void SaveDischargeLineConfig(DischargeLine_Config config)
//{
// try
// {
// //位置配置到文件中
// string appPath = Application.StartupPath;
// string moveEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
// int id = config.Id - 300;
// string configStr = appPath + moveEquipConfig.Replace(".csv", "_" + id + ".csv");
// // disChargeLineMap[config.Id] = config;
// allConfigMap[config.Id] = config;
// bool result = CSVConfigReader.SaveConfig(configStr, config, typeof(DischargeLine_Config));
// if (!result)
// {
// LogUtil.error("保存配置文件失败:" + configStr);
// }
// }
// catch (Exception ex)
// {
// LogUtil.error("出错:",ex);
// }
//}
private static List<int> trayHeightList = new List<int>() { 8, 12, 16, 24, 32, 44, 56 };
public static List<int> GetTrayList()
......
......@@ -195,7 +195,7 @@ namespace OnlineStore.DeviceLibrary
break;
}
}
foreach (ProvidingEquip equip in LineManager.Line.ProvidingEquipMap.Values)
foreach (HYEquipBase equip in LineManager.Line.HYEquipMap.Values)
{
if (equip.Config.SidesWayNum.Equals(swNum))
{
......
......@@ -481,23 +481,20 @@ namespace OnlineStore.DeviceLibrary
{
if (IoHighType.Equals(IO_Type.ClampCylinder_Slack) || IoHighType.Equals(IO_Type.ClampCylinder_Tighten) ||
IoHighType.Equals(IO_Type.UpDownCylinder_Down) || IoHighType.Equals(IO_Type.UpDownCylinder_Up)
if (IoHighType.Equals(IO_Type.ClampCylinder_Work) || IoHighType.Equals(IO_Type.ClampCylinder_Relax) ||
IoHighType.Equals(IO_Type.UpDownCylinder_Down) || IoHighType.Equals(IO_Type.UpDownCylinder_Up)||
IoHighType.Equals(IO_Type.BeforeAfterCylinder_After) || IoHighType.Equals(IO_Type.BeforeAfterCylinder_Before)
)
{
moveInfo.WaitList.Add(WaitResultInfo.WaitTime(300));
}
else if (IoHighType.Equals(IO_Type.BeforeAfterCylinder_After) || IoHighType.Equals(IO_Type.BeforeAfterCylinder_Before))
{
moveInfo.WaitList.Add(WaitResultInfo.WaitTime(800));
}
//如果是进仓门口 夹紧
if (baseConfig.DType.Equals(DeviceType.MoveEquip) && (IoHighType.Equals(IO_Type.ClampCylinder_Slack)))
if (baseConfig.DType.Equals(DeviceType.MoveEquip) && (IoHighType.Equals(IO_Type.ClampCylinder_Work)))
{
moveInfo.WaitList.Add(WaitResultInfo.WaitTime(500));
moveInfo.WaitList.Add(WaitResultInfo.WaitIO(IoLowType, IO_VALUE.LOW));
}
else if (baseConfig.DType.Equals(DeviceType.MoveEquip) && (IoHighType.Equals(IO_Type.ClampCylinder_Tighten)))
else if (baseConfig.DType.Equals(DeviceType.MoveEquip) && (IoHighType.Equals(IO_Type.ClampCylinder_Relax)))
{
//进仓门口放松
moveInfo.WaitList.Add(WaitResultInfo.WaitTime(500));
......@@ -547,7 +544,7 @@ namespace OnlineStore.DeviceLibrary
IO_VALUE tValue = value.Equals(IO_VALUE.HIGH) ? IO_VALUE.LOW : IO_VALUE.HIGH;
if (IOValue(IoType).Equals(tValue).Equals(false))
{
if (IoType.Equals(IO_Type.StopCylinder_Down1).Equals(false)&&IoType.Equals(IO_Type.SW_StopDown).Equals(false))
if (IoType.Equals(IO_Type.StopDown1).Equals(false)&&IoType.Equals(IO_Type.SW_StopDown).Equals(false))
{
LogUtil.info(Name + "定时回写IO: [" + IoType + "]=[" + value + "],[" + baseConfig.Id + "],msTime=" + msTime);
}
......
......@@ -51,8 +51,7 @@
<Compile Include="storeConfig\ConfigProAttribute.cs" />
<Compile Include="storeConfig\config\Line_Config.cs" />
<Compile Include="storeConfig\config\FeedingEquip_Config.cs" />
<Compile Include="storeConfig\config\DischargeLine_Config.cs" />
<Compile Include="storeConfig\config\ProvidingEquip_Config.cs" />
<Compile Include="storeConfig\config\HYEquip_Config.cs" />
<Compile Include="storeConfig\config\MoveEquip_Config.cs" />
<Compile Include="storeConfig\config\IO_Type.cs" />
<Compile Include="CSVAttribute.cs" />
......
......@@ -141,11 +141,11 @@ namespace OnlineStore.LoadCSVLibrary
return (Line_Config)LoadConfig(config);
}
public static DischargeLine_Config LoadDischargeLineConfig(int storeId, string type, string filePath)
{
DischargeLine_Config config = new DischargeLine_Config(storeId, storeId + "_"+ type, type, filePath);
return (DischargeLine_Config)LoadConfig(config);
}
//public static DischargeLine_Config LoadDischargeLineConfig(int storeId, string type, string filePath)
//{
// DischargeLine_Config config = new DischargeLine_Config(storeId, storeId + "_"+ type, type, filePath);
// return (DischargeLine_Config)LoadConfig(config);
//}
public static MoveEquip_Config LoadMoveConfig(int storeId, string type, string filePath)
{
MoveEquip_Config config = new MoveEquip_Config(storeId, storeId + "_" + type, type, filePath);
......@@ -156,10 +156,10 @@ namespace OnlineStore.LoadCSVLibrary
FeedingEquip_Config config = new FeedingEquip_Config(storeId, storeId + "_" + type, type, filePath);
return (FeedingEquip_Config)LoadConfig(config);
}
public static ProvidingEquip_Config LoadProvidingConfig(int storeId, string type, string filePath)
public static HYEquip_Config LoadHYConfig(int storeId, string type, string filePath)
{
ProvidingEquip_Config config = new ProvidingEquip_Config(storeId, storeId + "_" + type, type, filePath);
return (ProvidingEquip_Config)LoadConfig(config);
HYEquip_Config config = new HYEquip_Config(storeId, storeId + "_" + type, type, filePath);
return (HYEquip_Config)LoadConfig(config);
}
public static DeviceConfig LoadConfig(DeviceConfig config)
{
......
......@@ -45,10 +45,6 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
public Dictionary<String, ConfigIO> DOList { get; set; }
/// <summary>
/// 料仓所有用到的IO卡名称
/// </summary>
......@@ -380,11 +376,11 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// 出料模块
/// </summary>
public static string ProvidingEquip = "ProvidingEquip";
/// <summary>
/// 出料流水线
/// </summary>
public static string DischargeLine = "DischargeLine";
public static string HYEquip = "HYEquip";
///// <summary>
///// 出料流水线
///// </summary>
//public static string DischargeLine = "DischargeLine";
}
......
......@@ -9,17 +9,18 @@ using System.Threading.Tasks;
namespace OnlineStore.LoadCSVLibrary
{
public class ProvidingEquip_Config : DeviceConfig
public class HYEquip_Config : DeviceConfig
{
public ProvidingEquip_Config()
public HYEquip_Config()
: base()
{
}
public ProvidingEquip_Config(int id, string cid, string type, string filepath)
: base(id, cid, LoadCSVLibrary.DeviceType.ProvidingEquip, filepath)
public HYEquip_Config(int id, string cid, string type, string filepath)
: base(id, cid, LoadCSVLibrary.DeviceType.HYEquip, filepath)
{
}
public int SidesWayNum = 0;
/// <summary>
/// 设备是否处于调试状态(1=调试,0=正常)
......@@ -28,12 +29,6 @@ namespace OnlineStore.LoadCSVLibrary
public int IsDebug { get; set; }
/// <summary>
/// PRO,0,对应的横移模块,SidesWayNum,3,,,,,
/// </summary>
[ConfigProAttribute("SidesWayNum", false)]
public int SidesWayNum { get; set; }
/// <summary>
/// PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,,,,
/// </summary>
[ConfigProAttribute("DLineEquipNum", false)]
......@@ -70,38 +65,6 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
[ConfigProAttribute("UpDownAxisP1", false)]
public int UpDownAxisP1 { get; set; }
/// <summary>
/// PRO 0 移栽上下轴目标速度 UpdownAxis_TargetSpeed 150
/// </summary>
[ConfigProAttribute("UpdownAxis_TargetSpeed", false)]
public int UpdownAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO 0 移栽上下轴加速度 UpdownAxis_AddSpeed 400
/// </summary>
[ConfigProAttribute("UpdownAxis_AddSpeed", false)]
public short UpdownAxis_AddSpeed { get; set; }
/// <summary>
/// PRO 0 移栽上下轴减速度 UpdownAxis_DelSpeed 400
/// </summary>
[ConfigProAttribute("UpdownAxis_DelSpeed", false)]
public short UpdownAxis_DelSpeed { get; set; }
/// <summary>
/// PRO 0 移栽上下轴原点低速度 UpdownAxis_HomeLowSpeed 100
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeLowSpeed", false)]
public int UpdownAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO 0 移栽上下轴原点高速 UpdownAxis_HomeHighSpeed 200
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeHighSpeed", false)]
public int UpdownAxis_HomeHighSpeed { get; set; }
/// <summary>
/// PRO 0 移栽上下轴原点加速度 UpdownAxis_HomeAddSpeed 200
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeAddSpeed", false)]
public int UpdownAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
......
......@@ -70,13 +70,13 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// DO 0 阻挡气缸0-1下降SOL StopCylinder_Down1 16 阻挡气缸0-1下降SOL Y11 DO-11
/// DO 0 阻挡气缸0-1下降SOL StopDown1 16 阻挡气缸0-1下降SOL Y11 DO-11
/// </summary>
public static string StopCylinder_Down1 = "StopCylinder_Down1";
public static string StopDown1 = "StopDown1";
/// <summary>
/// DO 0 阻挡气缸0-2下降SOL StopCylinder_Down2 17 阻挡气缸0-2下降SOL Y12 DO-12
/// DO 0 阻挡气缸0-2下降SOL StopDown2 17 阻挡气缸0-2下降SOL Y12 DO-12
/// </summary>
public static string StopCylinder_Down2 = "StopCylinder_Down2";
public static string StopDown2 = "StopDown2";
......@@ -112,14 +112,16 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
public static string UpDownCylinder_Down = "UpDownCylinder_Down";
/// <summary>
/// 移栽DI/DO 移载夹料气缸夹紧端 ClampCylinder_Slack 11
/// 移栽DI/DO 移载夹料气缸夹紧端 ClampCylinder_Work 11
/// </summary>
public static string ClampCylinder_Slack = "ClampCylinder_Slack";
public static string ClampCylinder_Work = "ClampCylinder_Work";
/// <summary>
/// 移栽DI/DO 移载夹料气缸放松端 ClampCylinder_Tighten 12
/// 移栽DI/DO 移载夹料气缸放松端 ClampCylinder_Relax 12
/// </summary>
public static string ClampCylinder_Tighten = "ClampCylinder_Tighten";
public static string ClampCylinder_Relax = "ClampCylinder_Relax";
......@@ -138,13 +140,13 @@ namespace OnlineStore.LoadCSVLibrary
#region 流水线新增IO
/// <summary>
/// DI 进仓01阻挡1托盘检测,StopCylinder_Check1, X261
/// DI 进仓01阻挡1托盘检测,StopCheck1, X261
/// </summary>
public static string StopCylinder_Check1 = "StopCylinder_Check1";
public static string StopCheck1 = "StopCheck1";
/// <summary>
/// DI 进仓01阻挡2托盘检测, StopCylinder_Check2, X262
/// DI 进仓01阻挡2托盘检测, StopCheck2, X262
/// </summary>
public static string StopCylinder_Check2 = "StopCylinder_Check2";
public static string StopCheck2 = "StopCheck2";
/// <summary>
///DI NG料盘推出气缸前进端,NGCylinder_Before, X005
/// </summary>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!