IEC 61804-5-2020 pdf download.Devices and integration in enterprise systems – Function blocks (FB) for process control and electronic device description language (EDDL) – Part 5: EDDL Builtin library.
6.2.18 Builtin display response_ code
Communication profiles: FF, ISA100
Purpose: Display response code description and wait for acknowledge
The builtin display_ response_ code displays the description of a response code for an item. The display builtin does not return control to the method until the user has acknowledged the message.
Internally, this builtin calls the builtin get response_ code_ string to get the associated text string and the builtin get_ acknowledgement to display the associated text string and wait for user acknowledgement.
A response code is a value representing an application-specific error condition. A response code value of zero is not considered an error response code. Each response code and response code type is defined in the EDD.
The parameter id and member_ id refer to a parameter, which may have a response code associated with it after it was last read or written.1 The parameter id and member_ id are specified using the builtins ITEM_ ID and MEMBER_ ID and the name or reference of the variable in question.
NOTE 1 Previously displayed messages are not guaranteed to remain on the screen.
NOTE 2 Some EDD applications will clear the display upon each call to this function.
Lexical structure
display_ response_ code (id, member_ id, code)
The lexical elements of the builtin display_ response_ code are shown in Table 27.
The example uses the builtin get_ response_ code() to get the response code returned on the previous communications request.
6.2.19 Builtin display response_ status
Communication profiles: HART
Purpose: Display response status string
The builtin display_ response_ _status will display the string associated with the specified value of the response_ code octet received from the specified COMMAND NUMBER. The displayed string will remain on the screen until operator acknowledgement is made.
The user has the opportunity to abort the method while method execution is halted waiting for this function to return.
NOTE 1 Previously displayed messages are not guaranteed to remain on the screen.
NOTE 2 Some EDD applications will clear the display upon each call to this function. Lexical structure display_ response_ status (command_ num, response_ code_ value)
The lexical elements of the builtin display_ response_ status are shown in Table 28.IEC 61804-5 pdf download.