-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tc2_Utilities pinned version to 3.3.38.0 #7
Comments
Interesting, I didn't even know I pinned that. Thanks for raising the issue, I'll fix it on the next update |
Thanks for your kind words! 👍 I glad you enjoy this library. This is a great suggestion for a PR. I’ve thought about these improvements in the past, and to be honest, there are several aspects of this library that I’m not entirely happy with. That’s why I’ve been planning a Version 2 to address these and other issues, as detailed in the v2 branch proposal. It’s still in early development, and I haven’t found the time to work on it properly yet. Here are my thoughts on the suggestions you’ve raised: Monitoring AttributesI’ve been cautious about using monitoring attributes in libraries due to their potential side effects:
Given these considerations, I’d prefer to leave properties as they are for now. Component AccessIn Version 2, I’m transitioning the Changing If you absolutely need component access, there is a workaround I hesitate to recommend. In TwinCAT and Codesys, local variables aren’t truly hidden and can be accessed externally without compiler complaints. For example: FUNCTION_BLOCK FB_List EXTENDS FB_Collection IMPLEMENTS I_List
VAR
Error : T_Error;
END_VAR PROGRAM MAIN
VAR
fbList : FB_List;
sErrorMessage : STRING;
END_VAR
sErrorMessage := fbList.Error.sSOURCE; While not ideal, this is an option if necessary. Next StepsFor now, I’d recommend either leaving the properties as they are or forking the library to make the changes you need. On my end, I’ll make some minor updates and accelerate development on Version 2 to address these concerns and more. Feel free to open issues or share suggestions for Version 2. |
I see that you have way more IT world experience over me :) Who knows, perhaps PLC++ will give us all these things we want, my only worry is when is it coming out (from my experience 4026 was already "released" but I know for a fact that they are still testing it and has many many bugs ...). |
Hello,
I was wondering, is there a reason for having utilities pinned to 3.3.38.0? Not sure how old it is, but I am far away from that version, thought I think that they made a big leap from 3.3 to 3.8, Beckhoff things ... If all the tests pass, could it be updated perhaps?
BR
The text was updated successfully, but these errors were encountered: