Manage Translation Tables

 

What are Translation Tables Used For?

Data translation tables allow the user to convert a tag value into another value. For example, they can be used to translate an integer value to a string value. The user could use it to:

       Translate recipe numbers into readable text.

       Translate error numbers into readable text.

       Translate string constants into values.

A translation table can be used in the following conditions:

       For upload, download or both directions.

       While downloading data that has unique source values.

       While uploading data that has unique destination values.

       While uploading and downloading data that has a unique source and destination value.

Creating a Translation Table

1.     Select the Workcenter Bus Stop tab.

2.     Click Translation Tables.

A list of the existing translation tables is shown.

3.     Click Add.

A new window opens.

4.     In the General tab, enter a unique name for the table.

5.     Select the direction in which the data is being translated. This can be Upload, Download or Bidirectional.

6.     Select the Data Translations tab.

7.     Click Add.

8.     Enter a source value and destination value for the data translation. For example, if the source is 1 and the destination is 00001 this means that when the tag value received at the source is 1 then the tag value sent to the destination will be 00001.

9.     Click OK. The translation is added to the table.

10.  Click Save.

The data translation table is saved.

Specifying a Translation Table in a Data Source

The data translation table is saved and can be specified as a data source when adding tags to channel messages (see here).