7/26/2016 4:09 PM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi, Please have a try and read S7-help of the S_SEND and S_RCV. If the characters you want to send are not correct, and you have to have two characters to much before "01fw", do like Duris told you and declare it as Array of Char. I guess 01fw is a command, that you get something, that you want to recieve with S_RCV, rigth? If the command is sent right, and the Rx-LED doesn´t light up, you don´t get something to recieve. If the Rx-LED lights up and you don´t get something back from S_RCV-block, you need to interpret the error-bit and status-word. The Status-Word tells you whats wrong when the Error-bit is true. So when the Errorbit is true, copy the status-word to a free MW to read the information. You will find the diagnosic-information in the manual of the module. SIMATIC ET 200S Serial interface modules hope this helps, regards, |
FCK WAR! |
|
This contribution was helpful to
1 thankful Users |
7/28/2016 9:37 AM | |
Posts: 9 Rating:
|
hi why this 1SI sent to the STX01ETX is it standard thanks & regards Adi |
7/28/2016 10:36 AM | |
Posts: 9 Rating:
|
hi i send 01fw? in DB 42 Array of character i send you file which i receive in DB43 array of character Thanks & regards adi AttachmentFull page photo.pdf (284 Downloads) |