User manual
Computer Gateway User Manual 4-97 5/96
4.8.2
4.8.2 Get History Return
This message is sent by the CG in response to a request for transmission of history data
stored at the HM.
Eight-Character Tagname Form
Header information: Word 1—Transaction Code = 51
Word 2—Number of Words = 5 plus size of the data table
Word 5—CG Identifier = 2
Message format: Words 1..4—ACIDP name or blank (8 ASCII characters)
Word 5—return status (integer)
0=normal return
4=begin period is invalid
5=complete with errors
6=end period is invalid
7=history type invalid or data access failed
9=HM rejects the request for history
10=the DDT was empty
13=begin-end periods are invalid
14=the requested number of samples exceed
the size of the return buffer
15=ACIDP not in the correct EXECSTAT
16=ACIDP name is invalid
33=data type requested in the DDT is invalid
35=referenced DDT is not of type "history"
37=referenced DDT has duplicate data types
39=referenced DDT contains too many
point.parameters
40=number of words in the request header is
incorrect
Word 6—start of history data values
Data format: Same as for the sixteen-character tagname form explained below.
Use information: Same as for the sixteen-character tagname form explained below.