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

Page 104

Advertising
background image

Example Ladder Logic Program

Appendix C

C-12

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

Rung 32:4
| BLOCK ID |
| OF LAST |
| STATUS BLK GAINS |
| RECEIVED BLOCK WORD |
| FROM TCM #1 |
| +EQU–––––––––––––––+ +COP–––––––––––––––+ |
+–+EQUAL +––––––––––––––––––––––––––––––––––++COPY FILE ++–+
| |Source A N22:0| ||Source #B24:10|| |
| | 255| ||Destination #N38:1|| |
| |Source B 9| ||Length 64|| |
| | | |+––––––––––––––––––+| |
| +––––––––––––––––––+ | REQUEST | |
| | GAINS | |
| | BLOCK BIT | |
| | N39:34 | |
| +–––––––––––––(U)––––+ |
| 0 |
Rung 32:5
| +RET–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+RETURN () +–+
| |Return parameter | |
| +––––––––––––––––––+ |
Rung 32:6
| STATUS BLK SYSTEM |
| RECEIVED STATUS |
| FROM TCM BLOCK WORD |
| IS SYS #1 |
| 0 +COP–––––––––––––––+ |
+–––[LBL]–––––––––––––––––––––––––––––––––––––––––––––––––+COPY FILE +–+
| |Source #B24:10| |
| |Destination #N40:1| |
| |Length 64| |
| +––––––––––––––––––+ |
Rung 32:7
| HEAT/COOL |
| TPO BITS |
| +MOV–––––––––––––––+ |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source N40:26| |
| | 0| |
| |Destination B20:0| |
| | 0000000000000000| |
| +––––––––––––––––––+ |
Rung 32:8
The following eight rungs latch a bit to notify the program when the Autotune
is finished for each of the eight loops. These bits are then used to request a
gains block back from the TCM.
| | AUTOTUNE |
| AUTOTUNE | FINISHED AUTOTUNE |
| COMPLETED| LOOP #1 FINISHED |
| LOOP #1 | ONE–SHOT LOOP #1 |
| N40:2 B21 B21 |
+––––] [–––––––[ONS]–––––––––––––––––––––––––––––––––––––––––––––––––––(L)–––––+
| 7 104 96 |

Advertising