![Cebekit UCPIC-6 Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/cebekit/ucpic-6/ucpic-6_manual_2577419005.webp)
UCPIC-6
5
PRACTICE 4
Put switch S4 in position to load the program record, finishing work put position.
In practice, if you press the button output is activated and so on. When all outputs are and we press the button again,
they will turn off at once.
Mettez l'interrupteur S4 en position pour charger l'enregistrement du programme, la finition position de travail de vente.
Dans la pratique, si vous appuyez sur la sortie du bouton est activé et ainsi de suite. Lorsque toutes les sorties sont et
nous appuyer à nouveau sur le bouton, ils éteignent à la fois.
Poner conmutador S4 en posición grabar para cargar el programa, al terminar poner posición trabajo .
En esta práctica, si pulsamos el pulsador se activa una salida y así sucesivamente. Cuando estén todas las salidas
activadas y pulsemos de nuevo el pulsador, se desactivarán a la vez.
main:
if pin3=1 then condicion_1
if pin3=0 then main
condicion_1:
high 0
pause 200
if pin3=1 then condicion_2
if pin3=0 then condicion_1
condicion_2:
high 4
pause 200
if pin3=1 then condicion_3
if pin3=0 then condicion_2
Condicion_3:
high 1
pause 200
if pin3=1 then condicion_4
if pin3=0 then condicion_3
condicion_4:
high 2
pause 200
if pin3=1 then apagar
if pin3=0 then condicion_4
apagar:
low 2
low 1
low 4
low 0
pause 200
goto main
Pause instruction 200, it is to avoid unsuccessful pulses
Pause instruction 200, il est d'éviter des impulsions infructueuses
Instrucción pause 200 , es para evitar pulsos fallidos