S7-sfc51 [rdsysst]

cagliostro

Member
Join Date
Feb 2007
Location
vi
Posts
106
Hi all,

in these days I'm learning how to use the diagnostic management function SFC51.

I started with a simple SZL_ID data input as W#16#0019 (request the status led of all unit).

Now I read the description of the function with the help on line and read the Siemens manual concerning the SFC51 also, but I'm facing some problems with the use of the DR data output of the SFC51.
My question is, how to define the lenght of the data in the DR parameter??
In the image attached, I used 240 bytes just only for test.......
And how understand the result of the values write in the data area assigned to the DR???

Thanks in advance

immagineza.png
 
Last edited:
Depending what system info you require, you'll find life's a lot easier if you use FB125 or it's little brother FC125 (for Profibus systems - I believe you need FB126 for Profinet).
 

Similar Topics

Dear, I am new to plc programming. I need to use SFC 51 with SSL_ID=B1 to view diagnostic data on modules. Under INDEX, the block asks for...
Replies
2
Views
1,009
Dear all, I have a question about using SFC51. I used SSL_ID 0D91 to obtain the status of a remote IO panel. When I read through the help file of...
Replies
0
Views
1,590
Hello, Does anyone have a well tested code that could be shared, using SFC51 to perform Diagnostics for S7-300 IO modules and ET200s modules...
Replies
5
Views
3,993
Hi all, I have got a setup as shown in the attached picture. I am trying to detect state of the slaves, but only the IM153-2 shows up. How can I...
Replies
3
Views
2,428
Can test SFC51 to read LED status with PLCSIM? I will used 315-2-Dp and currently when I tested with PLCSIM, I only got LED ON bit at Index...
Replies
2
Views
3,633
Back
Top Bottom