Parameters |
Description |
TYPE |
Type of task to perform the action. |
PROJECTNAME |
Project name with complete file path. |
LANGUAGE |
Language code. This parameter has an effect only if the TYPE parameter has one of the following values: BUSDATAEXPORT, BUSDATAIMPORT. |
CONVERTERID |
Identifier for bus configuration programs. Possible values are:
This parameter has an effect only if the TYPE parameter has one of the following values: BUSDATAEXPORT, BUSDATAIMPORT. |
CONFIGURATIONPROJECT |
Name of the PLC configuration project to be exported. This parameter has an effect only if the TYPE parameter has the following value: BUSDATAEXPORT. |
DESTINATIONFILE |
Target file for the data export. This parameter has an effect only if the TYPE parameter has the following value: BUSDATAEXPORT. |
SOURCEFILE |
Source file for the data import. This parameter has an effect only if the TYPE parameter has the following value: BUSDATAIMPORT. |
OVERWRITE |
If the target file already exists, this parameter specifies whether the file is to be overwritten (0 = No, 1 = Yes). This parameter has an effect only if the TYPE parameter has the following value: BUSDATAEXPORT. |
IMPORTMATCH |
Synchronization options for the PLC data import. The import process attempts to synchronize the imported objects with those that exist in the project. Depending on the selected option, customization is based on internal object IDs or identifying object names. If an imported objects matches an existing function, the properties of the existing function will be updated, while new functions will be generated in the project for objects that cannot be synchronized. The options are:
This parameter has an effect only if the TYPE parameter has the following value: BUSDATAIMPORT. |
SHOWCOMPAREDLG |
Displays synchronization dialog (0 = No, 1 = Yes). This parameter has an effect only if the TYPE parameter has the following value: BUSDATAIMPORT. |
CONFIGFILE |
File path to the configuration file for generating the schematic. This parameter has an effect only if the TYPE parameter has the following value: GENERATEPLCSCHEMATIC. |
SINGLELINEPAGES |
If specified, single-line pages are generated (0 = No, 1 = Yes). |
MULTILINEPAGES |
If specified, multi-line pages are generated (0 = No, 1 = Yes). |
OVERVIEWS |
If specified, overview pages are generated (0 = No, 1 = Yes). |
RACKOVERVIEWS |
If specified, rack overview pages are generated (0 = No, 1 = Yes). |
Export PLC data:
plcservice /TYPE:BUSDATAEXPORT /CONFIGURATIONPROJECT:Schneider-Electric /DESTINATIONFILE:"C:\tempdir\plcservice_export_1.xef" /PROJECTNAME:"C:\Users\Public\EPLAN\Projects\eplan-demo-schneider.elk" /LANGUAGE:de_DE /CONVERTERID:PlcDcXMLExchangerSchneider /OVERWRITE:1
Import PLC data:
plcservice /TYPE:BUSDATAIMPORT /SOURCEFILE:"C:\tempdir\plcservice_export_2.xml" /PROJECTNAME:"C:\Users\Public\EPLAN\Projects\eplan-demo-schneider.elk" /LANGUAGE:de_DE /CONVERTERID:XPlcXMLExchanger
Generate schematic:
plcservice /TYPE:GENERATEPLCSCHEMATIC /PROJECTNAME:"C:\Users\Public\EPLAN\Projects\eplan-demo-schneider.elk" /CONFIGFILE:"C:\tempdir\schematics_generation_config.xml" /SINGLELINEPAGES:1 /MULTILINEPAGES:1