Delta DX-3001 Series User Manual page 102

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

Advertisement

D X-3 001 Se ri es Ind ustr ia l C lou d Ro u ter
Item
Length can be set to Word, DWord and Float.
Length
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.
_5
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.
5 - 1 2
Description
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx-3001h9

Table of Contents