Skip to content

Commit a0f5567

Browse files
authored
Merge pull request #298 from arduino/jcarolinares/public-launch-additions
Small fixes. Ready for launch
2 parents f2d4235 + c76fb5d commit a0f5567

File tree

1 file changed

+9
-9
lines changed
  • content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started-with-modbus-rtu

1 file changed

+9
-9
lines changed

Diff for: content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started-with-modbus-rtu/content.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ difficulty: intermediate
55
tags:
66
- Getting started
77
- Modbus RTU
8-
- RS-485
8+
- RS485
99
author: 'José Bagur and Taddy Chung'
1010
libraries:
1111
- name: ArduinoRS485
@@ -23,18 +23,18 @@ hardware:
2323

2424
## Overview
2525

26-
Modbus is an open serial protocol derived from the client/server architecture initially developed and published by Modicon (now Schneider Electric) in 1979 for use with programmable logic controllers (PLCs); since 1979, Modbus has become a standard communications protocol in industrial electronic devices. The Opta™, with its industrial hardware and software capabilities and the Arduino ecosystem tools such as the Arduino IDE and its libraries, can implement this communications protocol. In this tutorial, we will learn how to implement this communications protocol over RS-485 between two Opta™ devices.
26+
Modbus is an open serial protocol derived from the client/server architecture initially developed and published by Modicon (now Schneider Electric) in 1979 for use with programmable logic controllers (PLCs); since 1979, Modbus has become a standard communications protocol in industrial electronic devices. The Opta™, with its industrial hardware and software capabilities and the Arduino ecosystem tools such as the Arduino IDE and its libraries, can implement this communications protocol. In this tutorial, we will learn how to implement this communications protocol over RS485 between two Opta™ devices.
2727

2828
## Goals
2929

30-
- Learn how to use the Modbus RTU communications protocol over RS-485 between two Opta™ devices
30+
- Learn how to use the Modbus RTU communications protocol over RS485 between two Opta™ devices
3131

3232
### Required Hardware and Software
3333

3434
### Hardware Requirements
3535

36-
- [Opta™](https://store.arduino.cc/pages/opta) with RS-485 support (x2)
37-
- STP/UTP 24-18AWG(Unterminated)/22-16AWG(Terminated) 100-130Ω rated cable for RS-485 connection (x3)
36+
- [Opta™](https://store.arduino.cc/pages/opta) with RS485 support (x2)
37+
- Wires with similar specs: STP/UTP 24-18AWG (Unterminated)/22-16AWG (Terminated) 100-130Ω rated cable for RS485 connection (x3)
3838
- 12VDC/1A DIN rail power supply (x1)
3939
- USB-C® cable (x1)
4040

@@ -60,15 +60,15 @@ First, let's ensure we have the latest Arduino IDE version installed on our comp
6060

6161
***`ArduinoModbus` library requires the `ArduinoRS485` library as the Modbus library is dependent on it; remember to install both libraries.***
6262

63-
### Connecting the Opta™ Over RS-485
63+
### Connecting the Opta™ Over RS485
6464

65-
Now that we have the Arduino IDE configured and the libraries installed, let's connect both Opta™ devices via RS-485, as shown in the image below:
65+
Now that we have the Arduino IDE configured and the libraries installed, let's connect both Opta™ devices via RS485, as shown in the image below:
6666

67-
![Connecting two Opta™ devices via RS-485.](assets/opta-modbus-connection.png)
67+
![Connecting two Opta™ devices via RS485.](assets/opta-modbus-connection.png)
6868

6969
### Code Overview
7070

71-
The objective of the example described below is to configure and use Modbus RTU communications protocol over RS-485 between two Opta™ devices, one acting as a Client and the other acting as a Server. The Client is responsible for writing and reading `Coil`, `Holding`, `Discrete Input`, and `Input` register values. The Server will poll for Modbus RTU requests and return values accordingly to each request. To help you understand better how the example works, we will briefly explain the essential parts of the code used in this tutorial.
71+
The objective of the example described below is to configure and use Modbus RTU communications protocol over RS485 between two Opta™ devices, one acting as a Client and the other acting as a Server. The Client is responsible for writing and reading `Coil`, `Holding`, `Discrete Input`, and `Input` register values. The Server will poll for Modbus RTU requests and return values accordingly to each request. To help you understand better how the example works, we will briefly explain the essential parts of the code used in this tutorial.
7272

7373
#### Modbus RTU Client
7474

0 commit comments

Comments
 (0)