
Program
6.5 Technical specifications of the blocks
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
47
Example
The following contains an example of how you can implement the transfer of the module
address, the channel address, and the length of the user data to the DB in OB 100. The
symbol table contains the following assignments for this example:
FM450_DB_K1
DB 10
DB with the counter data for channel 1
FM450_DB_K2
DB 11
DB with the counter data for channel 2
You program the transfer in STL as follows:
STL
Channel 1
L 512
// Module address = 512
T FM450_DB_K1.MOD_ADR
// Transfer of module address
L P# 512.0
// Module address in pointer format
T FM450_DB_K1.CH_ADR
// Transfer of the channel address for channel 1
L 32
// User data interface length = 32
T FM450_DB_K1.U_D_LGTH
// Transfer of the user data interface length
Channel 2
L 512
// Module address = 512
T FM450_DB_K2.MOD_ADR
// Transfer of module address
L P# 544.0
// Module a 32 in pointer format
T FM450_DB_K2.CH_ADR
// Transfer of the channel address for channel 2
L 32
// User data interface length = 32
T FM450_DB_K2.U_D_LGTH
// Transfer of the user data interface length
Содержание simatic s7-400 FM 450-1
Страница 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Страница 18: ...Product Overview 1 5 The FM 450 1 software Counter module FM 450 1 18 Manual 02 2014 A5E03648739 02 ...
Страница 40: ...Wiring 4 4 Module status after power is switched on Counter module FM 450 1 40 Manual 02 2014 A5E03648739 02 ...
Страница 54: ...Program 6 5 Technical specifications of the blocks Counter module FM 450 1 54 Manual 02 2014 A5E03648739 02 ...
Страница 102: ...Encoder signals and their evaluation 9 5 Signal evaluation Counter module FM 450 1 102 Manual 02 2014 A5E03648739 02 ...
Страница 114: ...Errors and diagnostics 11 5 Operator error Counter module FM 450 1 114 Manual 02 2014 A5E03648739 02 ...
Страница 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Страница 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Страница 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Страница 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...