XML DTD of a system

6 views
Skip to first unread message

christian

unread,
Oct 29, 2009, 4:04:12 AM10/29/09
to FBDK
Due to fact I'm using 4DIAC and FBDK for creating a distributed system
with controllers from wago and elsist, I've to import and export the
created systems and their application. Thereby I found a mistake at
the XML syntax used by FBDK and by 4DIAC.

---FBDK:---
The Application element uses as sub element FBNetwork, but
corresponding to the standard 61499-2 table A.4 is the application
element defined as follow

<!ELEMENT Application (SubAppNetwork)>
<!ATTLIST Application
Name CDATA #REQUIRED
Comment CDATA #IMPLIED>

and the SubAppNetwork:
<!ELEMENT SubAppNetwork
(SubApp*,FB*,EventConnections?,DataConnections?, AdapterConnections?)>

Does this mean also the presented example at the IEC 61499-2 C.6
System Configuration uses the wrong xml notation? Therein the
Application element uses the FBNetwork element.

---4DIAC:---
Using this export the Resource element is export wrong, because it use
as subelement SubAppNetwork, but there should be used the FBNetwork
element instead.
<!ELEMENT Resource (Parameter*,FBNetwork?)>
<!ATTLIST Resource
Name CDATA #REQUIRED
Type CDATA #REQUIRED
Comment CDATA #IMPLIED
x CDATA #IMPLIED
y CDATA #IMPLIED>

James Christensen

unread,
Oct 29, 2009, 8:54:13 AM10/29/09
to fb...@googlegroups.com, 61499MT15
Dear Christian,

You are right that both the FBDK and the example C.6 in 61499-2 are
incorrect; the correct element should be SubAppNetwork and not
FBNetwork. This will be corrected in the next release of the FBDK. I
am also sending a copy of this message to the 61499 Maintenance Team
so that we will remember to correct C.6 in the 2nd Edition of 61499-2.

Thanks for calling our attention to this error.
--
Best regards,
Jim Christensen

> --~--~---------~--~----~------------~-------~--~----~

Reply all
Reply to author
Forward
0 new messages