Anybus CompactCom B40 Modbus Serial Interface - Modbus TCP

The CompactCom B40 Modbus Serial for Modbus TCP enable simple communication between your device and the Modbus TCP network.

The CompactCom B40 Brick gives you the flexibility to add your own connectors and network isolation. An alternative is to use the ready-made connector board from HMS. The B40 Brick is ideal for device manufacturers who are looking for a semi-integrated solution where connector flexibility, size and cost are key elements.

By implementing the CompactCom B40 Brick into your product line, you can get connected to other B40 supported networks simply by switching to another CompactCom B40 Brick.


The B40 Brick enables communication between your device and Modbus TCP. The Brick supports generic device profiles and comes with a dual port switch implemented in the network processor — the award-winning Anybus NP40.


Features & Benefits

  • A ready-made Modbus TCP connectivity solution
  • Flexibility to add your own connectors and peripherals to limit size and costs
  • Short in-design with free assistance from HMS ensures a fast time to market
  • Modbus pre-certified for network compliance (enables faster network certification)
  • Up to 1536 bytes of I/O data in each direction
  • IIoT ready: Includes Email Client, Web server with customizable content, SSI functionality and FTP server
  • Extended flash-based file system with two-disc access (internal and external)
  • Solid security: Mandatory software signatures prevent unauthorized software to be downloaded to the module. Furthermore, encryption is used to prevent illicit copying.

Technical specifications

Dimensions  (L•W•H)
36 x 36 x 8 mm or 1,41 x 1,41 x 0,31"
Operating temperature -40 to +85 °C  or  -40 to +185 °F
Power requirements 3.3 VDC, +/- 0.15 VDC
Application Interface

UART interface running the Modbus RTU protocol. max 625kbps

Profile support Generic device
Ethernet features Integrated 2-port switch, IT functions (FTP server, web server with JSON and SSI support) 
Internal file system
Configurable up to 28 MB
Two discs are available: One internal (28 MB capacity), and one reserved for accessing the application file system (capacity determined by application)

LED indicators
Available via host connector - Indicates Module Status and Network Status
Connectors No: Add your own connectors (RJ45) - YES: via B40 connector board
Galvanic isolation No: Add your own isolation - YES: via B40 connector board
Mechanical rating 
IP20, NEMA rating 1 
Certifications CE, CULUS, RoHS

Ordering Information

Order Code  AB6790
Included components            

CompactCom B40 Modbus Serial Interface Modbus TCP

Optional Accessories            

AB6664: B40 Connector Board for Modbus TCP

For purchasing instructions and terms and conditions, see: How to buy


See how to configure the X-gateway CANopen

Configuration CANopen

What you can do!

Connect any two industrial networks — Fieldbus, or Industrial Ethernet or connect to IT systems via MQTT or OPC UA.

Data exchange

Learn more about how the X-gateway exchanges I/O Data.

X-gateway assistance

Through HMS Technical Services, start-up assistance, on-site help and trainings are available.

Anybus X-gateway case studies

Click the button down below to read more about our case studies.