MOBY Commands
4-12
FC 56
J31069-D0155-U001-A0-7618
4.2.4
QUEUE-READ
Parameterizing the command in Command_DB
Table 4-7
UDT 50 “MOBY FH CMD” – QUEUE-READ
Address
Name
Starting
Value
Commentary
0.0
+0.0
UID
DW#16#0
MDS number, only MOBY U with multitag
+4.0
command
’E’
MDS command: E = QUEUE-READ
+5.0
sub_command_1
B#16#0
Option:
1
00H
02H
04H
08H
10H
22H
No option. The data contain the files to be read.
All files with a file length > 0 are read by the MDS. Length
must be preset with 0.
2
If the actual file length is greater than the file length re-
served in the data, there is no error message.
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.
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.
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.
2
+6.0
sub_command_2
B#16#0
Not used
+7.0
sub_command_3
B#16#0
Not used
+8.0
Filename
’xxxxxxx’
Not used
+16.0
length
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.
+20.0
address_MDS
W#16#0
Not used
+22.0
DAT_DB_number
48
This data block contains the description of the
files to be read (see table 4-8).
+24.0
DAT_DB_address
0
Address of the start of the descriptive table
in the data DB
+26.0
QUEUE_DB_number
48
Data DB. The read data are stored here (see
table 4-9).
+28.0
QUEUE_DB_address
0
Address at the beginning of the user data in
QUEUE_DB
=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/DAT_DB_address is not used with this option.
Summary of Contents for MOBY FC 56
Page 12: ...Introduction 1 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 63: ...5 1 FC 56 J31069 D0155 U001 A0 7618 Sample Applications 5 ...
Page 80: ...Sample Applications 5 18 FC 56 J31069 D0155 U001 A0 7618 ...
Page 90: ...Entry Exit Check of an MDS in an SLG Field 6 10 FC 56 J31069 D0155 U001 A0 7618 ...
Page 94: ...System Configuration 7 4 FC 56 J31069 D0155 U001 A0 7618 ...
Page 100: ...Commissioning Guidelines 8 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 101: ...9 1 FC 56 J31069 D0155 U001 A0 7618 Error Messages and Trouble Shooting 9 ...
Page 152: ...Programming MOBY ASM on PROFIBUS DP V1 B 30 FC 56 J31069 D0155 U001 A0 7618 ...