Synchronization Priority List Configure 0x0006

SwitchKit Name

SynchPriorityConfig

Type

EXS API and SwitchKit API message

Description

Use this message to configure the synchronization priority list. At least one of the sources must be set to Free Running.

 

The default priority for synchronization resources is as follows:

1. External Reference Clock 1 (Primary)

2. External Reference Clock 2 (Secondary)

3. Loop Timing 1 (Primary)

4. Loop Timing 2 (Secondary)

5. Free Running clock (Internal)

Sent by

Host

SwitchKit Code

Configuration

SynchPriorityConfig (

Node = integer,

Priority1Mode = integer,

Priority2Mode = integer,

Priority3Mode = integer,

Priority4Mode = integer,

Priority5Mode = integer);

C Structure

typedef struct {

UBYTE Priority1Mode;

UBYTE Priority2Mode;

UBYTE Priority3Mode;

UBYTE Priority4Mode;

UBYTE Priority5Mode;

} XL_SynchPriorityConfig;

C++ Class

class XLC_SynchPriorityConfig : public XLC_OutboundMessage {

public:

UBYTE getPriority1Mode() const;

void setPriority1Mode(UBYTE x);

UBYTE getPriority2Mode() const;

void setPriority2Mode(UBYTE x);

UBYTE getPriority3Mode() const;

void setPriority3Mode(UBYTE x);

UBYTE getPriority4Mode() const;

void setPriority4Mode(UBYTE x);

UBYTE getPriority5Mode() const;

void setPriority5Mode(UBYTE x);

};

 

EXS API Hex Format

MESSAGE (White)

RESPONSE (Gray)

Byte

Field Description

Byte

Field Description

0

Frame (0xFE)

0

Frame (0xFE)

1, 2

Length (0x000A)

1, 2

Length (0x0007)

3, 4

Message Type (0x0006)

3, 4

Message Type (0x0006)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

8, 9

Status (MSB, LSB)

10

Checksum

8

Priority 1 Synchronization Mode
0x01 Primary Reference (default)

0x02 Secondary Reference

0x03 Primary Loop

0x04 Secondary Loop

0x05 Free Running

9

Priority 2 Synchronization Mode
0x01 Primary Reference

0x02 Secondary Reference (default)

0x03 Primary Loop

0x04 Secondary Loop

0x05 Free Running

10

Priority 3 Synchronization Mode
0x01 Primary Reference

0x02 Secondary Reference

0x03 Primary Loop (default)

0x04 Secondary Loop

0x05 Free Running

11

Priority 4 Synchronization Mode
0x01 Primary Reference

0x02 Secondary Reference

0x03 Primary Loop

0x04 Secondary Loop (default)

0x05 Free Running

12

Priority 5 Synchronization Mode
0x01 Primary Reference

0x02 Secondary Reference

0x03 Primary Loop

0x04 Secondary Loop

0x05 Free Running (default)

13

Checksum