Menu

CPU1211C Not responding to Snap7

2015-09-10
2015-09-11
  • Gökhan Yenikaya

    Hi,
    I encountered a strange error, I couldn't understand the behavior. I wrote a C# program to connect s7-1200 cpu1211c and read the DBs. Software reads the DBs every 5 seconds. There is no problem here. After a while, I couldn't say how much time, changing from a couple of hours to a couple of days, the software stops reading the DBs, even if I restart the software. It couldn't read the DBs anyway. But when I run the TIA portal and go online (no stop/run o or any other thing, just go online), my program starts to read the DBs.

    Could you explain this behavior.

    Thanks

     
  • Davide Nardella

    Davide Nardella - 2015-09-10

    Never happened to me.
    Do you connect/read/disconnect every time ?
    Ara you completely sure that you don't have some memory/resource leak ?
    Since the CPU handles different connections a time, could you write a tiny (as small as possible) program : connect and read on a timer event to see what happens ?
    regards

     
  • Gökhan Yenikaya

    Indeed, the software is communicating with two PLCs, the other is a 1214c PLC and there is no error in that, even if the other stops. I am using it for months. I couldn't describe the problem, it's between CM1241(RS232) -- PLC or PLC-PC ? The data is filled by CM1241 by the way.

     

Log in to post a comment.

MongoDB Logo MongoDB