4-1
FC 56
J31069-D0155-U001-A0-7618
MOBY Commands
Before you can start a MOBY command with command_start, you must define it.
UDT 50 (commentary in English) or UDT 51 (commentary in German) is available
for the simple definition of a command.
Table 4-1
UDT 50 “MOBY FH CMD”
Address
Name
Type
Starting
Value
Commentary
0.0
STRUCT
+0.0
UID
DWORD
DW#16#0
MDS number (unique identifier)
+4.0
command
CHAR
’R’
I:Format, B:Create, W:Write,
D:Delete
+5.0
sub_command_1
BYTE
B#16#0
Additional command information 1
(e.g., attribute)
+6.0
sub_command_2
BYTE
B#16#0
Additional command information 2
(e.g., option)
+7.0
sub_command_3
BYTE
B#16#0
Additional command information 3
+8.0
filename
ARRAY [1..8]
File name of MDS name
*1.0
CHAR
+16.0
length
DINT
L#-1
Length of the data to be
processed (–1 = default)
+20.0
address_MDS
WORD
W#16#0
Start address
+22.0
DAT_DB_number
INT
58
Number of the data block
+24.0
DAT_DB_address
INT
0
Start address in data block
+26.0
QUEUE_DB_number
INT
0
Number of the data block (only
for QUEUE-READ)
+28.0
QUEUE_DB_address
INT
0
Start address in the data block
(only for QUEUE-READ)
=30.0
END_STRUCT
The “current value” of the variables can be adjusted with the editor in the data view
of the DB or STEP 7 application program.
Remember that the current values may only be changed when no command is
active (ready = 1).
UID (unique identifier)
The UID parameter does not have to be provided with a correct value unless
MOBY_mode = 6 is set (see chapter 3.1).
Value range of UID:
Value
Meaning
00000000
Any MDS. If more than one MDS is in the field, an error
message is output.
00000001 to FFFFFFFF
UID of an MDS. The correct value must be obtained before-
hand with the GET command (see chapters 4.2.14 and 5.7).
4
Summary of Contents for MOBY FC 56
Page 12: ...Introduction 1 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 63: ...5 1 FC 56 J31069 D0155 U001 A0 7618 Sample Applications 5 ...
Page 80: ...Sample Applications 5 18 FC 56 J31069 D0155 U001 A0 7618 ...
Page 90: ...Entry Exit Check of an MDS in an SLG Field 6 10 FC 56 J31069 D0155 U001 A0 7618 ...
Page 94: ...System Configuration 7 4 FC 56 J31069 D0155 U001 A0 7618 ...
Page 100: ...Commissioning Guidelines 8 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 101: ...9 1 FC 56 J31069 D0155 U001 A0 7618 Error Messages and Trouble Shooting 9 ...
Page 152: ...Programming MOBY ASM on PROFIBUS DP V1 B 30 FC 56 J31069 D0155 U001 A0 7618 ...