Legacy Protocol
D20980.026 Rev B
CV-LS Programming Guide
Page 5
Legacy Protocol
Command Structure
The Legacy Protocol has followed the same structure as the LLS3 command protocol whenever possible.
If there is a command from the LLS3 that has been removed from the CV-LS, you can contact us at
[email protected] with a request to restore a particular function. Please include a
description of the command that is missing, and how you need it to interface with your legacy
application.
All commands start with the ampersand character “&” and end with a carriage return “\r”. There is a
string representing the command immediately after the “&”, followed by the desired value.
The unit will discard all characters until it receives an “&” start character. Once the carriage return “\r” is
received, the unit will process the command. If a valid command is not found, the unit will return “&n”
followed by the command string with an indicator of which character was not recognized.
Negative Acknowledgements
Negative acknowledgements are used to indicate that a received command was invalid. The following
negative acknowledgements are supported.
INVALID
COMMAND:
Return string format: &nXpY
&n = Negative acknowledgement
X = Received characters parsed correctly
p = Invalid character location start
Y = Invalid character received
INVALID
PARAMETER:
Return string format: &nXpYYY
&n = Negative acknowledgement
X = Received characters parsed correctly
p = Invalid parameter location start
Y = Invalid parameter received