-
Notifications
You must be signed in to change notification settings - Fork 39
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
Later Binding on specific file does not work #1005
Comments
I have the same issue for both GOOSE and SV when using Edition 2.1 with Siemens SIPROTEC 5 devices. The attached scd may help reproduce this. |
@JakobVogelsang I'm a bit confused by your specific file. There is a single IED, and I would not expect there to be any possibility of subscribing to anything else. There are no ExtRefs in this file. What did I miss? |
I thought I might try to diagnose the issue I'm having with Edition 2.1 DIGSI 5 SCL files. It is caused by: open-scd/src/editors/subscription/later-binding/ext-ref-later-binding-list.ts Lines 136 to 148 in 48ef7ea
Specifically in L141: When we do the comparison: the FCDA might be: <FCDA ldInst="Application" prefix="" lnClass="LPHD" lnInst="1" doName="Sim" fc="ST" /> And the ExtRef might be something like (not an exact match): <ExtRef desc="RxPos1" intAddr="RxPos1;/Pos/stVal" pServT="GOOSE" pDO="Pos" pDA="stVal" iedName="XAT_232_M2" ldInst="CB1" lnClass="XCBR" lnInst="1" doName="Pos" daName="stVal" serviceType="GOOSE" srcLDInst="CB1" srcLNClass="LLN0" srcCBName="Ind_0" /> Note, there is no prefix. This is optional and the default is the empty string in the standard: What we do is: private sameAttributeValue(
extRefElement: Element,
attributeName: string
): boolean {
return (
extRefElement.getAttribute(attributeName) ===
this.currentSelectedFcdaElement?.getAttribute(attributeName)
);
} Where: So what happens is we end up comparing Do we need to compare the prefix? Is the FCDA fully qualified without it if it is an optional field? |
Describe the bug
The GOOSE type later binding plugin does not show any
ExtRef
when clicking on dataTo Reproduce
Open appending file
Expected behavior
A selection of inputs or a warning that there are none
Additional context
See file
LaterBindingGOOSEError.scd.zip
The text was updated successfully, but these errors were encountered: