This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear Community,
uses:
- LP-AM243
- mcu_plus_sdk_am243x_08_02_00_28
- Code Composer Studio Version: 11.1.0.00011
- profinet_device_rt_rgmii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang
We have flash the LP-AM243 with the builded ".appimage" of the Demo Example "profinet_device_rt_rgmii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang".
We Add the LP-AM243 to a Profinet Network with an Simatic S7:
-plc_1 = S7-1200
-dut = LP-AM243
Simatic S7 "dut" Settings:
We cannot send or get cyclic Data from both Sides:
1. We try to Send Data via S7-1200 with Forcing:
-> When we have a look with a Sniffer the data were send from the S7-1200
-> We set a breakpoint here:
->We dont receive any cyclic Data in the "dut":
2. We try to Send Data via LP-AM243:
-> When we have a look with a Sniffer the data were not send by the "dut"
-> And in the watching table of the S7-1200 shows that no data are received by the S7-1200
I found on this Support Ticket a link to a video what should explain the communication process, but the video dont exists anymore.
Video Link: https://tidrive.ext.ti.com/userportal/?v=4.5.2#/shared/public/zzrCPAY6wjHdOsI0/76487039-a0d0-42de-897e-52b1141e7362 (Password : 6SmN6F,f)
How i can send and receive Cyclic Data ?
Exists the Video what explaines the communication process anywhere?
Do you have a detailed Documentation of the Profinet Stack?
Thanks in advance for you help !!
Kind regards
Jonas Reich
Hi
Do you have a detailed Documentation of the Profinet Stack?
We have more details available in this page : https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_02_00_28/exports/docs/industrial_protocol_docs/am243x/profinet_device/compact_device_example.html
Have you made any changes to the SDK example?
Regards
Dhaval Khandla
Hello Dhaval Khandla,
thank you for your fast response and the link to the documentation.
In the first try I dont have made any changes of the SDK example. (1. We try to Send Data via S7-1200 with Forcing:)
In the second try I write 0xAA in pBufIn[0] and 0xBB in pBufIn[1]. (2. We try to Send Data via LP-AM243:)
When I only use the Demo Example without any changes the LED Status says:
CONFIG_SYS_FAILURE_LED; LD2 (TEST_LED2_RED) = at first the LED blinks red, after a few seconds the LED goes off
CONFIG_DCP_SIGNAL_LED; LD1 (TEST_LED1_GREEN) = off
CONFIG_CYCLIC_LEDS; LD12…LD15 = off
Hi
Can you share following information?
1.If you connect DUT directly to PLC, does the communication work?
2. What is connected to ports 2 and 4 of the unmanaged switch?
3. Can you share the packet capture files from the sniffer?
Regards
Dhaval Khandla
Hi,
1. When i connect the DUT directly to PLC, the communication work. I get the cyclic data, saved in the aCycDataOutput_g. But in the function APP_runProfinetStack(), i dont see any Data in the pBufOut, pBufIn.
2. There are two PC's connected (one with TIA Portal and Proneta)
Hi
On checking the screenshot you shared in the first post, we see an old version of GSDML. Can you please use the GSDML from latest SDK and check?
Also we can see the I/O data checked is NOT mapped in the example application. If you want to test Byte 128 you will need to adjust the example application accordingly.
Regards
Dhaval Khandla
Hi
Were you able to test with the latest GSDML file?
Regards
Dhaval Khandla
Good Morning Mr. Khandla,
after i changed the GSDML from the latest SDK the exchange of the Cyclic Data between the LP-AM243 and the PLC is working.
Thank you for your Help!
Regards
Jonas Reich