Posted 8 Dec 2021 Hello all, I am Vince. I am new OMRON PLC software. I would like someone to teach on how to use these function block. https://www.ia.omron.com/product/special/automation-systems/cp2e/fb/modbus-tcp-server.html https://www.ia.omron.com/product/special/automation-systems/cp2e/fb/ethernet-send-receive-data.html I have go through the manual of the function block but it gives me more confusing. My objective is to read some part of the modbus address. I have doubt on how to set the destination IP address that I would like to read and the modbus address I desired to read. Then where the data is saved in PLC memory. What precaution I need to take upon reading the modbusTCP? Thanks in advance. 1 person likes this Share this post Link to post Share on other sites
Posted 8 Dec 2021 Or maybe the way I using is wrong? My focus is just Omron PLC CP2E-N to fetch data from device (192.168.250.2) through modbus TCP address. Is there any function block or sample for me to look on? Share this post Link to post Share on other sites
Posted 8 Dec 2021 You need to use the client FB - server is slave - client is master. Share this post Link to post Share on other sites
Posted 13 Dec 2021 Yes, I found that I use wrong FB. I have search many FB but ModbusTCP mostly using FINS. It take a lot of time for searching the TCP FB. Share this post Link to post Share on other sites
Posted 19 May 2022 On 12/8/2021 at 5:12 PM, Vince95 said: Or maybe the way I using is wrong? My focus is just Omron PLC CP2E-N to fetch data from device (192.168.250.2) through modbus TCP address. Is there any function block or sample for me to look on? did you manage to get the data ? Share this post Link to post Share on other sites