Fieldbus Module assignment Xref

I'm trying to extract a list of fieldbus (ff) devices and the associated referencing module, but I can't seem to get the export to work completely.

The info can be displayed in IO Config if ordered by module, but I can't print this list to xml, printing to generic text file is the about the best I cant get, but it is full of padding which will require a lot of manual rework.  Exporting gives me all ff details and blocks but not referencing module.

fhx is about the only way I can see of doing this, but that also will take a lot of rework to extract device specific data.

Anyone got a simpler solution?

  • Hi, Adrian. We ran against this need several years ago, and wound up working with the FHX (converted to XML) and two XSL transforms. I'm sure this could be done in PERL, or any other structured text parser. Full disclosure: I'm not offering a simpler solution; just a bit of guidance on how we addressed the need.

    The first XSLT looks through the control modules for Fieldbus function blocks by type (FFAI, etc...), and extracts the device and logical block assignments, along with some other fields. Very straightforward, and easily genericized towards any control module / I/O cross reference tool.

    The second XSLT parses the XML for each FIELDBUS_LOGICAL_DEVICE node, and compares against the assigned function blocks from the first XSLT to find a match, filling in the device manufacturer, type, model, serial number, etc... This piece is a bit more processor-intensive, due to the large amount of recursion, but it works well.
  • In reply to Youssef.El-Bahtimy:

    Thanks guys, so TextCatch seems the easiest of the two, and it sort of fits with what I was trying to achieve by printing to a text file.

    What would be good is a app that sits on the printer ports and can dump text to csv. Anyone know of such an app?