This section describes how to configure the Request blocks in TIA Portal STEP 7 for ibaBM-PN.
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_PN (FB1401), see ibaREQ_PN (FB1401)
-
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 the ibaREQ_M (FB1400) preferably within the OB1.
-
Enable the option Retain for the entire instance data block you have just created.
-
Call the ibaREQ_PN (FB1401) within the 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 the OB1, ibaREQ_M (FB1400) has to be called once more with the new DB number for each Request module.
-
Within the OB1 or within a cyclic interrupt (OB3x), the ibaREQ_PN (FB1401) has to be called once more with the new DB number for each Request module.
-
Make sure that all instance data blocks are unique and that unique values are assigned for the ADR_SLOT.
Final
-
Load all blocks into the S7 CPU and restart the S7 CPU.


