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
最近浏览的软件
STDU XML Editor Portable 16 Apr 15
InterBase Data Access Components for Delphi 7 22 Jan 15
Oracle PostgreSQL Import, Export & Convert Software 9 Dec 14
Export Query to SQL for SQL Server 15 Apr 15
Broadcom Bluetooth Serial Bus Driver over UART Bus Enumerator for Windows 10 64-bit 2 Dec 16
Access2MySQL SYNC 27 Oct 15
MySQL Upload or Download Binary Data Software 1 Jan 15
Apex SQL Diff API 31 Dec 14
MySQL Documentation Tool 9 Jul 15
按类别搜索
热门软件
VMeisoft KeyMap 31 Dec 14
Autosofted Auto Mouse Clicker 6 Feb 16
AutoHotkey Portable (32-bit) 7 Apr 16
Blue Eye Macro 31 Dec 14
AlwaysUp 2 Oct 16
AC Picture Clicker 21 Jan 15
Bill Redirect Serial COM Port to Keyboard Buffer 21 Nov 14
MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
支持的操作系统
类似的软件
Touchpad Blocker
17 Apr 16
Auto Mouse Mover
14 Aug 18
AutoHotkey_L Portable (32-bit)
6 Feb 16
Free Auto Clicker
8 Dec 14
显影剂的其他软件 AE
Freeware DCF77 Decoder
14 Aug 18
意见 MODBUS RTU Serial RS232/RS485 and TCP/IP for Windows
最近浏览的软件
STDU XML Editor Portable 16 Apr 15
InterBase Data Access Components for Delphi 7 22 Jan 15
Oracle PostgreSQL Import, Export & Convert Software 9 Dec 14
Export Query to SQL for SQL Server 15 Apr 15
Broadcom Bluetooth Serial Bus Driver over UART Bus Enumerator for Windows 10 64-bit 2 Dec 16
Access2MySQL SYNC 27 Oct 15
MySQL Upload or Download Binary Data Software 1 Jan 15
Apex SQL Diff API 31 Dec 14
MySQL Documentation Tool 9 Jul 15
按类别搜索
热门软件
Febooti Automation Workshop 15 Apr 15
My Macros 15 Apr 15
Macro Expert 1 Dec 18
WinAutomation 21 Nov 14
Autoruns 19 Jan 18
Clicker 25 Feb 15
Auto Mouse Mover 14 Aug 18
评论没有发现