new_project
Create a new PLC project from scratch using a CPU part number and firmware version, storing it in memory until saved to a .stu file.
Instructions
Create a new project from scratch for a given PLC CPU.
cpu_part_number must exactly match a CPU reference in the installed Control Expert hardware catalog, e.g. 'BMX P34 2020' (M340), 'BME P58 2040' (M580), 'TSX P57 4634M' (Premium), '140 CPU 651 60' (Quantum). cpu_version is the firmware version offered by the catalog and is required, e.g. '02.70'. The project exists only in memory until save_project is called with a path; the project name is taken from that .stu file name (Control Expert has no separate, settable project-name field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu_version | Yes | ||
| cpu_part_number | Yes |