Program
6
6.1 Chapter overview
Chapter overview
In this chapter you can nd all the information you require to program the FM 450-1 in the
S7-400. Two STEP 7 blocks are provided for integrating the FM 450-1 into a user program and
make handling the desired functions as easy as possible for you.
This chapter describes these blocks.
Block number Block name Meaning
FC 0 CNT_CTRL Controlling the FM 450-1 counters
FC 1 DIAG_INF Read diagnostic data set of the FM 450-1
In addition, an example program demonstrates how to use the blocks. The example program
shows how to call the blocks and contains the necessary data block.
6.2 The FC CNT_CTRL function
Functionality
The data required for the FC CNT_CTRL are stored in a DB on the CPU. The FC CNT_CTRL transfers
data cyclically from this DB to the FM and fetches data from the FM.
Counter module FM 450-1
Equipment Manual, 03/2022, A5E03648739-AC 39