Added Simulation plc and removed unnecessary files from repository
This commit is contained in:
11
PLC_SIM/GVLs/GVL_CONFIG.TcGVL
Normal file
11
PLC_SIM/GVLs/GVL_CONFIG.TcGVL
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<GVL Name="GVL_CONFIG" Id="{67a902f8-b820-49bc-8915-3c28de9d0ca8}">
|
||||
<Declaration><![CDATA[{attribute 'qualified_only'}
|
||||
VAR_GLOBAL
|
||||
stPressureSensorConfig : ST_ANALOG_IO_CONFIG := (iAIMax := 32767, iAIMin := 0, rPVMax := 1500, rPVMin := -1000, sUnit := 'mbar');
|
||||
stTempSensorConfig : ST_ANALOG_IO_CONFIG := (iAIMax := 32767, iAIMin := -32768, rPVMax := 3276.7, rPVMin := -3276.8, sUnit := '°C');
|
||||
stVoltageSensorconfig : ST_ANALOG_IO_CONFIG := (iAIMax := 32767, iAIMin := 0, rPVMax := 150, rPVMin := 0, sUnit := 'V');
|
||||
END_VAR]]></Declaration>
|
||||
</GVL>
|
||||
</TcPlcObject>
|
||||
@@ -5,6 +5,12 @@
|
||||
VAR_GLOBAL
|
||||
// Random number generator
|
||||
fbRandom : DRAND;
|
||||
|
||||
// Emergency stop ok
|
||||
xEmergencyStopOk AT %Q* : BOOL := TRUE;
|
||||
|
||||
// String error array
|
||||
astStringError : ST_STRING_ERROR;
|
||||
END_VAR]]></Declaration>
|
||||
</GVL>
|
||||
</TcPlcObject>
|
||||
Reference in New Issue
Block a user