
Universal Function Blocks
58
10/00 AWB27-1301-GB
1)
“TCM_tdata”, “TCM_rdata”
A base address must be specified for the send and receive
data so that the user program can access the module/card
data. This is carried out at the inputs of the parameter
function block:
An ARRAY type variable must be assigned to the
“TCM_tdata” (send data) and “TCM_rdata” (receive data)
inputs. The arrays are used as internal buffers for send and
tel_repeat
USINT
0 to 255
Number of frames repeated in the event of
protocol errors in the “cyclical”, “continuous
cyclical” and “continuous cyclical with autostart”
operating modes.
telegramformat
BOOL
0/1
Selection of the telecontrol frame format
0 = FT1.2; 1 = FT3
time_adjust
UINT
0 to 59
Time correction value in seconds for synchronising
the PLC clock. The value is added to the time value
received. Value must be determined depending on
the baud rate and signal run time (value range 0
to 59).
tra_dat
ARRAY
–
Send data array
user_status_1
BOOL
0/1
User status bit 1
user_status_2
BOOL
0/1
User status bit 2
user_status_3
BOOL
0/1
User status bit 3
user_status_4
BOOL
0/1
User status bit 4
variable_length
USINT
–
Data length for variable length frames
watchdog-time
Time
–
Monitoring time of the communication
If the secondary station is not addressed within the
set time, this is reported at the “watchdog”
output.
After the PLC is started, the output is initially set to
“0”. If the primary station makes access, the
output is set to “1”. If this time to the next access
is exceeded, the output is set to “0”.
Inputs
Data
type
Range of
values
Description
Содержание 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 ...