xiv C H A P T E R 12 PLC Subroutine Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240 12.1 Subroutine Concept .........................................................................242 12.2 Jump to Subroutine .........................................................................243 12.3 Return from Subroutine ..................................................................244 12.4 Subroutine Applications ..................................................................245 12.5 Interrupt Routines ..........................................................................248 12.6 LogixPro Simulator Example .........................................................248 C H A P T E R 13 PLC Logic and Bit Shift Instructions . . . . . . . . . . . . . . . . . . . . . .254 13.1 Logic Gate Instructions ...................................................................256 13.2 Shift Left Instruction ......................................................................259 13.3 Shift Right Instruction ....................................................................262 13.4 LogixPro Simulator Examples........................................................264 C H A P T E R 14 Data Handling Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 14.1 Move, Indexed Move, and Masked Move ........................................ 274 14.2 First-In-First-Out (FIFO) and Last-In-First-Out (LIFO) ............. 275 14.3 Copy File and Fill File Instructions ............................................... 278 14.4 Data/Unit Conversion......................................................................280 14.5 LogixPro Simulator Examples ........................................................ 281 C H A P T E R 15 Sequencer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 15.1 Sequencer Concept...........................................................................294 15.2 Sequencer Output Instruction ........................................................296 15.3 Sequencer Compare Instruction ..................................................... 301 15.4 Sequencer Load Instruction ............................................................303 15.5 Cascading Sequencers.....................................................................304 15.6 Parallel Sequencers.........................................................................305 15.7 LogixPro Simulator Examples........................................................306 12 13 14 15