1.174 Dual-Translator

The Dual-Translator logical device translates a set of user definable choices into the position settings of two switches (or equivalent). It may be used to combine two switches to a single function in the user interface.

To make use of the Dual-Translator, install it in the device setup, configure the translation tables and the message ID you want to translate. In your user screens operate the translated parameter now through the 'value' parameter of the Dual-Translator instead of directly via the parameters original message ID.

Device window pages

The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .

Configuration parameters

At the maintenance page of the device window there are a couple of configuration parameters which must be set to interconnect the Dual-Translator device with the device / parameter it shall translate.

parameter description
choices Enter the list of choices here which are to be presented to the operator when he edits the 'value' setting of this Dual-Translator device. The choice list must be entered as a comma separated list of tokens with no additional spaces between them.
messageId1 Enter the message identifier here of the first parameter / switch setting which shall be controlled, eg. "SWITCH-1. position". Look at the list of device driver variable definitions to see correct name of this setting at the device type you are using.
choices1 Enter the list of choices/positions here for the first switch. There must be the same number of position settings contained in the list as choices defined above. Choices and switch positions are assigned by the order they appear in their lists.
messageId2 Enter the message identifier here of the second parameter / switch setting which shall be controlled, eg. "SWITCH-2. position". Look at the list of device driver variable definitions to see correct name of this setting at the device type you are using.
choices2 Enter the list of choices/positions here for the second switch. There must be the same number of position settings contained in the list as choices defined above. Choices and switch positions are assigned by the order they appear in their lists.

Variables defined by this device driver

name type flags range
info.driver TEXT R/O StringRange R/O
info.type TEXT R/O StringRange R/O
info.frame TEXT R/O StringRange R/O
config.choices TEXT SAVE SETUP StringRange
config.messageId1 TEXT SAVE SETUP StringRange
config.choices1 TEXT SAVE SETUP StringRange
config.messageId2 TEXT SAVE SETUP StringRange
config.choices2 TEXT SAVE SETUP StringRange
value CHOICE EnumRange ()