Delta DX-2300 Series User Manual page 93

Industrial ethernet cloud router
Table of Contents

Advertisement

DX - 2 3 00 Ser i es I nd us t r i al Et h er ne t C lo u d Ro ut er
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).
1.
Input the code: return val+"m/s" in function (val){...} as the following picture.
_5
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.
5 - 1 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx-2100 series

Table of Contents