Communication between TxA and Siemens LOGO (and S7-1200)

Discussion of configuring and troubleshooting communication to PLC's or other devices using iX Developer.
Post Reply
nxen
Posts: 19
Joined: Wed Jan 16, 2013 3:18 am

Communication between TxA and Siemens LOGO (and S7-1200)

Post by nxen »

Hello!

I work for Beijer distributor in Greece.

A customer tries to communicate the iX TxA with a Siemens LOGO controller, as well as with a S7-1200, via the S7IsoTcp driver.

For the first case he set the “system” to “S7-200”, the “Link” to “PG” and the other settings according to Beijer help file. Unfortunately, the communication did not established. Are there any other points to pay attention? Are there any settings that he must modify at the controller side?

For the second case, he set the “system” to “S7-300/400/1200”. The “Link” must be set to “PG” or to “OP”? Are there any settings that he must change at the PLC side?

Best regards,

Nikos
Best Regards,
Nikos X

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Communication between TxA and Siemens LOGO (and S7-1200)

Post by mark.monroe »

Hi Nikos,

The link type is how you connect the Panel to the PLC. The link type of the connection, PG (programming device) and OP (operator panel) can be used.

You should make sure that you can ping the PLC and the HMI from the same computer.

Siemens should be able to tell you whether or not the LOGO PLC provides the same protocol support as the S7-1200. There are many add-on modules for PLC's and each module supports a different protocol. It is therefore best to check with Siemens and make sure that the module you are using to connect the HMI to the PLC supports the protocol you wish to use.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

nxen
Posts: 19
Joined: Wed Jan 16, 2013 3:18 am

Re: Communication between TxA and Siemens LOGO (and S7-1200)

Post by nxen »

Thank you Mark,

I'll forward your answer to our customer.
Best Regards,
Nikos X

Jan.Eckert
Posts: 7
Joined: Wed Mar 27, 2013 1:55 pm

Communication between TxA and Siemens S7-300

Post by Jan.Eckert »

I encountered a roadblock establishing ISO-on-TCP connection between Siemens 315-2 PN/DP and T10A using the S7ISOTCP driver over Ethernet.

I was looking forward to exchange data between the Siemens 315-2 PN/DP and the T10A using S7ISOTCP driver, since the iX Dev. 2.0 Helpfile
suggested that once the Siemens PLC Project Symbolic definition has been imported, data access would take place by simply referencing the symbolic name (Mx.y, MWx, Ix.y, Qx.y, etc.), that seemed very appealing.

I confirmed that the Siemens 315-2 PN/DP in fact supports ISO-on-TCP. But apparently not in a fashion a Siemens communication processor (CP) would.
Siemens literature states that ISO-on-TCP cannot be configured with the NetPro application (as for CPs) for any of the CPU with integrated ProfiNet but instead is realized by calling communication blocks FB65 "TCON", FB66 'TDISCON", FB63 "TSEND" and FB64 "TRCV". That wouldn't be so bad since the Open communication (OC) Wizard will help to setup the necessary data block (DB) to establish the connection.

What concerns me is that this method communicates a pre-programmed amount of data stored in intermediate (user-defined) send- and receive data blocks. It appears that I cannot access variables (in the PLC) based on the symbolic name any longer. Currently, I have no clue how to reference / address the data in the T10A using this method.

1. How would you propose to connect a Siemens S7 to a T10A using S7ISOTCP driver over Ethernet to allow access to data in the way described in the iX Dev. helpfile ?
2. Could you make a recommendation how I could get the T10A connected to the 315-2 PN/DP allowing access to data in the way described in the iX Dev. helpfile ?
3. If I am stuck using FBs exchanging discrete amount of data, how would I map / address that data in my iX project ?

Thanks in advance for your support.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Communication between TxA and Siemens LOGO (and S7-1200)

Post by mark.monroe »

From the iX Developers:

--------------------
According to the Siemens website:
The 315-2PN/DP CPU supports ISO-on-TCP protocol from firmware version 2.5 and higher:
(Embedded image moved to file: pic06334.gif)

So there should be no need of configuring FB:s to exchange the data, using symbolic names is not a problem with those PLC (just make sure to use absolute addressing in the source files in the CPU project).
pic06334.gif
pic06334.gif (60.73 KiB) Viewed 25245 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


Jan.Eckert
Posts: 7
Joined: Wed Mar 27, 2013 1:55 pm

Re: Communication between TxA and Siemens LOGO (and S7-1200)

Post by Jan.Eckert »

Thanks everyone,
I just wanted to report that the ISOonTCP works flawlessly and without any special configuration in the Siemens 315-2PN PLC, besides setting the IP address and obviously selecting the Siemens ISOonTCP drive in the T10A panel.

Thanks again
Jan

Post Reply