Siemens NAN 67 Series Manual de servicio Pagina 141

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 318
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 140
10-5
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
10.3 Up Counter
A positive edge (i.e. a change in signal state from 0 to 1) at input S of the Up
Counter instruction sets the counter with the value at the Preset Value (PV)
input. With a positive edge, the counter is reset at input R. The resetting of
the counter sets the count value to 0. With a positive edge, the value of the
counter at input CU is increased by 1 when the count value is less than 999.
A signal state check for 1 at output Q produces a result of 1 when the count is
greater than 0; the check produces a result of 0 when the count is equal to 0.
Certain restrictions apply to the placement of the counter boxes (see
Section 6.1).
Table 10-3 Up Counter Box and Parameters, with International Short Name
LAD Box Parameter Data Type Memory Area Description
C no.
no. COUNTER C
Counter identification number. The range
depends on the CPU.
C
no
.
S_CU
CU BOOL I, Q, M, D, L
Count up input CU
S
_
CU
QCU
S BOOL I, Q, M, D, L
Set input for presetting counter
CV
S
PV
PV 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)
CV_BCD
R
R BOOL I, Q, M, D, L
Reset input
R
Q BOOL I, Q, M, D, L
Status of the counter
CV WORD I, Q, M, D, L
Current counter value (integer format)
CV_BCD WORD I, Q, M, D, L
Current counter value (BCD format)
Description
Counter Instructions
Vista de pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 317 318

Comentarios a estos manuales

Sin comentarios