The Message Parser - transitions from state OPCN

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

Table 2

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/lnmonsn.htm | creation 970107 | version 980108 ]
1