beautypg.com

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

Page 110

background image

Example Ladder Logic Program

Appendix C

C-18

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

Rung 32:33
| +MUL–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MULTIPLY +–+
| |Source A F28:1| |
| | 0.000000| |
| |Source B 100.0000| |
| | | |
| |Destination N22:4| |
| | 0| |
| +––––––––––––––––––+ |
Rung 32:34
| ERROR CODE |
| FILE N29 |
| WORD |
| [N22:3] |
| +MOV––––––––––––––––––––+ |
+––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source N22:4| |
| | 0| |
| |Destination N29[N22:3]| |
| | 0| |
| +–––––––––––––––––––––––+ |
Rung 32:35
| MAIN |
| PROGRAM |
| POINTER #3 |
| +ADD–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+ADD +–+
| |Source A N22:3| |
| | 0| |
| |Source B 10| |
| | | |
| |Destination N22:3| |
| | 0| |
| +––––––––––––––––––+ |
Rung 32:36
| ERROR CODE |
| FILE N29 |
| WORD |
| [N22:3] |
| +MOV––––––––––––––––––––+ |
+––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source N22:5| |
| | 0| |
| |Destination N29[N22:3]| |
| | 0| |
| +–––––––––––––––––––––––+ |