﻿<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1">
  <DUT Name="SlackWireConfig" Id="{47b32afb-d2ce-4c29-b2c4-84723480e627}">
    <Declaration><![CDATA[TYPE SlackWireConfig :
	STRUCT
		
		ID							: DINT				:= 1;		// Identification
		name						: p6com.P6IdName 	:= 'SlackWire Compensator'; 
		maxStringSensorRawValue		: LREAL				:= 0.0;		// Input measured max string sensor value
		minStringSensorRawValue		: LREAL				:= 0.0;		// Input measured min string sensor value
		swcValve					: p7Hyd.ConfigValve;			// Valve config
		pistonDiameter				: LREAL;						// for SWC sylinder (m)
		pidConfig					: p7type.ConfigPID;				// for pressure regulator
		atSetpointWindow			: LREAL 			:= 3;		// (bar) Regulator error must be less than this to be OK
		InCenterWindow				: LREAL 			:= 0.05;	// (0-0.5) How close to center must we be to be in center
	
	END_STRUCT
END_TYPE
]]></Declaration>
  </DUT>
</TcPlcObject>