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

Table of Contents

Advertisement

MOBY Commands
4.2.4
QUEUE-READ
Parameterizing the command in Command_DB
Table 4-7
UDT 50 "MOBY FH CMD" – QUEUE-READ
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
1
The options are byte-coded. Several options can be set at the same time (e.g., 0CH, 12H, 18H, and so on).
2
Pointer DAT_DB_number/DA T_DB_address is not used with this option.
4-12
Starting
Commentary
Value
DW#16#0
MDS number, only MOBY U with multitag
'E'
MDS command: E = QUEUE-READ
1
B#16#0
Option:
00H
No option. The data contain the files to be read.
02H
All files with a file length > 0 are read by the MDS. Length
must be preset with 0.
04H
If the actual file length is greater than the file length re-
served in the data, there is no error message.
08H
The user data contain the files which are not to be read
(i.e., all files of the data memory are read except the files
specified in the command). The length parameter (i.e.,
"Länge") in the file entry can be disregarded with this
option.
10H
The file data read are arranged by word and directly ap-
pended to each other (i.e., when a file has an odd-num-
ber length, a "skip byte" is added with the value 20hex.)
The "skip" parameter then has the value 0001 in the ac-
knowledgment. With this option, the length (i.e., "Länge")
must always be set to 00FFFFFFhex in the file entries.
22H
All files of the MDS are read. In contrast to option 02H,
the blank files are also read (file length = 0). This option
can be used to read a complete data carrier and then
write it to another MDS with QUEUE-WRITE.
B#16#0
Not used
B#16#0
Not used
'xxxxxxx'
Not used
L#1
Length of the data to be transferred. With
QUEUE-READ, the maximum length is 210. This
gives a maximum of 15 file entries in the data
area of DAT_DB_number.
W#16#0
Not used
48
This data block contains the description of the
files to be read (see table 4-8).
0
Address of the start of the descriptive table
in the data DB
48
Data DB. The read data are stored here (see
table 4-9).
Address at the beginning of the user data in
QUEUE_DB
2
2
J31069-D0155-U001-A0-7618
FC 56

Advertisement

Table of Contents
loading

Table of Contents