Rockwell Automation 1771-TCM,D17716.5.108 TEMPERATURE CONTROL MOD User Manual
Page 109
Appendix C
Example Ladder Logic Program
C-17
Wed Jun 1, 1994 Page 11
Program Listing Report PLC–5/40 File TCM Rung 32:29
Rung 32:29
| +DIV––––––––––––––––––––+ |
+––––––––––––––––––––––––––––––––––––––––––––––––––––+DIVIDE +–+
| |Source A N40[N22:2]| |
| | 0| |
| |Source B 100.0000| |
| | | |
| |Destination F28:0| |
| | 0.000000| |
| +–––––––––––––––––––––––+ |
Rung 32:30
| +MOV–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source F28:0| |
| | 0.000000| |
| |Destination N22:5| |
| | 0| |
| +––––––––––––––––––+ |
Rung 32:31
| +SUB–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+SUBTRACT +–+
| |Source A F28:0| |
| | 0.000000| |
| |Source B N22:5| |
| | 0| |
| |Destination F28:1| |
| | 0.000000| |
| +––––––––––––––––––+ |
Rung 32:32
| +LES–––––––––––––––+ +SUB–––––––––––––––+ |
+–+LESS THAN +––––––––––––––––––––––––––––––––––++SUBTRACT ++–+
| |Source A F28:1| ||Source A N22:5|| |
| | 0.000000| || 0|| |
| |Source B 0.000000| ||Source B 1|| |
| | | || || |
| +––––––––––––––––––+ ||Destination N22:5|| |
| || 0|| |
| |+––––––––––––––––––+| |
| |+SUB–––––––––––––––+| |
| ++SUBTRACT ++ |
| |Source A F28:0| |
| | 0.000000| |
| |Source B N22:5| |
| | 0| |
| |Destination F28:1| |
| | 0.000000| |
| +––––––––––––––––––+ |