32
4. Software Implementation of the Gateway
4.2.7. Saving and Exporting the Profibus-DP Network Configuration
Save the configuration by giving it a name (“Save” or “Save A
s…” option from the “File” menu). The configuration
of the Profibus-DP network is then saved in a “.pb” file.
In order to export this configuration for PL7 PRO, follow these steps:
• Select the line that corresponds to the Profibus-DP master (TSX PBY 100).
• Run the “Export
► ASCII” option from the “File” menu. The newly-created file bears the “.cnf” extension.
N.B. the filename must comply with the “DOS 8.3” format, i.e. it must include a name limited to 8 characters
and a 3-character extension (here, “cnf”).
• Once these operations are completed, quit SyCon.
4.2.8. Importing the Configuration of the Profibus-DP Network under PL7 PRO
Back to PL7 PRO (see chapter 4.2.1 Setting Up the Hardware Configuration under PL7 PRO, page 26), click on
the “Load CNF” button. Using the options in the window that appears, select the “cnf” file that was saved
beforehand (see previous chapter).
Once this import is completed, the full path to this file appears on the right of the "Load CNF" button and the
"PROFIBUS-DP slave configuration" frame displays the two configured stations, i.e. “TSX PBY 100”, at the
address 1, and “LUFP7”, at the address 2.
In the case of the LUFP7 gateway, the default values allocated to the configuration options of the "General
PROFIBUS-DP configuration" frame can be kept (see table below). Edit them accordingly if you configure other
slaves on the same Profibus-DP network.
Optional Default value Possible values
Task
MAST MAST or FAST
Used to select the type of system task that will steer the Profibus-DP network.
N.B. The PL7 PRO application is also subdivided into a “Mast Task” and a “Fast Task”.
Outputs
Reset Hold or Reset
Determines whether the %QW outputs meant for the Profibus-DP slaves are held or reset to zero when the
associated task (see above) is stopped, as this stop does not cause the TSX PBY 100 board to stop.
N.B. if the gateway’s “Control/Status Byte” option is equal to “Enabled” (which is not the case for its default
configuration), resetting the outputs also resets the “Profibus-DP master control word,” and therefore a
communication disruption request on the Modbus downstream network (see chapter 5.2.1 Profibus-DP Master
Control Word, page 38).
IW/QW number
128 words 32, 64, 128 or 242 words
Determines the number of words used for the input of the TSX PBY 100 board, as well as for its outputs.
The "Total" frame indicates the total number of inputs and outputs, all slaves included. The value allocated to
the “IW/QW number” option should be greater than, or equal to, the greatest of these two numbers.
The LUFP7 gateway only requires 16 words (whether for inputs or for outputs). Therefore, we could use a size
of 32 words. However, it is preferable to keep the default value, should other slaves be configured.
Diagnostic length
32 bytes 6 to 244 bytes
Determines the maximum length of a diagnostic on the Profibus-DP network.
N.B. This length should be sufficient to host the longest diagnostic for all the slaves on the network. If the
length is insufficient, the slaves concerned shall not be active on the bus because their diagnostic shall be
invalid. The "diagnostic length" is equal to 6 bytes in the case of the LUFP7 gateway.
N.B. You may also request the configuration of the Profibus-DP master by clicking the "View" button in the
"Master configuration" frame.