

You should be able to use this code with ANY SCADA system or HARDWARE that supports STANDARD MODBUS RTU registers and addressing. It is just the Digi Connectport that converts the RTU to TCP. Some SCADA packages use ZERO offsets, so subtract 1, so the address for pin 2 would be 1.

Remember, in the SCADA software do not use the whole address number, for instance, to access pin 2, you would be reading a COIL on Slave 1 at address 2, not address 10002.

Just connect a PC straight up to your freshly programmed arduino, and run some sort of MODBUS master or test software, using the register number as listed in the code. S7 200 Modbus Slave Library Code Onto ANY.
