12/23/2022 10:11 PM | |
Joined: 11/7/2013 Last visit: 9/11/2025 Posts: 37 Rating:
|
Hello. I have to do project which is based on adding CP343-1 processor with profinet controller function to existing station with CPU 315-2DP and couple of IO cards. Through CP343-1 processor I want to communicate with two profinet IO devices, tottaly 28 byte inputs and 4 byte outputs. After calling PNIO_RECV and PNIO_SEND function both functions give me error code 8185h which means - Destination buffer (RECV of IOCS) is too small but I am sure, that i declared enough space for IOCS -> one bit per one byte, in my case. 28 byte inputs is 4 byte for IOCS. I even tried with 200 byte space for IOCS and still the same error. I analyzed example i found here and basically the only difference between my config and config in example project is that i have IO cards in HW config before CP343-1 processor and my profinet IO devices input and output addresses dont start from 0 (because existing before IO card ocupied that adress). Also in that example i mentioned before i found note about profinet IO devices adressing:
Is that mean, that if i want to get profinet working on my station i have to move addresses of existing IO cards further to let profinet IO devices inputs and outputs addresses start from 0? What about error from PNIO_RECV and PNIO_SEND function about not enough space form IOCS? In attachment my hw config AttachmentPNIO problem.zip (718 Downloads) |
This contribution was helpful to
1 thankful Users |
2/15/2024 8:51 AM | |
Joined: 8/21/2014 Last visit: 9/12/2025 Posts: 1087 Rating:
|
New question published by frzw is split to a separate thread with the subject Attached the CP343-1 to 315DP plc: Error 8184. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on