Class TextReg

public class TextReg
extends Applet
implements Runnable

Title: TextReg applet: display a modbus register as text.

Description:

Copyright: Copyright (c) 2001

Company: ACT'L

Parameters:
hostip - (STRING)

IP address or Name of the eWON

UnitAddress - (INTEGER) [Default = 100]

Unit address of the Slave ModBus

MbReg - (INTEGER) [Default = 1]

Register to display

UseFloat - (INTEGER) [Default = 1]

Read the register as a float (get 2 integers and consider as 1 float).

FontBold - (INTEGER) [Default = 0]

If 1 then font is displayed using Bold style

FontSize - (INTEGER) [Default = 12]

The size.

QueryDelay - (INTEGER, MSEC)

Delay between 2 modbus requests.

RegType - (INTEGER) [Default = 1]

Consider Register as an OutputRegister

0 : InputRegister

ApplyModification - (INTEGER) [Default = 0]

Flag to enable/disable the scaling of value read with ModifFactor and ModifOffset

DisplayedValue = (ReadValue * ModifFactor) + ModifOffset

ModifFactor - (DOUBLE) [Default = 1.0]

Factor to multiply the read value

ModifOffset - (DOUBLE) [Default = 0.0]

Factor to add to the read value

NbDecimal - (INTEGER) [Default = 2]

Number of decimal displayed ( UseFloat must be 1 )

Version:
3.0
Author:
DBN, PCT, PRK