Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C Code > Generating C Code > Overview of generating C code (C code)
  
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 Integrity Modeler tutorials, see the Integrity 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.
C VxWorks653 Production - use this Code Generator DLL for generating target ready code for a VxWorks operating system where the target ready code is generated to work with ARINC 653 configuration files that have been generated through the VxWorks653ApexGen ACS Code Generator DLL.
C PikeOS653 Production - use this Code Generator DLL for generating target ready code for a PikeOS operating system where the target ready code is generated to work with ARINC 653 configuration files that have been generated through the PikeOSApexGen ACS Code Generator DLL.
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
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.