2x RS232/422/485 Glavanically Isolated (up to
12 Mbps in RS 422/485) Daughter Card
Overview
This section describes how to use the serial daughter card using code examples. It also describes the
basic MODBUS RTU functionality over serial and leverages Libmobus, a common Open Source Library,
to help in understanding the fundamental methods. The code examples used in this chapter are tested on
CentOS 7.5.
In addition, this section includes the following:
•
Main components of the daughter card and their configuration
•
Software tools, components, and libraries required to compile the code
•
Compilation steps using LibModbus
•
Main methods and software execution
Configure the Card Using iSM
The iSM provides a facility for changing the modes of the card. The options include the RS485 mode and
setting the termination required for the RS422 and RS485 modes.
16
2x RS232/422/485 Glavanically Isolated (up to 12 Mbps in RS 422/485) Daughter Card