Program files, Data table layout, Program files data table layout – Rockwell Automation 1771-TCM,D17716.5.108 TEMPERATURE CONTROL MOD User Manual

Page 94

Advertising
background image

Example Ladder Logic Program

Appendix C

C-2

This program uses the following program files.

Program File Use

2

Main program file

4

TPO bits from I/O

30

Subroutine to execute blockĆtransfer read from TCM

32

Subroutine to service complete blockĆtransfer read from TCM

33

Subroutine to check for required upholds from TCM

35

Subroutine to copy configuration files

40

Subroutine to service TCM blockĆtransfer write functions

42

Subroutine to check for required download to TCM

43

Subroutine to load command block for TCM

44

Subroutine to execute blockĆtransfer write to TCM

45

Subroutine to service complete blockĆtransfer write to TCM

Program File 2

This program file handles the block-transfers to the TCM module.
Program file 30 is called from this program file to execute a BTR from the
TCM module every scan. Program file 40 is called from this program file
to check whether the BTW is required to the TCM module.

Important: The ladder logic constantly checks the dynamic block for
changes, and will automatically send it out if a change is made in the
dynamic block.

Program File 4

This program file is the second main control program file. This file reads
the input status from the TCM module and loads the heat and cool
time-proportioned output (TPO) bits into B20:1.

Program File 35

This program file copies the configuration information from loop 1 into all
7 remaining loops when bit B21:5/15 is on.

This program requires the following data-table layout use in the TCM test
ladder logic.

Program Files

Data Table Layout

Advertising