Rev: C Drawn By: Date: 07/28/03 Dftm: CLL C. LUCKHAUPT 2003 HARRIS CORPORATION THIS DOCUMENT CONTAINS PROPRIETARY DATA BROADCAST COMMUNICATIONS OF HARRIS CORPORATION. NO DISCLOSURE, P.O. BOX 4290 REPRODUCTION, OR USE OF ANY PART THEREOF QUINCY, IL 62305 MAY BE MADE EXCEPT BY WRITTEN PERMISSION. REVISIONS Eng: ECN Number: Rev: Date: Dftm: Eng: ECN Number: CLL P22911. B 6/19/03 CLL CLL P22240 CHANGES IN FIELD APPROVALS Eng: C. LUCKHAUPT Proj: B.
Scope The purpose of this document is to provide the necessary information to access the REMOTE SERIAL CONTROLLER (9929511500) with basic Rs-232 software installed (8172435970) Table of Contents I. Request Packet Format ................................................................................................................... 3 II. Response Packet Format ................................................................................................................ 3 III. Packets .............
I. Request Packet Format Data transmission rate is selectable from 115200,57600,19200,9600 bps. Communication format is 8 data bits, no parity bits, and one stop bit. The data packet structure is defined below. Note that the ’Packet ID’ byte uniquely identifies each packet. The CRC value is used to verify that valid data has been received.
Remote Serial I/O Board Switch 1 Configuration Table 1 Board Address Packet Address (Dec Value) 0 1 2 3 4 5 * * 63 Switch 1 # #6 #5 #4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * * * * * * 1 1 1 #3 0 0 0 0 1 1 * * 1 #2 0 0 1 1 0 0 * * 1 #1 0 1 0 1 0 1 * * 1 Table 2 Baud Rate Baud Rate 9600 19200 57600 115200 1= On 0 = Off Switch 1 # #8 #7 0 0 0 1 1 0 1 1 Note The Packet Address must be different for each Board Rs-232 Communication Protocol Sheet 4 of 10 Rev: C Dwg: 817-2435-971
Table 3 Packet ID’s ID (HEX) Description Response Packet 0x00 2 bytes Data Bytes Read Data at J1 & J2 [15:0] //J1 1-8 & J2 1-8 None J# Bit Value J1-1 8 J1-2 9 J1-3 10 J1-4 11 J1-5 12 J1-6 13 J1-7 14 J1-8 15 MSB J2-1 0 LSB J2-2 1 J2-3 2 J2-4 3 J2-5 4 J2-6 5 J2-7 6 J2-8 7 0x01 Read Data at J3 & J4 [15:0] //J2 1-8 & J4 1-8 None J# Bit Value J3-1 8 J3-2 9 J3-3 10 J3-4 11 J3-5 12 J3-6 13 J3-7 14 J3-8 15 MSB J4-1 0 LSB J4-2 1 J4-3 2 J4-4 3 J4-5 4 J4-6 5 J4-7 6 J4-8 7 0x02 0x03 0x04 0x05 0x06 None None Non
0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f Status register Read Analog Data at Channel 0 J5-1 Read Analog Data at Channel 1 J5-2 Read Analog Data at Channel 2 J5-3 Read Analog Data at Channel 3 J5-4 Read Analog Data at Channel 4 J5-5 Read Analog Data at Channel 5 J5-6 Read Analog Data at Channel 6 J5-7 Read Analog Data at Channel 7 J5-8 None None None None None None None None None 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes 0x10 Write Data at J6 & J7 [15:0] //J6 1-8 & J7 1
J9-7 J9-8 0x12 6 7 Write Data at J14 [7:0] //J14 1-8 Bit Value J# J14-1 J14-2 J14-3 J14-4 J14-5 J14-6 J14-7 J14-8 0 1 2 3 4 5 6 7 LSB MSB 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x17 0x20 2 None None None None None None Write Analog Data at Channel 0 J10-1 Write Analog Data at Channel 1 J10-2 Write Analog Data at Channel 2 J10-3 Write Analog Data at Channel 3 J10-4 Write Analog Data at Channel 4 J10-5 Write Analog Data at Channel 5 J10-6 Write Analog Data at Channel 6 J10-7
III. Packets 72 66 1 32 1 32 I. Request Packet Packet Byte # 0 Header Byte # 1 Packet Byte # 1 Header Byte # 2 Packet Byte # 2 Address of “1” selectable by dipswitch on Board Packet Byte # 3 CMD # 2 for Full Data Dump Packet Byte # 4 High CRC Packet Byte # 5 Low CRC 72 66 255 255 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * * II.
Example for Analog Channels Channel (0) Calculation=(Data Byte [6]*256+ Data Byte [7]); 0 to 255 == 0 to 5v full scale Packet ID = CMD *16 + Port # IV. CMD 0= Read Data @ Port # (16 Bits) Total Number of Bytes is 2 1= Write Data @ Port # (16 Bits) Total Number of Bytes is 0 (no return packet) 2= Full Data Dump. Response is 22 bytes: Analog = 16 bytes (8 channels at 2 bytes each) Digital = 4 bytes (32 bits) Rev/Status = 2 Bytes 3= 4= 5= 6= 7= V.
Date of Revision 02/21/03 Drawing Revision REV A 06/19/03 REV B MSB and LSB were backwards on table 3 07/28/03 REV C Added Reset Command to Document.