|
|
|
@ -735,43 +735,50 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
|
|
|
|
|
{
|
|
|
|
|
case 1:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir1, 1);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH1();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH1(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH1();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir1, 1);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH2();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH1(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH2();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 3:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir2, 2);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH3();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH2(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH3();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 4:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir2, 2);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH4();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH2(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH4();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 5:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir3, 3);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH5();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH3(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH5();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 6:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir3, 3);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH6();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH3(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH6();
|
|
|
|
|
break;
|
|
|
|
|
case 7:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir4, 4);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH7();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH4(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH7();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case 8:
|
|
|
|
|
PowderDownSignel(MinAnPlc.Heir4, 4);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH8();
|
|
|
|
|
DB2105WriteHelper.WriteSetValueH4(value);
|
|
|
|
|
DB2105WriteHelper.WriteManScrewH8();
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
MessageBox.Show("当前未选择产线!");
|
|
|
|
|