.comment .comment File: BYEBRK.RNO .comment .comment Description: .comment .comment .comment .comment .comment .comment .comment .comment .comment Author: Rick Webster .comment MSDGO, Factory Automation Systems .comment Caterpillar Tractor Co. .comment .comment Date: April 24, 1986 .comment .comment Modified: .comment .PS 60,71 .LM 0 .NHD .OD; .HEADER .SUBTITLE BYEBRK - Send BREAK to Micom port .HL 1 BYEBRK - Send BREAK to Micom port .X BYEBRK - Send BREAK to Micom port .lm +5 .P 0 BYEBRK and CSRFND are programs which can be used to implement an automatic disconnect from a Micom port selector on logout. Both programs must be installed. ...BYB is the task name for BYEBRK. If BYB is executed from a system logout command file (ie. LB:[1,2]SYSLOGOUT.CMD) it will do a connect to BYE and wait for BYE to complete and then request that CSRFND send a BREAK to the port on which it is running. The following sample SYSLOGOUT.CMD can be used: .lit .ENABLE SUBSTITUTION .DISABLE DISPLAY .ENABLE QUIET .TESTFILE TI: .PARSE ":" DEV DUM .IF DEV NE "TT0" .GOTO NOTTT0 .EXIT .NOTTT0: DMO /USER .TEST DEV "VT" .IF NE 0 .EXIT .XQT BYB ! Break off of Micom port .eli A port parameter table must be selected for the Micom port which will cause a disconnect with a single BREAK. On our system the parameter table is PT04. For example, the following command entered to the Micom command port will set ports 121 through 240 to the desired parameter table: .lit SET P121 P240 PT04 .eli Note that this is the case for Micom Micro600 port selectors. I don't know what the equivalent command would be for Micro6000's. .lm -5