Jump to content

Recommended Posts

Posted

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.

From pdf.jpeg

ModTCP D memory.jpeg

ModTCP.png

Received data FB.png

  • Like 1

Posted

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? 

Posted

You need to use the client FB - server is slave - client is master.

Posted
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 ? 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...