25 Locust St, Haverhill, Massachusetts 01830 • Tel: 800/252-7074, 978/374-0761 • FAX: 978/521-1839
e-mail: sales@freqdev.com • Web Address: http://www.freqdev.com
Section 5
30
5.4.4 - Code $0C - Send Back Channel Status
Special Code $0C is a one-byte instruction that sets the system up to send back channel status data. The Model
9002 must be set up as a talker by the remote controller to send back the data. The Model 9002 will send 11 bytes
of data representing the setup of Channels 1 and 2.
The data bytes sent back are:
• Byte 1 Number of codes to be sent back (including byte 1)
• Byte 2 Identification of special code sent = $0C
• Byte 3 Present filter configuration number
• Byte 4-7 Channel 1 status data as defined in bytes 4-7 of Code $06 command description, Table 5.5
• Bytes 8-11 Channel 2 status data as defined in bytes 4-7 of Codes $06 command description, Table 5.5
A simple instructional program follows.
As an example, suppose the following is the status of the channels:
The system will send back the following data bytes:
Model 9002
Remote Control Operation
Byte # Hex Function
1 $0B Number of data bytes being sent
2 $0C Value of special code (To define the type
of data being sent (i.e., Channel data = $0C)
3 $02 Filter Configuration number 2
4 $E7 Ch. 1 Data per Table 5.6, byte 4
5 $FB Ch. 1 Data per Table 5.6, byte 5
6 $00 Ch. 1 Data per Table 5.6, byte 6
7 $50 Ch. 1 Data per Table 5.6, byte 7
8 $C7 Ch. 2 Data per Table 5.6, byte 4
9 $9C Ch. 2 Data per Table 5.6, byte 5
10 $07 Ch. 2 Data per Table 5.6, byte 6
11 $FF Ch. 2 Data per Table 5.6, byte 7
Code Description
$11 Start of program
$0C Code $0C, Send Back Channel Status
$13 End of program
Status Data CH1 CH2
Filter config. No. 2 2
Frequency 100 Hz 20 kHz
Mode Active Active
Configuration Differential Single
Coupling DC AC
Pre-gain 1.00 1.35
Post-gain 5.00 13.75