ESW-MBLIB: Ethernet Modbus C Library Software
Please sign in or register to see model options and to add products to your cart.
Product short description:
- Universal support for five operating systems
- C source code provided
- Demo program included
ESW-MBLIB: Ethernet Modbus C Library Software Description
Acromag’s Modbus C Library software greatly simplifies development of programs to interface with Acromag’s BusWorks® and EtherStax® Ethernet I/O products.
The library also supports any standard Ethernet Modbus slave device that communicates via Modbus TCP/IP or UDP/IP protocol.
This utility is ideal for developers that are unfamiliar with Modbus protocol or the framing of TCP/IP or UDP/IP messages.
The C library makes programming easy and portable by simply linking user code with the provided function calls (below). Most function calls require passing only a few parameters such as the IP address, Modbus register address, and
register count.
Learn more about the EtherStax Series and view all models >
Codes | Functions
01 (01H)Â | Read Coil (Output) Status
02 (02H) | Read Input Status
03 (03H) | Read Holding Registers
04 (04H) | Read Input Registers
05 (05H) | Force Single Coil (Output)
06 (06H) | Preset Single Register
15 (0FH) | Force Multiple Coils (Outputs)
16 (10H) | Preset Multiple Registers
17 (11H) | Report Slave ID
ESW-MBLIB: Ethernet Modbus C Library Software Example Program
The included example program is menu-driven to help users build Modbus TCP/IP and UDP/IP commands. Menu selections let users configure, read, and write Ethernet I/O slave devices such as Acromag’s BusWorks and EtherStax products.
Users may also leverage this demonstration application into a tool for configuration or test by supplying commands and/or data values in the form of a text file. The program will execute each command in the text file as if it had been typed from the console terminal.
- Library of function routines simplify communication with I/O modules
- Function calls provided for a variety of operating systems
- C source code supplied
- Demonstration program included
- Saves development time
- Ideal for use with Acromag’s BusWorks and EtherStax I/O modules
- Compatible with any standard Modbus TCP/IP or UDP/IP device
Specs & Catalogs
-
900EN: 5-Port Ethernet Switch
- 10/100Mbps
- 15 to 36V DC power supply required
- Five shielded RJ-45 sockets, 8-pin, 10Base-T / 100Base-TX
-
951EN, 952EN: Ethernet Analog and Discrete I/O Modules
- 4 analog inputs
- 2 analog output
- 6 discrete I/O channels
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
958EN: Ethernet 8B Interface Modules
- 16-chanel single-ended voltage input
- DB25 port for 8B modules
- Modbus TCP/IP communication
-
961EN, 962EN: Ethernet Analog Input Modules
- 6-channel differential analog current or voltage input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
963EN, 964EN: Ethernet Analog Input Modules
- 12-channel single-ended analog current or voltage input
- Ethernet/IP or Modbus TCP/IP communication
-
965EN: Ethernet Thermocouple milliVolt Input Modules
- 4 or 6-channel thermocouple/milliVolt input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP 6-channel only
-
966EN: Ethernet RTD Resistance Input Modules
- 4 or 6-channel RTD/resistance input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP 6-channel only
-
967EN: Ethernet Analog Input Modules
- 8-channel differential current input
- Modbus TCP/IP, 10/100Base-T(X), i2o peer-to-peer
-
968EN: Ethernet Analog Input Module
- 8-channel differential analog voltage input
- Modbus TCP/IP, i2o peer-to-peer communication
-
972EN, 973EN: Ethernet Analog Output Modules
- 4 or 6-channel DC current or voltage output
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
981EN, 982EN, 983EN: Ethernet Discrete I/O Modules
- 12-channel discrete input and/or output
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP
-
989EN: Ethernet Discrete I/O Modules with Counter / Timers
- 16-channel discrete I/O
- 8 counter/timers
- Modbus TCP/IP communication
-
994EN: Ethernet Analog Input Module
- 16-channel single-ended analog voltage input
- Modbus TCP/IP communication
-
ES2113: Ethernet Discrete I/O Modules
- 96 bi-directional discrete I/O channels
- Modbus TCP/IP, i20 peer-to-peer communication
-
ES2117: Ethernet Discrete I/O Modules
- 48 Channel-Isolated Discrete I/O (32 DC inputs, 16 AC/DC outputs)
- Modbus TCP/IP, i20 peer-to-peer
-
ES2161: Ethernet Analog Input Modules
- 32-channel differential analog current input
- Modbus TCP/IP or UDP/IP communication
-
ES2162: Ethernet Analog Input Modules
- 32-channel differential analog voltage input with 8B interface
- Modbus TCP/IP or UDP/IP communication
-
ES2163: Ethernet Analog Input Modules
- 64-channel single-ended analog current input
- Modbus TCP/IP or UDP/IP communication
-
ES2164: Ethernet Analog Input Modules
- 64-channel single-ended analog voltage input
- Modbus TCP/IP or UDP/IP communication
-
ES2171: Ethernet Analog Output Modules
- 16 analog current outputs
- Modbus TCP/IP, UDP/IP, i2o® peer-to-peer communication
-
ES2172: Ethernet Analog Output Modules
- 16 analog voltage outputs
- Modbus TCP/IP, UDP/IP, i2o® peer-to-peer communication
-
XT1110: 16-Channel Discrete Ethernet I/O Modules with Sinking Outputs
- 16 discrete tandem input/output channels
- Modbus TCP/IP, Ethernet/IP, Profinet, or i2o® communication
-
XT1120: 16-Channel Discrete Ethernet I/O Modules with Sourcing Outputs
- 16 discrete tandem input/output channels
- Modbus TCP/IP, Ethernet/IP, Profinet, or i20 communication
-
XT1210: 8-Channel Differential Analog Current Input Module
- 0-11mA, 0-20mA, 4-20mA, ±20mA, or 0-20 amps AC Input
- 8 analog differential current input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1220: 8-Channel Differential Analog Voltage Input Module
- ±5V, ±10V, 0-5V, 0-10V Input
- 8 analog differential voltage input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1230: 16-Channel Single-Ended Analog Current Input Module
- 0-11mA, 0-20mA, 4-20mA, ±20mA, or 0-20 amps AC Input
- 16 analog single-ended current input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1240: 16-Channel Single-ended Analog DC Voltage Input Module
- Input: ±5V, ±10V, 0-5V, 0-10V
- 16 analog single-ended voltage input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1530: Analog Output & Digital I/O Ethernet Modules
- 4 Analog DC Current Outputs
- 4 Discrete Voltage I/O Channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1540: Analog Output & Digital I/O Ethernet Modules
- 8 Analog DC Voltage Outputs ±10V (calibrated), ±5V (sub-range)
- 4 Discrete Voltage I/O Channels 0-32V DC
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
Additional information
Weight | 8 oz |
---|---|
Dimensions | 9 × 2.5 × 7.25 in |
Part Number | ESW-MBLIB: Ethernet Modbus C-Library Software, ESW-MBLIB_DEMO: Demo program for ESW-MBLIB |
Communication | i2o Peer-to-Peer, Modbus TCP/IP, Modbus UDP/IP |
Product Series | EtherStax Series |
-
Description
ESW-MBLIB: Ethernet Modbus C Library Software Description
Acromag’s Modbus C Library software greatly simplifies development of programs to interface with Acromag’s BusWorks® and EtherStax® Ethernet I/O products.
The library also supports any standard Ethernet Modbus slave device that communicates via Modbus TCP/IP or UDP/IP protocol.
This utility is ideal for developers that are unfamiliar with Modbus protocol or the framing of TCP/IP or UDP/IP messages.
The C library makes programming easy and portable by simply linking user code with the provided function calls (below). Most function calls require passing only a few parameters such as the IP address, Modbus register address, and
register count.Learn more about the EtherStax Series and view all models >
Codes | Functions
01 (01H)Â | Read Coil (Output) Status
02 (02H) | Read Input Status
03 (03H) | Read Holding Registers
04 (04H) | Read Input Registers
05 (05H) | Force Single Coil (Output)
06 (06H) | Preset Single Register
15 (0FH) | Force Multiple Coils (Outputs)
16 (10H) | Preset Multiple Registers
17 (11H) | Report Slave IDESW-MBLIB: Ethernet Modbus C Library Software Example Program
The included example program is menu-driven to help users build Modbus TCP/IP and UDP/IP commands. Menu selections let users configure, read, and write Ethernet I/O slave devices such as Acromag’s BusWorks and EtherStax products.
Users may also leverage this demonstration application into a tool for configuration or test by supplying commands and/or data values in the form of a text file. The program will execute each command in the text file as if it had been typed from the console terminal.
-
Features & Benefits
- Library of function routines simplify communication with I/O modules
- Function calls provided for a variety of operating systems
- C source code supplied
- Demonstration program included
- Saves development time
- Ideal for use with Acromag’s BusWorks and EtherStax I/O modules
- Compatible with any standard Modbus TCP/IP or UDP/IP device
-
Specs & Data Sheets
Specs & Catalogs
-
Software
ESW-MBLIB-DEMO (Log in to download the file) -
Accessories
-
900EN: 5-Port Ethernet Switch
- 10/100Mbps
- 15 to 36V DC power supply required
- Five shielded RJ-45 sockets, 8-pin, 10Base-T / 100Base-TX
-
951EN, 952EN: Ethernet Analog and Discrete I/O Modules
- 4 analog inputs
- 2 analog output
- 6 discrete I/O channels
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
958EN: Ethernet 8B Interface Modules
- 16-chanel single-ended voltage input
- DB25 port for 8B modules
- Modbus TCP/IP communication
-
961EN, 962EN: Ethernet Analog Input Modules
- 6-channel differential analog current or voltage input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
963EN, 964EN: Ethernet Analog Input Modules
- 12-channel single-ended analog current or voltage input
- Ethernet/IP or Modbus TCP/IP communication
-
965EN: Ethernet Thermocouple milliVolt Input Modules
- 4 or 6-channel thermocouple/milliVolt input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP 6-channel only
-
966EN: Ethernet RTD Resistance Input Modules
- 4 or 6-channel RTD/resistance input
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP 6-channel only
-
967EN: Ethernet Analog Input Modules
- 8-channel differential current input
- Modbus TCP/IP, 10/100Base-T(X), i2o peer-to-peer
-
968EN: Ethernet Analog Input Module
- 8-channel differential analog voltage input
- Modbus TCP/IP, i2o peer-to-peer communication
-
972EN, 973EN: Ethernet Analog Output Modules
- 4 or 6-channel DC current or voltage output
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP only
-
981EN, 982EN, 983EN: Ethernet Discrete I/O Modules
- 12-channel discrete input and/or output
- Ethernet/IP, Modbus TCP/IP
- i2o peer-to-peer available for Modbus TCP/IP
-
989EN: Ethernet Discrete I/O Modules with Counter / Timers
- 16-channel discrete I/O
- 8 counter/timers
- Modbus TCP/IP communication
-
994EN: Ethernet Analog Input Module
- 16-channel single-ended analog voltage input
- Modbus TCP/IP communication
-
ES2113: Ethernet Discrete I/O Modules
- 96 bi-directional discrete I/O channels
- Modbus TCP/IP, i20 peer-to-peer communication
-
ES2117: Ethernet Discrete I/O Modules
- 48 Channel-Isolated Discrete I/O (32 DC inputs, 16 AC/DC outputs)
- Modbus TCP/IP, i20 peer-to-peer
-
ES2161: Ethernet Analog Input Modules
- 32-channel differential analog current input
- Modbus TCP/IP or UDP/IP communication
-
ES2162: Ethernet Analog Input Modules
- 32-channel differential analog voltage input with 8B interface
- Modbus TCP/IP or UDP/IP communication
-
ES2163: Ethernet Analog Input Modules
- 64-channel single-ended analog current input
- Modbus TCP/IP or UDP/IP communication
-
ES2164: Ethernet Analog Input Modules
- 64-channel single-ended analog voltage input
- Modbus TCP/IP or UDP/IP communication
-
ES2171: Ethernet Analog Output Modules
- 16 analog current outputs
- Modbus TCP/IP, UDP/IP, i2o® peer-to-peer communication
-
ES2172: Ethernet Analog Output Modules
- 16 analog voltage outputs
- Modbus TCP/IP, UDP/IP, i2o® peer-to-peer communication
-
XT1110: 16-Channel Discrete Ethernet I/O Modules with Sinking Outputs
- 16 discrete tandem input/output channels
- Modbus TCP/IP, Ethernet/IP, Profinet, or i2o® communication
-
XT1120: 16-Channel Discrete Ethernet I/O Modules with Sourcing Outputs
- 16 discrete tandem input/output channels
- Modbus TCP/IP, Ethernet/IP, Profinet, or i20 communication
-
XT1210: 8-Channel Differential Analog Current Input Module
- 0-11mA, 0-20mA, 4-20mA, ±20mA, or 0-20 amps AC Input
- 8 analog differential current input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1220: 8-Channel Differential Analog Voltage Input Module
- ±5V, ±10V, 0-5V, 0-10V Input
- 8 analog differential voltage input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1230: 16-Channel Single-Ended Analog Current Input Module
- 0-11mA, 0-20mA, 4-20mA, ±20mA, or 0-20 amps AC Input
- 16 analog single-ended current input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1240: 16-Channel Single-ended Analog DC Voltage Input Module
- Input: ±5V, ±10V, 0-5V, 0-10V
- 16 analog single-ended voltage input channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1530: Analog Output & Digital I/O Ethernet Modules
- 4 Analog DC Current Outputs
- 4 Discrete Voltage I/O Channels
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
XT1540: Analog Output & Digital I/O Ethernet Modules
- 8 Analog DC Voltage Outputs ±10V (calibrated), ±5V (sub-range)
- 4 Discrete Voltage I/O Channels 0-32V DC
- 12 to 32V DC Power (2.8W)
- Modbus TCP/IP, Ethernet/IP, Profinet
- i2o® peer-to-peer available for Modbus TCP/IP only
-
-
Additional information
Additional information
Weight 8 oz Dimensions 9 × 2.5 × 7.25 in Part Number ESW-MBLIB: Ethernet Modbus C-Library Software, ESW-MBLIB_DEMO: Demo program for ESW-MBLIB
Communication i2o Peer-to-Peer, Modbus TCP/IP, Modbus UDP/IP
Product Series EtherStax Series
Please login to submit this form.