The Message Parser - transitions from state WAIT

bv err opc next
STATE
action
F F F -
F F T -
F T F WAIT PutLineError();
F T T -
T F F WAIT m.message[len] := b; INC(len);
PutIncompleteMessage();
T F T MSG/OPCN(1) m.message[len] := b; INC(len);
expectedLen := 2/4/6(1)
T T F WAIT m.message[len] := b; INC(len);
PutIncompleteMessage();
PutLineError();
T T T

Table 1

Remarks:

  1. MSG or OPCN (depends on received b)


BACK TO LNMON
BACK TO MY HOMEPAGE


© 1998 by Martin Pischky (martin.pischky@fernuni-hagen.de)
[ http://www.geocities.com/CapeCanaveral/Lab/2459/lnmonsw.htm | creation 970107 | version 980107 ]
1