
Programming
TX1200
55
Version: 1.1
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
strDataKL6771 : DataKL6771;
TMpolling : TIME := t#10s;
bRelay_R1 : BOOL;
bRelay_R2 : BOOL;
bRelay_R3 : BOOL;
iUa : UINT;
SETTINGS : UST3_SET;
MP_Address:
MP-Bus address of the slave.
bStart:
a positive edge starts the function block. If this remains continuously TRUE, the function block will be
activated cyclically with a period specified by the time in
TMPolling
.
strDataKL6771:
the data structure with which the
function block must be linked (see
).
TMpolling:
the time for which the function block should address the actuator. Default 10 s, minimum time
1 s.
bRelay_R1:
relay PIN 15.
bRelay_R2:
relay PIN 16.
bRelay_R3:
relay PIN 17.
iUa:
analog output PIN 5 (1 mV = 1 digit).
SETTINGS:
data structure for setting the scaling and the resistance measurement (see
).
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
iU1 : INT;
iU2_YSensor : INT;
iU3 : INT;
bDigital_S1 : BOOL;
bDigital_S2 : BOOL;
bDigital_S3 : BOOL;
iResistor : INT;
bBusy:
This bit is set for as long as the block is active.
bError:
The output becomes TRUE as soon as an error occurs. The error is described via the variable
iErrorId
.
iErrorId:
The output issues an error code when an error occurs (see
). Simultaneously
bError
is TRUE.
iU1:
Analog input PIN 3 (1 digit = 1 mV or 1 digit = 250 µV).
iU2_YSensor:
Analog input PIN 4 (1 digit = 1 mV or 1 digit = 250 µV).
iU3:
Analog input PIN 7 (1 digit = 1 mV or 1 digit = 250 µV).
bDigital_S1:
Digital input PIN 8.
bDigital_S2:
Digital input PIN 9.
bDigital_S3:
Digital input PIN 7.
iResistor:
Resistor value PIN 4.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......