Program
6.5 Technical specifications of the blocks
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
47
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:
DB with the counter data for channel 1
DB with the counter data for channel 2
You program the transfer in STL as follows:
// Transfer of module address
// Module address in pointer format
// Transfer of the channel address for channel 1
// User data interface length = 32
// Transfer of the user data interface length
// Transfer of module address
// Module address + 32 in pointer format
// Transfer of the channel address for channel 2
// User data interface length = 32
// Transfer of the user data interface length