Serial protocol, Serial port settings, Conventions in this manual – NeoPro Vandenberg User Manual

Page 10: Commands overview, Common structures and syntax

Advertising
background image

10

Serial Protocol

Serial Port Settings

The serial port operates at 115.2k baud, no parity, 8 data, 1 stop. No hardware
flow control is used.

Conventions In This Manual

In the examples given in this section of the manual, the serial strings to send are
highlighted like this:

[VV,1,8]

Some examples may require you to ‘fill in the variables’ before they actually
work. In these examples we will italicize the text like this:

[VV,XX,YY]

Commands Overview

Commands are structured so that a control program has two-way communication
with the matrix. The control system can confirm and store the state of the matrix
switch. These commands are also human readable ASCII text, which will help in
troubleshooting and testing.

The matrix may also be controlled with one way serial communications.

Common Structures and Syntax

Commands are not case sensitive. Upper and lower case characters are used in
this manual, but have the same effect.

Numbers are 1 or 2 digits, (leading zeroes are optional).

Spaces are not permitted within the square braces—they will generate an error.

A command is always wrapped in square braces:

[command]

It is not necessary to follow the command by any carriage returns or other
special characters. The closing brace will trigger the switch to process the
command.

Advertising