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

Page 118

Advertising
background image

Example Ladder Logic Program

Appendix C

C-26

Wed Jun 1, 1994 Page 20
Program Listing Report PLC–5/40 File TCM Rung 42:5

Rung 42:5
The following rung, in conjunction with the previous rung, insures that a DYC
download to TCM will always occur during the interrupt following the last
required static command block download. This functionality is included so that
the DYC is always the last command block downloaded before the BTW function has
an opportunity to enter its ”quiescent” state (awaiting a change to the DYC
before enabling another download).
| STATIC STATIC |
| COMAND BLK COMAND BLK |
| DOWNLOAD DOWNLOAD |
| TO TCM REQUIRED |
| REQUIRED MEMORY |
| B21 B21 |
+––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––+
| 29 30 |
Rung 42:6
| DOWNLOAD |
| TO TCM |
| REQUIRED |
| B21 |
+––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(U)–––––+
| 31 |
Rung 42:7
| DYC |
| DOWNLOAD DOWNLOAD |
| TO TCM TO TCM |
| REQUIRED REQUIRED |
| B21 B21 |
+––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)–––––+
| 9 31 |
Rung 42:8
| STATIC |
| COMAND BLK |
| DOWNLOAD DOWNLOAD |
| TO TCM TO TCM |
| REQUIRED REQUIRED |
| B21 B21 |
+––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)–––––+
| 29 31 |
Rung 42:9
| DOWNLOAD |
| TO TCM |
| REQUIRED |
| B21 +RET–––––––––––––––+ |
+––––] [––––––––––––––––––––––––––––––––––––––––––––––––––+RETURN () +–+
| 31 |Return parameter | |
| +––––––––––––––––––+ |

Advertising