![Campbell COM110 Скачать руководство пользователя страница 55](http://html1.mh-extra.com/html/campbell/com110/com110_user-manual_489309055.webp)
Appendix B. Controlling the COM110 Power Supply
B-3
'First send the +++ sequence to get the modem in command mode - in case online
SerialOut (Modemport,"+++","OK"+CHR(13),1,150)
SerialOut (Modemport,"AT+CFUN=0"+CHR(13),"OK"+CHR(13),1,300)
`Delay to allow deregistration
delay (1,2,sec)
SerialClose(Modemport)
'Set port 1 to 0 (LOW) (use writeio as in slowsequence)
WriteIO (&B00000001,0)
timetogooff=false
EndIf
'--------------------------------------------------------------------
NextScan
EndProg