Skip to content
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

Change FallbackFunction to SubstituteFunction? #91

Open
AshokaK0 opened this issue Feb 28, 2024 · 3 comments
Open

Change FallbackFunction to SubstituteFunction? #91

AshokaK0 opened this issue Feb 28, 2024 · 3 comments

Comments

@AshokaK0
Copy link

Reference is made to GitHub issue #58 and conclusion from workshop held on 21.06.2023 (refer to item 12 in “MOM workshop AML Library v0.0.11” - Substitute Value and Fall back values are found across the IEC63131 standard, but it should be standardize on “Substitute”.)
As decided in the workshop, change the “FallbackFunction” attribute in “In {Class: NorsokSignalClass}” to “SubstituteFunction” after the update on term “FallbackValue” to “SubstituteValue” in V0.0.12.

Status from NorsokSCDLibrary.aml V0.0.10: FallbackFunction and FallbackValue
image

Status from NorsokSCDLibrary.aml V0.0.12: FallbackFunction and SubstituteValue
image

@Erik0x42
Copy link
Collaborator

There is no clear question, claim or proposed action in this issue, only presentation of a set of observations with an implied conflict, I would recommend to include at least one clear summary problem statement when raising an issue.

I believe your statement to change 'FallbackFunction' is inaccurate/incomplete, the planned change for 'FallbackFunction' was not of it's name, but of one of the legal values in the constraints collection (corresponding with the attribute name change of FallbackValue -> SubstituteValue). and this has been implemented in accordance with the decision on record (screenshot from v0.0.12):

image

code permalink: https://github.com/equinor/iec63131/blob/0.0.12/NorsokSCDLibrary.aml#L60

@AshokaK0
Copy link
Author

No questions about what was implemented in V0.0.12 with respect to the decision from the workshop. Ideally, this issue should have been a query around uniform naming. I raised issue #58, after noticing “Substitute” in the legal values for FallbackFunction with other references (FallbackFunction, FallbackValue) being “Fallback” in V0.0.10.

Hence my query is -
Should the “FallbackFunction” attribute in NorsokSignalClass also be changed to “SubstituteFunction” after the attribute name change of FallbackValue to SubstituteValue?

@Erik0x42
Copy link
Collaborator

Ok, could you please update the present issue title to succinctly reflect your intention then?
Perhaps simply: "Change FallbackFunction to SubstituteFunction?"

Note that SubstituteValue is solidly founded in IEC PAS 63131:2017.
There is no equivalent underpinning in the official standard for the present broad-arching implementation of FallbackFunction (not to be mixed up with FaultAction for CA, CS, OA and QA).
By "broad-arching" I mean how FallbackFunction is implemented on terminal types' super class In (instead of as a block level parameter for the MA block, which is all that is mandated by the standard, as far as I can tell).

@AshokaK0 AshokaK0 changed the title Verification of FallbackFunction and FallbackValue functions in IEC PAS 63131 Change FallbackFunction to SubstituteFunction? Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants