![FSR CN-2002 Operator'S Manual Download Page 40](http://html.mh-extra.com/html/fsr/cn-2002/cn-2002_operators-manual_2341110040.webp)
Serial & Remote Command Syntax
Serial Parameters
The following are the default parameter settings for serial communication:
Baud Rate is 38.4.
Parity is NONE.
Stop Bit is 1.
Data Bit is 8.
Echo is ON or OFF. (Applies to RS232 mode only)
Default settings can be changed with the MISC menu as described on page 26. For RS-232 signal connections, refer
to page 10.
Serial Command Formats
RS232 Mode
The Graphics Board will respond with a '#' prompt when the command processor is ready for a command.
The command syntax is shown below
cmd arg1 arg2 … argn<CR>
cmd
cmd is any valid Graphics Board command, typically 2 to 6 alphabetic (non numeric) characters.
arg
arg1, arg2, … argn are required or optional parameters depending on the command used.
<CR>
carriage return (ASCII 13) terminates the command
A space (ASCII 32) must be inserted between the command and any arguments that follow. A space must also be
inserted between all argument parameters except for the last argument in the chain.
All commands in RS232 mode
must
be terminated with a carriage return (ASCII 13). The carriage return will tell the
command processor to begin execution of the command.
If the command is not recognized as a valid command, a '? 4' is returned for unknown command where ‘4’ is a
numeric error code for Command Not Available. If the command is recognized but the syntax is incomplete or
required parameters are missing then '? 1' will be returned, where ‘1’ is a numeric error code for Command Format
Error. See below for a complete description of Error Codes.
Query commands will return the following:
=result number
#
The '=' indicates a result from a command is following. The 'result' will follow directly after the '='. The value of the
result will vary depending on the query command used. A new line will be generated and the prompt will indicate the
system is ready for a new command.
Error Codes
Command Format Error
1
Command Range Error
2
Command Execution Error
3
Command Not Available
4
RS485 Mode
Single commands will be combined with a prefix, device number, command separator and suffix to form a command
string as shown below:
Single Command Format:
<prefix><
id><cmd arg1 arg2 ..argn><suffix>
32
Compass
S
2
Summary of Contents for CN-2002
Page 6: ......
Page 12: ......
Page 19: ...Compass S2 11 ...
Page 20: ......
Page 28: ...20 Compass S2 ...
Page 38: ......
Page 64: ......
Page 67: ...7 APPENDIX Technical Specifications Compass S2 59 ...