MOBY Commands
4-9
FC 56
J31069-D0155-U001-A0-7618
4.2.2
CREATE
Parameterizing the command in Command_DB
Table 4-4
UDT 50 “MOBY FH CMD” – CREATE
Address
Name
Starting
Value
Commentary
0.0
+0.0
UID
DW#16#0
MDS number, only MOBY U with multitag
+4.0
command
’B’
MDS command: B = Create File
+5.0
sub_command_1
B#16#0
File attribute
Assignment of access rights for this file
00H
01H
02H
No attribute
Read only. The file can only be read.
Write once. The data may only be written once. New
data may be appended. The file cannot be deleted with
DELETE. The file can only be written with the automatic
APPEND function.
+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
File length to be reserved
The filehandler reserves the file length specified here. If a file
length of 0 is given, the filehandler reserves one block as the
default. For block sizes, see table 1-1.
1
+20.0
address_MDS
W#16#0
Not used
+22.0
DAT_DB_number
48
Not used
+24.0
DAT_DB_address
0
Not used
+26.0
QUEUE_DB_number
48
Not used
+28.0
QUEUE_DB_address
0
Not used
=30.0
1
Specification of a file length is not mandatory. If write data later overwrite the file length specified here, the
filehandler automatically reserves more memory for the file. The MDS memory is dynamically managed
by the filehandler.
Acknowledgment data in the CREATE command
The CREATE 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 ...