![Moeller S40-AM-TL Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/moeller/s40-am-tl/s40-am-tl_manual_1819282017.webp)
Data Arrays
14
10/00 AWB27-1301-GB
Assigning data array
parameters
Basic function blocks
These data arrays are already set up in the variable
declaration of the basic function blocks. They may have to be
adjusted, however, if the default parameters are not exactly
as required.
Basic function blocks have the following data array basic
settings and range limits:
Basic function block for the primary station:
VAR_INPUT
fixed_length : USINT(1..20) ;
User data length for fixed length
frames
tra_dat: ARRAY[1..x, 0..19] OF BYTE ;
Send data array (x = station
number according to the selected
function block, data array length)
END_VAR
VAR_OUTPUT
rec_dat: ARRAY[1..x, 0..19] OF BYTE ;
Receive data array (x = station
number according to the selected
function block, data array length)
user_status : ARRAY [1..x, 1..4] OF BOOL;
Status bit
END_VAR
VAR_CONSTANT
dfn_max: UINT:=x;
x = Number of secondary stations
tra_dfl_max: UINT:=20;
rec_dfl_max: UINT:=20;
Maximum data array length
restriction for send and receive
data
END_VAR
Содержание S40-AM-TL
Страница 7: ...10 00 AWB27 1301 GB 4 ...
Страница 9: ...6 10 00 AWB27 1301 GB ...
Страница 13: ...10 10 00 AWB27 1301 GB ...
Страница 55: ...Basic Function Blocks 52 10 00 AWB27 1301 GB ...
Страница 103: ...100 10 00 AWB27 1301 GB ...
Страница 107: ...104 10 00 AWB27 1301 GB ...
Страница 113: ...10 00 AWB27 1301 GB 110 ...