Skip to content

Commit aaf476f

Browse files
committed
Tutorial content update
1 parent 158656a commit aaf476f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

content/hardware/05.pro-solutions/solutions-and-kits/portenta-machine-control/tutorials/pmc-modbus-rtu-plc-ide/content.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,27 +293,29 @@ Use the configuration model applied to the Modbus RTU Server Portenta Machine Co
293293

294294
After setting up the Modbus node for the client Portenta Machine Control,we need to specify the Modbus function responsible for retrieving the counter (`cnt`) data from the server Portenta Machine Control. Right-click on `PMC_RTU_1` or any other name you set with, to see the 'Add' option, which will bring forth a device catalog window showcasing all available Modbus functions:
295295

296-
![Arduino PLC IDE - Modbus Functions](assets/pmc_plcide_modbus_functions.png)
296+
![Arduino PLC IDE - Modbus Functions](assets/pmc_plcide_client_modbusFunctionConfig_reg.png)
297297

298298
To retrieve the counter data from the server Portenta Machine Control, select the 'Modbus FC-04 (Read Input Registers)' function. Configure the 'General' tab with the following parameters to ensure correct data access:
299299

300300
* Start address: 25000
301301
* Polling time: 0 ms (Continuous Read)
302302
* Timeout: 1000 ms
303303

304+
![Arduino PLC IDE - Modbus Functions](assets/pmc_plcide_modbus_functions.png)
305+
304306
Next, you will need to designate a variable to hold the counter data captured from the server Portenta Machine Control. To do this, go to the `Input Reg.` tab located in the Modbus function configuration menu. Create a variable named `counter_rec` to store the data sent via the protocol.
305307

306308
The following image shows a visual representation of the anticipated configuration:
307309

308-
![Arduino PLC IDE - Portenta Machine Control Client Modbus Function of the Node (Input Reg.)](assets/pmc_plcide_client_modbusFunctionConfig_reg.png)
310+
![Arduino PLC IDE - Portenta Machine Control Client Modbus Function of the Node (Input Reg.)](assets/pmc_plcide_client_modbusFunctionInput_reg.png)
309311

310-
In this tutorial's demonstration, the client Portenta Machine Control is configured to use WIP
312+
In this tutorial's demonstration, the client Portenta Machine Control is configured to use digital programmable I/Os and digital outputs.
311313

312-
The image below shows how it should look within the PLC IDE interface:
314+
The image below shows how digital outputs configuration should look within the PLC IDE interface:
313315

314316
![Arduino PLC IDE - Portenta Machine Control Client Digital Outputs Table](assets/pmc_plcide_device_localDO.png)
315317

316-
The OBJECT also needs labels to reference it later in the main PLC code. A table displaying the variable names designated for OBJECT can be seen below:
318+
The digital programmable I/Os also needs labels to reference it later in the main PLC code. A table displaying the variable names designated for digital programmable I/Os can be seen below:
317319

318320
![Arduino PLC IDE - Portenta Machine Control Client Digital Programmable I/O Table](assets/pmc_plcide_device_DIO.png)
319321

0 commit comments

Comments
 (0)