10/10/2017 8:52 AM | |
Posts: 8 Rating:
|
Hello, I have some trouble to send data as IO controller to a IO device over profinet using the CP343-1. I managed to do the receiving part without problems. The FC11 PNIO_SEND give me nothing on ERROR no anormal STATUS word and DONE is switching to 1 regularly as well as CHECK_IOCS. And it seems i'm not receiving the expected data on the device which should be in the adress range from 344 to 463. I don't understand so well te IOCS principle but i suppose that the problem should be linked to the fact that I have the CHECK_IOCS to 1. You'll find a copy of my FC11 block, Send DB and HW config with profinet network adressing. --Deleted Link-- Thanks in advance
Attachmentpictures.zip (65 Downloads) |
Last edited by: Jen_Moderator at: 10/10/2017 11:22:47 AMDeleted Link and added images as an attachment. |
|
10/10/2017 10:48 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi LATOR, how did you check the Error/Status? the Information on Status is only valid for one cycle. you need to save the value when Error = true. There´s a FAQ with application sample available: How do you program communication blocks FC11 and FC12 for the PROFINET IO device? hope this helps, regards, |
FCK WAR! |
|
10/10/2017 11:19 AM | |
Posts: 8 Rating:
|
I move the status to a temporary memo when ERROR = 1. But as I said this never happen. Otherwhise the status value is either 0000 or 8180 which is normal. |
10/10/2017 1:04 PM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi LATOR, do you get the DONE-bit? regards, |
FCK WAR! |
|
10/10/2017 1:20 PM | |
Posts: 8 Rating:
|
Yes except the check_IOCS which goes to 1 everything seems fine. |
Last edited by: LATOR at: 10/10/2017 1:21:47 PM |
|
Follow us on