I have written one program with FDB. Thought I could therefor write code for an automation direct DL-06. Huge learning curve. I believe I have written the most of it but am now struggling with writing a date time trigger function and am unsure if I have the analogue even partially right. I understand how to import program txt.
Heres the scenario. Lead lag pumps. Every day time delay pumps till 10pm-5am. Unless 3’ LLS Echo is triggered. Then pumps down to 2’. High level Echo sensor triggers both pumps till 4’ then lead pump pumps till 2’. And then switching lead lag.
Heres the txt of the program thus far.
0 HILOAL TA0 TA3 C3 TA2 C2 TA1 C1 TA0
63 STR C1
64 ONESHOT C4
74 STR C4
75 OR C5
76 STRN C4
77 ORN C5
78 ANDSTR
79 OUT C5
80 STRN C5
81 OR X0
82 OR C3
83 OR C2
84 AND C1
85 AND C0
86 OUT Y0
87 STR C5
88 OR X1
89 OR C3
90 OR C2
91 AND C1
92 AND C0
93 OUT Y1
94 ANLGIN K0 K1 K1 K0 V400
132 STR C4
133 TIME TA20
135 LDD TA0
136 OUTD TA1
Heres the scenario. Lead lag pumps. Every day time delay pumps till 10pm-5am. Unless 3’ LLS Echo is triggered. Then pumps down to 2’. High level Echo sensor triggers both pumps till 4’ then lead pump pumps till 2’. And then switching lead lag.
Heres the txt of the program thus far.
0 HILOAL TA0 TA3 C3 TA2 C2 TA1 C1 TA0
63 STR C1
64 ONESHOT C4
74 STR C4
75 OR C5
76 STRN C4
77 ORN C5
78 ANDSTR
79 OUT C5
80 STRN C5
81 OR X0
82 OR C3
83 OR C2
84 AND C1
85 AND C0
86 OUT Y0
87 STR C5
88 OR X1
89 OR C3
90 OR C2
91 AND C1
92 AND C0
93 OUT Y1
94 ANLGIN K0 K1 K1 K0 V400
132 STR C4
133 TIME TA20
135 LDD TA0
136 OUTD TA1
Last edited: