20230324Change1
This commit is contained in:
parent
1497a1fedf
commit
249b04a370
@ -530,10 +530,13 @@ namespace BRS.Process.A020.UI
|
|||||||
this.ManualBtn1.Enabled = true;
|
this.ManualBtn1.Enabled = true;
|
||||||
//设置开始按钮状态
|
//设置开始按钮状态
|
||||||
StartBtn1.Enabled = true;
|
StartBtn1.Enabled = true;
|
||||||
shaftState = ShaftMachineState.Emergency;
|
shaftState = ShaftMachineState.Unknown;
|
||||||
ESBtn.BackColor = Color.Red;
|
ESBtn.BackColor = Color.Red;
|
||||||
ESBtn.Text = "急停";
|
ESBtn.Text = "急停";
|
||||||
ProcessWriteInt(MelsecPLC, "D19", "int", "0");
|
ProcessWriteInt(MelsecPLC, "D19", "int", "0");
|
||||||
|
string d171 = textBox1.Text;
|
||||||
|
ProcessWriteInt(MelsecPLC, "D171", "int", d171);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void StopBtn2_Click(object sender, EventArgs e)
|
private void StopBtn2_Click(object sender, EventArgs e)
|
||||||
@ -916,6 +919,7 @@ namespace BRS.Process.A020.UI
|
|||||||
ProcessWriteInt(MelsecPLC, "D51", "int", "0");
|
ProcessWriteInt(MelsecPLC, "D51", "int", "0");
|
||||||
ProcessWriteInt(MelsecPLC, "D53", "int", "0");
|
ProcessWriteInt(MelsecPLC, "D53", "int", "0");
|
||||||
ProcessWriteInt(MelsecPLC, "D55", "int", "0");
|
ProcessWriteInt(MelsecPLC, "D55", "int", "0");
|
||||||
|
ProcessWriteInt(MelsecPLC, "D171", "int", "0");
|
||||||
|
|
||||||
shaftState = ShaftMachineState.Emergency;
|
shaftState = ShaftMachineState.Emergency;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user