![Moeller S40-AM-TL Manual Download Page 86](http://html1.mh-extra.com/html/moeller/s40-am-tl/s40-am-tl_manual_1819282086.webp)
Example
83
10/00 AWB27-1301-GB
Primary station (PS416)
The primary station uses the TCMT2_US function block.
Variable declaration “TCMT2_US”
VAR_INPUT
requested_station
: USINT(1..2);
Secondary stations
subaddress
: USINT(0..0);
Subaddress
source_offset
: USINT(0..15);
Source offset address
destination_offset : USINT(0..15);
Destination offset address
variable_length
: USINT(1..16);
User data length for
variable length frames
fixed_length
: USINT(1..16);
User data length for fixed
length frames
tra_dat
: ARRAY[1..2, 0..0, 0..15] OF BYTE;
Send data array (station
number, subaddresses,
offset addresses)
END_VAR
VAR_OUTPUT
rec_dat
: ARRAY[1..2, 0..0, 0..15] OF BYTE;
Receive data array (number
of stations, subaddresses,
offset addresses)
END_VAR
VAR CONSTANT
dfn_max
: UINT:=2;
Number of secondary
stations
tra_sub_max
: UINT:= 0;
Transmit number of
subaddresses
rec_sub_max
: UINT:= 0;
Receive number of
subaddresses
tra_dfl_max
: UINT:= 16;
Transmit length of data
array
rec_dfl_max
: UINT:= 16;
Receive length of data array
Summary of Contents for S40-AM-TL
Page 7: ...10 00 AWB27 1301 GB 4 ...
Page 9: ...6 10 00 AWB27 1301 GB ...
Page 13: ...10 10 00 AWB27 1301 GB ...
Page 55: ...Basic Function Blocks 52 10 00 AWB27 1301 GB ...
Page 103: ...100 10 00 AWB27 1301 GB ...
Page 107: ...104 10 00 AWB27 1301 GB ...
Page 113: ...10 00 AWB27 1301 GB 110 ...