Because the pressure limits belong to the cabinet and are application specific, move the variables to GVL_APP as constants modified: solution/tc_project_app/GVLs/GVL_APP.TcGVL
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<TcPlcObject Version="1.1.0.1">
|
|
<GVL Name="GVL_APP" Id="{8fe9690c-7907-432e-bedb-6fc99b5ce255}">
|
|
<Declaration><![CDATA[{attribute 'qualified_only'}
|
|
VAR_GLOBAL
|
|
//Defines the CPU type: 0 for CX5130 and 1 for c6017-0020
|
|
eCPUType: E_CPUType; //:= 1;
|
|
END_VAR
|
|
|
|
VAR_GLOBAL CONSTANT
|
|
nAXIS_NUM: UINT := 0; //Specifies the total of axes in the system
|
|
nPNEUMATIC_AXIS_NUM: UINT := 0; //Specifies the total number of pneumatic axes in the system
|
|
|
|
//Pneumatic air pressure groups high and low limits
|
|
fLOW_LIMIT_AIR_PRESSURE1: REAL := 0; //User defined value in bar for low limit air pressure value for pneumatic axes group 1
|
|
fHIGH_LIMIT_AIR_PRESSURE1: REAL := 0; //User defined value in bar for high limit air pressure value for pneumatic axes group 1
|
|
fLOW_LIMIT_AIR_PRESSURE2: REAL := 0; //User defined value in bar for low limit air pressure value for pneumatic axes group 2
|
|
fHIGH_LIMIT_AIR_PRESSURE2: REAL := 0; //User defined value in bar for high limit air pressure value for pneumatic axes group 2
|
|
END_VAR
|
|
]]></Declaration>
|
|
</GVL>
|
|
</TcPlcObject> |