0% found this document useful (0 votes)
14 views

ESW MBLIB Ethernet Modbus C Library 519

Uploaded by

12045203
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

ESW MBLIB Ethernet Modbus C Library 519

Uploaded by

12045203
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Ethernet I/O: EtherStax® Series

ESW-MBLIB Ethernet Modbus C Library Software

Universal support for five operating systems ◆ C source code provided ◆ Demo program included

Description Example Program


Acromag’s Modbus C Library software The included example program is menu-
greatly simplifies development of programs driven to help users build Modbus TCP/IP
to interface with Acromag’s BusWorks® and UDP/IP commands. Menu selections let
and EtherStax® Ethernet I/O products. The users configure, read, and write Ethernet
library also supports any standard Ethernet I/O slave devices such as Acromag’s
Modbus slave device that communicates Busworks and EtherStax products.
via Modbus TCP/IP or UDP/IP protocol. Users may also leverage this demonstration
This utility is ideal for developers that are application into a tool for configuration
unfamiliar with Modbus protocol or the or test by supplying commands and/or
framing of TCP/IP or UDP/IP messages. data values in the form of a text file. The
The C library makes programming easy and program will execute each command in the
portable by simply linking user code with text file as if it had been typed from the
the provided function calls (below). Most console terminal.
function calls require passing only a few
Key Features & Benefits
parameters such as the IP address, Modbus
register address, and register count. ■ Library of function routines simplify
communication with I/O modules
Codes Functions ■ Works with 32 Bit and 64 Bit operating
01 (01H) Read Coil (Output) Status systems
02 (02H) Read Input Status ■ Function calls provided for a variety of
03 (03H) Read Holding Registers operating systems Ordering Information
04 (04H) Read Input Registers ■ C source code supplied Go to on-line ordering page >
05 (05H) Force Single Coil (Output) ■ Demonstration program included ESW-MBLIB
06 (06H) Preset Single Register ■ Saves development time Ethernet Modbus C Library Software (CD-ROM)

15 (0FH) Force Multiple Coils (Outputs) ■ Ideal for use with Acromag’s BusWorks
and EtherStax I/O modules
16 (10H) Preset Multiple Registers
17 (11H) Report Slave ID
■ Compatible with any standard Modbus
TCP/IP or UDP/IP device

Tel: 248-295-0880 ■ [email protected] ■ www.acromag.com ■ 30765 S Wixom Rd, Wixom, MI 48393 USA

Bulletin #8400519d All trademarks are the property of their respective owners. Copyright © Acromag, Inc. 2022. Data subject to change without notice. Printed in USA 6/2022

You might also like