Overview of generating C code (C code)
Automatic Code Synchronizer (ACS) helps you develop your application by generating the C code files required to implement a Class Model defined in Modeler.
After you have set up ACS to work with a model, it works in the background and you do not have to interact with it. ACS monitors a model and its generated code for changes:
If ACS detects a change made by you in the model that affects the code, ACS can automatically generate the relevant code files.
If ACS detects a change to code associated with an operation body, an EAB action or an EAB guard condition in the code, ACS can automatically reverse engineer the changed text to the model.
If you are learning to use Modeler and ACS, you may find the Modeler tutorials useful. For information about downloading and opening the Windchill Modeler tutorials, see the Windchill Modeler tutorials.
For generic information about using ACS, including deciding on a strategy for reverse engineering reversible properties, see Overview of ACS .
You can customize a supplied ACS Code Generator DLL through its associated TDK model. For information about customizing ACS Code Generator DLLs through TDK, see Overview of TDK.
To use ACS with C code, you require an ACS license, a Modeler license and an ACS Language Pack for C license. If you want to customize the generation of C code, you additionally require an ACS Transformation Development Kit license. You can generate C code for systems, and also C code that allows your system to be simulated in Modeler.
Generation
Using Modeler you can quickly define your system in an environment that allows you to view the structure as a whole. After describing the behavior of your structure using State Diagrams, you can use ACS to generate the code required to implement those State Diagrams. Thereafter, you can use ACS to update the C code with any changes made to the Class model in Modeler.
You can model C specific information in the model through the C Profile package.
ACS uses the following Code Generator DLLs to generate code:
C Win32 Production - use this Code Generator DLL for generating target ready code for a Windows operation system.
C Generic Production - use this Code Generator DLL for generating target ready code for operating systems that are not Windows.
For more information about the provided ACS Code Generator DLLs, see ACS Code Generator DLLs.
Generation for system simulation
ACS can generate C code files for simulating your system in Modeler. For more information about system simulation, click here Introduction to system generation and simulation (system simulation)
ACS uses the following Code Generator DLL to generate code for simulating your Win32 applications in Modeler, that is, animating the State Diagrams from which the application was generated:
C Win32 Animation - use this Code Generator DLL for generating a Windows executable that can be debugged in Modeler.