cagliostro
Member
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
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
Last edited: