Modbus TCP IP communication with Outotec PSI500I system
System: 800xa 5.1
Tack: Modbus TCP IP Communication
Hardware Used: CI867
I am trying to communicate with PSI500i system through TCP IP. I am getting mod bus TCP connect block status as 1 but modbus tcpread block status as 0.
when I am checking with Mod scan i have to select device ID as 2 . then only I am getting the value in mod scan.
Is there any option to incorporate the device id -2?
kindly suggest how to proceed.
Please provide more detailed explanation for your configuration, in order to receive more precise answer.
You need to insert CI867 in HW configuration (for example at pos 1), then to insert ModbusTCP Slave to one of it's eth ports (let's say port 1). Here you declare the address of the slave - should be equal to the address of your physical slave.
In the application, you need MBTCPConnect block and MBTCPRead block.
For connect block you have to declare channel (='1.1.2' for eth port 1 on CI867 module 1) and partner (='2' for slave 2). Also declare ID variable with your name. Set En_C:=true.
Connect the same ID variable, declared for connect block, to ID parameter of read block.
Please note the REQ input of read block needs pulses in order to work.
Status = 0 most probably means that you don't have request to it.
Look here for details