1/9/2013 1:08 PM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating:
|
Give a screenshoot of wireshark, maybe its a part of TCP/IP protocol that you see, wireshark should be able to decode it and give the explanation for that. Also Kaulquappehas a good exlanation, strings in simatic have a format in front - two bytes. If you put to TSEND a pointer to string, then TSEND will understand this like a array of bytes. You can use AT statement in declaration. Passw: struct format[0..1] of byte text[0..18] of byte end_struct; Password AT Passw: String[20]; you pass to TSEND Passw.text pointer. |
Last edited by: Marko Bursic at: 1/9/2013 1:24 PMLast edited by: Marko Bursic at: 1/9/2013 1:18 PM |
|
Follow us on