Showing posts with label Point Code. Show all posts
Showing posts with label Point Code. Show all posts

Wednesday, June 10, 2009

ANSI to ITUT Point Code Converstion Schematic

Generally, there are two standards for Point Code - ITU 14 bits (3-8-3) and ANSI 24 bits (8-8-8). For each of the two standards, Point Code can be presented in three formats: decimal, binary, and hex. Google had pointed me to telecomdesk.com that provides a convenient web-based tool for format conversion.
However, what I actually need to do was: convert an ANSI Point Code (8-8-8) into ITU Point Code (3-8-3). For example, let say the given ANSI PC was 8-2-10, how am I going to find out the value in ITU standard? I had searched the Internet for quite some time but just cannot find a clue. Eventually, I came to the following idea:
1) 8-2-14 ==> 00001000 00000010 000011102) Take the 4 right-msb for each segment ==> 1000 0010 11103) Group the bits together and pad with two 0s ==> 001000001011104) Arrange those bits into 3-8-3 format ==> 001 00000101 1105) 001 00000101 010 ==> 1-5-6
Result: 1-5-6