3/22/2011 2:39 PM | |
Posts: 3 Rating:
|
Many thanks at all, now I have another problem, could you confirm me that for to control the correct communication from PLC to nodes is sufficiente to set in the SFC51 the SZL_ID:=C75 and to monitor the switching of the bit output SZL_HEADER 2.0 and 2.1? Thanks in advance for your reply. Paolo Splitted from SFC51 for S7-400H. |
Last edited by: O_Moderator at: 3/23/2011 9:42 AMnew subject after splitting |
|
3/22/2011 6:52 PM | |
Joined: 1/28/2009 Last visit: 3/8/2025 Posts: 6860 Rating:
|
Check this topic: I wanna know when DP Slave has a failure - OB86[code] CALL SFC51 "RDSYSST" REQ :=#IN0 SZL_ID :=W#16#292 INDEX :=W#16#1 RET_VAL :=#TEMP3 BUSY :=#TEMP31 SZL_HEADER:=#TEMP4 DR :=#TEMP32 JBI M004 //failure of SFC51 processing BEU M004: NOP 0 //READ CONTENT OF DATA RECORD AN #TEMP32.TEMP34 //ZERO SHOWS FAULT = DB16.DBX 4.7 //1ST SLAVE FAILING AN #TEMP32.TEMP35 = DB16.DBX 5.0 //2ND SLAVE FAILING AN #TEMP32.TEMP36 = DB16.DBX 5.1 //3RD SLAVE FAILING AN #TEMP32.TEMP37 = DB16.DBX 5.2 //4TH SLAVE FAILING[/code] BR |
Follow us on