MC_BR_InitReceiveNetworkData

<< 点击显示目录 >>

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

MC_BR_InitReceiveNetworkData

This function block can be used to read a 4-byte transmission sent from a POWERLINK station to a drive within the network.

Requirements for use

Function block name for SG3/SGC target systems MC_081BR_InitReceiveNetworkData

This function block can only be used for axes in a POWERLINK network.

Only data from a POWERLINK station that is being operated in the same network as the drive can be read.

It is only possible to access a bit offset that is a multiple of 32.

32 bits are always read starting at the specified bit offset.

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_initreceivenetworkdata

Parameter

I/O

Parameter

Data type

Description

IN

Axis

UDINT

Axis reference (receiver)

IN

Execute

BOOL

Enables cyclic receipt of POWERLINK data on a rising edge

IN

NodeNumber

USINT

Node number of the POWERLINK station from which data should be received

IN

BitOffset

UINT

Bit offset of the POWERLINK data in the telegram from the transmitter from which point 32 bits are read

IN

DataType

UINT

Data type of the POWERLINK data

ncPAR_TYP_DINT

ncPAR_TYP_UDINT

IN

InterpolationMode

USINT

Interpolation mode for the received value

mcIPL_OFF… 0

mcIPL_LINEAR … 1

mcIPL_QUADRATIC … 2

mcIPL_QUADRATIC_NO_OVERSHOOT … 4

Note:

The default setting on the ACOPOS drive is mcIPL_LINEAR.

IN

ReceiveChannel

USINT

0 … Function block defines a receive channel

1 … 5 … Function block uses the specified receive channel

Note:

When a channel number is specified, the receive channel can be reconfigured for additional function block calls.

If a different source is received via a previously configured receive channel, this can cause the value of "ReceiveParID" to jump.

OUT

Done

BOOL

Command executed

Initialization completed, POWERLINK data read cyclically

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

ReceiveParID

UINT

ParID on the axis that can be used to further process the cyclically read value

Table: Parameter MC_BR_InitReceiveNetworkData

Topics in this section:

Description of function

"InterpolationMode" input

Possible procedure for determining "NodeNumber", "BitOffset" and "DataType"

Additional information

Error numbers