Rockwell Automation 1771-TCM,D17716.5.108 TEMPERATURE CONTROL MOD User Manual

Page 130

Advertising
background image

Example Ladder Logic Program

Appendix C

C-38

Wed Jun 1, 1994 Page 32
Program Listing Report PLC–5/40 File TCM Rung 45:0

Rung 45:0
The following rung will reset the BTW Error Counter (C25:1) assigned to TCM
each time a successful BTW is completed to the module.
| BTW TO |
| TCM |
| ERROR |
| COUNTER |
| C25:1 |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(RES)––––+
| |
Rung 45:1
| DOWNLOAD |
| TO TCM |
| REQUIRED |
| BIT–MAP |
| |
| +MVM–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE WITH MASK +–+
| |Source 0| |
| | | |
| |Mask B21:1| |
| | E000| |
| |Destination B21:0| |
| | 0000000000000000| |
| +––––––––––––––––––+ |
Rung 45:2
| DOWNLOAD |
| TO TCM |
| IN PROGRES |
| BIT–MAP |
| |
| +CLR–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+CLEAR +–+
| |Destination B21:1| |
| | 1110000000000000| |
| +––––––––––––––––––+ |
Rung 45:3
| ( DATA ) |
| (TO TCM ) |
| BTW DATA |
| FILE |
| WORD #01 |
| +COP––––––––––––––––––––+ |
+––––––––––––––––––––––––––––––––––––––––––––––––––––+COPY FILE +–+
| |Source #N39:1| |
| |Destination #B24:74| |
| |Length 64| |
| +–––––––––––––––––––––––+ |
Rung 45:4
| |
+––––––––––––––––––––––––––––––––[END OF FILE]–––––––––––––––––––––––––––––––––+
| |
NO MORE FILES

Advertising