﻿<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1">
  <GVL Name="ObjHMI" Id="{764eac2c-2100-4729-81ac-e82a4feae758}">
    <Declaration><![CDATA[{attribute 'qualified_only'}
VAR_GLOBAL PERSISTENT

	// PMS
	PMSInhibit								: BOOL;
END_VAR
VAR_GLOBAL
	// System
	doReboot								: BOOL;
	readyForHMI								: BOOL; // turn on when everything is ready for HMI to start asking for data
	
	// Traction winch variables to be made available for the Exor panel.
    // Winch readout
    tractionWinchLength: LREAL;
    tractionWinchTension: LREAL;
    tractionWinchVelocity: LREAL;
    // Block readout
    blockTension: LREAL;
    blockVelocity: LREAL; // we don't have this!
	blockLength : LREAL; 
	// Scaling units are placed here instead of being hidden in the Exor program.
	// Scling as per the operator that has an opinion about this. Change if needed.
	lengthScaling: LREAL := 1;
	tensionScaling: LREAL := 0.001;
	velocityScaling: LREAL := 60;
	// Control panel status
	winchActiveIndicator : BOOL;
	inControlIndicator: BOOL;
	winchAlarmIndicator: BOOL;
	
END_VAR

]]></Declaration>
  </GVL>
</TcPlcObject>