Siemens NAN 67 Series Manual de servicio Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 318
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
4-6
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
4.4 Editing Actual Data Values
When you create and save a data block for the first time, the declared
(optional) initial value is automatically assumed as the actual value of the
variable. When it accesses the data block, the user program continues to use
this as the actual value, unless you explicitly specify a new actual value for
the variable in the user program.
The actual values of the variables are changed by the logic blocks writing to
them while the CPU program is being executed. You can display and change
the actual values of variables yourself.
You must switch to the data view to display and edit actual data values in
data blocks. Open a data block and use the menu command View
"
Data
View to switch to the data view.
The only difference between the data view and the declaration view of a data
block is the additional column “Actual Value”. In the data view, the elements
of variables with a complex data type are displayed individually and with
their complete symbolic name, so that each of their actual values can be
displayed and edited (see Figure 4-4).
DB17 - <Offline>
Address Symbol Type Initial Value Comment
motor.speed
motor.runtime
motor.history
motor.motor_off
INT
DINT
REAL
BOOL
100
L#0
0.000000e+000
0.0
2.0
6.0
10.0
10.1
motor.motor_on BOOL
field[1] INT12.0
field[2] INT
0
14.0
FALSE
FALSE
Maximum RPM
field[3] INT16.0
0
0
Actual Value
89
L#0
0.000000e+000
7
TRUE
FALSE
4
8
Figure 4-4 Data Block in the Data View
The displayed actual value is either the value that the variable had when you
opened the data block or the most recently modified and saved value.
Note
If you open data blocks online, the actual value is not updated cyclically.
Initial Value –
Actual Value
Data View of Data
Blocks
Displayed Actual
Value
Creating Data Blocks and User-Defined Data Types
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 317 318

Comentarios a estos manuales

Sin comentarios