Udt 50 "Moby Fh Cmd" - Write/Update - Siemens MOBY FC 56 Technical Description

Table of Contents

Advertisement

4.2.5
WRITE/UPDATE
Parameterizing the command in Command_DB
Table 4-10
UDT 50 "MOBY FH CMD" – WRITE/UPDATE
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
+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 0
=30.0
Acknowledgment data in the WRITE/UPDATE command
The WRITE/UPDATE command does not generate user data in the
acknowledgment.
FC 56
J31069-D0155-U001-A0-7618
Starting
Commentary
Value
DW#16#0
MDS number, nur MOBY U mit multitag
'W' / 'U'
MDS command: Write File/Update File
W
WRITE
The WRITE command can be used to write an entire file
or only a part of the file. If only part of a file is written, old
file data are retained at the end of the file.
U
UPDATE
The UPDATE command always writes a complete file.
The start address must always be 1000. If the new file
data are not as long as the old file data, the new file has
the length of the new file data. The memory reserved for
this file is retained, however.
B#16#0
Not used
B#16#0
Not used
B#16#0
Not used
'FILENAME'
File name
Character and/or digit combination in ASCII format
(8 characters, 20H to 7EH).
L#1
Length of the data to be written
W#16#0
Not used
48
Data DB containing the user data to be written
0
Address of the beginning of the user data in
the data DB
48
Not used
Not used
MOBY Commands
4-15

Advertisement

Table of Contents
loading

Table of Contents