beautypg.com

Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 382

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

E–32

| | Last timeout value | |
| | storage register | |
| | +MOV–––––––––––––––+ | |
| |–––––––––––––––––––––––––––––––––+MOVE +––––––+ |
| | |Source C5:0.ACC| | |
| | | 0| | |
| | |Dest N7:0| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | Determine 1 second | |
| | count. ie: # of | |
| | rate periods | |
| | +DIV–––––––––––––––+ | |
| |–––––––––––––––––––––––––––––––––+DIVIDE +––––––+ |
| | |Source A 100| | |
| | | | | |
| | |Source B T4:0.PRE| | |
| | | 10| | |
| | |Dest C5:1.PRE| | |
| | | 10| | |
| | +––––––––––––––––––+ | |
| | Frequency | |
| | determination | |
| | counter | |
| | +CTU–––––––––––––––+ | |
| |–––––––––––––––––––––––––––––––––+COUNT UP +–(CU)–+ |
| | |Counter C5:1+–(DN) | |
| | |Preset 10| | |
| | |Accum 0| | |
| | +––––––––––––––––––+ | |
| | Frequency | |
| | calculation | |
| | register | |
| | +ADD–––––––––––––––+ | |
| |–––––––––––––––––––––––––––––––––+ADD +––––––+ |
| | |Source A N7:1| | |
| | | 0| | |
| | |Source B N7:3| | |
| | | 0| | |
| | |Dest N7:3| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | 1 second Frequency | |
| | has now in Hertz | |
| | elapsed | |
| | C5:1 +MOV–––––––––––––––+ | |
| +–––] [–––+––+MOVE +–+–––––––––––––––––––––––––+ |
| DN | |Source N7:3| | |
| | | 0| | |
| | |Dest N7:4| | |
| | | 0| | |
| | +––––––––––––––––––+ | |