Reading Modbus/TCP IP data in CP3586 using ETH ( IF2) Port

Dear Experts ,

I have a Modbus TCP IP device and need to take some parameter into my PLCCP3586 in Automation studio V 4.8 . I have verified the 3rd party device from modscan and it shows data perfectly.

My PLC is also in same network ip ( 10.162.69.240)
3rd party Modbus Device IP ( 10.162.69.100 )

Normally i use PLCCS1030 serial card to take data into PLC by using LibDRVmbus ( Modbus library )

however in this case i am not sure on how to take the data from CPU eth Port .

kindly show some light on this matter… Guide me through , how to read the data, Any Hardware conversion is required ?
Any Specific standard library available for Modbus TCP IP ?

Thanks
AJ

You can use the ModbusTcp_any device from the hardware configuration.
Automation Help: ModbusTcp_any

If you prefer specifying the actual registers from PLC code you can set an empty ModbusTcp_any station for the IP you want to connect to and then use the AsMbTCP library function blocks.
Automation Help: AsMbTCP

2 Likes

Thank you very much for your detailed replay.