Data Formats

Top  Previous  Next

The CAT interface requires the availability of the following number formats:

 

ASCII

BINARY

BCD

Decimal

Hex

 

ASCII is a standard 8 bit representation of characters and symbols in computing.

Binary is the digital representation of a number as a string of '0' and '1'. The base is 2.

BCD is a binary format for the representation of a decimal number.

Decimal is the common decimal representation of the numbersystem 0....9 to the base of 10.

Hex is a number representation to the base of 16. The hex number set is normally noted as 0...9,A,B,C,D,E,F.

 

For the CAT operations we also need the following notations for numbers:

 

#      followed by a number is interpreted as a decimal number, not as ASCII-character nor as Hex number!

 

#$      followed by a number is interpreted as a hex number, not as ASCII-character nor as decimal number!

 

 

The following notations apply for the representation of numbers in parameter strings:

 

Leading blanks   in a frequency string noted as f:'ffffffff'          ---------> '    1234'
Leading '0'or #0 in a frequency string noted as F:'FFFFFFFF' --------> '00001234'
Leading blanks   in a RIT frequency string noted as r:'rrrr'             --------> '  12'
Leading '0'or #0 in a RIT frequency string noted as R:'RRRR'        --------> '0012'
Leading blanks   in a mode byte noted as m:'mm'           ---------> ' 1'
Leading '0'or #0 in a mode byte noted as M:'MM'           ---------> '01'
Leading blanks   in a field strength string noted as s:'sss'           ---------> '  1'
Leading '0'or #0 in a field strength string noted as S:'SSS'          ---------> '001'

 

This topic was last edited on  Monday, 03-Jul-2023,  at  23:57