Generating code files (ACS)
1. Add the ACS Profile to your model. How?
2. Load ACS. How?
After ACS is loaded, the ACS/TDK Control tab displays Connected.
3. Set up the ACS generation and reverse options. How?
* 
Code is generated only when the Enable or Disable Code Generation button is depressed.
4. In Modeler, select the root item for the generation, that is, the Model or a Package.
5. On the ACS/TDK Control tab, from the drop-down list select the Generation Settings Scheme you want to use to generate code. The drop-down list lists any Generation Setting Schemes that have been created for the selected root item.
If you have not created any Generation Settings Schemes for the root item, create a new Generation Settings Scheme. How?
6. Click the Start button.
The ACS/TDK Control tab displays Loading Model, followed by either First Generation or Updating Code, followed by Ready.
7. If this is the first time you have used the Generation Settings Scheme to generate code, no code is generated at this point. To generate code the first time, you must force a generation:
a. Ensure that the ACS/TDK Control tab is displaying Ready.
b. On the ACS/TDK Control tab, click the Force Generate button.
c. From the confirmation dialog, click Yes.
ACS generates the code files to the target folder you specified in the Generation Settings Scheme.
After generating the code files, the ACS generation and reverse engineering options determine how the code files are updated while ACS is running and when ACS is started.
Was this helpful?