Programming
TX1200
34
Version: 1.1
6.2.6
MP_EnergyValveV4_Process
This function block is suitable for Energy Valve actuators EV..R2+... (V4). For more information please visit
.
MP_Address
is used to specify the MP-Bus device with which the function block is to communicate.
bStart
activates communication with the MP-Bus device.
bBusy
indicates that the function block is active. If
bStart
remains TRUE, the device is addressed cyclically with a period specified by the time in
TMPolling
. The time
should be set longer than 1 s.
bError
is used to indicate an error in communication with the actuator. The
type of the error can be read with
iErrorId
.
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
strDataKL6771 : DataKL6771;
TMpolling : TIME:= t#10s;
rSetpoint : LREAL;
nOverrideControl : E_MP_EV_V4_OverrideControl;
nCommand : E_MP_EV_V4_Command;
nDataRead : WORD := 16#FFFF;
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.
rSetpoint:
setpoint in % (0...100).
nOverrideControl:
override the setpoint with defined values (see
nCommand:
command for service and test functions of the actuator (see
).
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......