Siemens NAN 67 Series Manual de Serviço Página 61

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 318
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 60
4-9
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
UDT56 - <Offline>
Address Symbol Data Type Initial Value Comment
speed
runtime
motor_on
STRUCT
INT
DINT
BOOL
100
L#0
0.0
+0.0
+2.0
+6.0
+10.0
history REAL
motor_off BOOL+10.1
END_STRUCT
FALSE
=12.0
0.000000e+000
FALSE
Maximum RPM
Figure 4-6 Declaring a UDT
The first and the final row of the declaration view of a UDT are already
allocated and display the key words STRUCT and END_STRUCT, which
define the beginning and end of a UDT. These rows cannot be edited.
Initially, two empty rows are displayed to allow you to declare your
variables. You must enter the variable name and data type. Initial value or
comments are optional. You can create more empty rows using the menu
command
Insert
"
Declaration Row
"
Before Selection / After Selection.
Note
Editing this declaration table is similar to editing the declaration table of
logic and data blocks.
Creating Data Blocks and User-Defined Data Types
Vista de página 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 317 318

Comentários a estes Manuais

Sem comentários