-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: ReadSZL() #196
Comments
What is an SZL btw? Never heared of that thing in an SPS context before (or can't remember). This feature is actually not implemented, but feel free to make a PR. |
The SZL's are used to get diagnostic data out of the PLC I'm not sure I'm competent enough to make the feature myself... |
Found out SZL means "SystemZustandsListe", so like you said a diagnostic datas. I thought I may never contribute to this repo as well, but after a while I am pretty into it in any kind of way. 😄 Otherwise you may have to wait a longer time until somebody implements it or you have to make PLC workarounds. |
I really would love that two, I was looking for something like that for checking if devices where connected |
Hi I didn't know where the right place where to ask for this?
The Snap7 has a function to read SZL values or lists of values, I would like that also in the Python-Snap7
Thanks for all your work.
Example from the Snap7 documentation:
Cli_ReadSZL
Description
Reads a partial list of given ID and INDEX.
Declaration
int Cli_ReadSZL( S7Object Client, int ID, int Index,
TS7SZL *pUsrData, int *Size);
function Cli_ReadSZL(Client : S7Object; ID, Index : integer;
pUsrData : PS7SZL; var Size : integer) : integer;
Parameters
Type Dir.
Client Native Integer In
The handle as return value of
Cli_Create(), passed by value.
ID integer 32 In List ID
Index integer 32 In List Index
pUsrData Pointer to struct in Address of the user buffer
size Pointer to integer 32 In Buffer size available
Out Bytes rea
The text was updated successfully, but these errors were encountered: