Zuviel Werbung? - > Hier kostenlos beim SPS-Forum registrieren

Results 1 to 2 of 2

Thread: libnodave - S7-319 scan cycle time

  1. #1
    Join Date
    Erhielt 1 Danke für 1 Beitrag


    Zuviel Werbung?
    -> Hier kostenlos registrieren
    Hello All!

    I am using libnodave in a VB.NET project with Visual Studio 2008.
    I am trying to remotly monitor the scan cycle time of the CPU but I have not been able to find it in the SZLs.
    The libnodave library works great and I am accessing data from the CPU over a ISO_TCP connection. I have read thru the Siemens manual "System Software for S7-300/400 System and Standard FunctionsSystem Software for S7-300/400 System and Standard FunctionsSystem Software for S7-300/400 System and Standard Functions" but have not found it.

    I am not a Step-7 programmer so I am just starting to learn where things are stored in the S7 PLCs.

    Thank You for your Help
    Mike Doty
    Reply With Quote Reply With Quote libnodave - S7-319 scan cycle time  

  2. #2
    Join Date
    Erhielt 1,428 Danke für 1,060 Beiträge


    I'm not really sure of the behavior of all CPUs.

    But check SZL ID 0x0222 with index 1.

    You should receive one partlist with length of 28 bytes, and in this data:
    - at bytes 7/8 the actual/last cycle time
    - at bytes 9/10 you get the shortest cycle time
    - at bytes 11/12 you get the longest cycle time

    There are some additional SZL infos in the Siemens WinAC documentation.
    ID 0x0222 is listed there as "Interrupt status", I think it's because the OB80 (cycle time fault) is called when the cycle time is over the limit.
    The cycle time limit you should get with index 80.


Similar Threads

  1. Scan auf GS von Zylindern...
    By anne in forum Simatic
    Replies: 16
    Last Post: 26.06.2010, 22:53
  2. SIMIT cycle zeit problem
    By kuldeep in forum Simatic
    Replies: 2
    Last Post: 31.03.2010, 07:53
  3. Fb41 und cycle
    By grizu in forum Simatic
    Replies: 2
    Last Post: 27.10.2009, 09:20
  4. cycle time auslesen
    By mknoellner in forum Simatic
    Replies: 17
    Last Post: 11.05.2009, 08:17
  5. plc cycle time
    By guelle in forum Feldbusse
    Replies: 6
    Last Post: 08.11.2007, 15:39


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts