Example #1
0
 public static void DebugMode(Master master, int value)
 {
     byte[] dummy = { };
     master.WriteSingleRegister(11, 1, 201, ModbusTcpHelper.WordArrayToByteArray(new[] { value }, 1), ref dummy);
 }
Example #2
0
 public static void ResetNewOrderNumber(Master master)
 {
     byte[] dummy = { };
     master.WriteSingleRegister(11, 1, 202, ModbusTcpHelper.WordArrayToByteArray(new[] { 0 }, 1), ref dummy);
 }
Example #3
0
 public static void SetPoPcState(Master master, PopcStates states)
 {
     byte[] dummy = { };
     master.WriteSingleRegister(11, 1, 200, ModbusTcpHelper.WordArrayToByteArray(new[] { (int)states }, 1), ref dummy);
 }
Example #4
0
 public static void SetProcessableQty(Master master, int qty)
 {
     byte[] dummy = { };
     master.WriteSingleRegister(11, 1, 208, ModbusTcpHelper.WordArrayToByteArray(new[] { qty }, 1), ref dummy);
 }
Example #5
0
 public static void ResetSequence(Master master)
 {
     byte[] dummy = { };
     master.WriteSingleRegister(11, 1, 203, ModbusTcpHelper.WordArrayToByteArray(new[] { 1 }, 1), ref dummy);
 }