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)
最近瀏覽的軟件
Script Debugger IDE 24 Sep 15
ADO.NET vNext Entity Data Model Designer Prototype, CTP 21 Sep 15
Free HTML Reader 9 Dec 14
Create Multiple Files From List (Text File) Software 1 Jan 15
PostgreSQL Data Access Components 1 Dec 18
Procom Hide Folder 9 Dec 14
dbForge Data Compare for SQL Server 28 Sep 17
4TOPS Query Tree Editor for MS Access 23 Sep 15
python-hglib 11 Apr 15
dbQwik MySQL to MS Access 21 Sep 15
按類別搜索
熱門軟件
Free Internet Tuner 27 Jan 15
Free Stopwatch Portable 6 Feb 16
Total System Care 9 Dec 14
PC SpeedCat 11 May 16
Portable Keylogger 9 Dec 14
Xamarin Android Player 4 Mar 16
Auto Typer 15 Aug 18
MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
支持的操作系統
類似的軟件
Auto Installing Programs
22 Sep 15
Okoker HotKey Launcher
12 Jul 15
Clicker
25 Feb 15
Precision Builder Express Portable
27 May 15
顯影劑的其他軟件 AE
Freeware DCF77 Decoder
14 Aug 18
意見 MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
最近瀏覽的軟件
Script Debugger IDE 24 Sep 15
ADO.NET vNext Entity Data Model Designer Prototype, CTP 21 Sep 15
Free HTML Reader 9 Dec 14
Create Multiple Files From List (Text File) Software 1 Jan 15
PostgreSQL Data Access Components 1 Dec 18
Procom Hide Folder 9 Dec 14
dbForge Data Compare for SQL Server 28 Sep 17
4TOPS Query Tree Editor for MS Access 23 Sep 15
python-hglib 11 Apr 15
dbQwik MySQL to MS Access 21 Sep 15
按類別搜索
熱門軟件
Auto Clicker MurGee 21 Nov 14
HP LaserJet 1020 Drivers 2 Apr 18
DirectX Happy Uninstall x64 28 May 15
CMOS De-Animator (32-bit) 27 May 15
Droid4X 30 Jan 15
iMyFone Fixppo for Android 3 May 20
WindowexeAllkiller 14 Feb 15
評論沒有發現