UIOFunction Block

This function block is used to configure the hardware inputs and outputs if the hardware uses the so called UIOs. UIOs means that the hardware does not have the fixed number of AI, BI, BO, AO but each terminal is configured via this function block whether it is an AI, BI, BO or AO.

Figure 1: UIO Function Block

Figure 2: UIO Property Sheet

 

Input

Input Name

Description

In

This input is used if the InType is Binary output or Analog output.

  • If the InType is configured as Binary input or Analog input, In is ignored.

  • If InType = Binary Output, the In value is 0 for false and 1 for true.

  • If InType = Analog Output, the In value is a percentage value in the range 0-100%.

InType

(In & Par)

This input defines the hardware type of UIO. If the type is selected, the more exact usage is configured via the characteristics.

  • -1 = Not used: Out = Null, OutCause = Not Configured.

  • 0 = Binary Input. The connected contact or pulses is read and the result is output on Out.

  • 1 = Binary Output. The connected device is switched ON or OFF according to the input In. Out = In.

  • 2 = Analog Input. The connected sensor is read and the result is output on Out.

  • 3 = Analog Output. The connected device gets a voltage or current according to the input In. Out = In.

In Characteristics

(In & Par)

Characteristics specifies the use of input or output defined via InType. The values are not unique.

  • InType =Not used

    Characteristics is ignored.

  • InType =Binary Input

    • -1= Not Used, Out=Null, OutCause = Not configured

    • 0= Binary Reverse Dry Ct

    • 0V=Contact is closed and the output is True.

    • 1= Binary Direct Dry Ct

    • 2= Pulse Counter Dry Ct

    • 3= Pulse Counter Ext Volt

    • 4= Binary Reverse Ext Volt

    • 5= Binary Direct Ext Volt

    • InType =Binary Output

    • -1= Not Used

    • 0= Binary Reverse

    • 1= Binary Direct

    • If In=1, then the Uio get 0V, otherwise 10V.

  • InType =Analog Input

    • -1= Not Used, Out=Null, OutCause = Not configured

    • 1= 0-10 Volts

    • 2= milliOhms

    • 3= 2-10 Volts

    • 8= 4-20 mAmp

    • 9= 0-20 mAmp

    • 32= NTC10KType2

    • 33= NTC20K

    • 34= PT100

    • 36=PT1000

    • 37= BALCO500

    • 38= SetPT10KCharacteristic

    • 39= Ni1000TK5000

    • 40= NTC10KTType3

    • 41= 10K3A1

    • 42=PT3000

    • 43=NickelClassBDIN43760

    • 44= JOHNSON A99

  • InType =Analog Output

    • -1= Not Used

    • 1= Direct 0-10 Volt

    • 2= Direct 1-10 Volt

    • 3= Direct 2-10 Volt

    • 4= Reverse 0-10Volt

    • 5= Reverse 1-10 Volt

    • 6= Reverse 2-10 Volt

    • 7= Direct 0-20 mAmps

    • 8= Direct 4-20 mAmps

    • 9= Direct 0-11 Volt

    • 10= Reverse 0-11 Volt

    • 11= Reverse 0-20 mAmps

    • 12= Reverse 4-20 mAmps

    • Enum: See above values, Null.

InReset

If InType = Binary Input and InCharacteristic = Pulse Counter then a change from 0->1 resets the pulse counter, shown on Out to 0.

Booloean : 0=False, 1=True.

P: In Type Par

This shows on the Function block Level the configuration parameter InTypePar. The value is read only. This value is independent of the input InType. The effective value between the input and the parameter is not displayed here, only the value of the parameter.

In Type Characteristic Par

In Type Par: See InType for description. Default is Used

In Type Characteristic Par: See InCharacteristics for description. Default is Not Used.

Table 1: Inputs of UIO Function block

Output

Output Name

Description

Out

If InType = Binary Output or Analog Output, Out = In.

Numeric= 32-Bit floating-point value(float)

OutCause

This output has various conditions that can occur specially when reading in analog values.

1= Not configured

2= Normal

If Intype= Analog input and Characteristic is a temperature sensor:

3= Sensor open

4= Sensor Short

If Characteristicis 2-10 Volts

5= Under Range

If Characteristicis is 0-10V, 2-10V, 0-20mA, 4-20mA or milliOhms:

6=Over Range

Table 2: Outputs of UIO Function block

Parameters

Parameter Name

Description

InTypePar

(In & Par)

See InType for description. Default=Not Used.

Fault Cause

This field is read-only. Indicates the cause of the parameter's fault state. This property is empty unless a fault occurs. When multiple errors occur, the fault cause displays only the top errors on the list. If the error is resolved, the next error message will be displayed

Pin

Displays a list of supported pins based on the configured controller.

P: In Type Par

See InType for description. Default is Unused.

P: InCharacteristics Par

(In & Par)

See InCharacteristics for description. Default is unused.

Table 3: Parameter of UIO Function block