User manual

Computer Gateway User Manual 4-41 5/96
4.5.2
4.5.2 Build Internal DDT Return
The CG sends this response, which includes data corresponding to the build Internal DDT
request.
Header information: Word 1—Transaction Code = 9
Word 2—Number of Words = size of the Internal DDT plus one
Word 5—CG Identifier = 2
Message format: Word 1—return status (integer) 0=normal status
5=complete with errors
7=data access failure
Word 2—start of Internal DDT
Data Table Formats: Word 1—total number of words in this table (integer)
Word 2—table purpose (integer) 1=input table
2=output table
5=history query table
Words 3..6—order of data types in table (integer)
0=no entries
1=real
2=integer
3=ASCII (24-character string)
4=enumeration (ASCII string) OR
5=enumeration (ordinal value)
13=internal entity id
15=external entity id (ASCII name)
17=LCN internal time
19=ASCII (40-character string)
Words 7..10—number of points of each type (integer array)
Word 11—start of 6-word internal name/parameter sets
Name/parameter set format–normal (Word 1 not = 255)
Words 1..4—internal point identifier (4 integer values)
Word 5—internal parameter identifier (integer)
Word 6—parameter subscript (integer)
For Output tables only: The sets of 6-word internal point and
parameter identifiers are followed by a number of additional 16-bit
integer words equal to the number of type 4 or 5 elements. These
words hold the internal set identifier for each enumeration and
must be part of the IDB stored for future use.