Sample Udt For Acknowledgment Of Queue-Read - Siemens MOBY FC 56 Technical Description

Table of Contents

Advertisement

MOBY Commands
Acknowledgment data in the QUEUE-READ command
The user data in the acknowledgment of the QUEUE-READ command are written
to the address QUEUE_DB_number/QUEUE_DB_address. The "length" parameter
contains the actual length of all read data.
Structure of the file entries with the acknowledgment of QUEUE-READ
The following structure must be stored under the pointer
QUEUE_DB_number/QUEUE_DB_address. The data of all read files are stored
here.
Table 4-9

Sample UDT for acknowledgment of QUEUE-READ

Address
Name
0.0
+0.0
File
*0.0
+0.0
File_name
*1.0
+8.0
File_length
+12.0
Skip
+14.0
Data
*1.0
=114.0
=1710.0
1
UDT is only an example. It is not part of the software project. It can be used in this form only when file_length was specified
with the command or all files have the same length.
4-14
Type
Commentary
STRUCT
ARRAY [1..15] A maximum of 15 file names can be specified.
STRUCT
ARRAY [1..8]
File name (8 ASCII characters)
CHAR
DW#16#0
Length in bytes of the data to be read for the
specified file.
INT
Skip specifies how many bytes of the next file
entry follow the end of the previous file
entry. Skip is set by the filehandler. It can
be controlled by the user with the command via
the options parameter.
ARRAY [0..99] Reserved area for read data
BYTE
END_STRUCT
END_STRUCT
1
J31069-D0155-U001-A0-7618
FC 56

Advertisement

Table of Contents
loading

Table of Contents