Siemens NAN 67 Series Manual de servicio Pagina 189

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 318
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 188
14-11
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
14.9 Ones Complement Double Integer
The Ones Complement Double Integer instruction reads the contents
specified in the input parameter IN and performs the Boolean word logic
operation Exclusive Or Word (see Section 15.6) masked by FFFF FFFF
H
, so
that every bit is changed to the opposite value. The output parameter OUT
provides the result. ENO and EN always have the same signal state.
Certain restrictions apply to the placement of the Ones Complement Double
Integer conversion box (see Section 6.1).
Table 14-9 Ones Complement Double Integer Box and Parameters
LAD Box Parameter Data Type Memory Area Description
INV DI
EN BOOL I, Q, M, D, L Enable input
INV
_
DI
EN ENO
ENO BOOL I, Q, M, D, L Enable output
IN OUT
IN DINT I, Q, M, D, L Input value
OUT DINT I, Q, M, D, L Ones complement double integer
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write x x 1 x x
I 0.0
If the signal state of input I 0.0 is 1, the
conversion is executed. Each bit of memory
double word MD8 is changed:
MD8 =FFFF FFFF MD12 = 0000 0000
If the conversion is not executed, the signal
state of output Q 4.0 is 1 (ENO = EN).
Q 4.0
INV_DI
EN ENO
MD10INMD8
NOT
OUT
Function is executed (EN = 1):
Figure 14-9 Ones Complement Double Integer
Description
Move and Conversion Instructions
Vista de pagina 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 317 318

Comentarios a estos manuales

Sin comentarios