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