MC_BR_GetParIDTransferInfo

<< 点击显示目录 >>

主页  轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 管理ACOPOS ParIDs >

MC_BR_GetParIDTransferInfo

This function block provides administrative information about the ParID transfer of an axis (cross communication between drives).

Requirements for use

Function block name for SG3/SGC target systems MC_086BR_GetParIDTransferInfo

PLCopen axis states in which the function block is permitted to be enabled

All PLCopen axis states, no effect on the PLCopen axis state

Function block

mc_br_getparidtransferinfo

Parameter

I/O

Parameter

Data type

Description

IN

Axis

UDINT

Axis reference

IN

Execute

BOOL

Execution of the function block begins on a rising edge of this input.

OUT

Done

BOOL

Execution successful. Function block is finished.

OUT

Busy

BOOL

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

OUT

Error

BOOL

Error during execution

OUT

ErrorID

UINT

Error numbers

OUT

FreeSendChannels

USINT

Number of transmit channels still available for the axis

OUT

FreeReceiveChannels

USINT

Number of receive channels still available for the axis

OUT

ParIDTransferInfo

MC_TRANSFER_INFO_REF

Detailed information about the current configuration of the transmit and receive channels for the axis

Table: Parameter MC_BR_GetParIDTransferInfo

MC_TRANSFER_INFO_REF data type

Parameter

Data type

Description

SendChannel

MC_SEND_INFO_REF[4]

Detailed information about each of the individual transmit channels for the axis

Index = Channel number 1 ... 3

Note:

SendChannel[0] is not used.

ReceiveChannel

MC_RECEIVE_INFO_REF[6]

Detailed information about each of the individual receive channels for the axis

Index = Channel number 1 ... 5

Note:

ReceiveChannel[0] is not used.

MC_SEND_INFO_REF data type

Parameter

Data type

Description

InUse

BOOL

Indicates whether this channel is currently being used

0 ... Not in use

1 ... In use

ParID

UINT

ParID being sent via this channel

ChangeAllowed

BOOL

Indicates whether it is possible to reconfigure this channel

0 ... Reconfiguration not allowed

1 ... Reconfiguration allowed

MC_RECEIVE_INFO_REF data type

Parameter

Data type

Description

InUse

BOOL

Indicates whether this channel is currently being used

0 ... Not in use

1 ... In use

ParID

UINT

ParID being sent via this channel

Note:

This is "0" if the transmitter is not an axis.

ChangeAllowed

BOOL

Indicates whether it is possible to reconfigure this channel

0 ... Reconfiguration not allowed

1 ... Reconfiguration allowed

SendNodeNumber

USINT

Node number of the transmitting axis or station

SendAxisRef

UDINT

Axis reference of the transmitting axis

SendAxisObjectName

STRING[48]

PV name of the transmitting axis object

SendAxisDriveChannel

USINT

Drive channel number of the transmitting axis

1 ... ACOPOS or ACOPOSmulti channel 1

2 ... ACOPOSmulti channel 2

SendAxisNetworkType

UINT

Network type of the transmitting axis

ncCAN_IF

ncPOWERLINK_IF

ncSDC_IF

SendAxisNetworkIndex

UINT

Network index of the transmitting axis

InterpolationMode

USINT

Interpolation mode for the received value

mcIPL_OFF... 0

mcIPL_LINEAR... 1

mcIPL_QUADRATIC... 2

mcIPL_QUADRATIC_NO_OVERSHOOT... 4

DataOffset

UINT

Bit offset within the telegram if the transmitter is not an axis

DataType

UINT

Data type of the data being received if the transmitter is not an axis

ncPAR_TYP_DINT

ncPAR_TYP_UDINT

Topics in this section:

Description of function

Error numbers