MC_BR_AsmGetSegment_Acp6D

<< 点击显示目录 >>

MC_BR_AsmGetSegment_Acp6D

This function block returns the segment reference of all segments in the assembly.

Function block

mc_br_asmgetsegment_acp6d

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 begins on a rising edge of this input.

OUT

Valid

BOOL

The function block output values can be used.

OUT

Busy

BOOL

The function block is active and must continue to be called.

OUT

Error

BOOL

Error during execution.

OUT

ErrorID

DINT

Error number

OUT

TotalCount

UINT

Total number of segments.

OUT

RemainingCount

UINT

Number of segments still to pass through.

OUT

Segment

Mc6DSegmentType

Segment reference.

OUT

AdditionalInfo

McAcp6DGetSegAddInfoType

Additional information about the segment.

Table: Parameters