public class DF1DataBlock extends PLCDataBlock
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
Constructor and Description |
---|
DF1DataBlock(int cmd,
int fnc,
int file,
int element,
int subElement,
int plcStationNumber,
int dataType,
byte[] data)
Create the block with the data and the destination address.
|
DF1DataBlock(int cmd,
int fnc,
int file,
int element,
int subElement,
int plcStationNumber,
int dataType,
int byteCount)
Create the block with the data and the destination address.
|
Modifier and Type | Method and Description |
---|---|
int |
getByteCount()
Returns the byte count.
|
int |
getCMD()
Returns the CMD.
|
int |
getDataType()
Returns dataType.
|
int |
getElement()
Returns the element.
|
int |
getFile()
Returns the file.
|
int |
getFNC()
Returns the FNC.
|
int |
getPLCStationNumber()
Returns theplcStationNumber.
|
int |
getSubElement()
Returns the element.
|
void |
setByteCount(int byteCount)
Returns the byte count.
|
void |
setCMD(int cmd)
Sets the CMD.
|
void |
setDataType(int dataType)
Returns the dataType.
|
void |
setElement(int element)
Returns the element.
|
void |
setFile(int file)
Sets the file.
|
void |
setFNC(int fnc)
Sets the FNC.
|
void |
setPLCStationNumber(int plcStationNumber)
Returns the plcStationNumber.
|
void |
setSubElement(int subElement)
Returns the element.
|
public static final java.lang.String cvsRev
public DF1DataBlock(int cmd, int fnc, int file, int element, int subElement, int plcStationNumber, int dataType, byte[] data)
public DF1DataBlock(int cmd, int fnc, int file, int element, int subElement, int plcStationNumber, int dataType, int byteCount)
public int getByteCount()
public int getCMD()
public int getDataType()
public int getElement()
public int getFile()
public int getFNC()
public int getPLCStationNumber()
public int getSubElement()
public void setByteCount(int byteCount)
public void setCMD(int cmd)
public void setDataType(int dataType)
public void setElement(int element)
public void setFile(int file)
public void setFNC(int fnc)
public void setPLCStationNumber(int plcStationNumber)
public void setSubElement(int subElement)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.