S
S
Sergey Romanov2020-04-16 15:55:51
Siemens
Sergey Romanov, 2020-04-16 15:55:51

Explain where to dig to implement communication with the Siemens PLC?

I have a small task, connect p PLC Siemens 1200 and get some tags from it. I write on GO. I began to look for ready-made libraries and found this one.

https://github.com/robinson/gos7

I'm not an expert on Siemens technology, I'm more from the world of Codesis\Modbus. This library implements the S7 protocol. It was a discovery for me because I didn't know anything about it. I thought that I need to implement PROFINET. So what do I need?

On one site, after research, I read

The S7 protocol is designed for transferring data into SCADA systems via Ethernet. The PROFINET protocol is used for communication between PLCs and IO modules.


This confused me even more. So I need to use not profinet but S7? Is it supported by all Siemens PLCs? Where should I dig and what protocol should I implement. I need my program to be universal and connect via network settings to any Siemens PLC, remotely.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
stranger19, 2021-01-07
@stranger19

You need S7-protocol. S7+ is better. Both protocols work on top of PROFIBUS/PROFINET.
But, I would pay attention to OPC UA. 1200th as a server, application as a client. Few problems, many benefits. It is only necessary to CORRECTLY configure the server (after activating it) in the 1200th.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question