Udt 50 "Moby Fh Cmd" - Create - Siemens MOBY FC 56 Technical Description

Table of Contents

Advertisement

4.2.2
CREATE
Parameterizing the command in Command_DB
Table 4-4
UDT 50 "MOBY FH CMD" – CREATE
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
Specification of a file length is not mandatory. If write data later overwrite the file length specified here, the
1
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.
FC 56
J31069-D0155-U001-A0-7618
Starting
Commentary
Value
DW#16#0
MDS number, only MOBY U with multitag
'B'
MDS command: B = Create File
B#16#0
File attribute
Assignment of access rights for this file
00H
No attribute
01H
Read only. The file can only be read.
02H
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.
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
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.
W#16#0
Not used
48
Not used
0
Not used
48
Not used
Not used
MOBY Commands
1
4-9

Advertisement

Table of Contents
loading

Table of Contents