24.04.2013 Views

Conceptos de PLC

Conceptos de PLC

Conceptos de PLC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Manual <strong>de</strong> operación <strong>de</strong> DVP-ES2/EX2/SS2/SA2/SX2 - Programación<br />

Ejemplo <strong>de</strong> programa:<br />

Diagrama <strong>de</strong> escalera: Código <strong>de</strong><br />

instrucción:<br />

Indicador <strong>de</strong><br />

programa <strong>de</strong><br />

interrupción<br />

3-12<br />

I 001<br />

X1<br />

X2<br />

EI<br />

Y1<br />

DI<br />

FEND<br />

Y2<br />

IRET<br />

Rango permisible<br />

<strong>de</strong> interrupción<br />

Subrutina <strong>de</strong><br />

interrupción<br />

Operación:<br />

EI Habilitar interrupción<br />

LD X1 Cargar contacto NO<br />

X1<br />

OUT<br />

:<br />

Y1 Activar bobina Y1<br />

DI<br />

:<br />

Deshabilitar<br />

interrupción<br />

FEND El programa principal<br />

finaliza<br />

I001 Indicador <strong>de</strong><br />

interrupción<br />

LD X2 Cargar contacto NO<br />

X2<br />

OUT<br />

:<br />

Y2 Activar bobina Y2<br />

IRET Retorno <strong>de</strong><br />

interrupción<br />

Interrupción externa:<br />

ES2 es compatible con 8 interrupciones externas <strong>de</strong> entrada: (I000/I001, X0), (I100/I101, X1),<br />

(I200/I201, X2), (I300/I301, X3), (I400/I401, X4), (I500/I501, X5), (I600/I601, X6) y (I700/I701, X7).<br />

(01, disparador <strong>de</strong> flanco ascen<strong>de</strong>nte , 00, disparador <strong>de</strong> flanco <strong>de</strong>scen<strong>de</strong>nte )<br />

Interrupciones <strong>de</strong> temporizador:<br />

ES2 compatible con 2 interrupciones <strong>de</strong> temporizador: I602~I699, I702~I799, (resolución <strong>de</strong><br />

temporizador: 1ms)<br />

Interrupciones <strong>de</strong> comunicación:<br />

ES2 compatible con 3 interrupciones <strong>de</strong> comunicación: I140, I150 y I160.<br />

Interrupciones <strong>de</strong> contador:<br />

ES2 compatible con 8 interrupciones <strong>de</strong> contador <strong>de</strong> alta velocidad: I010, I020, I030, I040, I050,<br />

I060, I070 y I080.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!