You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Assign Logical Node ID 0x0010
SwitchKit Name
AssignNode
Type
EXS API and SwitchKit API message
Description
Use this message to assign a logical node ID to a CSP that is a node in a multi-node system.
If the node has an EXNET-ONE card installed or if you plan to have an EXNET-ONE card installed, you must assign the node ID at configuration.
The default logical node ID for a stand-alone CSP is 0xFF. To specify the node that you are assigning a logical ID, you use its physical node ID (serial number).
NOTE: For SwitchKit, DO NOT use the XL_AssignNode message with EXS SwitchKit. XL_AssignNode is obsolete with the introduction of SK_AddLLCNode.
Sent by
Example Message (SwitchKit Socket Log Output)
In the following socket log output/example message, the host assigns logical node ID 01 to the physical node 0000 23AC for the first time:
00 0D 00 10 00 00 FF 00 01 10 05 00 00 23 AC 01
SwitchKit Code
Configuration
AssignNode (
Node = integer,
PhysicalNode = integer,
LogicalNode = integer);
C Structure
typedef struct {
BaseFields Base;
int PhysicalNode;
UBYTE LogicalNode;
} XL_AssignNode;
C++ Class
class XLC_AssignNode : public XLC_OutboundMessage {
public:
int getPhysicalNode() const;
void setPhysicalNode(int x);
UBYTE getLogicalNode() const;
void setLogicalNode(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 (0x00NN) |
1, 2 |
Length (0x0007) |
3, 4 |
Message Type (0x0010) |
3, 4 |
Message Type (0x0010) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Current Logical Node ID If assigning for first time, byte 7 is 0xFF. |
7 |
Logical Node ID |
: |
Address Method 0x00 - Individual AEs |
8, 9 |
0x007F Software Module Locked
See also the Common Response Status Values chapter |
Number of AEs to follow |
|||
AEs |
|||
: |
Checksum |
10 |
Checksum |