Siemens NAN 67 Series Manual de servicio Pagina 144

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 318
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 143
10-8
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
Table 10-6 Down Counter Box and Parameters, with SIMATIC Short Name
LAD Box Parameter Data Type Memory Area Description
Z
no. COUNTER C
Counter identification number. The range
depends on the CPU.
Z no.
Z RUECK
ZR BOOL I, Q, M, D, L
Count down input ZR
Z
_
RUECK
QZR
S BOOL I, Q, M, D, L
Set input for presetting counter
DUAL
QZR
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)
DUAL
DEZ
ZW
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 89 in binary
coded decimal format. If the signal state of input
I 0.0 changes from 0 to 1, the value of counter
C 10 is decreased by 1, unless the value of
counter C 10 is equal to 0. The signal state of
output Q 4.0 is 1 if counter C 10 is not equal to 0.
If I 0.3 changes from 0 to 1, the value of C 10 is
set to 0.
C 10
S_CD
CV
Q
CD
CV_BCD
S
PV
R
I 0.0
Q 4.0
I 0.2
C#89
I 0.3
Figure 10-4 Down Counter
Counter Instructions
Vista de pagina 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 317 318

Comentarios a estos manuales

Sin comentarios