Property | Type | Description | |
---|---|---|---|
MODBUS_TCP_MAX_ADU_LENGTH | int |
Method | Description | |
---|---|---|
AcceptTcp ( ) : void | ||
BitsInputRead ( int start ) : bool | ||
BitsInputRead ( int start, int length ) : int | ||
BitsRWRead ( int start ) : bool | ||
BitsRWRead ( int start, int length ) : int | ||
BitsRWWrite ( int index ) : int | ||
BitsRWWrite ( int index, int length ) : int | ||
Close ( ) : void | ||
Connect ( ) : bool | ||
DirectWriteBitRW ( int index, bool val ) : int | ||
DirectWriteRegisterRW ( int index, System.Single val ) : int | ||
DirectWriteRegisterRW ( int index, short val ) : int | ||
DirectWriteRegisterRW ( int index, ushort val ) : int | ||
Dispose ( ) : void | ||
Error ( int errno ) : string | ||
GetRegisterInputAsFloat ( int index ) : float | ||
GetRegisterRWAsFloat ( int index ) : float | ||
ListenTcp ( int maxWaitingQueue ) : void | ||
MappingDispose ( ) : void | ||
MappingNew ( int NBit, int NInputBit, int NHoldingRegisters, int NInputRegister ) : bool | ||
ModbusCore ( string AddressTarget, int port ) : System | ||
ModbusCore ( string target, int baud, char pariry, int nBits, int stopBits ) : System | ||
Receive ( ) : byte[] | ||
RegistersInputRead ( int start ) : int | ||
RegistersInputRead ( int start, int length ) : int | ||
RegistersRWRead ( int start ) : int | ||
RegistersRWRead ( int start, int length ) : int | ||
RegistersRWWrite ( int index ) : int | ||
RegistersRWWrite ( int index, int length ) : int | ||
RegistersRWWriteAndRead ( int readIndex, int readLength, int writeIndex, int writeLength ) : int | ||
Reply ( byte query ) : int | ||
SetByteTimeout ( int usecTimeout ) : void | ||
SetRegisterRWAsFloat ( int index, float val ) : void | ||
SetResponseTimeout ( int usecTimeout ) : void | ||
SetRsuRts ( int flag ) : int | ||
SetSlave ( int slave ) : void |
Method | Description | |
---|---|---|
CheckContext ( ) : void | ||
CheckForModbusError ( ) : void | ||
CheckMapping ( ) : void | ||
GetBitsInput ( int index ) : bool | ||
GetBitsRW ( int index ) : bool | ||
GetLastError ( ) : int | ||
GetRegisterInputSigned ( int index ) : short | ||
GetRegisterInputUnsigned ( int index ) : ushort | ||
GetRegisterRWSigned ( int index ) : short | ||
GetRegisterRWUnsigned ( int index ) : ushort | ||
Initialize ( ) : void | ||
SetBitsInput ( int index, bool val ) : void | ||
SetBitsRW ( int index, bool val ) : void | ||
SetRegisterInput ( int index, short val ) : void | ||
SetRegisterInput ( int index, ushort val ) : void | ||
SetRegisterRW ( int index, short val ) : void | ||
SetRegisterRW ( int index, ushort val ) : void |
public BitsInputRead ( int start, int length ) : int | ||
start | int | |
length | int | |
return | int |
public BitsRWRead ( int start, int length ) : int | ||
start | int | |
length | int | |
return | int |
public BitsRWWrite ( int index, int length ) : int | ||
index | int | |
length | int | |
return | int |
public DirectWriteBitRW ( int index, bool val ) : int | ||
index | int | |
val | bool | |
return | int |
public DirectWriteRegisterRW ( int index, System.Single val ) : int | ||
index | int | |
val | System.Single | |
return | int |
public DirectWriteRegisterRW ( int index, short val ) : int | ||
index | int | |
val | short | |
return | int |
public DirectWriteRegisterRW ( int index, ushort val ) : int | ||
index | int | |
val | ushort | |
return | int |
public GetRegisterInputAsFloat ( int index ) : float | ||
index | int | |
return | float |
public GetRegisterRWAsFloat ( int index ) : float | ||
index | int | |
return | float |
public ListenTcp ( int maxWaitingQueue ) : void | ||
maxWaitingQueue | int | |
return | void |
public MappingNew ( int NBit, int NInputBit, int NHoldingRegisters, int NInputRegister ) : bool | ||
NBit | int | |
NInputBit | int | |
NHoldingRegisters | int | |
NInputRegister | int | |
return | bool |
public ModbusCore ( string AddressTarget, int port ) : System | ||
AddressTarget | string | |
port | int | |
return | System |
public ModbusCore ( string target, int baud, char pariry, int nBits, int stopBits ) : System | ||
target | string | |
baud | int | |
pariry | char | |
nBits | int | |
stopBits | int | |
return | System |
public RegistersInputRead ( int start ) : int | ||
start | int | |
return | int |
public RegistersInputRead ( int start, int length ) : int | ||
start | int | |
length | int | |
return | int |
public RegistersRWRead ( int start, int length ) : int | ||
start | int | |
length | int | |
return | int |
public RegistersRWWrite ( int index, int length ) : int | ||
index | int | |
length | int | |
return | int |
public RegistersRWWriteAndRead ( int readIndex, int readLength, int writeIndex, int writeLength ) : int | ||
readIndex | int | |
readLength | int | |
writeIndex | int | |
writeLength | int | |
return | int |
public SetByteTimeout ( int usecTimeout ) : void | ||
usecTimeout | int | |
return | void |
public SetRegisterRWAsFloat ( int index, float val ) : void | ||
index | int | |
val | float | |
return | void |
public SetResponseTimeout ( int usecTimeout ) : void | ||
usecTimeout | int | |
return | void |