4–11Write Ladder Logic
Publication
65566.5.1 - October 1996
Figure 4.10
Example
of the Command for Press in Motion B151/12
Use the press in motion command to detect shaft motion
with a resolver module in slot zero (at address I:000).
|
Store Resolver |
| Input Angle |
| +–MOV––––––––––––––––– + |
+––––––––––––––––––––––––––––––––+ MOVE +––|
| | Source I:000 | |
| | 349 | |
| | Dest N155:0 | |
| | 349 | |
| +––––––––––––––––––––––+ |
| Motion Detect |
| Time Delay |
| +–TON––––––––––––––––––––+ |
+––––––––––––––––––––––––––+ TIMER ON DELAY +–(EN)–+
| | Timer T157:0 | |
| | Time Base 0.01 +–(DN)–+
| | Preset 10 | |
| | Accum 06 | |
| +––––––––––––––––––––––––+ |
| |
| Time to |
| Check Current vs old Press In |
| Slide Angle Angle Motion |
| T157:0 +NEQ–––––––––––––––+ B151 |
+–+–––] [––––––––+NOT EQUAL ++–––––––+–––( )––––+–+
| | DN | Source A N155:0 || | 12 | |
| | | 349 || | Motion | |
| | | Source B N155:1 || | Detect to | |
| | | 349 || | Other | |
| | +––––––––––––––––––+| | Processor | |
| | Motion | | O:027 | |
| | Time to Detect to | +–––] [–––––+ |
| | Check Other | 00 |
| | Slide Angle Processor | |
| | T157:0 O:027 | |
| +––––]/[–––––––––] [–––––––––––––––+ |
| DN 00 |
| |
| Time to |
| Check Motion Detect|
| Slide Angle Time Delay |
| T157:0 T157:0 |
+––––] [–––––––––––––––––––––––+––––––––––––––––––(RES)––+–+
| DN | Save Current | |
| | To Old Angle | |
| | + MOV––––––––––––––––––+| |
| +–+ MOVE ++ |
| | Source N155:0 | |
| | 349 | |
| | Dest N155:1 | |
| | 349 | |
| +––––––––––––––––––––––+ |