Skip to content

MBTCP Library

Jeremy edited this page Jan 27, 2023 · 20 revisions

LLMBTCP

Overview

This collection of instructions implement Modbus TCP communication handlers.

MBTCP_Client

AOI that implements a simple Modbus TCP client (sample program provided in the same source directory).

In contrast to Rockwell's AOI, this instruction:

  • supports a variable number of transactions to fit your application's needs.
  • does not require additional supporting AOIs

MBTCP_Client

Shown below are the tags used for instruction setup:

MBTCP_ClientConfig

Shown below are various Message configurations:

MBTCP_ClientMsgCreate MBTCP_ClientMsgConnect MBTCP_ClientMsgRead MBTCP_ClientMsgWrite MBTCP_ClientMsgDelete MBTCP_ClientMsgSetAttrSingle

MBTCP_Server (coming soon)

Clone this wiki locally