Queue-Read - Siemens MOBY I ASM 421 Technical Description

Interface module
Table of Contents

Advertisement

ASM 421 Technical Description
3.4.6

QUEUE-READ

The QUEUE-READ command is used to read several files (max. of 15) with one command from the MDS.
The complete MDS with all files can also be read as an option.
Telegram to the filehandler:
0
1
2/3
4
5
6/7
KK KI ADB DBN DBL
xx 00 0000
'E'
'I'
0001
Number of subcommands is always 0001 with the command. The filehandler
supplies the correct number (ADB) in the first acknowledgment telegram.
'E' = QUEUE READ: Several files can be read with one command.
8 bytes
Data:
File name
The file name must
always be specified.
6GT2 002-0DA00
ASM 421 / V.24
6GT2 002-0DB00
ASM 421 / RS422
6GT2 002-0DC00
ASM 421 / TTY
8/9
10
11/12
13/21
0001
DBL
Option
In reserve
0000
No option. The data contain the files to be read.
0001
(Res. for QUEUE-WRITE)
0002
All files of the MDS are read. No data starting at byte 25.
Length is 000000 (bytes 22 to 24).
0004
If the actual file length is longer than the file length reserved in the data,
no error message is generated.
0008
The user data contain the files that are not to be read. This means that
all files of the data memory are read except the files specified in the
command. The "length" parameter in the file entry can be disregarded
for this option.
0010
The read file data are organized by word and are directly appended to
each other. This means that a skip byte with the value 20hex is added to
odd length files. The "skip" parameter has the value 0001 in the acknowl-
edgment. With this option "length" must always be set to FFFFFF in the
file entries.
The options are bit-coded. Several options can be set at the same time.
Example: 000C, 0012, 0018, and so on.
Length of the subsequent data in the telegram
One file entry = 14 bytes
1 byte
3 bytes
Res. = 00
Length
FFFFFF Read the complete file.
xxxxxx
File length < xxxxxx:
The acknowledgment telegram is filled with 20hex up to the parameter-
ized length xxxxxx. The number of filled bytes is supplied by the filehan-
dler in the data word "skip."
File length > xxxxxx:
The file data are only supplied in the acknowledgment telegram up to a
length of xxxxxx. The remaining data are cut off. When option 0004 is
set there is no error message. Otherwise the QUEUE-READ is termi-
nated at this point with error F006.
22/24
25..254
Length
Data
The user data contain the files to be read
(max. of 16 file entries).
Length of the subsequent data
starting at byte 25 (in hex format)
2 bytes
Reserved
Other file entries
Reserved data length in the acknowledgment telegram.
The file data in the acknowledgment are always
xxxxxx bytes (xxxxxx
= 4096). The result is shown below.
max
– 31 –
6GT2 097-3AH00-0DA2
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618

Advertisement

Table of Contents
loading

Table of Contents