An instance of this service interface function block type provides access to an Analog Input (AI) port.
The
PORT
input identifies the device-specific port to be accessed, using the
generic syntax of a Universal Resource Indicator (URI).
As shown by the
request_confirm
service sequence below, upon the occurrence of an event at the
REQ
input:
- The value of the input at the analog port is read.
- This value is converted to a
REALvalue at theRDoutput.- The
RDoutput will be in the range0.0to1.0,corresponding to the minimum and maximum values of the analog input, respectively.
- The
- An event is then issued at the
CNFoutput.
Other normal and abnormal service sequences are shown below.