insert several records simultaneously with java and mysql
Dear Community a pleasure to greet you, I am reading several HoldinRegister type registers for that I am using easymodbus in total will be 150 registers that must be read and saved each time a Coil type register changes from 0 to 1, the reading of these registers is done as follows:
Code:
public static void main(String[] args) throws Exception
{
ModbusClient modbusClient = new ModbusClient();
modbusClient.Connect("127.0.0.1",