Skip to content

RpdoReceivedEventArgs Class

Argument type for the RpdoReceived event: an RPDO whose mapping the local node knows about was received, unpacked and applied to the local Object Dictionary.

public sealed class RpdoReceivedEventArgs : System.EventArgs

Inheritance ObjectEventArgs → RpdoReceivedEventArgs

Constructors

RpdoReceivedEventArgs(int, uint, byte[]) Constructor

Constructs a new event.

public RpdoReceivedEventArgs(int pdoIndex, uint cobId, byte[] payload);

Parameters

pdoIndex Int32

cobId UInt32

payload Byte[]

Properties

RpdoReceivedEventArgs.CobId Property

Raw 11-bit COB-ID the frame arrived on.

public uint CobId { get; }

Property Value

UInt32

RpdoReceivedEventArgs.Payload Property

The full incoming RPDO payload (0..8 bytes).

public byte[] Payload { get; }

Property Value

Byte[]

RpdoReceivedEventArgs.PdoIndex Property

RPDO index (1..4).

public int PdoIndex { get; }

Property Value

Int32