Siemens NAN 67 Series Wartungshandbuch Seite 142

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 141
10-6
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
Table 10-4 Up Counter Box and Parameters, with SIMATIC Short Name
LAD Box Parameter Data Type Memory Area Description
Z no.
no. COUNTER C
Counter identification number. The range
depends on the CPU.
Z
no
.
Z_VORW
ZV BOOL I, Q, M, D, L
Count up input ZV
Z
_
VORW
QZV
S BOOL I, Q, M, D, L
Set input for presetting counter
DUAL
S
ZW
ZW WORD I, Q, M, D, L
Value in the range of 0 to 999 for
presetting counter (entered as
C#<value> to indicate BCD format)
DEZ
R
R BOOL I, Q, M, D, L
Reset input
R
Q BOOL I, Q, M, D, L
Status of the counter
DUAL WORD I, Q, M, D, L
Current counter value (integer format)
DEZ WORD I, Q, M, D, L
Current counter value (BCD format)
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write x x x 1
A change in signal state from 0 to 1 at
input I 0.2 sets counter C 10 with the
value 901 in binary coded decimal
format. If the signal state of I 0.0 changes
from 0 to 1, the value of counter C 10 is
increased by 1, unless the value of C 10
is equal to 999. If I 0.3 changes from 0
to 1, the value of C 10 is set to 0. The
signal state of output Q 4.0 is 1 if C 10 is
not equal to 0.
C 10
S_CU
CV
Q
CU
CV_BCD
S
PV
R
I 0.0
Q 4.0
I 0.2
C#901
I 0.3
Figure 10-3 Up Counter
Counter Instructions
Seitenansicht 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare