Skip to content

Commit 940a1bf

Browse files
committed
Initial commit - PLC IDE 107 version resources update
1 parent 8cae505 commit 940a1bf

10 files changed

+20
-19
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading

content/software/plc-ide/tutorials/05.modbus-setup/content.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ The Arduino Portenta Machine Control (PMC) is a fully-centralized, low-power, in
2929
In order to configure the Portenta Machine Control you will need to connect to the device through the Arduino PLC IDE.
3030

3131
1. Connect the device to the computer through USB
32-
2. Click "Connect to the target" button on the PLC IDE
32+
2. Click **Connect to the target** button on the PLC IDE
3333

34-
***The device needs to be activated with a license, check the steps on the [PLC IDE Set-up tutorial](./plc-ide-setup-license)***
34+
***The device needs to be activated with a license, check the steps on the [PLC IDE Set-up tutorial](./plc-ide-setup-license).***
3535

3636
***Both Modbus RTU and Modbus TCP can run at the same time in parallel***
3737

@@ -41,9 +41,9 @@ In order to configure the Portenta Machine Control you will need to connect to t
4141

4242
### Modbus RTU Configuration
4343

44-
Inside the Arduino PLC IDE navigate to the left side panel and click on the "Resources" tab.
44+
Inside the Arduino PLC IDE navigate to the left side panel and click on the **Resources** tab.
4545

46-
To configure the Modbus communication click on the "RS485 Serialport" label, it will open a new window in the middle to customize:
46+
To configure the Modbus communication click on the **RS485 Serialport** label, it will open a new window in the middle to customize:
4747

4848
![Arduino PLC IDE Resources panel, -> RS-485 settings](assets/PLC-IDE-ModBus.png)
4949

@@ -54,15 +54,12 @@ Then you can attach some functions to the Generic Modbus item, they will appear
5454
![Modbus catalog select new item](assets/modbusCatalog-add-prompt.png)
5555

5656
#### Mode
57-
<br></br>
5857

5958
* Not used
6059
* Modbus RTU Master
6160
* Modbus RTU Slave
6261

6362
#### Baud Rate
64-
<br></br>
65-
6663

6764
Baud rate, options:
6865
* 600
@@ -76,28 +73,26 @@ Baud rate, options:
7673
* 115200
7774

7875
#### Serial Mode
79-
<br></br>
8076

81-
| Name | Parity | data bits | stop bits |
82-
| ------- | ----------- | --------- | ----------|
83-
| N, 8, 1 | No parity | 8 | 1 |
84-
| E, 8, 1 | Even parity | 8 | 1 |
85-
| O, 8, 1 | Odd parity | 8 | 2 |
86-
| N, 8, 2 | No parity | 8 | 2 |
87-
| O, 8, 2 | Odd parity | 8 | 2 |
77+
| **Name** | **Parity** | **data bits** | **stop bits** |
78+
|----------|-------------|---------------|---------------|
79+
| N, 8, 1 | No parity | 8 | 1 |
80+
| E, 8, 1 | Even parity | 8 | 1 |
81+
| O, 8, 1 | Odd parity | 8 | 2 |
82+
| N, 8, 2 | No parity | 8 | 2 |
83+
| O, 8, 2 | Odd parity | 8 | 2 |
8884

8985
#### Slave Settings
90-
<br></br>
9186

9287
(Only available on slave mode)
9388

9489
* Modbus address
9590
Address of the device: from 1 to 247. It can not be repeated within the same Modbus net.
9691

9792
#### Modbus Node Configuration
98-
<br></br>
9993

100-
Once you have configured your device as a **Modbus Master** you can attach some blocks to configure it, you can see them while you have the **RS485 SerialPort** on the **Catalog Tile Window**
94+
Once you have configured your device as a **Modbus Master** you can attach some blocks to configure it, you can see them while you have the **RS485 SerialPort** on the **Catalog Tile Window**:
95+
10196
![Modbus catalog](assets/modBusCatalog.png)
10297

10398
* Generic Modbus
@@ -127,11 +122,14 @@ Then you can attach some functions to the Generic Modbus item, they will appear
127122
Settings:
128123
* Name
129124
* IP address
125+
* Modbus address
130126
* Minimum polling time
127+
* Address type
131128

132129
## Modbus Parametrization
133130

134-
On the Generic
131+
On the Generic:
132+
135133
![Generic Modbus Parametrization Tab](assets/modbusParametrization.png)
136134

137135
## Modbus Devices Functions (Modbus FC)
@@ -146,13 +144,16 @@ On the Generic
146144
* Modbus FC-16: Write multiple registers
147145

148146
To configure the block you can click on it and it will show the configuration panel on the main window.
147+
149148
![Modbus item catalog](assets/genericModbus-catalog.png)
150149

151150
Inside each of the "devices" (functions) you can set its:
151+
152152
**General**
153153
* Start address
154154
* Polling time
155155
* Time Out
156+
* Oneshot variable
156157

157158
![Modbus item general configuration](assets/genericModbus-catalog-setting-general.png)
158159

0 commit comments

Comments
 (0)