You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.4 KiB
XML
29 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
|
<DUT Name="Apartm" Id="{bc6c7360-bdaa-4287-a6b6-8864ad748e20}">
|
|
<Declaration><![CDATA[TYPE Apartm :
|
|
STRUCT
|
|
// iNo : UINT; // Room number. In case of few rooms in the Apartment.
|
|
iAp : INT; // Apartment number where the room is
|
|
iFloor : INT; // Floor number where the room is
|
|
iFloorIndex : INT; // Apartment index on the floor (inside array)
|
|
iZone : INT; // Zone number where the appartment is
|
|
iT_SP : INT; // Temperature Set Point x0.1°
|
|
iT_PV AT %I* :INT; // Temperature Process Value (Current Temperature) x0.1°
|
|
bSSR AT %Q* : BOOL; // SSR Control Output
|
|
fDC : REAL; // % Calculated Duty Cycle
|
|
fDCOffset : REAL; // % Duty Cycle Calculated offset +- value to zone duty cycle
|
|
// iCO2 : INT; // Current CO2 level
|
|
// bType : BOOL; // 0 Main: 1 Service (corridors)
|
|
bNM : BOOL; // 0 Night mode OFF; 1 Night Mode ON
|
|
bPWMSSR_ON : BOOL; // ON/OFF SSR command from the PID controller
|
|
bHMISSR_ON : BOOL; // ON/OFF SSR command from the HMI screen
|
|
fbSSR_Delay : fbPulseDelay; // SSR ON Delay function block to prevent all SSRs start at the same time
|
|
|
|
HMI_Visible : BOOL; //show/hide visualisation at HMI;0 visible,1 invisible according to HMI specs
|
|
HMI_Value : REAL; //converted iT_PV to REAl - for visualisation at HMI
|
|
END_STRUCT
|
|
END_TYPE
|
|
]]></Declaration>
|
|
</DUT>
|
|
</TcPlcObject> |