5 Noncyclical data exchange
22
CAUTION!
The data exchange packets have a predefined format.
If the data structures are not filled with fill bytes to the correct length, errors can occur during the data
exchange.
Be sure to respect the data structure defined above (data types, sequence of the variables and total
length, including fill bytes) when declaring the data structures for data exchange packets.
BYTE
DIR_1
a
Query/re-
sponse data,
Data point 1
Data for transferring up to 32 data points of
noncyclical data: the following variables are
declared for each data point:
DIR:
Data direction for transferring the respec-
tive data point.
The data direction of each data point must be
specified by the PLC programmer in the data
exchange packet of the query from the IO con-
troller. The "DIR" variables control the process-
ing of the single data points in the JUMO IO
device accordingly.
Encoding:
Value= 1: Writing (from the IO controller to the
IO device)
Value= 2: Reading (from the IO device to the IO
controller)
ERROR:
The JUMO IO device enters the value
"1" into "ERROR", if an invalid ID was indicated
in the query data (outgoing data exchange
packets). In the IO controller, "ERROR" can be
evaluated via corresponding control structures.
ID1 to ID5:
5-element ID of the data point from
the noncyclical data table (see
chapter 5.2 "Data tables of noncyclical data",
page 25)
VALUE:
Value of the respective data point to be
read/written; this variable must always be de-
clared as a basic data type with a length of 32
bits. If the query aims at a data type of the IO
device with 16 or 8 bits, only the correspond-
ingly lower bytes are relevant. The higher-value
bytes are to be considered pure fill bits.
BYTE
ERROR_1
WORD
ID1_1
WORD
ID2_1
WORD
ID3_1
WORD
ID4_1
WORD
ID5_1
Any basic data type with a
length of 32 bits
VALUE_1
.
.
.
.
.
.
Query/re-
sponse data,
Data points 2
to 31
BYTE
DIR_32
Query/re-
sponse data,
Data point 32
BYTE
ERROR_32
WORD
ID1_32
WORD
ID2_32
WORD
ID3_32
WORD
ID4_32
WORD
ID5_32
Any basic data type with a
length of 32 bits
VALUE_32
BYTE[24]
DUMMY
Fill byte array for filling the data exchange packet to the fixed
size of 640 bytes
a
In the "Multi-ID" format, all variables for 32 data points are declared and also transferred. Only the first "DIR", "ER-
ROR", "ID" and "VALUE" variables that correspond to the "NUMBER" value are relevant to processing on the
JUMO IO device.
Structure variable for data exchange packets in the "Multi-ID" format
Data type
Name
Explanation
Содержание AQUIS touch P
Страница 2: ......
Страница 4: ...Contents...
Страница 6: ...1 Safety information 6...
Страница 8: ...2 Compatibility and system requirements 8...
Страница 10: ...3 Electrical connection 10...
Страница 46: ...6 Project planning 46...
Страница 48: ...7 Error messages 48...
Страница 49: ...49 8 Annex 8 Annex 8 1 PROFINET certificate...
Страница 50: ...8 Annex 50...
Страница 51: ......