Schneider Alliances
372 SPU 780 01EMAN May 2002 253
Creating a List
for the Combo
Box
In the combo box configuration dialog:
Data Edit Box Data edit boxes are used on the grid or on a frame to allow the user to enter any
valid value. Valid values are determined by which radix is set for the data edit box.
For example, if ‘Binary’ is selected in the radix property, only ones and zeros are
valid data, and the value can only have a length of 16 characters.
Control-specific properties:
Command The command button is a seldom used control but can be very useful for batch
processes. For example, you can have a button that will check or uncheck a group
of check boxes, or a button that would clear all fields in a group.
Time State
Properties
The time state property control is different from other controls in that it is a toggle
edit combo box. It is used to edit parameters of cards that are actually not passed
as data words. Namely, when editing the time-out state of a card, you would use a
timestate drop-down to set the parameter to "User Defined" or to "Last Value".
Function Action
1 To add an item to the list, Click Add.
2 Edit the Combo List Item and Item Data fields by double-clicking on the cell.
3 To move the item within the list, click Move Up and Move Down.
4 To remove an item, click Remove.
5 To save the items and data and return to the script editor, click OK. To cancel
changes and return to the script editor, click Cancel.
Property Description
Radix The mode of the edit box. Available options are Decimal, Binary, Hexadecimal,
ASCII, and Long.
Notes:
All radices are have a 16-bit limit except Long, which has a 32-bit limit.
A ‘Long’ data type will overwrite the word that is selected in the Word property
of the data edit box as well as the next word in the order that they are set in
the Default Parameter Data property of the I/O card.
It is not recommended that you put a long data value in the last word. If the
last word is selected in the Word property, the ‘Long’ data value will be
truncated and put into the last word. This may alter the results you expected
significantly.