24.04.2013 Views

Conceptos de PLC

Conceptos de PLC

Conceptos de PLC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

COM3:<br />

Pue<strong>de</strong> ser usado en modo maestro o esclavo. Compatible con el formato <strong>de</strong> comunicación<br />

ASCII/RTU, velocidad <strong>de</strong> transmisión (921kbps máx.), y modificación en longitud <strong>de</strong> datos (bits <strong>de</strong><br />

datos, bits <strong>de</strong> paridad, bits <strong>de</strong> parada). D1109: COM3 (RS-485) protocolo <strong>de</strong> comunicación <strong>de</strong> <strong>PLC</strong><br />

maestro/esclavo. (b8 - b15 no se usan) Por favor consulte la tabla <strong>de</strong> abajo para configuración.<br />

b0 Longitud <strong>de</strong> datos<br />

b1<br />

b2<br />

2-68<br />

Bit <strong>de</strong> paridad<br />

Contenido<br />

11: Par<br />

b3 Bits <strong>de</strong> parada 0: 1 bit, 1: 2 bits<br />

b4<br />

b5<br />

b6<br />

b7<br />

Velocidad <strong>de</strong> transmisión<br />

0: 7 bits <strong>de</strong> datos, 1: 8 bits <strong>de</strong> datos<br />

(RTU compatible con 8 bits <strong>de</strong> datos<br />

únicamente)<br />

00: Ninguno<br />

01: Impar<br />

0001(H1): 110<br />

0010(H2): 150<br />

0011(H3): 300<br />

0100(H4): 600<br />

0101(H5): 1200<br />

0110(H6): 2400<br />

0111(H7): 4800<br />

1000(H8): 9600<br />

1001(H9): 19200<br />

1010(HA): 38400<br />

1011(HB): 57600<br />

1100(HC): 115200<br />

1101(HD):<br />

500000 (COM2 /<br />

COM3)<br />

1110(HE):<br />

31250 (COM2 /<br />

COM3)<br />

1111(HF):<br />

921000 (COM2 /<br />

COM3)<br />

b8 Seleccionar bit <strong>de</strong> inicio 0: Ninguno 1: D1124<br />

b9 Seleccionar el 1 o bit final 0: Ninguno 1: D1125<br />

b10 Seleccionar el 2 o bit final 0: Ninguno 1: D1126<br />

b11~b15 No <strong>de</strong>finido<br />

Ejemplo 1: Modificación <strong>de</strong> formato <strong>de</strong> comunicación <strong>de</strong> COM1<br />

1. Agregar las instrucciones <strong>de</strong> abajo a la parte superior <strong>de</strong>l programa para modificar el formato<br />

<strong>de</strong> comunicación <strong>de</strong> COM1. Cuando el <strong>PLC</strong> cambia <strong>de</strong> STOP a RUN, el programa <strong>de</strong>tectará<br />

si M1138 está ON en la primera exploración. Si M1138 está ON, el programa modificará la<br />

configuración <strong>de</strong> comunicación <strong>de</strong> COM1 conforme al valor establecido en D1036<br />

2. Modificar el formato <strong>de</strong> comunicación <strong>de</strong> COM1 a modo ASCII, 9600bps, 7 bits <strong>de</strong> datos,<br />

paridad par, 1 bit <strong>de</strong> parada (9600, 7, E, 1).

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

Saved successfully!

Ooh no, something went wrong!