This section describes how to configure the Request blocks in TIA Portal STEP 7 for ibaBM-DP.
For each Request module
-
Copy the following blocks from the iba S7 library to the blocks folder of your STEP 7 project, see iba S7 library. One set of Request blocks has to be called for each Request module (connection) in ibaPDA.
-
ibaREQ_M (FB1400), see ibaREQ_M (FB1400)
-
ibaREQ_DP (FB1402), see ibaREQ_DP (FB1402)
-
ibaREQ_DB (DB15)
-
ibaREQ_DB-Interface (PLC data type)
Note

Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Note

The request blocks do not support multi-instance calls.
-
-
Call ibaREQ_M (FB1400) preferably within OB1.
-
Enable the Retain option for the entire instance data block you have just created.
-
Call ibaREQ_DP (FB1402) within OB1 or a cyclic interrupt OB (OB3x).
For each additional Request module
-
In the blocks folder, an ibaREQ_DB (DB15) data block has to be available for each Request module. Copy the data block and assign a new unique DB number.
-
Within OB1, ibaREQ_M (FB1400) has to be called once more with the new DB numbers for each Request module.
-
Within OB1 or a cyclic interrupt OB (OB3x), ibaREQ_DP (FB1402) has to be called once more with the new DB numbers for each Request module.
-
Make sure that all instance data blocks are unique and that unique values are assigned for the ADR_SLOT_0 and ADR_SLOT_1 parameters.
Final
-
Load all blocks to the S7 CPU and restart the S7 CPU.


