DX-3001 Series Industrial Cloud Router
5-12
_5
Item
Description
Length
Length can be set to Word, DWord and Float.
DWord:
DWord needs to use two DX internal registers. For
example: $2050 and $2051 are set to DWord and it will
combin to $2050, $2050 will be
LOW Byte
and $2051
will be
HIGH Byte.
Float:
Float needs to use two DX internal registers. For
example: $2050 and $2051 are set to DWord and it will
combin to $2050, $2050 will be
LOW Byte
and $2051
will be
HIGH Byte.
Alias Name
The user can set the name of the register to be displayed in the
"Alias Name"
function(val)
function(val) is used for convert the register value, and the
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.
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’
Input the code in function (val) {…} as the following picture.
Содержание DX-3001 Series
Страница 21: ...Chapter 2 Introduction to User Interface 2 9 2_ 4 Cellular setting page ...
Страница 44: ...Chapter 3 Introduction to Functions 3 19 _3 ...
Страница 45: ...DX 3001 Series Industrial Cloud Router 3 20 _3 ...
Страница 49: ...DX 3001 Series Industrial Cloud Router 3 24 _3 ...
Страница 50: ...Chapter 3 Introduction to Functions 3 25 _3 ...
Страница 115: ...CH5 Introduction to IOT DIACloud 5 25 _5 ...
Страница 123: ...DX 3001 Series Industrial Cloud Router 6 8 _6 ...