Modbus serial communication
But in cbm in MTCPConnect status is 7004.partner addres is 1.1.4 means ethernet 100 is 1 and gateway is 1 and connected with port 4.
how can the status will change
Channel depends on physical position of CI867 - for example 1.2.1 and partner should be slave address 4
Channel string retain '1.2.1'
parthner string retain '4'
IP address and gateway are set in HW configuration for CI867, Ethernet port and ModbusTCP slave items.
-7004 = MTMReadCyc = Cycle time is less than 1 second
From the help:
If status message is enabled ("Poll time" > 0) the function block will automatically try to establish a connection with the device repeatedly as long as the En_C parameter is True. The cycle of this retry has the same value as the value of the "Poll time" parameter entered in the hardware tree
Set Poll time=0