Head: Program_Generator configuration file V1.0 Sheet: DCC Kunststoffspritzerei Line: - Kunststoff sp Objekt: Kunststoffspritzerei SP Line: Act Kunststoff sp 100 AnAus Außenbeleuchtung Halle V10 1 GasLights(#LED, #InCh, NEON_LIGHT1M, SINGLE_LED2D, SINGLE_LED3D) 0 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Kontrollleuchte PC (pc) V10 1 // Activation: RandomTime(40, 60){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 40, 60, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 20){NewLine}PatternT1(#LED,4,SI_LocalVar,3,0,150,0,0,60,64,85,85,85,85,21,17,85,102,86,221,93,85,17,81 ,63,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191) 1 1 1 1 0 Line: Act Kunststoff sp 28 AnAus Blaulicht (pc) V10 1 APatternT1(#LED,4,#InCh,4,0,60,0,PM_NORMAL,32,52,112,208,192,64,1,3,7,13,28) 2 C1-4 1 0 0 Line: Act Kunststoff sp // Next_LED(-1) 4 -1 0 0 0 Line: Act Kunststoff sp 805 AnAus Motor Hubwagen V10 1 Const(#LED, C2, #InCh, 0, 255) 3 C2-2 1 0 0 Line: Act Kunststoff sp 805 AnAus Motor Hubwagen V10 1 Blink2(#LED, C3, #InCh, 12 Sek, 1 Sek, 0, 255) 3 C3-3 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank (pc) V10 1 // Activation: Binary{NewLine}Bin_InCh_to_TmpVar(#InCh, 1){NewLine}PatternT1(#LED,196,SI_LocalVar,3,0,40,0,0,15 Sec,2,192,3 ,0,63,191) 4 1 1 0 0 Line: Act Kunststoff sp // Set_ColTab(Red Green Blue) {NewLine}Set_ColTab( 15, 13, 3, // ROOM_COL0{NewLine} 22, 44, 27, // ROOM_COL1{NewLine} 155, 73, 5, // ROOM_COL2{NewLine} 39, 18, 1, // ROOM_COL3{NewLine} 30, 0, 0, // ROOM_COL4{NewLine} 79, 39, 7, // ROOM_COL5{NewLine} 50, 50, 50, // GAS_LIGHT D{NewLine} 255, 255, 255, // GAS LIGHT{NewLine} 20, 20, 27, // NEON_LIGHT D{NewLine} 75, 100, 99, // *NEON_LIGHT M{NewLine} 245, 245, 255, // NEON_LIGHT{NewLine} 50, 50, 20, // ROOM_TV0 A{NewLine} 70, 70, 30, // ROOM_TV0 B{NewLine} 50, 50, 8, // ROOM_TV1 A{NewLine} 50, 50, 8, // ROOM_TV1 B{NewLine} 255, 255, 255, // SINGLE_LED{NewLine} 50, 50, 50) // SINGLE_LED D Line: Act Kunststoff sp 100 AnAus Licht in Molkerei/Spritzerei ohne Programmierung V10 1 Logic(Licht_Main, #InCh) 1 0 Line: Act Kunststoff sp 975 AnAus Licht rot in Molkerei/Spritzerei bei Z21 Prog V10 1 Logic(Licht_Z21, #InCh) 1 0 Line: Act Kunststoff sp 976 AnAus Licht blau in Molkerei/Spritzerei bei ESU Prog V10 1 Logic(Licht_ESU, #InCh) 1 0 Line: Act Kunststoff sp 977 AnAus Licht gelb in Molkerei/Spritzerei bei Zimo Prog V10 1 Logic(Licht_Zimo, #InCh) 1 0 Line: Act Kunststoff sp 978 AnAus Licht weiß in Molkerei/Spritzerei Reserve V10 1 Logic(Licht_Res, #InCh) 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp Licht_Main Licht Neonröhre V10 1 Logic(Licht_OutN, #InCh AND NOT Licht_Z21 AND NOT Licht_ESU AND NOT Licht_Zimo AND NOT Licht_Res) 1 0 Line: Act Kunststoff sp Licht_Z21 Licht Grün - Z21 V10 1 Logic(Licht_OutG, #InCh AND NOT Licht_ESU AND NOT Licht_Zimo AND NOT Licht_Res) 1 0 Line: Act Kunststoff sp Licht_ESU Licht Blau - ESU V10 1 Logic(Licht_OutB, #InCh AND NOT Licht_Z21 AND NOT Licht_Zimo AND NOT Licht_Res) 1 0 Line: Act Kunststoff sp Licht_Zimo Licht Blau - Zimo V10 1 Logic(Licht_OutY, #InCh AND NOT Licht_Z21 AND NOT Licht_ESU AND NOT Licht_Res) 1 0 Line: Act Kunststoff sp Licht_Res Licht Weiß - Reserve V10 1 Logic(Licht_OutW, #InCh AND NOT Licht_ESU AND NOT Licht_Zimo AND NOT Licht_Z21) 1 0 Line: Act Kunststoff sp Licht Rot - Fehler V10 1 Logic(Licht_OutR, Licht_Z21 AND Licht_ESU OR Licht_Z21 AND Licht_Zimo OR Licht_Z21 AND Licht_Res OR Licht_ESU AND Licht_Zimo OR Licht_ESU AND Licht_Res OR Licht_Zimo AND Licht_Res) 1 0 Line: Act Kunststoff sp Licht_OutN Licht Neonröhre V10 1 HouseT(#LED, #InCh, 6, 6, 0, 1, NEON_LIGHTM, NEON_LIGHTM, NEON_LIGHTM, NEON_LIGHTM, NEON_LIGHTM, NEON_LIGHTM) 5 6 1 0 0 Line: Act Kunststoff sp LEDs doppelt zuweisen V10 1 // Next_LED(-6) 11 -6 0 0 0 Line: Act Kunststoff sp Licht_OutG Licht Grün - Z21 V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 5 C1-1 1 1 0 Line: Act Kunststoff sp Licht_OutG V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 6 C1-1 1 1 0 Line: Act Kunststoff sp Licht_OutG V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 7 C1-1 1 1 0 Line: Act Kunststoff sp Licht_OutG V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 8 C1-1 1 1 0 Line: Act Kunststoff sp Licht_OutG V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 9 C1-1 1 1 0 Line: Act Kunststoff sp Licht_OutG V10 1 Flash(#LED, C2, #InCh, #LocInCh, 500, 500) 10 C1-1 1 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp V10 1 // Next_LED(-6) 11 -6 0 0 0 Line: Act Kunststoff sp Licht_OutB Licht Blau - ESU V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 5 C1-2 1 1 0 Line: Act Kunststoff sp Licht_OutB V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 6 C1-2 1 1 0 Line: Act Kunststoff sp Licht_OutB V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 7 C1-2 1 1 0 Line: Act Kunststoff sp Licht_OutB V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 8 C1-2 1 1 0 Line: Act Kunststoff sp Licht_OutB V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 9 C1-2 1 1 0 Line: Act Kunststoff sp Licht_OutB V10 1 Flash(#LED, C23, #InCh, #LocInCh, 500, 500) 10 C1-2 1 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp V10 1 // Next_LED(-6) 11 -6 0 0 0 Line: Act Kunststoff sp Licht_OutY Licht Gelb - Zimo V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 5 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutY V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 6 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutY V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 7 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutY V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 8 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutY V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 9 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutY V10 1 Flash(#LED, C12, #InCh, #LocInCh, 500, 500) 10 C2-3 1 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp V10 1 // Next_LED(-6) 11 -6 0 0 0 Line: Act Kunststoff sp Licht_OutW Licht Weiß - Reserve V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 5 1 1 1 0 Line: Act Kunststoff sp Licht_OutW V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 6 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutW V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 7 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutW V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 8 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutW V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 9 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutW V10 1 Flash(#LED, C_ALL, #InCh, #LocInCh, 500, 500) 10 C2-3 1 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp V10 1 // Next_LED(-6) 11 -6 0 0 0 Line: Act Kunststoff sp Licht_OutR Licht Rot - Fehler V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 5 1 1 1 0 Line: Act Kunststoff sp Licht_OutR V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 6 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutR V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 7 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutR V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 8 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutR V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 9 C2-3 1 1 0 Line: Act Kunststoff sp Licht_OutR V10 1 Flash(#LED, C1, #InCh, #LocInCh, 500, 500) 10 C2-3 1 1 0 Line: Act Kunststoff sp Line: Act Kunststoff sp 27 AnAus Signalsäule 1 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 11 1 1 1 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 2 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 12 1 1 1 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 3 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 13 1 1 1 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 4 - defekt V10 1 Blink2(#LED, C1, #InCh, 0.7 Sek, 0.02 Sek, 0, 40) 14 C1-1 1 0 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 5 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 15 1 1 1 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 6 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 16 1 1 1 0 Line: Act Kunststoff sp 27 AnAus Signalsäule 7 V10 1 // Activation: RandomTime(12 Sek, 30 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 12 Sek, 30 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 14){NewLine}PatternT14(#LED,68,SI_LocalVar,3,0,40,0,0,20,20,700,500,500,500,500,1,1,1,1,1,1,1,192,0,44,192,2,48,12,195,48,12,163,170,42 ,63,192,1,192,2,192,3,191,191,191,191,191,191,191,191,191,191) 17 1 1 1 0 Line: Act Kunststoff sp V10 1 Line: Act Kunststoff sp V10 1 Set_CandleTab(81, 100, 60, 160, 60, 72, 80, 50, 5) 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 1, 1, 2, 5, CANDLE2) 18 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 1, 1, 2, 5, CANDLE2) 19 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 1, 1, 2, 5, CANDLE2) 20 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank_defekt (pc) V10 1 PatternT2(#LED,64,#InCh,3,0,80,0,0,800,200,10) 21 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 1, 1, 2, 5, CANDLE2) 22 1 1 0 0 Line: Act Kunststoff sp Line: Act Kunststoff sp 27 AnAus Waage (pc) V10 1 // Activation: RandomTime(5 Sek, 8 Sek){NewLine}Random(#LocInCh, #InCh, RM_NORMAL, 5 Sek, 8 Sek, 1 ms, 1 ms){NewLine}New_Local_Var(){NewLine}// Attention: State 0 is used if input is disabled{NewLine}Counter(CF_ONLY_LOCALVAR | CF_RANDOM | CF_SKIP0, #LocInCh, #InCh, 0 Sec, 4){NewLine}PatternT1(#LED,0,SI_LocalVar,3,0,10,0,0,1200,64,4,65 ,63,128,0,63,128,63,128,63) 23 1 1 1 0 Line: Act Kunststoff sp V10 1 Set_CandleTab(120, 150, 60, 65, 10, 20, 80, 50, 5) 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 2, 2, 0, 0, CANDLE2, CANDLE3) 24 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 2, 2, 0, 0, CANDLE2, CANDLE3) 25 1 1 0 0 Line: Act Kunststoff sp 27 AnAus Schaltschrank V10 1 HouseT(#LED, #InCh, 2, 2, 0, 0, CANDLE2, CANDLE3) 26 1 1 0 0 Line: Act Kunststoff sp V10 1 Set_CandleTab(25, 25, 80, 100, 120, 145, 64, 50, 5) 0 0