We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
03-24-2022 10:00 AM
Hello,
One issue I have, after I build PLC program, one error is occurred, 'Generating TMC failed! Object reference not set to an instance of an object'.
PS: The program is running in the production line, and build it without error in the owner computer, but others' computer has this error.
Solved! Go to Solution.
03-24-2022 03:02 PM - edited 05-17-2024 03:44 PM
Make sure that the "pin version" checkbox is set. Otherwise the project will open with different TwinCAT versions depending on what is installed on your computer.
Also compare (binary compare, not date compare!) if this folder on both laptops is identical (one can have more libraries than the other, but if they have both the same library versions, the files must be identical):
C:\TwinCAT\3.1\Components\Plc\Managed Libraries
If both is fine there were several solutions in the past:
03-26-2022 02:05 AM
Thank you ^^, it is related pin version with different TwinCAT version