Commit 9e55ac2b 张东亮

手动出料串

1 个父辈 44964e7b
...@@ -155,6 +155,10 @@ namespace OnlineStore.Common ...@@ -155,6 +155,10 @@ namespace OnlineStore.Common
public static MyConfig<bool> Disable_LogWindow = true; public static MyConfig<bool> Disable_LogWindow = true;
[MyConfigComment("屏蔽门安全检查")] [MyConfigComment("屏蔽门安全检查")]
public static MyConfig<bool> Disable_DoorSafeCheck = false; public static MyConfig<bool> Disable_DoorSafeCheck = false;
[MyConfigComment("屏蔽光栅检查")]
public static MyConfig<bool> Disable_SafetyLightCurtains = false;
[MyConfigComment("是否禁止单盘入库,禁用时服务端不显示单盘入库按钮")] [MyConfigComment("是否禁止单盘入库,禁用时服务端不显示单盘入库按钮")]
public static MyConfig<bool> Disable_SingleReelIn = false; public static MyConfig<bool> Disable_SingleReelIn = false;
......
using OnlineStore.LoadCSVLibrary; using OnlineStore.Common;
using OnlineStore.LoadCSVLibrary;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
...@@ -20,15 +21,21 @@ namespace DeviceLibrary ...@@ -20,15 +21,21 @@ namespace DeviceLibrary
{ {
List.Add(safetyDevice); List.Add(safetyDevice);
} }
public static void PauseAll() { public static void PauseAll()
{
List.ForEach(x => x.Pause()); List.ForEach(x => x.Pause());
} }
public static void ResumeAll() { public static void ResumeAll()
{
List.ForEach(x => x.Resume()); List.ForEach(x => x.Resume());
} }
public static bool IsSafe() { public static bool IsSafe()
return IOManager.IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH); {
if (Setting_Init.Disable_SafetyLightCurtains)
return true;
else
return IOManager.IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH);
} }
} }
......
...@@ -115,7 +115,7 @@ namespace DeviceLibrary ...@@ -115,7 +115,7 @@ namespace DeviceLibrary
Clamp_Axis.interference += Clamp_Axis_interference; Clamp_Axis.interference += Clamp_Axis_interference;
Crc_LanguageChangeEvent(null, EventArgs.Empty); Crc_LanguageChangeEvent(null, EventArgs.Empty);
#endregion #endregion
Line = new LineRunMonitor($"料串进出机构", Config.DOList[IO_Type.LineRun].GetIOAddr(), Config.DOList[IO_Type.LineRev].GetIOAddr(),(int)(Setting_Init.StringDoor_InOut_Roller_Mode.Val)); Line = new LineRunMonitor($"料串进出机构", Config.DOList[IO_Type.LineRun].GetIOAddr(), Config.DOList[IO_Type.LineRev].GetIOAddr(), (int)(Setting_Init.StringDoor_InOut_Roller_Mode.Val));
SingleDoor = new CylinderManger($"单料门", IO_Type.NGDoor_Open, IO_Type.NGDoor_Close); SingleDoor = new CylinderManger($"单料门", IO_Type.NGDoor_Open, IO_Type.NGDoor_Close);
//检测翻板门是否为鸣志点击伺服控制 //检测翻板门是否为鸣志点击伺服控制
if (Config.FlipDoor_L_Axis == null && Config.FlipDoor_R_Axis == null) if (Config.FlipDoor_L_Axis == null && Config.FlipDoor_R_Axis == null)
...@@ -131,8 +131,17 @@ namespace DeviceLibrary ...@@ -131,8 +131,17 @@ namespace DeviceLibrary
{ {
RobotManage.Config.DOList.Remove(IO_Type.ReelFlipDoor_Work); RobotManage.Config.DOList.Remove(IO_Type.ReelFlipDoor_Work);
RobotManage.Config.DOList.Remove(IO_Type.ReelFlipDoor_Home); RobotManage.Config.DOList.Remove(IO_Type.ReelFlipDoor_Home);
MotorFlipDoorB = new LiftMonitor(IO_Type.ReelFlipDoor_L_Home, IO_Type.ReelFlipDoor_L_Work, IO_Type.SafetyLightCurtains, null, new AxisBean(Config.FlipDoor_L_Axis, Name), Config.FlipDoorLength, Config.FlipDoorLength_speed, 0, "B翻转门"); string safetyLightCurtains = "";
MotorFlipDoorA = new LiftMonitor(IO_Type.ReelFlipDoor_R_Home, IO_Type.ReelFlipDoor_R_Work, IO_Type.SafetyLightCurtains, null, new AxisBean(Config.FlipDoor_R_Axis, Name), Config.FlipDoorLength, Config.FlipDoorLength_speed, 0, "A翻转门"); if (Setting_Init.Disable_SafetyLightCurtains)
{
safetyLightCurtains = IO_Type.SuddenStop_BTN;
}
else
{
safetyLightCurtains = IO_Type.SafetyLightCurtains;
}
MotorFlipDoorB = new LiftMonitor(IO_Type.ReelFlipDoor_L_Home, IO_Type.ReelFlipDoor_L_Work, safetyLightCurtains, null, new AxisBean(Config.FlipDoor_L_Axis, Name), Config.FlipDoorLength, Config.FlipDoorLength_speed, 0, "B翻转门");
MotorFlipDoorA = new LiftMonitor(IO_Type.ReelFlipDoor_R_Home, IO_Type.ReelFlipDoor_R_Work, safetyLightCurtains, null, new AxisBean(Config.FlipDoor_R_Axis, Name), Config.FlipDoorLength, Config.FlipDoorLength_speed, 0, "A翻转门");
MotorFlipDoorB.SlowAftPause = true; MotorFlipDoorB.SlowAftPause = true;
MotorFlipDoorB.SlowAftPause = true; MotorFlipDoorB.SlowAftPause = true;
LogUtil.info("加载翻板门类型为:步进"); LogUtil.info("加载翻板门类型为:步进");
...@@ -150,7 +159,7 @@ namespace DeviceLibrary ...@@ -150,7 +159,7 @@ namespace DeviceLibrary
var sf = ""; var sf = "";
if (Setting_Init.StringDoor_X08IsStringDoor_SafetyLightCurtains) if (Setting_Init.StringDoor_X08IsStringDoor_SafetyLightCurtains)
sf = IO_Type.AGV_OnPosition; sf = IO_Type.AGV_OnPosition;
StringDoor = new LiftMonitor(IO_Type.StringDoor_Open, IO_Type.StringDoor_Close, sf, IO_Type.StringDoor_Axis_Break, new AxisBean(Config.StringDoor_Axis, Name), Config.StringDoorLength, Config.StringDoorLength_speed, 0, "折叠门",true); StringDoor = new LiftMonitor(IO_Type.StringDoor_Open, IO_Type.StringDoor_Close, sf, IO_Type.StringDoor_Axis_Break, new AxisBean(Config.StringDoor_Axis, Name), Config.StringDoorLength, Config.StringDoorLength_speed, 0, "折叠门", true);
StringDoor.DownOverTimeMS = Setting_Init.StringDoor_DownOverTimeMS; StringDoor.DownOverTimeMS = Setting_Init.StringDoor_DownOverTimeMS;
StringDoor.UpOverTimeMS = Setting_Init.StringDoor_UpOverTimeMS; StringDoor.UpOverTimeMS = Setting_Init.StringDoor_UpOverTimeMS;
StringDoor.ResumeWaitTimeSec = 5; StringDoor.ResumeWaitTimeSec = 5;
...@@ -193,7 +202,8 @@ namespace DeviceLibrary ...@@ -193,7 +202,8 @@ namespace DeviceLibrary
IOMonitor.RegisterIO(IO_Type.SuddenStop_BTN, Config, IO_VALUE.LOW, SuddenStop_BTN, 2500, 100); IOMonitor.RegisterIO(IO_Type.SuddenStop_BTN, Config, IO_VALUE.LOW, SuddenStop_BTN, 2500, 100);
IOMonitor.RegisterIO(IO_Type.Reset_BTN, Config, IO_VALUE.HIGH, Reset_BTN, 2500, 100); IOMonitor.RegisterIO(IO_Type.Reset_BTN, Config, IO_VALUE.HIGH, Reset_BTN, 2500, 100);
IOMonitor.RegisterIO(IO_Type.AutoRun_Single, Config, IO_VALUE.HIGH, Run_BTN, 2500, 100); IOMonitor.RegisterIO(IO_Type.AutoRun_Single, Config, IO_VALUE.HIGH, Run_BTN, 2500, 100);
IOMonitor.RegisterIO(IO_Type.SafetyLightCurtains, Config, IO_VALUE.LOW, DeviceSuddenStop, 1, 1); if (!Setting_Init.Disable_SafetyLightCurtains)
IOMonitor.RegisterIO(IO_Type.SafetyLightCurtains, Config, IO_VALUE.LOW, DeviceSuddenStop, 1, 1);
LedProcessInit(); LedProcessInit();
Setting_Init.CamTestReel_debug = false; Setting_Init.CamTestReel_debug = false;
initAgv(); initAgv();
...@@ -284,7 +294,7 @@ namespace DeviceLibrary ...@@ -284,7 +294,7 @@ namespace DeviceLibrary
ioMonitor(); ioMonitor();
AGVProcess(); AGVProcess();
StringProcess(); StringProcess();
ClampProcess(); ClampProcess();
boxTransport.Process(); boxTransport.Process();
if (AutoInOutTest) if (AutoInOutTest)
AutoInOutTestProcess(); AutoInOutTestProcess();
...@@ -359,7 +369,7 @@ namespace DeviceLibrary ...@@ -359,7 +369,7 @@ namespace DeviceLibrary
IOMove(IO_Type.LineRun, IO_VALUE.LOW); IOMove(IO_Type.LineRun, IO_VALUE.LOW);
IOMove(IO_Type.LineRev, IO_VALUE.LOW); IOMove(IO_Type.LineRev, IO_VALUE.LOW);
LedProcess(null); LedProcess(null);
CloseRgbLed(); CloseRgbLed();
SoundsController.StopPlay(); SoundsController.StopPlay();
LogUtil.info("开始停止系统3."); LogUtil.info("开始停止系统3.");
} }
...@@ -594,7 +604,7 @@ namespace DeviceLibrary ...@@ -594,7 +604,7 @@ namespace DeviceLibrary
} }
break; break;
case MoveStep.H15_HomeReset: case MoveStep.H15_HomeReset:
if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW)) if (isSafetyLightCurtainsTrigget())
{ {
Msg.add(crc.GetString(L.wait_put_reel_into_ngdoor, "等待阻挡物离开光栅"), MsgLevel.warning); Msg.add(crc.GetString(L.wait_put_reel_into_ngdoor, "等待阻挡物离开光栅"), MsgLevel.warning);
} }
...@@ -610,12 +620,12 @@ namespace DeviceLibrary ...@@ -610,12 +620,12 @@ namespace DeviceLibrary
Msg.add(crc.GetString(L.x29_low_no_reel, "检测相机打开失败."), MsgLevel.alarm); Msg.add(crc.GetString(L.x29_low_no_reel, "检测相机打开失败."), MsgLevel.alarm);
} }
else else
if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH) && h.Value) if (!isSafetyLightCurtainsTrigget() && h.Value)
{ {
ResetMoveInfo.log("NG口还是检测到料盘"); ResetMoveInfo.log("NG口还是检测到料盘");
ResetMoveInfo.NextMoveStep(MoveStep.H14_HomeReset); ResetMoveInfo.NextMoveStep(MoveStep.H14_HomeReset);
} }
else if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH) && !h.Value) else if (!isSafetyLightCurtainsTrigget() && !h.Value)
{ {
if (RobotManage.NeedSensorPro()) if (RobotManage.NeedSensorPro())
{ {
...@@ -812,7 +822,7 @@ namespace DeviceLibrary ...@@ -812,7 +822,7 @@ namespace DeviceLibrary
break; break;
case MoveStep.CH09_CloseDoor: case MoveStep.CH09_CloseDoor:
ResetMoveInfo.log("检查完成"); ResetMoveInfo.log("检查完成");
ResetMoveInfo.EndMove(); ResetMoveInfo.EndMove();
runStatus = RunStatus.Running; runStatus = RunStatus.Running;
ServerCM.storeStatus = StoreStatus.StoreOnline; ServerCM.storeStatus = StoreStatus.StoreOnline;
break; break;
...@@ -821,7 +831,7 @@ namespace DeviceLibrary ...@@ -821,7 +831,7 @@ namespace DeviceLibrary
} }
} }
public bool CheckOk() public bool CheckOk()
{ {
if (ResetMoveInfo.IsStep(MoveStep.CH06_WaitCheck)) if (ResetMoveInfo.IsStep(MoveStep.CH06_WaitCheck))
{ {
ResetMoveInfo.NextMoveStep(MoveStep.CH07_CheckOk); ResetMoveInfo.NextMoveStep(MoveStep.CH07_CheckOk);
...@@ -830,8 +840,8 @@ namespace DeviceLibrary ...@@ -830,8 +840,8 @@ namespace DeviceLibrary
} }
return false; return false;
} }
public void StartToCheck( ) public void StartToCheck()
{ {
runStatus = RunStatus.HomeReset; runStatus = RunStatus.HomeReset;
ServerCM.storeStatus = StoreStatus.ResetMove; ServerCM.storeStatus = StoreStatus.ResetMove;
ResetMoveInfo.NewMove(MoveStep.CH01_StartTo); ResetMoveInfo.NewMove(MoveStep.CH01_StartTo);
...@@ -882,8 +892,12 @@ namespace DeviceLibrary ...@@ -882,8 +892,12 @@ namespace DeviceLibrary
//IOValue(IO_Type.StringFront_Check).Equals(IO_VALUE.LOW) && //IOValue(IO_Type.StringFront_Check).Equals(IO_VALUE.LOW) &&
if (IOValue(IO_Type.AGV_OnPosition).Equals(IO_VALUE.LOW) && IOValue(IO_Type.StringDoor_Close).Equals(IO_VALUE.LOW)) if (IOValue(IO_Type.AGV_OnPosition).Equals(IO_VALUE.LOW) && IOValue(IO_Type.StringDoor_Close).Equals(IO_VALUE.LOW))
{ {
Msg.add(crc.GetString("guangshanzhedang","料串门光栅被遮挡"), MsgLevel.warning); Msg.add(crc.GetString("guangshanzhedang", "料串门光栅被遮挡"), MsgLevel.warning);
if (lastStringSafetyStatus) if (isManualOuting())
{
}
else if (lastStringSafetyStatus)
{ {
lastStringSafetyStatus = false; lastStringSafetyStatus = false;
StringDoorPause(); StringDoorPause();
...@@ -994,11 +1008,22 @@ namespace DeviceLibrary ...@@ -994,11 +1008,22 @@ namespace DeviceLibrary
get get
{ {
if (RobotManage.Config.DOList.ContainsKey(IO_Type.DoorSafe_Disable)) if (RobotManage.Config.DOList.ContainsKey(IO_Type.DoorSafe_Disable))
return IOValue(IO_Type.DoorSafe_Disable).Equals(IO_VALUE.LOW) && IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW); return IOValue(IO_Type.DoorSafe_Disable).Equals(IO_VALUE.LOW) && isSafetyLightCurtainsTrigget();
else else
return IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW); return isSafetyLightCurtainsTrigget();
} }
} }
/// <summary>
/// 光栅是否触发
/// </summary>
/// <returns></returns>
bool isSafetyLightCurtainsTrigget()
{
if (Setting_Init.Disable_SafetyLightCurtains)
return false;
else
return IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW);
}
public bool DeviceCheck() public bool DeviceCheck()
{ {
bool ok = true; bool ok = true;
......
...@@ -326,7 +326,7 @@ namespace DeviceLibrary ...@@ -326,7 +326,7 @@ namespace DeviceLibrary
} }
break; break;
case MoveStep.NGOUT_04: case MoveStep.NGOUT_04:
if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW)) if (isSafetyLightCurtainsTrigget())
{ {
Msg.add(crc.GetString(L.wait_put_reel_into_ngdoor, "等待阻挡物离开光栅"), MsgLevel.warning); Msg.add(crc.GetString(L.wait_put_reel_into_ngdoor, "等待阻挡物离开光栅"), MsgLevel.warning);
} }
...@@ -342,7 +342,7 @@ namespace DeviceLibrary ...@@ -342,7 +342,7 @@ namespace DeviceLibrary
Msg.add(crc.GetString(L.x29_low_no_reel, "检测相机打开失败."), MsgLevel.alarm); Msg.add(crc.GetString(L.x29_low_no_reel, "检测相机打开失败."), MsgLevel.alarm);
} }
else else
if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH) && !h.Value) if (!isSafetyLightCurtainsTrigget() && !h.Value)
{ {
ClampMoveInfo.NextMoveStep(MoveStep.NGOUT_06); ClampMoveInfo.NextMoveStep(MoveStep.NGOUT_06);
ClampMoveInfo.log("关门NG口门"); ClampMoveInfo.log("关门NG口门");
......
...@@ -487,7 +487,7 @@ namespace DeviceLibrary ...@@ -487,7 +487,7 @@ namespace DeviceLibrary
{ {
StringMoveInfo.NextMoveStep(MoveStep.StringOut_08); StringMoveInfo.NextMoveStep(MoveStep.StringOut_08);
StringMoveInfo.log($"复位按钮触发,手动出料串:打开折叠门"); StringMoveInfo.log($"复位按钮触发,手动出料串:打开折叠门");
CylinderMove(StringMoveInfo, IO_Type.StringDoor_Close, IO_Type.StringDoor_Open, IO_VALUE.HIGH); StringDoorOpen(StringMoveInfo);
} }
break; break;
case MoveStep.StringOut_05: case MoveStep.StringOut_05:
...@@ -531,9 +531,9 @@ namespace DeviceLibrary ...@@ -531,9 +531,9 @@ namespace DeviceLibrary
{ {
StringMoveInfo.NextMoveStep(MoveStep.StringOut_09); StringMoveInfo.NextMoveStep(MoveStep.StringOut_09);
CylinderMove(StringMoveInfo, IO_Type.StringFix_Bottom, IO_Type.StringFix_Top, IO_VALUE.LOW); CylinderMove(StringMoveInfo, IO_Type.StringFix_Bottom, IO_Type.StringFix_Top, IO_VALUE.LOW);
Line.LineRun("n", true, 30); Line.LineRun("n", true, 15);
StringMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(2000)); StringMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(2000));
AGVMoveInfo.log($"复位按钮触发,手动出料串:料串出料"); StringMoveInfo.log($"复位按钮触发,手动出料串:料串出料");
} }
break; break;
case MoveStep.StringOut_09: case MoveStep.StringOut_09:
...@@ -541,13 +541,13 @@ namespace DeviceLibrary ...@@ -541,13 +541,13 @@ namespace DeviceLibrary
{ {
StringMoveInfo.NextMoveStep(MoveStep.StringOut_10); StringMoveInfo.NextMoveStep(MoveStep.StringOut_10);
Line.LineStop("n"); Line.LineStop("n");
CylinderMove(StringMoveInfo, IO_Type.StringDoor_Close, IO_Type.StringDoor_Open, IO_VALUE.LOW); StringDoorClose(StringMoveInfo);
AGVMoveInfo.log($"复位按钮触发,手动出料串:关门"); StringMoveInfo.log($"复位按钮触发,手动出料串:关门");
} }
break; break;
case MoveStep.StringOut_10: case MoveStep.StringOut_10:
StringMoveInfo.NextMoveStep(MoveStep.StringOut_11); StringMoveInfo.NextMoveStep(MoveStep.StringOut_11);
AGVMoveInfo.log($"手动出料串完成"); StringMoveInfo.log($"手动出料串完成");
break; break;
case MoveStep.StringOut_11: case MoveStep.StringOut_11:
StringMoveInfo.EndMove(); StringMoveInfo.EndMove();
...@@ -557,7 +557,10 @@ namespace DeviceLibrary ...@@ -557,7 +557,10 @@ namespace DeviceLibrary
break; break;
} }
} }
bool isManualOuting()
{
return StringMoveInfo.MoveStep>= MoveStep.StringOut_08 && StringMoveInfo.MoveStep <= MoveStep.StringOut_11;
}
string StringProcessState() string StringProcessState()
{ {
string state = ""; string state = "";
......
...@@ -48,9 +48,10 @@ namespace TheMachine ...@@ -48,9 +48,10 @@ namespace TheMachine
// //
// btn_linerun // btn_linerun
// //
this.btn_linerun.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_linerun.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_linerun.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_linerun.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_linerun.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_linerun.Location = new System.Drawing.Point(566, 368); this.btn_linerun.Location = new System.Drawing.Point(694, 369);
this.btn_linerun.Name = "btn_linerun"; this.btn_linerun.Name = "btn_linerun";
this.btn_linerun.Size = new System.Drawing.Size(113, 32); this.btn_linerun.Size = new System.Drawing.Size(113, 32);
this.btn_linerun.TabIndex = 2; this.btn_linerun.TabIndex = 2;
...@@ -60,9 +61,10 @@ namespace TheMachine ...@@ -60,9 +61,10 @@ namespace TheMachine
// //
// btn_linerev // btn_linerev
// //
this.btn_linerev.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_linerev.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_linerev.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_linerev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_linerev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_linerev.Location = new System.Drawing.Point(685, 368); this.btn_linerev.Location = new System.Drawing.Point(813, 369);
this.btn_linerev.Name = "btn_linerev"; this.btn_linerev.Name = "btn_linerev";
this.btn_linerev.Size = new System.Drawing.Size(105, 32); this.btn_linerev.Size = new System.Drawing.Size(105, 32);
this.btn_linerev.TabIndex = 2; this.btn_linerev.TabIndex = 2;
...@@ -72,9 +74,10 @@ namespace TheMachine ...@@ -72,9 +74,10 @@ namespace TheMachine
// //
// btn_linestop // btn_linestop
// //
this.btn_linestop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_linestop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_linestop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_linestop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_linestop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_linestop.Location = new System.Drawing.Point(566, 406); this.btn_linestop.Location = new System.Drawing.Point(694, 407);
this.btn_linestop.Name = "btn_linestop"; this.btn_linestop.Name = "btn_linestop";
this.btn_linestop.Size = new System.Drawing.Size(224, 32); this.btn_linestop.Size = new System.Drawing.Size(224, 32);
this.btn_linestop.TabIndex = 2; this.btn_linestop.TabIndex = 2;
...@@ -84,11 +87,12 @@ namespace TheMachine ...@@ -84,11 +87,12 @@ namespace TheMachine
// //
// cylinderButton5 // cylinderButton5
// //
this.cylinderButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cylinderButton5.BackColor = System.Drawing.Color.White; this.cylinderButton5.BackColor = System.Drawing.Color.White;
this.cylinderButton5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton5.IO_HIGH = "StringPosChecker_Work"; this.cylinderButton5.IO_HIGH = "StringPosChecker_Work";
this.cylinderButton5.IO_LOW = "StringPosChecker_Home"; this.cylinderButton5.IO_LOW = "StringPosChecker_Home";
this.cylinderButton5.Location = new System.Drawing.Point(566, 293); this.cylinderButton5.Location = new System.Drawing.Point(694, 294);
this.cylinderButton5.Name = "cylinderButton5"; this.cylinderButton5.Name = "cylinderButton5";
this.cylinderButton5.Size = new System.Drawing.Size(224, 32); this.cylinderButton5.Size = new System.Drawing.Size(224, 32);
this.cylinderButton5.TabIndex = 1; this.cylinderButton5.TabIndex = 1;
...@@ -98,11 +102,12 @@ namespace TheMachine ...@@ -98,11 +102,12 @@ namespace TheMachine
// //
// cylinderButton4 // cylinderButton4
// //
this.cylinderButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cylinderButton4.BackColor = System.Drawing.Color.White; this.cylinderButton4.BackColor = System.Drawing.Color.White;
this.cylinderButton4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton4.IO_HIGH = "Clamping_Work"; this.cylinderButton4.IO_HIGH = "Clamping_Work";
this.cylinderButton4.IO_LOW = "Clamping_Relax"; this.cylinderButton4.IO_LOW = "Clamping_Relax";
this.cylinderButton4.Location = new System.Drawing.Point(566, 255); this.cylinderButton4.Location = new System.Drawing.Point(694, 256);
this.cylinderButton4.Name = "cylinderButton4"; this.cylinderButton4.Name = "cylinderButton4";
this.cylinderButton4.Size = new System.Drawing.Size(224, 32); this.cylinderButton4.Size = new System.Drawing.Size(224, 32);
this.cylinderButton4.TabIndex = 1; this.cylinderButton4.TabIndex = 1;
...@@ -112,11 +117,12 @@ namespace TheMachine ...@@ -112,11 +117,12 @@ namespace TheMachine
// //
// cylinderButton2 // cylinderButton2
// //
this.cylinderButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cylinderButton2.BackColor = System.Drawing.Color.White; this.cylinderButton2.BackColor = System.Drawing.Color.White;
this.cylinderButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton2.IO_HIGH = "StringFix_Top"; this.cylinderButton2.IO_HIGH = "StringFix_Top";
this.cylinderButton2.IO_LOW = "StringFix_Bottom"; this.cylinderButton2.IO_LOW = "StringFix_Bottom";
this.cylinderButton2.Location = new System.Drawing.Point(566, 217); this.cylinderButton2.Location = new System.Drawing.Point(694, 218);
this.cylinderButton2.Name = "cylinderButton2"; this.cylinderButton2.Name = "cylinderButton2";
this.cylinderButton2.Size = new System.Drawing.Size(224, 32); this.cylinderButton2.Size = new System.Drawing.Size(224, 32);
this.cylinderButton2.TabIndex = 1; this.cylinderButton2.TabIndex = 1;
...@@ -126,11 +132,12 @@ namespace TheMachine ...@@ -126,11 +132,12 @@ namespace TheMachine
// //
// cylinderButton7 // cylinderButton7
// //
this.cylinderButton7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cylinderButton7.BackColor = System.Drawing.Color.White; this.cylinderButton7.BackColor = System.Drawing.Color.White;
this.cylinderButton7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton7.IO_HIGH = "Device_Led"; this.cylinderButton7.IO_HIGH = "Device_Led";
this.cylinderButton7.IO_LOW = ""; this.cylinderButton7.IO_LOW = "";
this.cylinderButton7.Location = new System.Drawing.Point(566, 142); this.cylinderButton7.Location = new System.Drawing.Point(694, 143);
this.cylinderButton7.Name = "cylinderButton7"; this.cylinderButton7.Name = "cylinderButton7";
this.cylinderButton7.Size = new System.Drawing.Size(224, 32); this.cylinderButton7.Size = new System.Drawing.Size(224, 32);
this.cylinderButton7.TabIndex = 1; this.cylinderButton7.TabIndex = 1;
...@@ -140,11 +147,12 @@ namespace TheMachine ...@@ -140,11 +147,12 @@ namespace TheMachine
// //
// cylinderButton6 // cylinderButton6
// //
this.cylinderButton6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cylinderButton6.BackColor = System.Drawing.Color.White; this.cylinderButton6.BackColor = System.Drawing.Color.White;
this.cylinderButton6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cylinderButton6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cylinderButton6.IO_HIGH = "Camera_Led"; this.cylinderButton6.IO_HIGH = "Camera_Led";
this.cylinderButton6.IO_LOW = ""; this.cylinderButton6.IO_LOW = "";
this.cylinderButton6.Location = new System.Drawing.Point(566, 179); this.cylinderButton6.Location = new System.Drawing.Point(694, 180);
this.cylinderButton6.Name = "cylinderButton6"; this.cylinderButton6.Name = "cylinderButton6";
this.cylinderButton6.Size = new System.Drawing.Size(224, 32); this.cylinderButton6.Size = new System.Drawing.Size(224, 32);
this.cylinderButton6.TabIndex = 1; this.cylinderButton6.TabIndex = 1;
...@@ -166,9 +174,10 @@ namespace TheMachine ...@@ -166,9 +174,10 @@ namespace TheMachine
// //
// btn_flipopen // btn_flipopen
// //
this.btn_flipopen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_flipopen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_flipopen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_flipopen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_flipopen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_flipopen.Location = new System.Drawing.Point(566, 444); this.btn_flipopen.Location = new System.Drawing.Point(694, 445);
this.btn_flipopen.Name = "btn_flipopen"; this.btn_flipopen.Name = "btn_flipopen";
this.btn_flipopen.Size = new System.Drawing.Size(113, 32); this.btn_flipopen.Size = new System.Drawing.Size(113, 32);
this.btn_flipopen.TabIndex = 3; this.btn_flipopen.TabIndex = 3;
...@@ -178,9 +187,10 @@ namespace TheMachine ...@@ -178,9 +187,10 @@ namespace TheMachine
// //
// btn_flipclose // btn_flipclose
// //
this.btn_flipclose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_flipclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_flipclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_flipclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_flipclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_flipclose.Location = new System.Drawing.Point(685, 444); this.btn_flipclose.Location = new System.Drawing.Point(813, 445);
this.btn_flipclose.Name = "btn_flipclose"; this.btn_flipclose.Name = "btn_flipclose";
this.btn_flipclose.Size = new System.Drawing.Size(105, 32); this.btn_flipclose.Size = new System.Drawing.Size(105, 32);
this.btn_flipclose.TabIndex = 3; this.btn_flipclose.TabIndex = 3;
...@@ -190,9 +200,10 @@ namespace TheMachine ...@@ -190,9 +200,10 @@ namespace TheMachine
// //
// btn_stringdooropen // btn_stringdooropen
// //
this.btn_stringdooropen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_stringdooropen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_stringdooropen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_stringdooropen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_stringdooropen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_stringdooropen.Location = new System.Drawing.Point(566, 482); this.btn_stringdooropen.Location = new System.Drawing.Point(694, 483);
this.btn_stringdooropen.Name = "btn_stringdooropen"; this.btn_stringdooropen.Name = "btn_stringdooropen";
this.btn_stringdooropen.Size = new System.Drawing.Size(113, 32); this.btn_stringdooropen.Size = new System.Drawing.Size(113, 32);
this.btn_stringdooropen.TabIndex = 3; this.btn_stringdooropen.TabIndex = 3;
...@@ -202,9 +213,10 @@ namespace TheMachine ...@@ -202,9 +213,10 @@ namespace TheMachine
// //
// btn_stringdoorclose // btn_stringdoorclose
// //
this.btn_stringdoorclose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_stringdoorclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_stringdoorclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_stringdoorclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_stringdoorclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_stringdoorclose.Location = new System.Drawing.Point(685, 482); this.btn_stringdoorclose.Location = new System.Drawing.Point(813, 483);
this.btn_stringdoorclose.Name = "btn_stringdoorclose"; this.btn_stringdoorclose.Name = "btn_stringdoorclose";
this.btn_stringdoorclose.Size = new System.Drawing.Size(105, 32); this.btn_stringdoorclose.Size = new System.Drawing.Size(105, 32);
this.btn_stringdoorclose.TabIndex = 3; this.btn_stringdoorclose.TabIndex = 3;
...@@ -214,9 +226,10 @@ namespace TheMachine ...@@ -214,9 +226,10 @@ namespace TheMachine
// //
// btn_ngdooropen // btn_ngdooropen
// //
this.btn_ngdooropen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_ngdooropen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_ngdooropen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_ngdooropen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_ngdooropen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_ngdooropen.Location = new System.Drawing.Point(566, 331); this.btn_ngdooropen.Location = new System.Drawing.Point(694, 332);
this.btn_ngdooropen.Name = "btn_ngdooropen"; this.btn_ngdooropen.Name = "btn_ngdooropen";
this.btn_ngdooropen.Size = new System.Drawing.Size(113, 32); this.btn_ngdooropen.Size = new System.Drawing.Size(113, 32);
this.btn_ngdooropen.TabIndex = 2; this.btn_ngdooropen.TabIndex = 2;
...@@ -226,9 +239,10 @@ namespace TheMachine ...@@ -226,9 +239,10 @@ namespace TheMachine
// //
// btn_ngdoorclose // btn_ngdoorclose
// //
this.btn_ngdoorclose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_ngdoorclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_ngdoorclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_ngdoorclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btn_ngdoorclose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btn_ngdoorclose.Location = new System.Drawing.Point(685, 331); this.btn_ngdoorclose.Location = new System.Drawing.Point(813, 332);
this.btn_ngdoorclose.Name = "btn_ngdoorclose"; this.btn_ngdoorclose.Name = "btn_ngdoorclose";
this.btn_ngdoorclose.Size = new System.Drawing.Size(105, 32); this.btn_ngdoorclose.Size = new System.Drawing.Size(105, 32);
this.btn_ngdoorclose.TabIndex = 2; this.btn_ngdoorclose.TabIndex = 2;
......
...@@ -41,9 +41,11 @@ namespace TheMachine ...@@ -41,9 +41,11 @@ namespace TheMachine
this.groupBox3 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox();
this.txtDOIndex = new System.Windows.Forms.TextBox(); this.txtDOIndex = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox4.SuspendLayout(); this.groupBox4.SuspendLayout();
this.groupBox3.SuspendLayout(); this.groupBox3.SuspendLayout();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// tableLayoutPanel1 // tableLayoutPanel1
...@@ -59,7 +61,7 @@ namespace TheMachine ...@@ -59,7 +61,7 @@ namespace TheMachine
this.tableLayoutPanel1.RowCount = 2; 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.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(244, 340); this.tableLayoutPanel1.Size = new System.Drawing.Size(330, 742);
this.tableLayoutPanel1.TabIndex = 102; this.tableLayoutPanel1.TabIndex = 102;
this.tableLayoutPanel1.Tag = "not"; this.tableLayoutPanel1.Tag = "not";
// //
...@@ -76,18 +78,19 @@ namespace TheMachine ...@@ -76,18 +78,19 @@ namespace TheMachine
this.tableLayoutPanel2.RowCount = 2; 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.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(244, 340); this.tableLayoutPanel2.Size = new System.Drawing.Size(330, 742);
this.tableLayoutPanel2.TabIndex = 103; this.tableLayoutPanel2.TabIndex = 103;
this.tableLayoutPanel2.Tag = "not"; this.tableLayoutPanel2.Tag = "not";
// //
// groupBox4 // groupBox4
// //
this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox4.Controls.Add(this.tableLayoutPanel2); this.groupBox4.Controls.Add(this.tableLayoutPanel2);
this.groupBox4.Location = new System.Drawing.Point(262, 3); this.groupBox4.Location = new System.Drawing.Point(350, 3);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(255, 360); this.groupBox4.Size = new System.Drawing.Size(341, 762);
this.groupBox4.TabIndex = 110; this.groupBox4.TabIndex = 110;
this.groupBox4.TabStop = false; this.groupBox4.TabStop = false;
this.groupBox4.Text = "DO列表"; this.groupBox4.Text = "DO列表";
...@@ -97,7 +100,7 @@ namespace TheMachine ...@@ -97,7 +100,7 @@ namespace TheMachine
this.btnOpenDo.BackColor = System.Drawing.Color.White; this.btnOpenDo.BackColor = System.Drawing.Color.White;
this.btnOpenDo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 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.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOpenDo.Location = new System.Drawing.Point(20, 85); this.btnOpenDo.Location = new System.Drawing.Point(12, 85);
this.btnOpenDo.Name = "btnOpenDo"; this.btnOpenDo.Name = "btnOpenDo";
this.btnOpenDo.Size = new System.Drawing.Size(125, 34); this.btnOpenDo.Size = new System.Drawing.Size(125, 34);
this.btnOpenDo.TabIndex = 282; this.btnOpenDo.TabIndex = 282;
...@@ -110,7 +113,7 @@ namespace TheMachine ...@@ -110,7 +113,7 @@ namespace TheMachine
this.btnCloseDO.BackColor = System.Drawing.Color.White; this.btnCloseDO.BackColor = System.Drawing.Color.White;
this.btnCloseDO.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCloseDO.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCloseDO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCloseDO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCloseDO.Location = new System.Drawing.Point(156, 85); this.btnCloseDO.Location = new System.Drawing.Point(159, 85);
this.btnCloseDO.Name = "btnCloseDO"; this.btnCloseDO.Name = "btnCloseDO";
this.btnCloseDO.Size = new System.Drawing.Size(125, 34); this.btnCloseDO.Size = new System.Drawing.Size(125, 34);
this.btnCloseDO.TabIndex = 281; this.btnCloseDO.TabIndex = 281;
...@@ -123,7 +126,7 @@ namespace TheMachine ...@@ -123,7 +126,7 @@ namespace TheMachine
this.label14.AutoSize = true; this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label14.Location = new System.Drawing.Point(20, 57); this.label14.Location = new System.Drawing.Point(12, 57);
this.label14.Name = "label14"; this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(35, 17); this.label14.Size = new System.Drawing.Size(35, 17);
this.label14.TabIndex = 239; this.label14.TabIndex = 239;
...@@ -133,7 +136,7 @@ namespace TheMachine ...@@ -133,7 +136,7 @@ namespace TheMachine
// txtWriteTime // txtWriteTime
// //
this.txtWriteTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(219, 54); this.txtWriteTime.Location = new System.Drawing.Point(224, 54);
this.txtWriteTime.MaxLength = 10; this.txtWriteTime.MaxLength = 10;
this.txtWriteTime.Name = "txtWriteTime"; this.txtWriteTime.Name = "txtWriteTime";
this.txtWriteTime.Size = new System.Drawing.Size(72, 23); this.txtWriteTime.Size = new System.Drawing.Size(72, 23);
...@@ -146,7 +149,7 @@ namespace TheMachine ...@@ -146,7 +149,7 @@ namespace TheMachine
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label5.Location = new System.Drawing.Point(153, 57); this.label5.Location = new System.Drawing.Point(147, 57);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(60, 17); this.label5.Size = new System.Drawing.Size(60, 17);
this.label5.TabIndex = 237; this.label5.TabIndex = 237;
...@@ -171,12 +174,13 @@ namespace TheMachine ...@@ -171,12 +174,13 @@ namespace TheMachine
// //
// groupBox3 // groupBox3
// //
this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox3.Controls.Add(this.tableLayoutPanel1); this.groupBox3.Controls.Add(this.tableLayoutPanel1);
this.groupBox3.Location = new System.Drawing.Point(3, 3); this.groupBox3.Location = new System.Drawing.Point(3, 3);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(255, 360); this.groupBox3.Size = new System.Drawing.Size(341, 762);
this.groupBox3.TabIndex = 109; this.groupBox3.TabIndex = 109;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "DI列表"; this.groupBox3.Text = "DI列表";
...@@ -184,7 +188,7 @@ namespace TheMachine ...@@ -184,7 +188,7 @@ namespace TheMachine
// txtDOIndex // txtDOIndex
// //
this.txtDOIndex.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(58, 54); this.txtDOIndex.Location = new System.Drawing.Point(61, 54);
this.txtDOIndex.MaxLength = 10; this.txtDOIndex.MaxLength = 10;
this.txtDOIndex.Name = "txtDOIndex"; this.txtDOIndex.Name = "txtDOIndex";
this.txtDOIndex.Size = new System.Drawing.Size(70, 23); this.txtDOIndex.Size = new System.Drawing.Size(70, 23);
...@@ -194,8 +198,9 @@ namespace TheMachine ...@@ -194,8 +198,9 @@ namespace TheMachine
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.btnOpenDo); this.groupBox1.Controls.Add(this.btnOpenDo);
this.groupBox1.Controls.Add(this.btnCloseDO); this.groupBox1.Controls.Add(this.btnCloseDO);
this.groupBox1.Controls.Add(this.txtDOIndex); this.groupBox1.Controls.Add(this.txtDOIndex);
...@@ -204,26 +209,42 @@ namespace TheMachine ...@@ -204,26 +209,42 @@ namespace TheMachine
this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.cmbWriteIO); 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.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(521, 3); this.groupBox1.Location = new System.Drawing.Point(697, 3);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(361, 360); this.groupBox1.Size = new System.Drawing.Size(324, 762);
this.groupBox1.TabIndex = 111; this.groupBox1.TabIndex = 111;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "DO写入"; this.groupBox1.Text = "DO写入";
// //
// tableLayoutPanel3
//
this.tableLayoutPanel3.ColumnCount = 3;
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 330F));
this.tableLayoutPanel3.Controls.Add(this.groupBox3, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.groupBox1, 2, 0);
this.tableLayoutPanel3.Controls.Add(this.groupBox4, 1, 0);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 1;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(1024, 768);
this.tableLayoutPanel3.TabIndex = 112;
//
// IOControl // IOControl
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.groupBox4); this.Controls.Add(this.tableLayoutPanel3);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox1);
this.Name = "IOControl"; this.Name = "IOControl";
this.Size = new System.Drawing.Size(911, 366); this.Size = new System.Drawing.Size(1024, 768);
this.Load += new System.EventHandler(this.IOControl_Load); this.Load += new System.EventHandler(this.IOControl_Load);
this.groupBox4.ResumeLayout(false); this.groupBox4.ResumeLayout(false);
this.groupBox3.ResumeLayout(false); this.groupBox3.ResumeLayout(false);
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout(); this.groupBox1.PerformLayout();
this.tableLayoutPanel3.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
...@@ -242,5 +263,6 @@ namespace TheMachine ...@@ -242,5 +263,6 @@ namespace TheMachine
private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox txtDOIndex; private System.Windows.Forms.TextBox txtDOIndex;
private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
} }
} }
...@@ -104,7 +104,7 @@ namespace TheMachine ...@@ -104,7 +104,7 @@ namespace TheMachine
//if (ioValue.SubType.Equals(0)) //if (ioValue.SubType.Equals(0))
{ {
this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 26)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 26));
IOTextControl control = new IOTextControl(ioValue.ElectricalDefinition + "_" + crc.GetString(ioValue.ElectricalDefinition + "_" + ioValue.ProName, ioValue.Explain), ioValue.ProName); IOTextControl control = new IOTextControl(ioValue.ElectricalDefinition + "_" + crc.GetString(ioValue.ElectricalDefinition + "_" + ioValue.ProName, ioValue.Explain), ioValue.ProName,440);
this.tableLayoutPanel1.Controls.Add(control, 0, roleindex); this.tableLayoutPanel1.Controls.Add(control, 0, roleindex);
roleindex++; roleindex++;
...@@ -120,7 +120,7 @@ namespace TheMachine ...@@ -120,7 +120,7 @@ namespace TheMachine
//if (ioValue.SubType.Equals(0)) //if (ioValue.SubType.Equals(0))
{ {
this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 28)); this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 28));
IOTextControl control = new IOTextControl(ioValue.ElectricalDefinition + "_" + crc.GetString(ioValue.ElectricalDefinition + "_" + ioValue.ProName, ioValue.Explain), ioValue.ProName); IOTextControl control = new IOTextControl(ioValue.ElectricalDefinition + "_" + crc.GetString(ioValue.ElectricalDefinition + "_" + ioValue.ProName, ioValue.Explain), ioValue.ProName, 440);
control.Click += Control_Click; control.Click += Control_Click;
this.tableLayoutPanel2.Controls.Add(control, 0, roleindex); this.tableLayoutPanel2.Controls.Add(control, 0, roleindex);
roleindex++; roleindex++;
......
...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量: Locatio ...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量: Locatio
FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置: Acutual Location FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置: Acutual Location
FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度: Movement Speed FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度: Movement Speed
FrmPositionTool_groupBox6_groupBox2_Text 位置信息 Position Info. FrmPositionTool_groupBox6_groupBox2_Text 位置信息 Position Info.
IOControl_groupBox1_btnCloseDO_Text 关闭 OFF IOControl_tableLayoutPanel3_groupBox1_btnCloseDO_Text 关闭 OFF
IOControl_groupBox1_btnOpenDo_Text 打开 ON IOControl_tableLayoutPanel3_groupBox1_btnOpenDo_Text 打开 ON
IOControl_groupBox1_label14_Text 地址: Adress: IOControl_tableLayoutPanel3_groupBox1_label14_Text 地址: Adress:
IOControl_groupBox1_label5_Text 定时(ms): Timing IOControl_tableLayoutPanel3_groupBox1_label5_Text 定时(ms): Timing
IOControl_groupBox1_Text DO写入 DO Writing IOControl_tableLayoutPanel3_groupBox1_Text DO写入 DO Writing
IOControl_groupBox3_Text DI列表 DI List IOControl_tableLayoutPanel3_groupBox3_Text DI列表 DI List
IOControl_groupBox4_Text DO列表 DO List IOControl_tableLayoutPanel3_groupBox4_Text DO列表 DO List
menuStrip1_关于ToolStripMenuItem_Text 关于 About menuStrip1_关于ToolStripMenuItem_Text 关于 About
menuStrip1_设备操作ToolStripMenuItem_Text 设备操作 Operation menuStrip1_设备操作ToolStripMenuItem_Text 设备操作 Operation
menuStrip1_语言toolStripMenuItem_Text 语言 Language menuStrip1_语言toolStripMenuItem_Text 语言 Language
...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降 Single material port door lowering end ...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降 Single material port door lowering end
StringFix_Bottom 进料线体料串固定下降 Fixed lowering of material string on feeding line StringFix_Bottom 进料线体料串固定下降 Fixed lowering of material string on feeding line
Clamping_Relax 夹爪气缸放松 Gripper cylinder release Clamping_Relax 夹爪气缸放松 Gripper cylinder release
StringPosChecker_Home 上料定位旋转气缸避让 Avoidance of feeding positioning rotary cylinder StringPosChecker_Home 上料定位旋转气缸避让 Avoidance of feeding positioning rotary cylinder
StringDoor_Axis_Break 上料机构折叠门刹车解除 Brake release of feeding mechanism folding door
\ No newline at end of file \ No newline at end of file
StringDoor_Axis_Break 上料机构折叠门刹车解除 Brake release of feeding mechanism folding door
StringDoor_Close 上料机构折叠门关闭端 Closing end of feeding mechanism folding door
timeout 超时 Timeout
\ No newline at end of file \ No newline at end of file
...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量: 庫位 ...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量: 庫位
FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置: 実際位置: FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置: 実際位置:
FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度: 移動速度: FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度: 移動速度:
FrmPositionTool_groupBox6_groupBox2_Text 位置信息 位置情報 FrmPositionTool_groupBox6_groupBox2_Text 位置信息 位置情報
IOControl_groupBox1_btnCloseDO_Text 关闭 閉じる IOControl_tableLayoutPanel3_groupBox1_btnCloseDO_Text 关闭 閉じる
IOControl_groupBox1_btnOpenDo_Text 打开 開く IOControl_tableLayoutPanel3_groupBox1_btnOpenDo_Text 打开 開く
IOControl_groupBox1_label14_Text 地址: アドレス: IOControl_tableLayoutPanel3_groupBox1_label14_Text 地址: アドレス:
IOControl_groupBox1_label5_Text 定时(ms): タイミング(ms): IOControl_tableLayoutPanel3_groupBox1_label5_Text 定时(ms): タイミング(ms):
IOControl_groupBox1_Text DO写入 DO書き込み IOControl_tableLayoutPanel3_groupBox1_Text DO写入 DO書き込み
IOControl_groupBox3_Text DI列表 DIリスト IOControl_tableLayoutPanel3_groupBox3_Text DI列表 DIリスト
IOControl_groupBox4_Text DO列表 DOリスト IOControl_tableLayoutPanel3_groupBox4_Text DO列表 DOリスト
menuStrip1_关于ToolStripMenuItem_Text 关于 について menuStrip1_关于ToolStripMenuItem_Text 关于 について
menuStrip1_设备操作ToolStripMenuItem_Text 设备操作 機器操作 menuStrip1_设备操作ToolStripMenuItem_Text 设备操作 機器操作
menuStrip1_语言toolStripMenuItem_Text 语言 言語 menuStrip1_语言toolStripMenuItem_Text 语言 言語
...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降 単一料口ドア下降 ...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降 単一料口ドア下降
StringFix_Bottom 进料线体料串固定下降 フィードライン料串固定下降 StringFix_Bottom 进料线体料串固定下降 フィードライン料串固定下降
Clamping_Relax 夹爪气缸放松 グリッパーシリンダーリリース Clamping_Relax 夹爪气缸放松 グリッパーシリンダーリリース
StringPosChecker_Home 上料定位旋转气缸避让 上料位置決め回転シリンダー回避 StringPosChecker_Home 上料定位旋转气缸避让 上料位置決め回転シリンダー回避
StringDoor_Axis_Break 上料机构折叠门刹车解除 上料機構折りたたみドアブレーキ解除
\ No newline at end of file \ No newline at end of file
StringDoor_Axis_Break 上料机构折叠门刹车解除 上料機構折りたたみドアブレーキ解除
StringDoor_Close 上料机构折叠门关闭端 上料機構折りたたみドア閉鎖端
timeout 超时 タイムアウト
\ No newline at end of file \ No newline at end of file
...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量: ...@@ -138,13 +138,13 @@ FrmPositionTool_groupBox6_groupBox2_label5_Text 库位低点偏移量:
FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置: FrmPositionTool_groupBox6_groupBox2_label7_Text 实际位置:
FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度: FrmPositionTool_groupBox6_groupBox2_label8_Text 移动速度:
FrmPositionTool_groupBox6_groupBox2_Text 位置信息 FrmPositionTool_groupBox6_groupBox2_Text 位置信息
IOControl_groupBox1_btnCloseDO_Text 关闭 IOControl_tableLayoutPanel3_groupBox1_btnCloseDO_Text 关闭
IOControl_groupBox1_btnOpenDo_Text 打开 IOControl_tableLayoutPanel3_groupBox1_btnOpenDo_Text 打开
IOControl_groupBox1_label14_Text 地址: IOControl_tableLayoutPanel3_groupBox1_label14_Text 地址:
IOControl_groupBox1_label5_Text 定时(ms): IOControl_tableLayoutPanel3_groupBox1_label5_Text 定时(ms):
IOControl_groupBox1_Text DO写入 IOControl_tableLayoutPanel3_groupBox1_Text DO写入
IOControl_groupBox3_Text DI列表 IOControl_tableLayoutPanel3_groupBox3_Text DI列表
IOControl_groupBox4_Text DO列表 IOControl_tableLayoutPanel3_groupBox4_Text DO列表
menuStrip1_关于ToolStripMenuItem_Text 关于 menuStrip1_关于ToolStripMenuItem_Text 关于
menuStrip1_设备操作ToolStripMenuItem_Text 设备操作 menuStrip1_设备操作ToolStripMenuItem_Text 设备操作
menuStrip1_语言toolStripMenuItem_Text 语言 menuStrip1_语言toolStripMenuItem_Text 语言
...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降 ...@@ -497,4 +497,6 @@ NGDoor_Close 单料口门下降
StringFix_Bottom 进料线体料串固定下降 StringFix_Bottom 进料线体料串固定下降
Clamping_Relax 夹爪气缸放松 Clamping_Relax 夹爪气缸放松
StringPosChecker_Home 上料定位旋转气缸避让 StringPosChecker_Home 上料定位旋转气缸避让
StringDoor_Axis_Break 上料机构折叠门刹车解除
\ No newline at end of file \ No newline at end of file
StringDoor_Axis_Break 上料机构折叠门刹车解除
StringDoor_Close 上料机构折叠门关闭端
timeout 超时
\ No newline at end of file \ No newline at end of file
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!