1/13/2012 10:10 PM | |
Posts: 1 Rating:
|
Error With RDREC Function I need Help |
Last edited by: O_Moderator at: 1/16/2012 11:16 AMnew subject after splitting from /tf/WW/en/Posts/60741#top |
|
1/17/2012 2:56 AM | |
Joined: 10/7/2005 Last visit: 3/20/2025 Posts: 3042 Rating:
|
Hello Daniela111 not too sure if can help based on the supplied info, but I can at least tell you what the status code"C0 A0 A3 00" of your RDREC call means (see also chapter 8.3.3 of the SIMATIC S7 S7-1200 Programmable controller for more): Status Byte 1 "C0" (Function number): If no DPV1 protocol element is used, then B#16#C0 will be output (in case of an error) Status Byte 2 "A0" (Location of the error ID): Error according to IEC 61158-6 Status Byte 3 "A3" (Error ID): Profibus DP: DP protocol error with Direct-Data-Link-Mapper or User-Interface/User PROFINET I/O: General CM error Status Byte 4 "00" (Manufacturer specific Error ID expansion): With DPV1 errors, the DP Master passes on STATUS[4] to the CPU and to the instruction. Without a DPV1 error, this value is set to 0, with the following exceptions for the RDREC: - STATUS[4] contains the target area length from RECORD, if MLEN > the destination area length from RECORD. - STATUS[4]=MLEN, if the actual data record length < MLEN < the destination area length from RECORD. - STATUS[4]=0, if STATUS[4] > 255; would have to be set In PROFINET IO, STATUS[4] has the value 0. I hope this helps, but if not, please provide us with more detail on your applicationand/or upload your project here. |
Cheers |
|
1/31/2012 5:01 PM | |
Posts: 1 Rating:
|
the ID must be in Word form , in your case it will be W#16#0110 |
Last edited by: MJ Hashem at: 1/31/2012 5:03 PM |
|
Follow us on