

EVENT_INPUT INIT WITH DIA,FGD,BKGD; (* Initialization *) REQ WITH POS; (* Request *) END_EVENT EVENT_OUTPUT INITO; (* Initialization Confirm *) CNF; (* Service Confirmation *) END_EVENT VAR_INPUT DIA : UINT; (* View height/width in pixels *) FGD : COLOR := COLOR#blue; (* Shaft body color *) BKGD : COLOR := COLOR#white; (* Background color *) POS : UINT; (* Current valve position *) END_VAR
An instance of this function block type displays a View of an
actuated valve showing the actuator position
POS
as well as a representation of the valve state on a scale from 0
(closed) to 100 (open).
See the
TANK_VIEWL
configuration for an example of the use of an instance of this type.