TSL Automation Solutions Logo

Section 15.3.2 · Chapter 15: Using Macros

Native Script Command Properties Tool Window

The Native Script Command Properties Tool Window help you add and modify a native script command quickly and easily.

If you open a native script from Project Manager or Menu Item, the Native Script Properties Tool Window will be opened as a docking window. You can easily configure the dockable tool window to automatically be displayed or hide, or tab link with other tool windows, or dock against the edges, or float over. When the Native Script Editor is opened, you can also choose to open or close the Native Script Command Properties Tool Window by clicking the [Native Script Command Properties] menu item under [View] menu.

If you open the native script from an object's configuration dialog box, the Native Script Properties Tool Window will float beside the Native Script Editor and can be moved anywhere, but it can't be closed.

The following table describes each property in the native script command properties tool window.

Property Description
Command Click the dropdown list box to bring up the macro command selection dialog. In the dialog, navigate the keyword of macro commands through tabs and sections by moving the mouse and then clicking the selection. The format of the selected macro command will be shown in the dropdown list after the dialog is closed. To cancel the operation, click anywhere outside the macro command selection dialog.
Data Type Selects the data type of the macro command from the dropdown list. Different macro commands support different data types. The supported data types for each macro command are some of the following: (S) 16-bit Signed, (U) 16-bit Unsigned, (SD) 32-bit Signed, (UD) 32-bit Unsigned, (F) 32-bit Floating Point, (B) Bit.
Parameter <Edit Box> Specifies the bit variable when the Data Type is (B).
Specifies the word variable when the Data Type is (U)/(S).
Specifies the double-word variable when the Data Type is (UD)/(SD)/(F).
Click this icon to bring up the Address Input Keypad and specify the desired address for the Variable field.
Click this icon to bring up the Select Tag dialog box and select the desired tag for the Variable field.
Native Script Command Help Shows the operation and parameter type of the selected macro command.

Note that any modification in the dialog will change the current native script command in the Native Script Editor.

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 15.3.2 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.