I try to setup a comunication between a modbus simulator (www.modbustools.com) and the PLC AC800M with the comunication modbus interface CI867.
My application in the compact control builder is the following:
The hardware warning on Modbus TCP Slave HwState is "16#01 Connection down".
I try to use this function block:
ModbusConn( En_C := enable,
Channel := channel,
Partner := partner,
Status => status,
Id := id );
but the status returned is -6811.
Anyone know how to use modbus with compact control builder because I'm little bit confusing, for example I don't know if is correct to use the simulator as a master and the CI867 as a slave or is correct the opposite.
Thanks.
My application in the compact control builder is the following:
The hardware warning on Modbus TCP Slave HwState is "16#01 Connection down".
I try to use this function block:
ModbusConn( En_C := enable,
Channel := channel,
Partner := partner,
Status => status,
Id := id );
but the status returned is -6811.
Anyone know how to use modbus with compact control builder because I'm little bit confusing, for example I don't know if is correct to use the simulator as a master and the CI867 as a slave or is correct the opposite.
Thanks.