Ladder rung – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 165

Advertising
background image

Chapter 9
Using Comparison Instructions

9–14

Ladder Rung

Rung 7:0

Examines the number of 1/4 in. thousands that have accumulated over the
life of the current drill bit. If the bit has drilled between
100,000–101,999 1/4 in. increments of paper, the ”change drill” light
illuminates steadily. When the value is between 102,000–103,999, the
”change drill” light flashes at a 1.28 second rate. When the value
reaches 105,000, the ”change drill” light flashes, and the ”change drill
now” light illuminates.

| 1/4 in. 100,000 |
| Thousands 1/4 in. |
| increments |
| have |
| occurred |
| +GEQ–––––––––––––––+ B3 |
|–––+–+GRTR THAN OR EQUAL+––––––––––––––––––––––––––––––––––( )–––––+–|
| | |Source A N7:11| 16 | |
| | | 0| | |
| | |Source B 100| | |
| | | | | |
| | +––––––––––––––––––+ | |
| | 1/4 in. 102,000 | |
| | Thousands 1/4 in. | |
| | increments | |
| | have | |
| | occurred | |
| | +GEQ–––––––––––––––+ B3 | |
| +–+GRTR THAN OR EQUAL+––––––––––––––––––––––––––––––––––( )–––––+ |
| | |Source A N7:11| 17 | |
| | | 0| | |
| | |Source B 102| | |
| | | | | |
| | +––––––––––––––––––+ | |
| | 1/4 in. change | |
| | Thousands drill bit | |
| | NOW | |
| | +GEQ–––––––––––––––+ O:0 | |
|

+–+GRTR THAN OR EQUAL+––––––––––––––––––––––––––––––––––( )–––––+ |

| | |Source A N7:11| 6 | |
| | | 0| | |
| | |Source B 105| | |
| | | | | |
| | +––––––––––––––––––+ | |
| | 100,000 |102,000 change | |
| | 1/4 in. |1/4 in. drill | |
| | increments|increments bit | |
| | have |have soon | |
| | occurred |occurred | |
| | B3 B3 O:0 | |
| +–+––––––––––––––––––––] [––––––––]/[––––––––––––––––+––( )–––––+ |
| | 16 17 | 4 |
| | 100,000 |102,000 |1.28 | |
| | 1/4 in. |1/4 in. |second | |
| | increments|increments|free | |
| | have |have |running | |
| | occurred |occurred |clock bit | |
| | B3 B3 S:4 | |
| +––––––––––––––––––––] [––––––––] [––––––––] [–––––+ |
| 16 17 7 |

➀ More rungs are added to this subroutine at the end of chapters 10 and 11.

➁ This branch accesses I/O only available with 32 I/O controllers. Therefore, do not include this branch if you

are using a 16 I/O controller.

Advertising