Backup vor Umbau Zuführung

This commit is contained in:
2021-12-21 09:42:58 +01:00
parent 57bdbe94c5
commit e54bb76691
6 changed files with 25 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
<?AutomationStudio Version="4.7.6.114 SP"?>
<Project Description="Nietzelle" Version="1.00.0" Edition="Standard" EditionComment="Standard" xmlns="http://br-automation.co.at/AS/Project">
<Communication>
<OnlineConfiguration Name="Nietzelle" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=99" ConnectionParameters="/COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169" Description="" />
<OnlineConfiguration Name="Nietzelle" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=98" ConnectionParameters="/COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169" Description="" />
</Communication>
<ANSIC DefaultIncludes="true" />
<IEC ExtendedConstants="true" IecExtendedComments="true" KeywordsAsStructureMembers="false" NamingConventions="true" Pointers="true" Preprocessor="false" />

View File

@@ -28,6 +28,8 @@ ACTION DoCylinderPos:
States.CylinderPos.bSepLockCylFw := Valves.bSepLockCylFw AND bInLockCylFw;
States.CylinderPos.bSepOvHndOpen := NOT Valves.bSepOvHndClose AND bInOvHndLeftBw AND bInOvHndRightBw;
States.CylinderPos.bSepOvHndClosed := Valves.bSepOvHndClose AND bInOvHndLeftFw AND bInOvHndRightFw;
FUBs.TON_OvHndClosed.IN := States.CylinderPos.bSepOvHndClosed;
FUBs.TON_OvHndClosed ();
END_ACTION

View File

@@ -1,4 +1,8 @@
PROGRAM _INIT
FUBs.TON_OvHndClosed.PT := t#1s;
END_PROGRAM
PROGRAM _CYCLIC
//Dynamische Variablen initialisieren
lMachine ACCESS ADR (gMachine1);
@@ -99,16 +103,24 @@ PROGRAM _CYCLIC
//=====================================
//Trennzylinder
FUBs.TOF_PinAtLockCyl.IN := bInPinLockCyl;
FUBs.TOF_PinAtLockCyl.PT := t#400ms;
FUBs.TOF_PinAtLockCyl ();
IF bInPinLockCyl OR NOT States.CylinderPos.bSepLockCylFw THEN
//<EFBFBD>ffnen wenn kein Stift an Trennzylinder anliegt
//Schlie<EFBFBD>en wenn Stift am Sperrzylinder anliegt oder dieser nicht ausgefahren ist
Valves.bSepDivCylFw := TRUE;
END_IF
IF NOT bInPinLockCyl AND States.CylinderPos.bSepLockCylFw THEN
IF NOT FUBs.TOF_PinAtLockCyl.Q AND States.CylinderPos.bSepLockCylFw THEN
//<EFBFBD>ffnen wenn kein Stift an Trennzylinder anliegt
Valves.bSepDivCylFw := FALSE;
END_IF
//Sperrzylinder
IF NOT States.bDroppedPin AND NOT bInOvHndBusy AND bInPinLockCyl AND States.CylinderPos.bSepOvHndClosed AND States.CylinderPos.bSepDivCylFw THEN
FUBs.TOF_OvHndBusy.IN := bInOvHndBusy;
FUBs.TOF_OvHndBusy.PT := t#500ms;
FUBs.TOF_OvHndBusy ();
//Sperrzylinder Pin abwerfen
IF NOT States.bDroppedPin AND NOT FUBs.TOF_OvHndBusy.Q AND bInPinLockCyl AND FUBs.TON_OvHndClosed.Q AND States.CylinderPos.bSepDivCylFw THEN
//Sperrzylinder <EFBFBD>ffnen
Valves.bSepLockCylFw := FALSE;
END_IF

View File

@@ -49,6 +49,9 @@ TYPE
TON_Startfill : TON;
TON_Full : TON;
TON_OvHndBusy : TON;
TON_OvHndClosed : TON;
TOF_OvHndBusy : TOF;
TOF_PinAtLockCyl : TOF;
Cyl_SepDivCyl : FUB_CylinderCheck;
Cyl_SepLockCyl : FUB_CylinderCheck;
Cyl_SepOvHndLeft : FUB_CylinderCheck;

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.7.5.60 SP?>
<?AutomationStudio Version=4.7.6.114 SP?>
<Cpu xmlns="http://br-automation.co.at/AS/Cpu">
<Objects>
<Object Type="File" Description="Software configuration">Cpu.sw</Object>
@@ -30,6 +30,6 @@
<TechnologyPackages>
<SafetyRelease Version="1.10.0" />
</TechnologyPackages>
<OnlineConfiguration Name="Nietzelle" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=99" ConnectionParameters="/COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169" Description="" />
<OnlineConfiguration Name="Nietzelle" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=98" ConnectionParameters="/COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169" Description="" />
</Configuration>
</Cpu>

View File

@@ -4,7 +4,7 @@
<GeneratorDescription Name="AutomationStudio" Version="4.7.6.114" LanguageID="1">
<Info Name="ARVersion" Value="47303" />
<Info Name="SafetyRelease" Value="1.10" />
<Info Name="Communication" Value="/IF=tcpip /LOPO=11159 /SA=99 /COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169 /PORT=50000" />
<Info Name="Communication" Value="/IF=tcpip /LOPO=11159 /SA=98 /COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.145 /REPO=11159 /ANSL=1 /PT=11169 /PORT=50000" />
</GeneratorDescription>
<SafetyConfigurationManager TransportSAddr="1">
<DeviceDescription Module="X20SLXxxx_110.SCM" minOpenSafetyRelease="1.5"><![CDATA[C:\BrAutomation\AS47\AS\Hardware\Modules\X20SLX811\1.10.10.5\OSDD\X20SLXxxx_SCM_1_10_9_0.xosdd]]></DeviceDescription>