15.2
Ablaufdiagramm: Schnelle Befehlsverarbeitung mit Schleifenzähler
yes
done
in.errorCode = 0x0000
Abb. 131: Ablaufdiagramm zur schnellen Befehlsverarbeitung mit Schleifenzähler
V05.00 | 2019/11
Start
idle:
out.commandCode := 0
out.loopCount := 0
in.loopCout <> 0
or
in.responseCode <> 0
select command:
out.commandCode :=
0x2002 LOOP_READ
initiate command:
out.loopCount :=
out.loopCount+1
(in.loopCount <> out.loopCount)
or
in.responseCode ≤ 0
busy
no
in.responseCode < 0x4000
done
in.errorCode = [0x0001...0xffff ]
new command desired?
239