beautypg.com

A.4 p, A.4.1 s, A.4.2 a – Comtech EF Data MBT-4000B User Manual

Page 39: Acket, Tructure

background image

Multi-Band Transceiver System

Revision 0

Remote Command

MN/MBT4000B.IOM

A–3

A.4 P

ACKET

S

TRUCTURE

Controller-to-Target:

Start of Packet

Target

Address

Address

De-limiter

Instruction

Code

Code

Qualifier

Optional

Arguments

End of Packet

<

ASCII code 60

(1 character)



(4 or 6

characters)

/

ASCII code 47

(1 character)



(3 characters)

= or ?

ASCII code

61 or 63

(1 character)



(n characters)

Carriage

Return

ASCII code 13

(1 character)

Example: <0412/MUT=1{CR}

Target-to-Controller:

Start of Packet

Target

Address

Address

De-limiter

Instruction

Code

Code Qualifier

Optional

Arguments

End of Packet

>

ASCII

code 62

(1 character)



(4 or 6

characters)

/

ASCII

code 47

(1 character)



(3 characters)

=, ?, !, or *

ASCII code 61,

63, 33 or 42

(1 character)


(From 0 to n

characters)

Carriage Return,

Line Feed

ASCII code 13,10

(2 characters)

Example: >0412/MUT={CR}{LF}

Each of the components of the packet is now explained.

A.4.1 S

TART

O

F

P

ACKET

Controller to Target: This is the character ‘<’ (ASCII code 60)

Target to Controller: This is the character ‘>’ (ASCII code 62)
Because this is used to provide a reliable indication of the start of packet, these two characters
may not appear anywhere else within the body of the message.

A.4.2 A

DDRESS

Up to 9999 devices can be uniquely addressed. In both RS-232 and RS-485 applications, the
permissible range of values is 1 to 9999. It is programmed into a target unit using the remote
control port.

The BDC and BUC sub-devices may also be addressed by appending the corresponding sub-
device address. The sub-device address is ‘A1’ for the BXC.

For example, a mute command addressed to a BUC attached to an MBT-4000B at address 0412
will be:

<0412A1/MUT=1{CR}