Skip to content

Commit

Permalink
update descriptopn for pnet project
Browse files Browse the repository at this point in the history
  • Loading branch information
kurisaW authored and Rbb666 committed Dec 9, 2024
1 parent f0a2ff2 commit f2abb48
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
Binary file modified docs/EtherKit_User_Manual.pdf
Binary file not shown.
24 changes: 16 additions & 8 deletions projects/etherkit_profinet_pnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,26 @@ You should see the PN master successfully online:
## PROFINET Slave Application Startup
Start the PROFINET slave on the development board by executing the command: `pnet_app`:
Here we use the CODESYS software to test the interaction between the PN master and slave stations.
![image-20241126114538916](figures/image-20241126114538916.png)
### LED Blinking
![image-20241126114547482](figures/image-20241126114547482.png)
Back in the CODESYS software, in the left navigation panel, select `PN_Controller`, right-click and scan the devices. After clicking on the device name, click on "Blink LED":
## PN Protocol Stack Demo
![image-20241126114601251](figures/image-20241126114601251.png)
In CODESYS, test the master-slave interaction by selecting **PN_Controller** in the left navigation bar, right-clicking **Scan Devices**, selecting the device, and clicking **Blink LED**:
At this point, the development board (PN slave I/O) will display log outputs, accompanied by the onboard User LED blinking:
![image-20241126114601251](figures/image-20241126114601251.png)
![img](figures/clip_image050.jpg)
### Modifying Slave I&M (Identification and Maintenance) Data
In the same device scanning interface, click on the I&M section in the lower left corner, modify the information, and write it to the I&M:
![image-20241209165958786](figures/image-20241209165958786.png)
At the same time, PNIO will update the slave station configuration:
The development board’s logs should display output and the onboard **User LED** will blink:
![image-20241209170011069](figures/image-20241209170011069.png)
![img](figures/clip_image050.jpg)
We can click to view the I&M again, and we will see that the I&M data has been successfully modified!
16 changes: 15 additions & 1 deletion projects/etherkit_profinet_pnet/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,24 @@ GSD(Generic Station Description file):即通用站点描述文件,主要用
这里我们使用 CODESYS软件来测试 PN 的主从站交互。
### LED闪烁
回到 CODESYS 软件,左侧导航栏选择 PN_Controller,右键点击扫描设备,单击设备名后点击闪烁LED:
![image-20241126114601251](figures/image-20241126114601251.png)
此时的开发板端(PN从站IO)可以看到日志输出,并伴随板载User LED闪烁:
![img](figures/clip_image050.jpg)
![img](figures/clip_image050.jpg)
### 从站 I&M(标识和维护) 数据修改
依然是扫描设备界面,我们点击左下角的 I&M,修改信息并写入 I&M:
![image-20241209165958786](figures/image-20241209165958786.png)
同时 PNIO 会更新从站配置信息:
![image-20241209170011069](figures/image-20241209170011069.png)
我们再次点击查看 I&M,即可发现 I&M 修改成功!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f2abb48

Please sign in to comment.