PLC code is generated for the controller and C++ code is generated for the model at the click of a button. Later, this is used for real time testing.