batch-example-2/plc/phases/original/ta521/liq_add.md

1.0 KiB

implemented in DK PLC

program file 21

aborting

RQ Q01 Q02 F
0
10 complete

holding

RQ Q01 Q02 F
0 if 21 <= SB <= 29 set it to 20
10 complete

stopping

RQ Q01 Q02 F
0
10 2000 upload reports
20 complete

restarting

just complete

running

RQ Q01 Q02 F
0 1206 download last ing
5 if last ing goto 50 else 1105,1,1
10 1 hold at start (if required)
20 take tare & compute target 1
21 wait for first part complete
22 compute target 2
23 wait for second part complete
24 goto 20 or 30
30 2 hold at end (if required)
40 2000 upload reports