Skip to content

LssSlaveConfiguration Class

What ConfigureSlaveAsync(LssAddress, LssSlaveConfiguration, CancellationToken) writes to one slave, after switch state selective.

public sealed class LssSlaveConfiguration

Inheritance Object → LssSlaveConfiguration

Properties

LssSlaveConfiguration.ActivateBitRate Property

Bit rate passed to the master's switch callback during activate. Requires BitRateSwitch on the master.

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

Property Value

Nullable<Int32>

LssSlaveConfiguration.ActivateDelayMilliseconds Property

Switch delay of activate bit timing, in milliseconds. Requires the table. This activates one selectively switched slave, which is valid when it is the only LSS slave or every other node already runs the new rate (Table 3, §6.4.4). Otherwise the bus ends up with mixed rates. With ReleaseToWaiting, a zero delay requires ActivateBitRate and the master's switch callback.

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

Property Value

Nullable<UInt16>

LssSlaveConfiguration.BitTimingIndex Property

Table index.

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

Property Value

Nullable<Byte>

LssSlaveConfiguration.BitTimingSelector Property

Table selector. Set together with BitTimingIndex.

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

Property Value

Nullable<Byte>

LssSlaveConfiguration.NodeId Property

Pending node-id. null leaves the node-id unchanged.

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

Property Value

Nullable<Byte>

LssSlaveConfiguration.ReleaseToWaiting Property

When true (the default), switch state global returns the slave to waiting after the services, whether they succeeded or not. With ActivateBitRate, activation sends that frame after both switch-delay periods, on the new rate (CiA 305 §6.4.4). Without it, activation sends it before the first period ends, on the rate the slave still uses: a deliberate departure from §6.4.4, described on ActivateBitTimingAsync(ushort, Nullable<int>, bool, CancellationToken).

public bool ReleaseToWaiting { get; init; }

Property Value

Boolean

LssSlaveConfiguration.Store Property

When true, store after the other services succeed.

public bool Store { get; init; }

Property Value

Boolean