diff --git a/docs/EtherKit_User_Manual.pdf b/docs/EtherKit_User_Manual.pdf index 9fe6d21..123069b 100644 Binary files a/docs/EtherKit_User_Manual.pdf and b/docs/EtherKit_User_Manual.pdf differ diff --git a/projects/etherkit_profinet_pnet/README.md b/projects/etherkit_profinet_pnet/README.md index 869da5d..3e57a02 100644 --- a/projects/etherkit_profinet_pnet/README.md +++ b/projects/etherkit_profinet_pnet/README.md @@ -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) \ No newline at end of file +We can click to view the I&M again, and we will see that the I&M data has been successfully modified! \ No newline at end of file diff --git a/projects/etherkit_profinet_pnet/README_zh.md b/projects/etherkit_profinet_pnet/README_zh.md index c7f0cde..cf1a32e 100644 --- a/projects/etherkit_profinet_pnet/README_zh.md +++ b/projects/etherkit_profinet_pnet/README_zh.md @@ -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) \ No newline at end of file +![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 修改成功! \ No newline at end of file diff --git a/projects/etherkit_profinet_pnet/figures/image-20241209165958786.png b/projects/etherkit_profinet_pnet/figures/image-20241209165958786.png new file mode 100644 index 0000000..71f0c29 Binary files /dev/null and b/projects/etherkit_profinet_pnet/figures/image-20241209165958786.png differ diff --git a/projects/etherkit_profinet_pnet/figures/image-20241209170011069.png b/projects/etherkit_profinet_pnet/figures/image-20241209170011069.png new file mode 100644 index 0000000..b0503bd Binary files /dev/null and b/projects/etherkit_profinet_pnet/figures/image-20241209170011069.png differ