public class ControlLogixDataBlock extends PLCDataBlock
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
Constructor and Description |
---|
ControlLogixDataBlock(java.util.List<java.lang.String> tags,
int plcStationNumber,
int arraySize)
Create the block with the list of tag names.
|
ControlLogixDataBlock(java.lang.String tag,
byte type,
ValueObjectInterface value,
int plcStationNumber)
Create the block with a single tag and a value to write to the server.
|
Modifier and Type | Method and Description |
---|---|
int |
getArraySize()
Returns the size of the array to read.
|
int |
getPlcStationNumber()
Return the station number.
|
java.util.List<java.lang.String> |
getTags()
Return the list of tags that are to be read.
|
byte |
getType()
Returns the type of the datapoint.
|
ValueObjectInterface |
getValue()
Returns the value to be written, or null if reading.
|
public static final java.lang.String cvsRev
public ControlLogixDataBlock(java.util.List<java.lang.String> tags, int plcStationNumber, int arraySize)
tags
- the tags to readplcStationNumber
- the control logix slot numberarraySize
- the number of array elements to read. This argument will be ignored if tags.size() is not 1.public ControlLogixDataBlock(java.lang.String tag, byte type, ValueObjectInterface value, int plcStationNumber)
public int getArraySize()
public int getPlcStationNumber()
public java.util.List<java.lang.String> getTags()
public byte getType()
public ValueObjectInterface getValue()
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.