X20CP Communicate with S7

I want to acquire X20CP*4** data via Siemens S7-1200, what modules can I use? Can it be done with Profibus? Or can it be done with other protocols?
Thank you

Hi Wempy,

you can establish communication via a fieldbus, e.g., Profibus or Profinet. However, this requires a corresponding interface to be installed in the B&R PLC (which involves costs). I’ve already configured communication using the built-in Ethernet interface and the UDP protocol. It works very well, but you don’t have real-time communication. (However, you don’t have real-time communication with Profibus either!) :wink:

Regards

Stephan

2 Likes

You can use OPC UA or modbusTCP if you dont want to add extra hardware.

1 Like

SIMATIC S7-1200

supports OPC UA, but only as an OPC UA Server. It does not natively support acting as an OPC UA Client.

is it possible if i use x20cp3486?

Hi Stephan Herbig,

Thanks for the advice. Are there any resources I can learn from?

When you choose OPC UA, I think that’s little demanding to run it + you need to buy licence for simatic (I have only experience with OPC on S7-1500).

I can reccomend Modbus/TCP. Create a server in S7 (define some DB and connect to it to modbus server FB - it is well explained in the help). In BR CPU you create modus client with READ/WRITE instruction. Just add library and to HW config add modbus/tcp client and configure it. But only be carefully with byte/register ordering.

Hello Wempy,

you can find an example in the Automation Studio Toolbox catalog: Ethernet UDP communication