5/30/2014 11:39 AM | |
Posts: 51 Rating:
|
what you want to send from PC to plc??? Communication problem or Data receiving problem??? |
Last edited by: Tez013 at: 5/30/2014 11:40 AM |
|
5/30/2014 9:02 PM | |
Joined: 11/21/2007 Last visit: 3/16/2025 Posts: 2326 Rating:
|
Hello mrjorgen It is possible to exchange Text ( ASCII )strings with a S7-1200 with some amount of programming. We have been using several ( Actually Apprx 40 ) S7-1200 PLCs in different locations, which communicate with a Central Server running a C# application for a filling automation system. The S7-1200 PLCs communicate with the Central Server on TCP/IP through internet usingTCON/TSEND/TRECV blocks. The Server sends the Filling details using Tightly structured Text Strings which are received by the S7-1200 as Character Arrays and interpreted by the S7-1200 and using for extracting filling volue and other data. The Actual Filling details are again converted by the S7-1200 into a Tightly structured Character Array and transimtted to the Main Server. So, in short, it is possible to exchange Text ( ASCII ) data with S7-1200 but you will need TCP/IP communication and some amount of programming on the PC side.
You should structre your text so that the data locations are fixed, for easy interpretation in S7-1200. Different fields can have a ';' as seperator . Start of every Msg should have an identifiable header preferably starting with '#' Hope this helps Cheers Navnag |
Last edited by: Navnag at: 5/30/2014 9:07 PMThere is no such thing as the last bug in a program |
|
Follow us on