Net Mux: Difference between revisions
m
→Serial Operation
Line 75: | Line 75: | ||
The mux has a standard RS232 serial port on it, as well as various other (standard but unusual) communications ports. The RS232 is set to run at 19200 Baud, with 8 data bits, 1 stop bit, no parity, no flow control. You'll know if it's wrong, because on typing any character into the ports, you'll get ASCII soup coming back at you. | The mux has a standard RS232 serial port on it, as well as various other (standard but unusual) communications ports. The RS232 is set to run at 19200 Baud, with 8 data bits, 1 stop bit, no parity, no flow control. You'll know if it's wrong, because on typing any character into the ports, you'll get ASCII soup coming back at you. | ||
Information returned via the serial link into hyperterminal when the unit is switched on: | Information returned via the serial link into hyperterminal when the unit is switched on: (or via typing i) | ||
BASIC COMMAND LINE ENTRY SYNTAX | BASIC COMMAND LINE ENTRY SYNTAX | ||
Line 118: | Line 118: | ||
* EXECUTE A to execute queued commands | * EXECUTE A to execute queued commands | ||
All commands can be abbreviated to the single initial letter. | All commands can be abbreviated to the single initial letter. All commands are executed / loaded by sending a carriage return & line feed, not just one of them. so after "B 02" or "Buffer 02" or anything else, you'll need to send CRLF (\r\n). | ||
A simple example would be: | A simple example would be: | ||
Line 132: | Line 132: | ||
A more complex example, setting outputs 1 and 2 to 5, output 3 to 7 and output 4 to 10, would be: | A more complex example, setting outputs 1 and 2 to 5, output 3 to 7 and output 4 to 10, would be: | ||
BUFFER 01 | |||
BUFFER CLEAR | |||
LEVEL 00 | |||
XPT 05,01 | |||
LEVEL 01 | |||
XPT 05,01 | |||
LEVEL 02 | |||
XPT 07,01 | |||
LEVEL 03 | |||
XPT 10,01 | |||
EXECUTE 01 | |||
Reading back the status of the cards after this gives us: | Reading back the status of the cards after this gives us: |