Chapter 5: Operation
|
|
| Table |
|
|
| |
Command | Response | Switch Action | |
|
|
|
|
set port 8 | A | Port 8 set to A | COMMON Port 8 will be connected to A Port 8, all other COMMON port connections will remain as is. |
|
|
|
|
set port 8 | B | Port 8 set to B | COMMON Port 8 will be connected to B Port 8, all other COMMON port connections will remain as is. |
|
|
| |
get version 1 | Rack 1 Version NBS008s Rev. A | No switching action taken. | |
|
|
|
|
help |
| See Table | No switching action taken. |
|
|
|
|
exit |
| Goodbye | Exits terminal mode. |
|
|
|
|
Programming Tips for Using the RS-232 Terminal Commands
This section applies to switches WITHOUT an Ethernet Module installed (NBS004A, NBS006A, NBS008A, NBSALL8, or NBS016 models only), and is intended for programmers who want to control the switch in an automated environment using a computer.
BACKGROUND:
When first energized, the switch provides a special
While in terminal mode, the switch echoes the received characters and collects them into a buffer until it receives a carriage return character. The carriage return is echoed and then the switch begins to process the received command. Any characters received while it is processing the command are ignored. When the command is processed, the switch responds, followed by a prompt character, indicating that it is ready to receive another command. If the switch gets a command that is intended for another switch, it passes that command out the GANG OUT port, and waits up to three seconds for a response. If it does not get a response, it responds “No Response,” followed by a prompt.
PROGRAMMING:
First, your program must set its
Since the switch may be in
Now that the switch is in terminal mode, your program can issue other commands, but must wait for the switch to issue the prompt character (“>”, ASCII HEX 0x3E) before sending each new command.
If the switch loses power, it will reset itself when power is restored and come back up in the
Page 20 | NBS008A |