Sample Applications
5-7
FC 56
J31069-D0155-U001-A0-7618
5.5
Specifying the Data Structure
The developer can also define the MOBY data structure in different ways
depending on the structure of the application. Below are some examples of
possible data structures.
1st example
Four SLGs are parameterized. One command is assigned to each SLG. MOBY
parameters (DB 56), MDS commands (DB 57), and data (DB 58) are assigned to
different data blocks. The declaration view is shown.
Block: DB56; MOBY parameters
Address
Name
Type
Starting Value
Commentary
0.0
STRUCT
+0.0
SLG ARRAY [1..4]
*300.0
UDT10
=1200.0
END_STRUCT
Block: DB57; 4 MDS commands
Address
Name
Type
Starting Value
Commentary
0.0
STRUCT
+0.0
Command ARRAY [1..4]
*30.0
UDT50
=120.0
END_STRUCT
Block: DB58; MOBY data
Address
Name
Type
Starting Value
Commentary
0.0
STRUCT
+0.0
Daten ARRAY [1..1024]
*1.0
BYTE
=1024.0
END_STRUCT
After these data blocks have been defined, the “current value” of the data must be
processed appropriately with the menu “Ansicht
³
Datensicht.”
Содержание MOBY FC 56
Страница 12: ...Introduction 1 6 FC 56 J31069 D0155 U001 A0 7618 ...
Страница 63: ...5 1 FC 56 J31069 D0155 U001 A0 7618 Sample Applications 5 ...
Страница 80: ...Sample Applications 5 18 FC 56 J31069 D0155 U001 A0 7618 ...
Страница 90: ...Entry Exit Check of an MDS in an SLG Field 6 10 FC 56 J31069 D0155 U001 A0 7618 ...
Страница 94: ...System Configuration 7 4 FC 56 J31069 D0155 U001 A0 7618 ...
Страница 100: ...Commissioning Guidelines 8 6 FC 56 J31069 D0155 U001 A0 7618 ...
Страница 101: ...9 1 FC 56 J31069 D0155 U001 A0 7618 Error Messages and Trouble Shooting 9 ...
Страница 152: ...Programming MOBY ASM on PROFIBUS DP V1 B 30 FC 56 J31069 D0155 U001 A0 7618 ...