Hi Robert,
ok, that was my mistake, of course. By replacing the WriteSingleRegister with WriteMultipleRegisters function code I could resolve the problem with the analog outputs.
For the digital outputs however, using function code WriteMultipleCoils for a Modbus_Module with 8 ChanDo objects (each with representation Bit8) underneath gives me the Status \"IllegalDataValue\" at runtime.
ProView sends 1 byte (Bit8) for every coil to be set. Instead the Modbus protocol specifies only 1 bit for every coil, so in our case the slave expects just one byte of data and this probably causes the error.
Can you have a look into this please?
Thanks, Ondrej