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 advanced functions - 16.9<br />

A<br />

SQL<br />

File #N7:20<br />

Source I:001<br />

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

Length 9<br />

Position 0<br />

B<br />

C<br />

SQI<br />

File #N7:20<br />

Mask 0005<br />

Source I:002<br />

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

Length 9<br />

Position 0<br />

GT<br />

SourceA R6:2.POS<br />

SourceB 9<br />

ADD<br />

SourceA R6:2.POS<br />

SourceB 1<br />

Dest R6:2.POS<br />

MOV<br />

Source 1<br />

Dest R6:2.POS<br />

B3/10<br />

Figure 16.9<br />

Sequencer Instruction Examples<br />

These instructions are well suited to processes with a single flow of execution,<br />

such as traffic lights.<br />

16.3 PROGRAM CONTROL<br />

16.3.1 Branching <strong>and</strong> Looping<br />

These functions allow parts of ladder logic programs to be included or excluded<br />

from each program scan. These functions are similar to functions in other programming<br />

languages such as C, C++, Java, Pascal, etc.<br />

Entire sections of programs can be bypassed using the JMP instruction in Figure

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

Saved successfully!

Ooh no, something went wrong!