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)
- 主頁
- Windows 2003
- MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
最近瀏覽的軟件
TMS IntraWeb Component Pack Pro (Delphi 2009 and C++Builder 2009) 27 Jan 15
Jeff-Net Report Runner Viewer for Crystal Reports 30 Oct 16
MS Access Save Reports As PDF Files Software 9 Dec 14
Automatically Log Your IP Address Over Time Software 3 May 20
PostgreSQL Paradox Import, Export & Convert Software 16 Apr 15
SQL Server Find 30 Dec 14
Aspose BarCode for Java 23 Jan 15
HL-DBExporter (MySQL to PostgreSQL) 15 Apr 15
Microsoft Word 2002 Macro Vulnerability Patch 6 Dec 15
Python (64-bit) 22 Jan 15
按類別搜索
熱門軟件
Papas Pancakeria 22 Jan 15
Free Cr2 to JPG Converter 29 Dec 14
VyprVPN 3 May 20
PPT Reader 15 Apr 15
VPN Unlimited 30 Dec 14
VirtualDJ 8 28 Nov 17
Virtual DJ 8 7 Apr 15
MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
支持的操作系統
類似的軟件
顯影劑的其他軟件 AE
Freeware DCF77 Decoder
14 Aug 18
意見 MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
最近瀏覽的軟件
TMS IntraWeb Component Pack Pro (Delphi 2009 and C++Builder 2009) 27 Jan 15
Jeff-Net Report Runner Viewer for Crystal Reports 30 Oct 16
MS Access Save Reports As PDF Files Software 9 Dec 14
Automatically Log Your IP Address Over Time Software 3 May 20
PostgreSQL Paradox Import, Export & Convert Software 16 Apr 15
SQL Server Find 30 Dec 14
Aspose BarCode for Java 23 Jan 15
HL-DBExporter (MySQL to PostgreSQL) 15 Apr 15
Microsoft Word 2002 Macro Vulnerability Patch 6 Dec 15
Python (64-bit) 22 Jan 15
按類別搜索
熱門軟件
Mobizen PC 30 Jan 15
Raster to Vector 22 Jan 15
Microsoft Excel Viewer 12 Apr 18
Newfolder Removal Tool 14 Feb 15
PDF Page Delete 24 Aug 17
PPT Reader 15 Apr 15
Free AMR to MP3 Converter 15 Nov 14
評論沒有發現