Added Simulation plc and removed unnecessary files from repository

This commit is contained in:
Matthias Heisig
2024-01-04 18:39:55 +01:00
parent 2bd41279b1
commit bd0bbd9c8b
43 changed files with 4692 additions and 1328 deletions

View File

@@ -7,13 +7,15 @@ VAR_INPUT
xEnable AT%I* : BOOL;
// Motor setpoint
iSetpoint AT%I* : INT;
iSetpoint AT %I* : INT;
END_VAR
VAR_OUTPUT
// Motor circuit breaker ok
{attribute 'hide'}
xMCBOk AT %Q* : BOOL;
// Repair switch ok
{attribute 'hide'}
xRepairSwitchOk AT %Q* : BOOL;
// Motor speed feedback
@@ -24,11 +26,14 @@ VAR
_fbRampGenerator : FB_RampGenerator;
{attribute 'hide'}
_fbValveAnalogInput : FB_AnalogInput('');
_stAnalogScaling : ST_ANALOG_IO_CONFIG := (iAIMax := 32767, iAIMin := 0, rPVMax := 100, rPVMin := 0);
_stAnalogEWConfig : ST_ANALOG_EW_LEVELS;
_stAnalogEWDelays : ST_ANALOG_EW_DELAYS;
{attribute 'hide'}
_fbValveAnalogOutput : FB_AnalogOutput('');
END_VAR
]]></Declaration>