您现在的位置是:首页 > 技术资料 > FreeModbus 英文资料
推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

FreeModbus 英文资料

更新时间:2020-03-17 21:32:19 大小:4M 上传用户:sun2152查看TA发布的资源 标签:FreeModbus 下载积分:0分 评价赚积分 (如何评价?) 打赏 收藏 评论(1) 举报

资料介绍

If register should be written or read.

This value is passed to the calback functions which support either reading or writing register values. Writing means that the application registers should be updated and reading means that the modbus protocol stack needs to know the current register values.

See also: eMBRegHoldingCB(), eMBRegCoilsCB(), eMBRegDiscreteCB() and eMBReglnputCB().

Enumeration values: MB_REG_READ Read register values and pass to protocol stack.

MB_REG_WRITE Update register values.

Note: Note all ports implement this function.A port which wants to get an callback must define the macro MB_PORT_HAS_CLOSE to 1.

Returns: If the resources where released it return eMBErrorCode:: MB_ENOERR. If the protocol stack is not in the disabled state it returns eMBErrorCode:: MB_EILLSTATE.

Examples: LINUX/demo.c, MCF5235TCP/demo.c, STR71XTCP/demo.c, WIN32/demo. cpp, and WIN32TCP/

demo. cpp.

his function disables processing of Modbus frames.

Returns: If the protocol stack has been disabled


部分文件列表

文件名 大小
FreeModbus.pdf 4M

全部评论(1)

  • 2020-03-20 12:11:07suxindg

    谢谢分享

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载