SPS-XML-Import Plugin/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 40: Zeile 40:
* '''Prefix of Elements''':<br>
* '''Prefix of Elements''':<br>
::Text to be inserted at the beginning of the name of the generated elements.<br>
::Text to be inserted at the beginning of the name of the generated elements.<br>
::Valid input values must have an uppercase letter 'A' - 'Z' or '$', '_', '[' as the first character. Letters (uppercase and lowercase, no umlauts), digits, '$', '_', '-', &quot; (quote) and ']' are permitted as further characters. The text can contain a maximum of 20 characters. (Example: '[Prefix_No 1]').
::Valid input values must have an uppercase letter 'A' - 'Z' or '$', '_', '[' as the first character. Letters (uppercase and lowercase, no umlauts), digits, '$', '_', '-', quote and ']' are permitted as further characters. The text can contain a maximum of 20 characters. (Example: '[Prefix_No 1]').


== Genererated Library ==
== Genererated Library ==

Version vom 1. Oktober 2020, 10:32 Uhr

Overview[Bearbeiten]

Plugin reads the Siemens SPS7 definition file and creates a new Expecco library with action for reading and writing sps7 data.

Call[Bearbeiten]

Start the plugin from the eXpecco menu: "Plugins" - "Import" - "SPS-XML-Import" - "Import SPS7-Definition (XML)..."

Description[Bearbeiten]

After the start a dialog is opened to define the parameters for the generation of the library:

Parameters[Bearbeiten]

Sps-xml-import-screenshot-en.png

Filename:

XML file to import.

Library Name:

Name of the generated Expecco library. By default initialized with the name of the xml import file.

DB-Number:

DB-Number.

S7 Area:

S7 Area.

Memory:

Optimised block access (not implemented yet)

Generate Actions:

Creates actions for reading and writing.

Generate Types:

Creates datatypes.

Element Name:

  • Hierarchy in Name:
If selected, the hierarchy of the elements is represented by the name of the elements, otherwise in the structure of folders.
  • Prefix of Elements:
Text to be inserted at the beginning of the name of the generated elements.
Valid input values must have an uppercase letter 'A' - 'Z' or '$', '_', '[' as the first character. Letters (uppercase and lowercase, no umlauts), digits, '$', '_', '-', quote and ']' are permitted as further characters. The text can contain a maximum of 20 characters. (Example: '[Prefix_No 1]').

Genererated Library[Bearbeiten]

The generated Library will be imported in the current or a new created Testsuite.

If a library with the same name has already been imported, the library can either be re-imported or created on request.

When reimporting, blocks with the same name are retained so that existing test suites can continue to be used.



Copyright © 2014-2024 eXept Software AG