ImportAssignmentList(Project,String,String,String,String,String,Boolean,Boolean) Method
In This Topic
Imports PLC assignment lists.
Syntax
public void ImportAssignmentList(
Project ,
string ,
string ,
string ,
string ,
string ,
bool ,
bool
)
public:
void ImportAssignmentList(
Project^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
bool ,
bool
)
Parameters
- oProject
- Project into which the PLC assignment list will be imported.
- strConfigurationProject
- PLC configuration project name
- strStation
- PLC station name
- strCPU
- PLC CPU.
- strLanguage
- Language shortcut for the import, e.g. "en_US".
- strAssignmentListFileName
- Alternative file name and path. If empty parameter will be taken from plc schema.
- bCompByAddress
- If set to true, the PLC address is used as reference value.
- bAcceptInvAddr
- If set to true, even invalid addresses will be read.
Exceptions
Exception | Description |
ArgumentNullException | Thrown in case of
missing parameters. |
ArgumentException | Thrown in case of
invalid arguments,
e.g. the given
Project does not
exist or isn't
valid. |
ApplicationException | \Internal interface
for importing PLC
data could not be
created. |
BaseException | An error occurred
during the import. |
See Also