MpIOImport

<< 点击显示目录 >>

主页  mappServices帮助手册 > mapp IO 管理硬件配置 > > 功能块
 >

MpIOImport

该功能块可导入新的硬件配置。

logo_online_tutorial

我们的 B&R Tutorial Portal 包含有关 mapp IO (GER/ENG) 的教程。(访问数据)

logo_yoututbe_tutorial

在我们的 YouTube 频道上可以找到有关此主题的多个教程 。

功能块

 

mpioimport

可选参数

mpioimport_opt

接口

I/O

Parameter

Data type

描述

IN

MpLink

Pointer to MpComIdentType

连接至 mapp 配置(MpIO 配置的 MpLink)

IN

Enable

BOOL

只要该输入被设置,功能块就处于激活状态。

IN

ErrorReset

BOOL

重置功能块错误。

IN

ImportAllowed

BOOL

定义是否允许导入。

IN

FileName

Pointer to STRING[255]

要导入的文件名。

IN

DeviceName

Pointer to STRING[50]

包含文件的文件设备名称。

IN

Import

BOOL

导入配置的命令。

OUT

Active

BOOL

激活的功能块。

OUT

Error

BOOL

执行过程中发生的错误。

OUT

StatusID

DINT

状态信息。

OUT

CommandBusy

BOOL

功能块正在执行命令。

OUT

CommandDone

BOOL

执行成功。功能块已完成。

OUT

Info

MpIOImportInfoType

其他功能块信息。

mapp 概念

mapp 组件部分 介绍了 mapp 组件的结构。此外,它还提供了正确 使用 mapp 组件 (如下载) 重要说明

本节主题

说明

 


This function block imports a new hardware configuration.

logo_online_tutorial

Our B&R Tutorial Portal includes tutorials about mapp IO (GER/ENG). (access data)

logo_yoututbe_tutorial

Several tutorials about this topic can be found on our YouTube channel.

Function block

 

mpioimport

Optional parameters

mpioimport_opt

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

Connection to mapp configuration (MpLink of an MpIO configuration)

IN

Enable

BOOL

The function block is active as long as this input is set.

IN

ErrorReset

BOOL

Resets function block errors.

IN

ImportAllowed

BOOL

Defines whether an import is permitted.

IN

FileName

Pointer to STRING[255]

Name of the file to be imported.

IN

DeviceName

Pointer to STRING[50]

Name of the file device containing the file.

IN

Import

BOOL

Command for importing the configuration.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

CommandBusy

BOOL

Function block currently executing command.

OUT

CommandDone

BOOL

Execution successful. Function block is finished.

OUT

Info

MpIOImportInfoType

Additional function block information.

mapp concept

Section mapp components explains how mapp components are structured. In addition, it provides important notes for correctly using mapp components (e.g. for downloads).

Topics in this section:

Description