Eplan Platform API
Eplan.EplApi.HEServices Namespace / PlcService Class / ImportAssignmentList Method
Project into which the PLC assignment list will be imported.
PLC configuration project name
PLC station name
PLC CPU.
Language shortcut for the import, e.g. "en_US".
Alternative file name and path. If this parameter is left empty, the file name will be taken from the PLC scheme.
If set to true, the PLC address is used as reference value.
If set to true, even invalid addresses will be read.

In This Topic
    ImportAssignmentList Method
    In This Topic
    Imports PLC assignment lists.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject into which the PLC assignment list will be imported.
    strConfigurationProjectPLC configuration project name
    strStationPLC station name
    strCPUPLC CPU.
    strLanguageLanguage shortcut for the import, e.g. "en_US".
    strAssignmentListFileNameAlternative file name and path. If this parameter is left empty, the file name will be taken from the PLC scheme.
    bCompByAddressIf set to true, the PLC address is used as reference value.
    bAcceptInvAddrIf set to true, even invalid addresses will be read.
    Exceptions
    ExceptionDescription
    Thrown in case of missing parameters.
    Thrown in case of invalid arguments, e.g. the given Project does not exist or isn't valid.
    Internal interface for importing PLC data could not be created.
    An error occurred during the import.
    Remarks
    If no scheme name (strScheme) is passed, the last-used scheme will be used which is currently set in GUI. The name of the file to import is defined in the scheme.
    See Also