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.15<br />

A<br />

FAL<br />

<strong>Control</strong> c_0<br />

length 5<br />

position 0<br />

Mode all<br />

Destination n[c_0.POS + 5]<br />

Expression n[c_0.POS] + 5<br />

array to array<br />

B<br />

FAL<br />

<strong>Control</strong> R6:1<br />

length 5<br />

position 0<br />

Mode 2<br />

Destination n[c_0.POS + 5]<br />

Expression n[0] + 5<br />

element to array<br />

array to element<br />

C<br />

FAL<br />

<strong>Control</strong> R6:2<br />

length 5<br />

position 0<br />

Mode incremental<br />

Destination n[5]<br />

Expression n[c_0.POS] + 5<br />

array to element<br />

Figure 15.14<br />

File Algebra Example<br />

15.3 LOGICAL FUNCTIONS<br />

15.3.1 Comparison of Values<br />

Comparison functions are shown in Figure 15.15. Previous function blocks were<br />

outputs, these replace input contacts. The example shows an EQU (equal) function that<br />

compares two floating point numbers. If the numbers are equal, the output bit light is true,<br />

otherwise it is false. Other types of equality functions are also listed.<br />

www.PA<strong>Control</strong>.com

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

Saved successfully!

Ooh no, something went wrong!