Siemens NAN 67 Series Instrukcja Obsługi Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 318
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 317 318

Komentarze do niniejszej Instrukcji

Brak uwag