Programming
TX1200
60
Version: 1.1
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_VRU_OverrideControl;
nCommand : E_MP_VRU_Command;
nDataRead : BYTE;
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:
value in % (0...100 %).
nOverrideControl:
.
nCommand:
for service and test functions of the actuator.
nDataRead:
0xFF - read all data; bit 0 - read relative position; bit 1 - read absolute position; bit 2 - read
relative volume flow rate; bit 3 - read absolute volume flow rate; bit 4 - read value sensor 1; bit 5 - read
analog setpoint; bit 6 - read relative differential pressure; bit 7 - read absolute differential pressure
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMP_Serial_Number : MP_Serial_Number;
st_MP_VRU_ServiceInfo : St_MP_VRU_ServiceInfo;
rSetpoint_Read : LREAL;
nOverrideControl_Read : E_MP_VRU_OverrideControl;
nCommand_Read : E_MP_VRU_Command;
rRelativePosition : LREAL;
rAbsolutePosition : LREAL;
rRelativeVolumeticFlow : LREAL;
rAbslouteVolumeticFlow : LREAL;
rSensor1Value : LREAL;
rSetpointAnalog : LREAL;
rRelativeDeltaPressure : LREAL;
rAbsoluteDeltaPressure : LREAL;
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.
strMP_Serial_Number:
st_MP_VRU_ServiceInfo:
Malfunction and
rSetpoint_Read:
Setpoint.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......