You have the flexibility to change and expand a "coupling DB" in the TIA Portal project whenever necessary.
Caution
However, it's crucial to perform the download when the PLC is in STOP mode.
Ensure to delete the active AX application on the PLC entirely by downloading the TIA Portal project in offline mode.
Failure to follow this rule may result in incorrect data access of "coupling DBs"! In the worst-case scenario, you might write to a different memory block, causing the AX application to fail and sending the PLC into STOP mode!
Therefore, adhere to the following steps:
- Adjust "coupling DB" in the TIA project.
- Set PLC to STOP mode.
- Execute an offline download in TIA Portal, which will delete the complete AX application on the PLC!
- Use the
tia2sttool to generate an updated and consistent library. - Build and download the AX application with the parameter
--non-overwriting. - Set PLC to RUN mode.