8/5/2014 7:30 AM | |
Joined: 11/21/2007 Last visit: 3/16/2025 Posts: 2326 Rating:
|
Best regards, Andrew Helloandrew_pj You are following the correct procedure. If you want to use multiple Fumction Codes ( or use the same function codes for multiple address ranges ), you need to call these functions one by one ( call next function, once the previous function has been evaluated. ) Instead of always waiting 2 sec for triggering the next function, you can also evaluate the "DONE" bit of "Receive" block. New function command can be trigged on completion of previous Function or Timeout. As regards the "SF" bit, please check the Diagnostic buffer of the CPU and the Module information of your 1SI module to understand the cause of the problem. Without looking at this information, it is difficult to pinpoint the cause of the problem. Hope this helps Cheers Navnag
|
There is no such thing as the last bug in a program |
|
8/6/2014 11:59 AM | |
Posts: 30 Rating:
|
Dear Navnag, Thank you for your advice. Now I am able to read and write without considering time delay. However, I still got error in SF LED. The error message is as followed: Event ID: 16# 2522 Area length error when reading Global DB, byte access, Access address: 13 Requested OB: Programming error OB (OB121) Priority class: 1 Please refer to attached Diagnostics.pdf for details. Based on the Guide from TIA Portal, the above error is because of Read error: Operand outside the valid range. Please advise if you know the solution for this issue. Let me know if you need more details. Thank you. Best regards, Andrew AttachmentDiagnostics.pdf (537 Downloads) |
12/23/2019 8:41 AM | |
Posts: 3 Rating:
|
Hi Where should I go to change the size of DB? Thanks |
12/23/2019 9:49 AM | |
Joined: 9/21/2012 Last visit: 3/26/2025 Posts: 4346 Rating:
|
Open the DB, and add more variables. |
Follow us on