ࡱ>  Root Entry:ozMAIN b  !"#$%&'()*+,-./012345678916F88, RSFlowlineMainXXK RSStartStopCmdMain RSLoopCmd Main Loop1MainXXMainRSMacroCallCmd Receive Byte BB_RS232_RxIn RSDecisionCmdDecisionIn < 255MainXXMainMainMainXXMain RSOutputCmdDisplay communicationsInMainMainMain BB_RS232_RxXXK[ Intimeout BB_RS232_RxRSCalculationCmd#Initialise Timeout and return value Calculation0BB_RS232_Rx.timeout0BB_RS232_Rx.Return RSInputCmdRead Input PinBB_RS232_Rx.InWait For Start BitBB_RS232_Rx.In = 1 BB_RS232_RxXX BB_RS232_RxRefresh Input PinBB_RS232_Rx.InIncrement timeoutBB_RS232_Rx.timeout + 1BB_RS232_Rx.timeout If timeout occurredBB_RS232_Rx.timeout = 255 BB_RS232_RxXX BB_RS232_Rx BB_RS232_Rx BB_RS232_RxXX BB_RS232_RxReturn value 255255BB_RS232_Rx.Return RSConPtCmdGoto Connection Point BB_RS232_Rx BB_RS232_Rx RSDelayCmdWait for a bit and a half delay3 Collect Byte1 BB_RS232_RxXX BB_RS232_RxShift the return valueBB_RS232_Rx.Return >> 1BB_RS232_Rx.ReturnRead Input PinBB_RS232_Rx.In Is input pin setBB_RS232_Rx.In BB_RS232_RxXX BB_RS232_Rx BB_RS232_Rx BB_RS232_RxXX BB_RS232_RxAdd a bit to the return valueBB_RS232_Rx.Return | 0x80BB_RS232_Rx.Return BB_RS232_Rx,Wait for a bit delay2 BB_RS232_Rx(Connection Point BB_RS232_RxINVariableIn