numericUpDown1.Value = (decimal) ModbusClient.ConvertRegistersToFloat(modbusClient.ReadHoldingRegisters(5, 2));//float // numericUpDown2.Value = (decimal) ModbusClient.ConvertRegistersToFloat(modbusClient.ReadHoldingRegisters(9, 2));//float // numericUpDown6.Value = ModbusClient.ConvertRegistersToInt(modbusClient.ReadHoldingRegisters(13, 2));//dword // numericUpDown3.Value = ModbusClient.ConvertRegistersToInt(modbusClient.ReadHoldingRegisters(15, 2));//dword // numericUpDown7.Value = (decimal) ModbusClient.ConvertRegistersToDouble(modbusClient.ReadHoldingRegisters(20,...
Is your library doing this It gives this error every 1 or 2 hours Also, I don't understand the license completely, is this license paid?
Easy modbus program does not work while plc program is online SocketException: A blocking operation, a WSACancelBlockingCall
EasyModbus.Exceptions.QuantityInvalidException: 'quantity invalid
When I run this code, it crashes after a while, why? quantity invalid public async void Start() { await Task.Delay(10).ContinueWith(_ => { for (int ferdi = 0; ferdi < 32; ferdi++) { modbusClient.WriteSingleCoil(ferdi, true); Thread.Sleep(5); modbusClient.WriteSingleCoil(ferdi, false); } for (int j = 31; j > 0; j--) { modbusClient.WriteSingleCoil(j, true); Thread.Sleep(5); modbusClient.WriteSingleCoil(j, false); } Start(); });
hello decimal value can w e write c#?
decimal value can we write
decimal value?you can write