Skip to content

LssUnconfiguredScan Class

How ScanUnconfiguredAsync(LssUnconfiguredScan, CancellationToken) treats each unconfigured slave. A null scan finds every unconfigured slave and changes nothing.

public sealed class LssUnconfiguredScan

Inheritance Object → LssUnconfiguredScan

Properties

LssUnconfiguredScan.ActivateBitRate Property

Bit rate passed to the master's BitRateSwitch during activate. The open channel is not reconfigured automatically. Requires ActivateDelayMilliseconds and BitRateSwitch on the master.

public System.Nullable<int> ActivateBitRate { get; init; }

Property Value

Nullable<Int32>

LssUnconfiguredScan.ActivateDelayMilliseconds Property

Switch delay passed to activate bit timing, in milliseconds. Requires the table selector and index, and Limit 1. null (the default) configures the timing and does not activate it. A scan that can select more than one slave must not activate: that slave would switch rate while the next one is still found at the old rate. A zero delay also requires ActivateBitRate and the master's switch callback.

public System.Nullable<ushort> ActivateDelayMilliseconds { get; init; }

Property Value

Nullable<UInt16>

LssUnconfiguredScan.AssignFromNodeId Property

First node-id to assign, then the next integer for each further slave. null (the default) only lists addresses. Must be in 1..127 when set.

public System.Nullable<byte> AssignFromNodeId { get; init; }

Property Value

Nullable<Byte>

LssUnconfiguredScan.BitTimingIndex Property

Table index passed to configure bit timing.

public System.Nullable<byte> BitTimingIndex { get; init; }

Property Value

Nullable<Byte>

LssUnconfiguredScan.BitTimingSelector Property

Table selector passed to configure bit timing. Set together with BitTimingIndex, and only when a node-id is assigned.

public System.Nullable<byte> BitTimingSelector { get; init; }

Property Value

Nullable<Byte>

LssUnconfiguredScan.Fastscan Property

Fastscan request. null (the default) scans all four LSS numbers from bit 31, so the numerically smallest address is found first.

public CanKit.Pro.CANopen.Lss.LssFastscanRequest? Fastscan { get; init; }

Property Value

LssFastscanRequest

LssUnconfiguredScan.Limit Property

How many slaves to take. null (the default) runs until Fastscan finds no more, or until node-ids run out when AssignFromNodeId is set.

public System.Nullable<int> Limit { get; init; }

Property Value

Nullable<Int32>

LssUnconfiguredScan.Store Property

When true, and a node-id is being assigned, store after a successful configure. Requires AssignFromNodeId.

public bool Store { get; init; }

Property Value

Boolean