MODBUS设备使用[MBusDrv.dll]库R / W数据访问。
导出函数(pascal声明):
{*来自MODBUS设备的标准读取数据*}
函数GetMBData(const SlaveAddr:byte; const ReadType:boolean; var Data:array [0..254] of byte):integer; STDCALL;
SlaveAddr:byte(1..254)
ReadType:boolean(false = Coils / true =控制寄存器)
数据:字节的数组[0..254](器件数据)
返回整数(0 = OK)
{*从MODBUS设备扩展读取数据*}
函数GetMBDataEx(const SlaveAddr:word; const ReadType:word):pointer; STDCALL;
SlaveAddr:word(1..254)
ReadType:字(0 =线圈/ 1 =保持寄存器)
255字节的返回指针(设备数据或0 =错误)
{* VBA(Microsoft Visual Basic)从MODBUS设备读取数据*}
函数GetMBDataVBA(const SlaveAddr:LongInt; const ReadType:LongInt):pointer; STDCALL;
SlaveAddr:longint(1..254)
ReadType:longint(0 =线圈/ 1 =保持寄存器)
255字节的返回指针(设备数据或0 =错误)
{*标准写入数据到MODBUS设备*}
函数PutMBData(const SlaveAddr:byte; const WriteType:boolean; const DataAddr:byte; const Data:word):integer; STDCALL;
SlaveAddr:byte(1 ..254)
WriteType:boolean(false = Coil / true =保持寄存器)
DataAddr:byte(1..255)
资料:字
返回整数(状态码= 0 = OK)
{* VBA(Microsoft Visual Basic)将数据写入MODBUS设备*}
函数PutMBDataVBA(const SlaveAddr:longint; const WriteType:longint; const DataAddr:longint; const Data:longint):longint; STDCALL;
SlaveAddr:longint(1..254)
WriteType:longint(0 =线圈/ 1 =保持寄存器)
DataAddr:longint(1..255)
数据:longint
返回longint(状态码> = 0 = OK)
最近浏览的软件
MS SQL Server FoxPro Import, Export & Convert Software 9 Dec 14
Microsoft SQL Server 2000 Patch: Potential Query Security Issue 6 Dec 15
TMS Async32 (Delphi XE2 and C++Builder XE2) 26 Jan 15
Web Data Extraction Software DataToolbar 11 Apr 18
TMS FlexCel Studio for VCL/LCL(Delphi 2006 and C++Builder 2006) 6 May 15
Tristana Writer RSS Editor 22 Sep 15
Altova DiffDog Professional Edition 4 May 20
Export Database to Text for SQL Server Professional 15 Apr 15
Microsoft Speech Application Software Development Kit 10 Jul 15
Duet for Microsoft Office and SAP - SAP Documentation 21 Sep 15
按类别搜索
热门软件
Remediate VBS Worm 18 Jun 16
Openconnect VPN Client 8 Apr 15
Serva 64 25 Jan 15
DraftSight 27 Apr 17
3DP Net 3 May 20
SurfEasy VPN 31 Jan 15
QupZilla 12 Apr 18
MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
支持的操作系统
类似的软件
Speed Install
15 Apr 15
StrokesPlus (64-bit)
1 Jan 15
VReg - Registry Accessor
2 Jan 15
Touchpad Blocker
17 Apr 16
显影剂的其他软件 AE
Freeware DCF77 Decoder
14 Aug 18
意见 MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
最近浏览的软件
MS SQL Server FoxPro Import, Export & Convert Software 9 Dec 14
Microsoft SQL Server 2000 Patch: Potential Query Security Issue 6 Dec 15
TMS Async32 (Delphi XE2 and C++Builder XE2) 26 Jan 15
Web Data Extraction Software DataToolbar 11 Apr 18
TMS FlexCel Studio for VCL/LCL(Delphi 2006 and C++Builder 2006) 6 May 15
Tristana Writer RSS Editor 22 Sep 15
Altova DiffDog Professional Edition 4 May 20
Export Database to Text for SQL Server Professional 15 Apr 15
Microsoft Speech Application Software Development Kit 10 Jul 15
Duet for Microsoft Office and SAP - SAP Documentation 21 Sep 15
按类别搜索
热门软件
EasyCap DC60 USB Video Capture Adapter Driver 22 Apr 16
PureVPN 3 May 20
Windscribe 3 May 20
Shareit 2 Apr 18
Globus VPN Browser 9 Dec 14
SurfEasy VPN 31 Jan 15
Photo Viewer 31 Dec 14
评论没有发现