Project Menu
The Project menu is the entry point for editing the shared resources and global settings of the currently open project. It groups project-level data such as constants, messages, errors, and GUI text, together with device-definition editors for IO, cylinders, and motors, and helpers that insert frequently used event and check function skeletons.
Click Project on the top menu bar to open it. Each editor item opens its own editor window, and device definitions are reflected into runtime code at build time.
Information and Resource Items
The following items are editors for project metadata and shared resources. Each editor opens in a dedicated window, and changes are written to the project file on save.
| Item | Shortcut | Description |
|---|---|---|
Version Information | — | Edit project version and build information |
Global Constant Editor | — | Define and manage global constants |
Message Editor | — | Manage message strings shown during operation |
Error Editor | — | Define error codes and error messages |
GUI Text Editor | — | Manage UI text shown on screen (multilingual) |
Detailed usage of each editor is covered in its own chapter. This section only provides the menu entry point.
Device Editor Items
These editors define the equipment's inputs/outputs and motion axes. They can also be opened directly with shortcuts, which is convenient when device definitions change often.
| Item | Shortcut | Description |
|---|---|---|
IO Editor | Ctrl + Shift + 1 | Define digital IO points |
Cylinder Editor | Ctrl + Shift + 2 | Define cylinders (pneumatic actuators) |
Motor Editor | Ctrl + Shift + 3 | Define motor (servo/stepper) axes |
The IO, cylinders, and motors defined here are referenced by name from scripts and test modules. Because changing a definition also affects the scripts that reference it, verifying with a build is the safe approach.
Add Sample Check Function
Add Sample Check Function automatically inserts skeleton code for standard check and event functions into the selected module script. Instead of writing common device-inspection patterns from scratch, you receive a skeleton and only fill in the body.
The submenu items are listed below. Selecting an item adds a function template for that purpose to the script currently being edited.
| Submenu Item | Purpose of Inserted Function |
|---|---|
IO Sample Check Function | Check function that inspects IO state |
IO Sample Event Function | Event function that reacts to IO changes |
Motor Sample Check Function | Check function that inspects motor state |
Motor Sample PreHome Function | Function run just before homing |
Motor Sample AfterHome Function | Function run after homing completes |
The inserted function is only a skeleton, so you must fill in the actual device names and conditions to complete it. Selecting the same item multiple times may create duplicate functions, so use care.
Add Common Event Function
Add Common Event Function inserts skeletons for common event functions that respond to system, project, and job-file lifecycle events. It provides templates for functions that are called automatically at fixed points such as system start/stop, project open/close, and job-file load/save.
The submenu items and their invocation timing are as follows.
| Submenu Item | Invocation Timing |
|---|---|
Add OnSystemStart Function | When system start begins |
Add OnSystemStarted Function | After system start completes |
Add OnSystemStop Function | When the system stops |
Add OnSystemReset Function | When the system is reset |
Add OnSystemError Function | When a system error occurs |
Add OnProjectOpened Function | When a project is opened |
Add OnProjectClosed Function | When a project is closed |
Add OnJobFileChanged Function | When the job file changes |
Add OnJobFileLoaded Function | When the job file is loaded |
Add OnJobFileSaved Function | When the job file is saved |
Add OnPostBuild Function | Right after a build |
Add OnPreInit Function | Just before initialization |
Insert only the events you need. There is no need to add every event function, and you implement the body yourself after insertion.
Project Option
Project Option manages the project's global settings in one place. Because it covers options that affect build and runtime behavior, it is best to confirm the result with a build after changing a setting.
Detailed settings are covered in a separate chapter.