MC_BR_AsmGetPowerSec_Acp6D

<< 点击显示目录 >>

主页  ACOPOS 6D使用手册 > mapp 6D  > 功能块 > McAcp6D  > Function blocks  >

MC_BR_AsmGetPowerSec_Acp6D

This function block returns the references of all power sectors in the assembly.

Function block

fbexample

Interface

I/O

Parameter

Data type

Description

IN

Assembly

Reference to Mc6DAssemblyType

The assembly reference establishes the connection between the function block and an assembly.

IN

Enable

BOOL

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

IN

Next

BOOL

Execution of the function block is started on a rising edge of the input.

OUT

Valid

BOOL

The function block output values can be used.

OUT

Error

BOOL

Error during execution.

OUT

ErrorID

DINT

Error number

OUT

TotalCount

UINT

Total number of power sectors

OUT

RemainingCount

UINT

Number of power sectors still to be passed through

OUT

PowerSec

Mc6DPowerSecType

Power sector reference

OUT

AdditionalInfo

McAcp6DGetPowerSecAddInfoType

Additional information about the power sector

Table: Parameter

Topics in this section:

Function description