Delta DX-2100 Series User Manual page 79

Industrial 3g cloud router
Hide thumbs Also See for DX-2100 Series:
Table of Contents

Advertisement

Item
The user can set the name of the register to be displayed in the
Alias Name
"Alias Name"
function(val) is used for convert the register value, and the
function(val)
grammar of function-supported JavaScript is similar.
There are two examples for "function (val)".
Example 1 : If you want to show the wind speed as 10m/s. (Data +unit, such as: speed 10m/s).
Input the code: return val+"m/s" in function (val){...} as the following picture.
1.
2.
Save the configuration.
Example 2 : If you want to convert the register value to the text such as the register value of 1 shows the text as 'NO';
register value of 2 shows the text as 'OFF'
1.
Input the code in function (val) {...} as the following picture.
2.
Save the configuration.
CH 5 In tr o d uc t i o n t o I O T DI A C lo u d
Description
_5
5 - 11

Advertisement

Table of Contents
loading

Table of Contents