Rockwell-automation Logix5000 Controllers Produced and Consumed Tags P Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 40
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 33
Chapter 2 Produce a Large Array
When the offset value in array_ack[0] is equal to the current offset value, the consumer has copied the packet to the array; so the rung checks for more data to transfer. If the offset value
plus 123 is less than the size of the array, there is more data to transfer; so the rung increases the offset by 123. Otherwise, there is no more data to transfer; so the rung resets the offset
value, logs the transfer time, and resets the timer. In either case, the rung uses the new offset value to create a new packet of data, appends the new offset value to the packet, and clears
the acknowledge element of the packet (packet[124]).
If the current transfer time is greater than the maximum transfer time, update the maximum transfer time. This maintains a record of the longest time to transfer data.
34 Rockwell Automation Publication 1756-PM011F-EN-P - October 2014
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 40

Kommentare zu diesen Handbüchern

Keine Kommentare