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 />

API Mnemónico Operandos Función<br />

14<br />

3-62<br />

D CML P Complemento<br />

Controladores<br />

ES2/EX2 SS2 EX2 SX2<br />

Tipo<br />

OP<br />

Dispositivos<br />

<strong>de</strong> bit<br />

X Y M S<br />

Dispositivos <strong>de</strong> palabra<br />

K H KnX KnY KnM KnS T C D E F<br />

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

CML, CMLP:<br />

S * * * * * * * * * * *<br />

5 escalones<br />

D * * * * * * * * DCML, DCMLP:<br />

9 escalones<br />

Operandos:<br />

S: Fuente <strong>de</strong> datos D: Dispositivo <strong>de</strong> <strong>de</strong>stino<br />

PULSE 16 bits 32 bits<br />

ES2/EX2 SS2 SA2 SX2 ES2/EX2 SS2 SA2 SX2 ES2/EX2 SS2 SA2 SX2<br />

Explicaciones:<br />

1. La instrucción revierte el patrón <strong>de</strong> bit (0→1, 1→0) <strong>de</strong> todo el contenido en S y envía el<br />

contenido a D.<br />

2. Si los operandos S y D usan un registro índice F, solo la instrucción <strong>de</strong> 16 bits es aplicable.<br />

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

Cuando X10 = ON, b0 ~ b3 en D1 se invertirá y se enviará a Y0 ~ Y3<br />

X20<br />

b15<br />

CML D1 K1Y0<br />

D1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0<br />

Bit <strong>de</strong> símbolo (0=positivo, 1=negativo)<br />

b3<br />

b2<br />

b1<br />

b0<br />

0 1 0 1<br />

Sin variación Transferir datos

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

Saved successfully!

Ooh no, something went wrong!