12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

plc basic functions - 15.19<br />

the high limit then the function is only true for test values outside the range. The masked<br />

equal will compare the bits of two numbers, but only those bits that are true in the mask.<br />

LIM<br />

low limit N7:0<br />

test value N7:1<br />

high limit N7:2<br />

N7:5/0<br />

LIM<br />

low limit N7:2<br />

test value N7:1<br />

high limit N7:0<br />

N7:5/1<br />

LIM<br />

low limit N7:2<br />

test value N7:3<br />

high limit N7:0<br />

N7:5/2<br />

MEQ<br />

source N7:0<br />

mask N7:1<br />

compare N7:2<br />

N7:5/3<br />

MEQ<br />

source N7:0<br />

mask N7:1<br />

compare N7:4<br />

N7:5/4<br />

Addr.<br />

before (decimal)<br />

before (binary)<br />

after (binary)<br />

N7:0<br />

N7:1<br />

N7:2<br />

N7:3<br />

N7:4<br />

N7:5<br />

1<br />

5<br />

11<br />

15<br />

0<br />

0000000000000001<br />

0000000000000101<br />

0000000000001011<br />

0000000000001111<br />

0000000000001000<br />

0000000000000000<br />

0000000000000001<br />

0000000000000101<br />

0000000000001011<br />

0000000000001111<br />

0000000000001000<br />

0000000000001101<br />

Figure 15.19<br />

Complex Comparison Functions

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

Saved successfully!

Ooh no, something went wrong!