I have an Ethernet based I/O block that uses the Modbus/TCP protocol. I would just like to read all the inputs (ports 5-8) at once and also set individual outputs one at a time (ports 1-4). Can someone point me to some simple code? I do not need the whole protocol, just these two simple things.