public class ModbusArray extends PLCArray
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
static int |
COIL
Address type constant.
|
static java.lang.String |
cvsRev |
static int |
DISCRETE
Address type constant.
|
static int |
FLOAT
Address type constant.
|
static int |
NONE
Address type constant.
|
static int |
SIGNED_DOUBLE_WORD
Address type constant.
|
static int |
SIGNED_WORD
Address type constant.
|
static int |
STRING
Address type constant.
|
static int |
UNSIGNED_DOUBLE_WORD
Address type constant.
|
static int |
UNSIGNED_WORD
Address type constant.
|
ELEMENT_SEPARATOR
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo
Constructor and Description |
---|
ModbusArray()
Create the Modbus Servers.
|
Modifier and Type | Method and Description |
---|---|
int |
getRegisterType()
Returns the type of this register.
|
int |
getSwapStyle()
This returns the 32 bit swap style.
|
void |
setRegisterType(int registerType)
Set the type of the register for this array.
|
void |
setStartReg(java.lang.String startReg)
Set the starting register for this array.
|
void |
setSwapStyle(int swapStyle)
This sets the 32 bit swap style.
|
void |
valueInput(ValueChangedEvent newEvent)
This method assumes that it receives an array value object.
|
getDeviceName, getReg, getRegisterCount, getStartReg, getStaticLocationFor, getStationAddress, isTriggerOnThread, setDeviceName, setReg, setRegisterCount, setStationAddress, setTimebase, setTriggerOnThread, start, stop, triggerValueChanged, valueChanged
getDefaultQualityForLocation
getInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTrace, setValueObject, tick, VIBEvent
addVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmI
public static final int COIL
public static final java.lang.String cvsRev
public static final int DISCRETE
public static final int FLOAT
public static final int NONE
public static final int SIGNED_DOUBLE_WORD
public static final int SIGNED_WORD
public static final int STRING
public static final int UNSIGNED_DOUBLE_WORD
public static final int UNSIGNED_WORD
public int getRegisterType()
public int getSwapStyle()
public void setRegisterType(int registerType)
public void setStartReg(java.lang.String startReg) throws PLCException
setStartReg
in class PLCArray
PLCException
public void setSwapStyle(int swapStyle)
public void valueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
valueInput
in class PLCArray
newEvent
- The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.