MOBY Commands
4-15
FC 56
J31069-D0155-U001-A0-7618
4.2.5
WRITE/UPDATE
Parameterizing the command in Command_DB
Table 4-10
UDT 50 “MOBY FH CMD” – WRITE/UPDATE
Address
Name
Starting
Value
Commentary
0.0
+0.0
UID
DW#16#0
MDS number, nur MOBY U mit multitag
+4.0
command
’W’ / ’U’
MDS command: Write File/Update File
W
U
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.
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.
+5.0
sub_command_1
B#16#0
Not used
+6.0
sub_command_2
B#16#0
Not used
+7.0
sub_command_3
B#16#0
Not used
+8.0
Filename
’FILENAME’
File name
Character and/or digit combination in ASCII format
(8 characters, 20H to 7EH).
+16.0
length
L#1
Length of the data to be written
+20.0
address_MDS
W#16#0
Not used
+22.0
DAT_DB_number
48
Data DB containing the user data to be written
+24.0
DAT_DB_address
0
Address of the beginning of the user data in
the data DB
+26.0
QUEUE_DB_number
48
Not used
+28.0
QUEUE_DB_address
0
Not used
=30.0
Acknowledgment data in the WRITE/UPDATE command
The WRITE/UPDATE command does not generate user data in the
acknowledgment.
Содержание 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 ...