Files
HundM_awl/SCL-Export/=A01+UH06-KF00/Arbeitsplätze_Zylinder.scl
T

688 lines
27 KiB
Plaintext

FUNCTION_BLOCK "Arbeitsplätze_Zylinder"
{ S7_Optimized_Access := 'FALSE' }
// Mechanische AWL->SCL-Konvertierung (awl2scl.py). Kontrollfluss per GOTO,
// wo im Original mit Sprungmarken gearbeitet wurde. Vor Uebernahme in TIA
// Portal pruefen/kompilieren (siehe SCL-Export/README.md).
VAR_INPUT
DAMR_Bereich : Word; // war "DAMR_Bereich"
END_VAR
VAR_IN_OUT
MB3241 : Byte; // war "MB3241"
MB3242 : Byte; // war "MB3242"
MB3243 : Byte; // war "MB3243"
MB3244 : Byte; // war "MB3244"
MB3245 : Byte; // war "MB3245"
MB3250 : Byte; // war "MB3250"
MB3251 : Byte; // war "MB3251"
MB3255 : Byte; // war "MB3255"
MB3256 : Byte; // war "MB3256"
MB3260 : Byte; // war "MB3260"
MB3262 : Byte; // war "MB3262"
MB3263 : Byte; // war "MB3263"
MB3265 : Byte; // war "MB3265"
MB3271 : Byte; // war "MB3271"
MB3272 : Byte; // war "MB3272"
MB3273 : Byte; // war "MB3273"
MB3274 : Byte; // war "MB3274"
MB3275 : Byte; // war "MB3275"
MB3280 : Byte; // war "MB3280"
MB3281 : Byte; // war "MB3281"
MB3285 : Byte; // war "MB3285"
MB3286 : Byte; // war "MB3286"
MB3290 : Byte; // war "MB3290"
MB3291 : Byte; // war "MB3291"
MB3292 : Byte; // war "MB3292"
MB3293 : Byte; // war "MB3293"
MB3302 : Byte; // war "MB3302"
MB3303 : Byte; // war "MB3303"
MB3304 : Byte; // war "MB3304"
MB3305 : Byte; // war "MB3305"
MB3310 : Byte; // war "MB3310"
MB3311 : Byte; // war "MB3311"
MB3315 : Byte; // war "MB3315"
MB3316 : Byte; // war "MB3316"
MB3320 : Byte; // war "MB3320"
MB3321 : Byte; // war "MB3321"
MB3322 : Byte; // war "MB3322"
MB3323 : Byte; // war "MB3323"
MB3331 : Byte; // war "MB3331"
MB3332 : Byte; // war "MB3332"
MB3333 : Byte; // war "MB3333"
MB3334 : Byte; // war "MB3334"
MB3335 : Byte; // war "MB3335"
MB3340 : Byte; // war "MB3340"
MB3341 : Byte; // war "MB3341"
MB3345 : Byte; // war "MB3345"
MB3346 : Byte; // war "MB3346"
MB3350 : Byte; // war "MB3350"
MB3351 : Byte; // war "MB3351"
MB3352 : Byte; // war "MB3352"
MB3353 : Byte; // war "MB3353"
MB3361 : Byte; // war "MB3361"
MB3362 : Byte; // war "MB3362"
MB3363 : Byte; // war "MB3363"
MB3364 : Byte; // war "MB3364"
MB3365 : Byte; // war "MB3365"
MB3370 : Byte; // war "MB3370"
MB3371 : Byte; // war "MB3371"
MB3375 : Byte; // war "MB3375"
MB3376 : Byte; // war "MB3376"
MB3380 : Byte; // war "MB3380"
MB3381 : Byte; // war "MB3381"
MB3382 : Byte; // war "MB3382"
MB3383 : Byte; // war "MB3383"
MB3390 : Byte; // war "MB3390"
MB3392 : Byte; // war "MB3392"
MB3393 : Byte; // war "MB3393"
MB3394 : Byte; // war "MB3394"
MB3395 : Byte; // war "MB3395"
MB3400 : Byte; // war "MB3400"
MB3401 : Byte; // war "MB3401"
MB3405 : Byte; // war "MB3405"
MB3406 : Byte; // war "MB3406"
MB3410 : Byte; // war "MB3410"
MB3411 : Byte; // war "MB3411"
MB3412 : Byte; // war "MB3412"
MB3413 : Byte; // war "MB3413"
MB3421 : Byte; // war "MB3421"
MB3422 : Byte; // war "MB3422"
MB3423 : Byte; // war "MB3423"
MB3424 : Byte; // war "MB3424"
MB3425 : Byte; // war "MB3425"
MB3430 : Byte; // war "MB3430"
MB3431 : Byte; // war "MB3431"
MB3435 : Byte; // war "MB3435"
MB3436 : Byte; // war "MB3436"
MB3440 : Byte; // war "MB3440"
MB3441 : Byte; // war "MB3441"
MB3442 : Byte; // war "MB3442"
MB3443 : Byte; // war "MB3443"
MB3450 : Byte; // war "MB3450"
MB3452 : Byte; // war "MB3452"
MB3453 : Byte; // war "MB3453"
MB3454 : Byte; // war "MB3454"
MB3455 : Byte; // war "MB3455"
MB3456 : Byte; // war "MB3456"
MB3460 : Byte; // war "MB3460"
MB3461 : Byte; // war "MB3461"
MB3465 : Byte; // war "MB3465"
MB3466 : Byte; // war "MB3466"
MB3470 : Byte; // war "MB3470"
MB3471 : Byte; // war "MB3471"
MB3472 : Byte; // war "MB3472"
MB3473 : Byte; // war "MB3473"
MB3481 : Byte; // war "MB3481"
MB3482 : Byte; // war "MB3482"
MB3487 : Byte; // war "MB3487"
MB3540 : Byte; // war "MB3540"
MB3543 : Byte; // war "MB3543"
END_VAR
VAR
Schleuse_3456 : "MZylinder"; //
Schleuse_3481 : "MZylinder"; //
Weiche_3482 : "MZylinder"; //
Weiche_3361 : "MZylinder"; //
Schleuse_3487 : "MZylinder"; //
Schleuse_Vor_Einfahrt_PS5 : "MZylinder"; //
Weiche_Einfahrt_PS5 : "MZylinder"; //
Schleuse_Vorstau_PS5 : "MZylinder";
Weiche_zu_Platz1_PS5 : "MZylinder"; //
Weiche_zu_Platz2_PS5 : "MZylinder";
Schleuse_Platz1_PS5 : "MZylinder";
Schleuse_Platz2_PS5 : "MZylinder";
Schleuse_Platz3_PS5 : "MZylinder";
Weiche_von_Platz1_PS5 : "MZylinder"; //
Weiche_von_Platz2_PS5 : "MZylinder";
Schleuse_Ausfahrt_PS5 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_PS5 : "MZylinder"; //
Weiche_Ausfahrt_PS5 : "MZylinder"; //
Schleuse_Vor_Einfahrt_PS4 : "MZylinder"; //
Weiche_Einfahrt_PS4 : "MZylinder"; //
Schleuse_Vorstau_PS4 : "MZylinder";
Weiche_zu_Platz1_PS4 : "MZylinder"; //
Weiche_zu_Platz2_PS4 : "MZylinder";
Schleuse_Platz1_PS4 : "MZylinder";
Schleuse_Platz2_PS4 : "MZylinder";
Schleuse_Platz3_PS4 : "MZylinder";
Weiche_von_Platz1_PS4 : "MZylinder"; //
Weiche_von_Platz2_PS4 : "MZylinder";
Schleuse_Ausfahrt_PS4 : "MZylinder"; //
Weiche_Ausfahrt_PS4 : "MZylinder"; //
Schleuse_Vor_Einfahrt_PS3 : "MZylinder"; //
Weiche_Einfahrt_PS3 : "MZylinder"; //
Schleuse_Vorstau_PS3 : "MZylinder";
Weiche_zu_Platz1_PS3 : "MZylinder"; //
Weiche_zu_Platz2_PS3 : "MZylinder";
Schleuse_Platz1_PS3 : "MZylinder";
Schleuse_Platz2_PS3 : "MZylinder";
Schleuse_Platz3_PS3 : "MZylinder";
Weiche_von_Platz1_PS3 : "MZylinder"; //
Weiche_von_Platz2_PS3 : "MZylinder";
Schleuse_Ausfahrt_PS3 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_PS3 : "MZylinder"; //
Weiche_Ausfahrt_PS3 : "MZylinder"; //
Schleuse_Vor_Einfahrt_PS2 : "MZylinder"; //
Weiche_Einfahrt_PS2 : "MZylinder"; //
Schleuse_Vorstau_PS2 : "MZylinder";
Weiche_zu_Platz1_PS2 : "MZylinder"; //
Weiche_zu_Platz2_PS2 : "MZylinder";
Schleuse_Platz1_PS2 : "MZylinder";
Schleuse_Platz2_PS2 : "MZylinder";
Schleuse_Platz3_PS2 : "MZylinder";
Weiche_von_Platz1_PS2 : "MZylinder"; //
Weiche_von_Platz2_PS2 : "MZylinder";
Schleuse_Ausfahrt_PS2 : "MZylinder"; //
Weiche_Ausfahrt_PS2 : "MZylinder"; //
Schleuse_Vor_Einfahrt_PS1 : "MZylinder"; //
Weiche_Einfahrt_PS1 : "MZylinder"; //
Schleuse_Vorstau_PS1 : "MZylinder";
Weiche_zu_Platz1_PS1 : "MZylinder"; //
Weiche_zu_Platz2_PS1 : "MZylinder";
Schleuse_Platz1_PS1 : "MZylinder";
Schleuse_Platz2_PS1 : "MZylinder";
Schleuse_Platz3_PS1 : "MZylinder";
Weiche_von_Platz1_PS1 : "MZylinder"; //
Weiche_von_Platz2_PS1 : "MZylinder";
Schleuse_Ausfahrt_PS1 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_PS1 : "MZylinder"; //
Weiche_Ausfahrt_PS1 : "MZylinder"; //
Schleuse_Vor_Einfahrt_MPS3 : "MZylinder"; //
Weiche_Einfahrt_MPS3 : "MZylinder"; //
Schleuse_Vorstau_MPS3 : "MZylinder";
Weiche_zu_Platz1_MPS3 : "MZylinder"; //
Weiche_zu_Platz2_MPS3 : "MZylinder";
Schleuse_Platz1_MPS3 : "MZylinder";
Schleuse_Platz2_MPS3 : "MZylinder";
Schleuse_Platz3_MPS3 : "MZylinder";
Weiche_von_Platz1_MPS3 : "MZylinder"; //
Weiche_von_Platz2_MPS3 : "MZylinder";
Schleuse_Ausfahrt_MPS3 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_MPS3 : "MZylinder"; //
Weiche_Ausfahrt_MPS3 : "MZylinder"; //
Schleuse_Vor_Einfahrt_MPS2 : "MZylinder"; //
Weiche_Einfahrt_MPS2 : "MZylinder"; //
Schleuse_Vorstau_MPS2 : "MZylinder";
Weiche_zu_Platz1_MPS2 : "MZylinder"; //
Weiche_zu_Platz2_MPS2 : "MZylinder";
Schleuse_Platz1_MPS2 : "MZylinder";
Schleuse_Platz2_MPS2 : "MZylinder";
Schleuse_Platz3_MPS2 : "MZylinder";
Weiche_von_Platz1_MPS2 : "MZylinder"; //
Weiche_von_Platz2_MPS2 : "MZylinder";
Schleuse_Ausfahrt_MPS2 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_MPS2 : "MZylinder"; //
Weiche_Ausfahrt_MPS2 : "MZylinder"; //
Schleuse_Vor_Einfahrt_MPS1 : "MZylinder"; //
Weiche_Einfahrt_MPS1 : "MZylinder"; //
Schleuse_Vorstau_MPS1 : "MZylinder";
Weiche_zu_Platz1_MPS1 : "MZylinder"; //
Weiche_zu_Platz2_MPS1 : "MZylinder";
Schleuse_Platz1_MPS1 : "MZylinder";
Schleuse_Platz2_MPS1 : "MZylinder";
Schleuse_Platz3_MPS1 : "MZylinder";
Weiche_von_Platz1_MPS1 : "MZylinder"; //
Weiche_von_Platz2_MPS1 : "MZylinder";
Schleuse_Ausfahrt_MPS1 : "MZylinder"; //
Schleuse_Vor_Ausfahrt_MPS1 : "MZylinder"; //
Weiche_Ausfahrt_MPS1 : "MZylinder"; //
Schleuse_3540 : "MZylinder"; //
Schleuse_3543 : "MZylinder"; //
END_VAR
VAR_TEMP
Auto : Bool; // Automatik ist aktiv
Hand : Bool; // Hand ist aktiv
ZylAst : Bool; // Zylinder ansteuern
END_VAR
BEGIN
REGION Übergabe des Bereichstatus System UH06 / A01
#Auto := #DAMR_Bereich.A01_UH06.Automatik;
IF #DAMR_Bereich.A01_UH06.BereichErr THEN GOTO Next; END_IF;
END_REGION
REGION Schleuse_3456
#Schleuse_3456(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3456);
END_REGION
REGION Schleuse_3481
#Schleuse_3481(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3481);
END_REGION
REGION Weiche_3482
#Weiche_3482(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3482);
END_REGION
REGION Weiche_3361
#Weiche_3361(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3361);
END_REGION
REGION Schleuse_3487
#Schleuse_3487(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3487);
END_REGION
REGION Schleuse_vor_Einfahrt_PS5
#Schleuse_Vor_Einfahrt_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3241);
END_REGION
REGION Weiche_zu_PS5
#Weiche_Einfahrt_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3242);
END_REGION
REGION Schleuse_Vorstau_PS5
#Schleuse_Vorstau_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3243);
END_REGION
REGION Weiche_PS5_zu_Platz1
#Weiche_zu_Platz1_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3244);
END_REGION
REGION Weiche_PS5_zu_Platz2
#Weiche_zu_Platz2_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3250);
END_REGION
REGION Schleuse_PS5_Platz1
#Schleuse_Platz1_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3245);
END_REGION
REGION Schleuse_PS5_Platz2
#Schleuse_Platz2_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3251);
END_REGION
REGION Schleuse_PS5_Platz3
#Schleuse_Platz3_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3255);
END_REGION
REGION Weiche_PS5_von_Platz1
#Weiche_von_Platz1_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3260);
END_REGION
REGION Weiche_PS5_von_Platz2
#Weiche_von_Platz2_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3256);
END_REGION
REGION Schleuse_PS5_raus
#Schleuse_Ausfahrt_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3262);
END_REGION
REGION Schleuse_vor_Ausfahrt_PS5
#Schleuse_Vor_Ausfahrt_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3265);
END_REGION
REGION Weiche_von_PS5
#Weiche_Ausfahrt_PS5(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3263);
END_REGION
REGION Schleuse_vor_Einfahrt_PS4
#Schleuse_Vor_Einfahrt_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3271);
END_REGION
REGION Weiche_zu_PS4
#Weiche_Einfahrt_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3272);
END_REGION
REGION Schleuse_Vorstau_PS4
#Schleuse_Vorstau_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3273);
END_REGION
REGION Weiche_PS4_zu_Platz1
#Weiche_zu_Platz1_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3274);
END_REGION
REGION Weiche_PS4_zu_Platz2
#Weiche_zu_Platz2_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3280);
END_REGION
REGION Schleuse_PS4_Platz1
#Schleuse_Platz1_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3275);
END_REGION
REGION Schleuse_PS4_Platz2
#Schleuse_Platz2_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3281);
END_REGION
REGION Schleuse_PS4_Platz3
#Schleuse_Platz3_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3285);
END_REGION
REGION Weiche_PS4_von_Platz1
#Weiche_von_Platz1_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3290);
END_REGION
REGION Weiche_PS4_von_Platz2
#Weiche_von_Platz2_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3286);
END_REGION
REGION Schleuse_PS4_raus
#Schleuse_Ausfahrt_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3291);
END_REGION
REGION Weiche_von_PS4
#Weiche_Ausfahrt_PS4(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3292);
END_REGION
REGION Schleuse_vor_Einfahrt_PS3
#Schleuse_Vor_Einfahrt_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3293);
END_REGION
REGION Weiche_zu_PS3
#Weiche_Einfahrt_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3302);
END_REGION
REGION Schleuse_Vorstau_PS3
#Schleuse_Vorstau_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3303);
END_REGION
REGION Weiche_PS3_zu_Platz1
#Weiche_zu_Platz1_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3304);
END_REGION
REGION Weiche_PS3_zu_Platz2
#Weiche_zu_Platz2_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3310);
END_REGION
REGION Schleuse_PS3_Platz1
#Schleuse_Platz1_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3305);
END_REGION
REGION Schleuse_PS3_Platz2
#Schleuse_Platz2_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3311);
END_REGION
REGION Schleuse_PS3_Platz3
#Schleuse_Platz3_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3315);
END_REGION
REGION Weiche_PS3_von_Platz1
#Weiche_von_Platz1_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3320);
END_REGION
REGION Weiche_PS3_von_Platz2
#Weiche_von_Platz2_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3316);
END_REGION
REGION Schleuse_PS3_raus
#Schleuse_Ausfahrt_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3321);
END_REGION
REGION Schleuse_vor_Ausfahrt_PS3
#Schleuse_Vor_Ausfahrt_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3323);
END_REGION
REGION Weiche_von_PS3
#Weiche_Ausfahrt_PS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3322);
END_REGION
REGION Schleuse_vor_Einfahrt_PS2
#Schleuse_Vor_Einfahrt_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3331);
END_REGION
REGION Weiche_zu_PS2
#Weiche_Einfahrt_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3332);
END_REGION
REGION Schleuse_Vorstau_PS2
#Schleuse_Vorstau_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3333);
END_REGION
REGION Weiche_PS2_zu_Platz1
#Weiche_zu_Platz1_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3334);
END_REGION
REGION Weiche_PS2_zu_Platz2
#Weiche_zu_Platz2_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3340);
END_REGION
REGION Schleuse_PS2_Platz1
#Schleuse_Platz1_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3335);
END_REGION
REGION Schleuse_PS2_Platz2
#Schleuse_Platz2_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3341);
END_REGION
REGION Schleuse_PS2_Platz3
#Schleuse_Platz3_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3345);
END_REGION
REGION Weiche_PS2_von_Platz1
#Weiche_von_Platz1_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3350);
END_REGION
REGION Weiche_PS2_von_Platz2
#Weiche_von_Platz2_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3346);
END_REGION
REGION Schleuse_PS2_raus
#Schleuse_Ausfahrt_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3351);
END_REGION
REGION Weiche_von_PS2
#Weiche_Ausfahrt_PS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3352);
END_REGION
REGION Schleuse_vor_Einfahrt_PS1
#Schleuse_Vor_Einfahrt_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3353);
END_REGION
REGION Weiche_zu_PS1
#Weiche_Einfahrt_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3362);
END_REGION
REGION Schleuse_Vorstau_PS1
#Schleuse_Vorstau_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3363);
END_REGION
REGION Weiche_PS1_zu_Platz1
#Weiche_zu_Platz1_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3364);
END_REGION
REGION Weiche_PS1_zu_Platz2
#Weiche_zu_Platz2_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3370);
END_REGION
REGION Schleuse_PS1_Platz1
#Schleuse_Platz1_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3365);
END_REGION
REGION Schleuse_PS1_Platz2
#Schleuse_Platz2_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3371);
END_REGION
REGION Schleuse_PS1_Platz3
#Schleuse_Platz3_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3375);
END_REGION
REGION Weiche_PS1_von_Platz1
#Weiche_von_Platz1_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3380);
END_REGION
REGION Weiche_PS1_von_Platz2
#Weiche_von_Platz2_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3376);
END_REGION
REGION Schleuse_PS1_raus
#Schleuse_Ausfahrt_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3381);
END_REGION
REGION Schleuse_vor_Ausfahrt_PS1
#Schleuse_Vor_Ausfahrt_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3383);
END_REGION
REGION Weiche_von_PS1
#Weiche_Ausfahrt_PS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3382);
END_REGION
REGION Schleuse_vor_Einfahrt_MPS3
#Schleuse_Vor_Einfahrt_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3390);
END_REGION
REGION Weiche_zu_MPS3
#Weiche_Einfahrt_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3392);
END_REGION
REGION Schleuse_Vorstau_MPS3
#Schleuse_Vorstau_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3393);
END_REGION
REGION Weiche_MPS3_zu_Platz1
#Weiche_zu_Platz1_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3394);
END_REGION
REGION Weiche_MPS3_zu_Platz2
#Weiche_zu_Platz2_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3400);
END_REGION
REGION Schleuse_MPS3_Platz1
#Schleuse_Platz1_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3395);
END_REGION
REGION Schleuse_MPS3_Platz2
#Schleuse_Platz2_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3401);
END_REGION
REGION Schleuse_MPS3_Platz3
#Schleuse_Platz3_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3405);
END_REGION
REGION Weiche_MPS3_von_Platz1
#Weiche_von_Platz1_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3410);
END_REGION
REGION Weiche_MPS3_von_Platz2
#Weiche_von_Platz2_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3406);
END_REGION
REGION Schleuse_MPS3_raus
#Schleuse_Ausfahrt_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3411);
END_REGION
REGION Schleuse_vor_Ausfahrt_MPS3
#Schleuse_Vor_Ausfahrt_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3413);
END_REGION
REGION Weiche_von_MPS3
#Weiche_Ausfahrt_MPS3(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3412);
END_REGION
REGION Schleuse_vor_Einfahrt_MPS2
#Schleuse_Vor_Einfahrt_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3421);
END_REGION
REGION Weiche_zu_MPS2
#Weiche_Einfahrt_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3422);
END_REGION
REGION Schleuse_Vorstau_MPS2
#Schleuse_Vorstau_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3423);
END_REGION
REGION Weiche_MPS2_zu_Platz1
#Weiche_zu_Platz1_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3424);
END_REGION
REGION Weiche_MPS2_zu_Platz2
#Weiche_zu_Platz2_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3430);
END_REGION
REGION Schleuse_MPS2_Platz1
#Schleuse_Platz1_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3425);
END_REGION
REGION Schleuse_MPS2_Platz2
#Schleuse_Platz2_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3431);
END_REGION
REGION Schleuse_MPS2_Platz3
#Schleuse_Platz3_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3435);
END_REGION
REGION Weiche_MPS2_von_Platz1
#Weiche_von_Platz1_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3440);
END_REGION
REGION Weiche_MPS2_von_Platz2
#Weiche_von_Platz2_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3436);
END_REGION
REGION Schleuse_MPS2_raus
#Schleuse_Ausfahrt_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3441);
END_REGION
REGION Schleuse_vor_Ausfahrt_MPS2
#Schleuse_Vor_Ausfahrt_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3443);
END_REGION
REGION Weiche_von_MPS2
#Weiche_Ausfahrt_MPS2(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3442);
END_REGION
REGION Schleuse_vor_Einfahrt_MPS1
#Schleuse_Vor_Einfahrt_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3450);
END_REGION
REGION Weiche_zu_MPS1
#Weiche_Einfahrt_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3452);
END_REGION
REGION Schleuse_Vorstau_MPS1
#Schleuse_Vorstau_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3453);
END_REGION
REGION Weiche_MPS1_zu_Platz1
#Weiche_zu_Platz1_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3454);
END_REGION
REGION Weiche_MPS1_zu_Platz2
#Weiche_zu_Platz2_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3460);
END_REGION
REGION Schleuse_MPS1_Platz1
#Schleuse_Platz1_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3455);
END_REGION
REGION Schleuse_MPS1_Platz2
#Schleuse_Platz2_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3461);
END_REGION
REGION Schleuse_MPS1_Platz3
#Schleuse_Platz3_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3465);
END_REGION
REGION Weiche_MPS1_von_Platz1
#Weiche_von_Platz1_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3470);
END_REGION
REGION Weiche_MPS1_von_Platz2
#Weiche_von_Platz2_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3466);
END_REGION
REGION Schleuse_MPS1_raus
#Schleuse_Ausfahrt_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3471);
END_REGION
REGION Schleuse_vor_Ausfahrt_MPS1
#Schleuse_Vor_Ausfahrt_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3473);
END_REGION
REGION Weiche_von_MPS1
#Weiche_Ausfahrt_MPS1(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3472);
END_REGION
REGION Schleuse_3456
#Schleuse_3540(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3540);
END_REGION
REGION Schleuse_3543
#Schleuse_3543(Automatik := #Auto, Handbetrieb := FALSE, T_Ast := 0, T_Gst := 5, ZylAst := #MB3543);
END_REGION
REGION Ende
RETURN;
END_REGION
END_FUNCTION_BLOCK