Block Specifications
2-4
FC 56
J31069-D0155-U001-A0-7618
2.3
Data Structures of the FC 56
The following figure shows an example of a definition of several MOBY channels
with the related MDS commands and the user data.
Call FC 56
Params_DB
Params_ADDR
MOBY_DB:
Channel 1
Channel 2
Channel 3
Channel 4
command_
DB_number
command_
DB_address
MOBY commands:
Single command (up to 32
KB can be processed) or
chained command
DAT_DB_number
DAT_DB_address
User data:
UDT 10
UDT 50
The user
defines the
size and the
data types in
his/her data
himself/
herself.
Call FC 56
Params_DB
Params_ADDR
Call FC 56
Params_DB
Params_ADDR
Call FC 56
Params_DB
Params_ADDR
Call 1st SLG
Call 2nd SLG
Call 3rd SLG
Call 4th SLG
Figure 2-1
Overview of configuring FC 56
Each call of the FC 56 points to a separate parameter data block (Params_DB,
Params_ADDR) which is defined by a UDT 10.
UDT 10 contains two variables – “command_DB_number” and
“command_DB_address.” These variables point to the MOBY command which is
to be executed with the MDS.
The MOBY command is defined with UDT 50 (English) or UDT 51 (German).
Different commands or command chains can be defined by calling UDT 50 several
times (see chapter 4.2). The variables “DAT_DB_number” and “DAT_DB_address”
are defined in UDT 50. This variable definition is the pointer to the user data. The
MDS data which were read are stored there. With a write command, the user must
store his/her data here before the command is executed.
Содержание 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 ...