Siemens MOBY FC 56 Technical Description page 31

Table of Contents

Advertisement

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
0.0
+0.0
UID
+4.0
command
+5.0
sub_command_1
+6.0
sub_command_2
+7.0
sub_command_3
+8.0
filename
*1.0
+16.0
length
+20.0
address_MDS
+22.0
DAT_DB_number
+24.0
DAT_DB_address
+26.0
QUEUE_DB_number
+28.0
QUEUE_DB_address INT
=30.0
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:
00000000
00000001 to FFFFFFFF
FC 56
J31069-D0155-U001-A0-7618
Type
STRUCT
DWORD
CHAR
BYTE
BYTE
BYTE
ARRAY [1..8]
CHAR
DINT
WORD
INT
INT
INT
END_STRUCT
Value
Any MDS. If more than one MDS is in the field, an error
message is output.
UID of an MDS. The correct value must be obtained before-
hand with the GET command (see chapters 4.2.14 and 5.7).
Starting
Commentary
Value
DW#16#0
MDS number (unique identifier)
'R'
I:Format, B:Create, W:Write,
D:Delete
B#16#0
Additional command information 1
(e.g., attribute)
B#16#0
Additional command information 2
(e.g., option)
B#16#0
Additional command information 3
File name of MDS name
L#-1
Length of the data to be
processed (–1 = default)
W#16#0
Start address
58
Number of the data block
0
Start address in data block
0
Number of the data block (only
for QUEUE-READ)
0
Start address in the data block
(only for QUEUE-READ)
Meaning
4
4-1

Advertisement

Table of Contents
loading

Table of Contents