Command Functions List
Command Functions Table
Note: USBs must be formatted in exFAT or FAT32 to be used with the eXT, nXT, and eXT2 series.
Note: when using Storage.Local as a storage location, the Xpanel refers to the path $DATA_PARTITION/home/user while the simulator refers to the path C:\Users\<user>.
Alarm
| Item | Description | Script Usage Example |
|---|---|---|
| Save Alarm CSV |
Saves all alarm events for the specified label as a CSV file in the specified storage location. If no label is specified, saves events for all labels. Disclaimer: CIMON recommends exclusively using a USB or SD card for storage types. |
|
Data Log
| Item | Description | Script Usage Example |
|---|---|---|
| Add Row to Data Log | Adds a new row to a data log model using the current tag values. |
|
| Save Data Log CSV | Saves a CSV file of data log entries for the specified model and time range. |
|
| Start/Stop Data Log | Changes the start/stop status for the specified data log model. |
|
FTP
| Item | Description | Script Usage Example |
|---|---|---|
| FTP Download |
Downloads a file from the source path on an FTP server to the target path on the HMI. The target path is relative to the specified storage location on the HMI. |
|
| FTP Upload |
Uploads a file from the source path on the HMI to the target path on an FTP server. The source path is relative to the specified storage location on the HMI. |
|
| Start/Stop FTP Server |
Enables or disables the FTP server on the HMI. Note that the write access and location access are configured separately in the settings app on the HMI. |
|
IAM (Security)
| Item | Description | Script Usage Example |
|---|---|---|
| Logout User | Logs out the current IAM user. |
|
| Open Login Window | Opens the built-in login window for IAM users. |
|
Multimedia
| Item | Description | Script Usage Example |
|---|---|---|
| Open PDF | Opens the specified PDF file in a separate view application. |
|
| Play Library Audio |
Plays the specified audio file once using the built-in audio port. Previously sold CM-eXT07 and CM-nXT07 devices produced before November of 2024 do not support this feature. |
|
| Stop Library Audio | Stops the specified audio file if it is currently being played asynchronously. |
|
Page
| Item | Description | Script Usage Example |
|---|---|---|
| Close Page | Closes the specified page. |
|
| Open Page |
Opens a page. Note: when opening a base page, the current base page will automatically be closed. |
|
| Open Previous Page | Opens the previously opened base page. |
|
Recipe
| Item | Description | Script Usage Example |
|---|---|---|
| Export Recipe CSV | Saves the recipe data for the specified model to a CSV file. |
|
| Import Recipe CSV | Overwrites the current recipe data for the specified model using a CSV file. |
|
| Open Recipe Config | Opens the built-in recipe config window. |
|
| Open Recipe Config | Opens the built-in recipe config window. |
|
| Receive Recipe Record | Overwrites the specified record data using the current parameter tag values. |
|
| Send Recipe Record | Writes the values from the specified recipe record to the parameter tags. |
|
Schedule
| Item | Description | Script Usage Example |
|---|---|---|
| Enable/Disable Schedule |
Enables or disables a schedule. When disabled, a schedule will not perform its set action. |
|
Script
| Item | Description | Script Usage Example |
|---|---|---|
| Call Script |
Runs an existing script. The script can be run in the same thread (synchronous) or a separate thread (asynchronous). |
|
| Insert Custom Script | Creates a local custom script. |
Tag
| Enter Tag Value | Description | Script Usage Example |
|---|---|---|
| Enable/Disable Schedule | Opens a built-in window for the user to enter a value and writes the value to the specified tag. |
|
| Set Tag Value | Writes a constant value or another tag value onto the target tag. |
|
| Toggle Tag Value | Inverts the value of a Boolean tag; writes true if the current value is false, or writes false if the current value is true. |
|
Others
| Enter Tag Value | Description | Script Usage Example |
|---|---|---|
| Beep | Plays a beep sound for the specified amount of time using the HMI's built-in buzzer. |
|
| Enable/Disable Driver |
Enables or disables the drive for an I/O device. When disabled, no communication will be sent or received for that device. |
|
| Exit Project | Closes the project and exits to the HMI desktop. |
|
| Open Config Menu |
Opens the runtime configuration menu. Note that the "Limit 3-Button Menu Access" option will be ignored. |
|
| Open Frame Monitor | Opens the frame monitor tool for troubleshooting device communication. |
|
| Press Key |
Simulates a keyboard press event. Can be used to create virtual keyboard buttons. |
|
| Send Email | Sends an email with a hard-coded subject and message to the specific recipients. |
|
| Send Screen Notification | Displays a message in the notification bar at the bottom of the screen. |
|
| Set Translation Language | Sets the current language (column) for the multilanguage string feature. |
|
| Sleep | Suspends the script thread for the specified amount of time, then continues. |
|