beautypg.com

Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 176

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

9–28

Data Handling Instructions in the Paper Drilling Machine
Application Example

This section provides ladder rungs to demonstrate the use of data handling
instructions. The rungs are part of the paper drilling machine application example
described in appendix E. You will be adding to the subroutine in file 7 that was
started in chapter 7.

Rung 7:2

Moves the single digit BCD thumbwheel value into an internal integer
register. This is done to properly align the four BCD input signals
prior to executing the BCD to Integer instruction (FRD). The
thumbwheel is used to allow the operator to enter the thickness of the
paper that is to be drilled. The thickness is entered in 1/4 in.
increments. This provides a range of 1/4 in. to 2.25 in.

| BCD bit 0 |FRD bit 0 |
| I:0 N7:14 |
|––––––––––––––––––––––––––––––––––––––––––+––––] [––––––––( )–––––+–|
| | 11 0 | |
| | BCD bit 1 |FRD bit 1 | |
| | I:0 N7:14 | |
| +––––] [––––––––( )–––––+ |
| | 12 1 | |
| | BCD bit 2 |FRD bit 2 | |
| | I:0 N7:14 | |
| +––––] [––––––––( )–––––+ |
| | 13 2 | |
| | BCD bit 3 |FRD bit 3 | |
| | I:0 N7:14 | |
| +––––] [––––––––( )–––––+ |
| 14 3 |