Manual

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