<NME> MainWindow.xaml
<BEF> ﻿<Window x:Class="ExampleWPFVisualization.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Communication="clr-namespace:DotNetSiemensPLCToolBoxLibrary.Communication;assembly=DotNetSiemensPLCToolBoxLibrary" Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <ResourceDictionary>            
            <Communication:PLCTag x:Key="Tag1" S7FormatAddress="DB97.DBW0" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
            <Communication:PLCTag x:Key="Tag2" S7FormatAddress="DB97.DBW2" DataTypeStringFormat="Binary" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
            <Communication:PLCTag x:Key="Tag3" S7FormatAddress="DB97.DBW4" DataTypeStringFormat="Hexadecimal" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
            <Communication:PLCTag x:Key="Tag4" S7FormatAddress="DB97.DBX6.0" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
            <Communication:PLCTag x:Key="Tag5" DatablockNumber="97" ByteAddress="8" ArraySize="10" LibNoDaveDataType="String" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Button Content="Config Connection" Height="26" HorizontalAlignment="Left" Margin="12,12,0,0" Name="cmdConfig" VerticalAlignment="Top" Width="110" Click="cmdConfig_Click" />
        <Button Content="Connect" Height="25" HorizontalAlignment="Left" Margin="12,44,0,0" Name="cmdConnect" VerticalAlignment="Top" Width="110" Click="cmdConnect_Click" />
        <TextBox Height="30" HorizontalAlignment="Left" Margin="12,132,0,0" VerticalAlignment="Top" Width="126" Text="{Binding Source={StaticResource Tag1}, Path=ValueAsString}" />
        <TextBox Height="26" HorizontalAlignment="Left" Margin="12,182,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag2}, Path=ValueAsString}" />
        <TextBox Height="26" HorizontalAlignment="Left" Margin="12,222,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag3}, Path=ValueAsString}" />
        <TextBox Height="26" HorizontalAlignment="Left" Margin="12,262,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag5}, Path=ValueAsString}" />
        <CheckBox Content="CheckBox" Height="25" HorizontalAlignment="Left" Margin="298,115,0,0" Name="checkBox1" IsChecked="{Binding Source={StaticResource Tag4}, Path=Value}" VerticalAlignment="Top" Width="128" />
        <Label Height="26" HorizontalAlignment="Left" Margin="138,11,0,0" Name="lblStatus" VerticalAlignment="Top" Width="353" />
    </Grid>
</Window>
            <Communication:PLCTag x:Key="Tag3"
                                  TagDataType="Float"
                                  PropertyChanged="PLCTag_PropertyChanged"
                                  S7FormatAddress="DB1.DBD0" />
            <Communication:PLCTag x:Key="Tag22"
                                  TagDataType="Float"
                                  PropertyChanged="PLCTag_PropertyChanged"
                                  S7FormatAddress="DB1.DBD36" />
            <Communication:PLCTag x:Key="Tag4"
                                  PropertyChanged="PLCTag_PropertyChanged"
                                  S7FormatAddress="M10.0" />
            <Communication:PLCTag x:Key="Tag5"
                                  TagDataType="BCDDWord"
                                  PropertyChanged="PLCTag_PropertyChanged"
                                  S7FormatAddress="MW200" />
            <Communication:PLCTag x:Key="Tag6"
                                  ByteAddress="0"
                                  DataBlockNumber="1"
                                  TagDataType="DateTime"
                                  PropertyChanged="PLCTag_PropertyChanged" />
        </ResourceDictionary>
    </Window.Resources>
    <Viewbox Stretch="Uniform">

        <Grid Width="389">
            <Label Name="lblStatus"
                   Height="23"
                   Margin="133,13,28,0"
                   VerticalAlignment="Top" />
            <Button Name="cmdConfig"
                    Width="110"
                    Height="26"
                    Margin="12,12,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Click="cmdConfig_Click"
                    Content="Config Connection" />
            <Button Name="cmdConnect"
                    Width="110"
                    Height="25"
                    Margin="19,46,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Click="cmdConnect_Click"
                    Content="Start Visu" />
            <Button Name="cmdStop"
                    Width="110"
                    Height="25"
                    Margin="138,44,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Click="cmdStop_Click"
                    Content="Stop Visu"
                    IsEnabled="False" />
            <TextBox Width="126"
                     Height="30"
                     Margin="14,131,0,0"
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Background="{Binding Source={StaticResource Tag1},
                                          Path=Value,
                                          Converter={StaticResource FarbenConverter1}}"
                     Behaviours:InputBindingsManager.UpdatePropertySourceWhenEnterPressedProperty="TextBox.Text"
                     Text="{Binding Source={StaticResource Tag1},
                                    Path=ValueAsString}" />

            <TextBox Width="238"
                     Height="26"
                     Margin="8,175,0,0"
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Background="{Binding Source={StaticResource Tag4},
                                          Path=Value,
                                          Converter={StaticResource BoolBrushConverter1}}"
                     Behaviours:InputBindingsManager.UpdatePropertySourceWhenEnterPressedProperty="TextBox.Text"
                     Text="{Binding Source={StaticResource Tag2},
                                    Path=ValueAsString}" />
            <TextBox Width="238"
                     Height="26"
                     Margin="12,214,0,0"
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Behaviours:InputBindingsManager.UpdatePropertySourceWhenEnterPressedProperty="TextBox.Text"
                     Text="{Binding Source={StaticResource Tag3},
                                    Path=ValueAsString}" />
            <CheckBox Name="checkBox1"
                      Width="128"
                      Height="15"
                      Margin="0,115,0,0"
                      HorizontalAlignment="Right"
                      VerticalAlignment="Top"
                      Content="CheckBox"
                      IsChecked="{Binding Source={StaticResource Tag4},
                                          Path=Value}" />

            <DatePicker Name="datePicker1"
                        Width="170"
                        Height="26"
                        Margin="0,0,68,138"
                        HorizontalAlignment="Right"
                        VerticalAlignment="Bottom"
                        FirstDayOfWeek="Monday"
                        SelectedDate="{Binding Source={StaticResource Tag6},
                                               Path=Value}"
                        SelectedDateFormat="Long" />
            <Button Name="button1"
                    Width="115"
                    Height="41"
                    Margin="14,81,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Content="Button" />
            <Button Name="button2"
                    Width="140"
                    Height="39"
                    Margin="244,132,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Content="Button" />
        </Grid>

    </Viewbox>
</Window>

<MSG> - BugFix to putDateTimeat (Don't know what I did when i tested this ;-) )
- TinRangeToBrush Conveter for Simple WPF Visu


<DFF> @@ -1,23 +1,37 @@
 ﻿<Window x:Class="ExampleWPFVisualization.MainWindow"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Communication="clr-namespace:DotNetSiemensPLCToolBoxLibrary.Communication;assembly=DotNetSiemensPLCToolBoxLibrary" Title="MainWindow" Height="350" Width="525">
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Communication="clr-namespace:DotNetSiemensPLCToolBoxLibrary.Communication;assembly=DotNetSiemensPLCToolBoxLibrary" xmlns:ExampleWPFVisualization="clr-namespace:ExampleWPFVisualization" Title="MainWindow" Height="350" Width="525">
     <Window.Resources>
-        <ResourceDictionary>            
+        <ResourceDictionary>
+            <ExampleWPFVisualization:IntRangeToBrushConverter x:Key="FarbenConverter1">
+                <ExampleWPFVisualization:IntRangeToBrushConverter.IntRangeBrushValues>                    
+                        <ExampleWPFVisualization:IntRangeBrushValue IntRange="0-99" Brush="Red" />
+                        <ExampleWPFVisualization:IntRangeBrushValue IntRange="100" Brush="Blue" />
+                        <ExampleWPFVisualization:IntRangeBrushValue IntRange="101-200" Brush="Green" />
+                        <ExampleWPFVisualization:IntRangeBrushValue IntRange=">200" Brush="Yellow" />
+                </ExampleWPFVisualization:IntRangeToBrushConverter.IntRangeBrushValues>
+            </ExampleWPFVisualization:IntRangeToBrushConverter>
+            
             <Communication:PLCTag x:Key="Tag1" S7FormatAddress="DB97.DBW0" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
             <Communication:PLCTag x:Key="Tag2" S7FormatAddress="DB97.DBW2" DataTypeStringFormat="Binary" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
             <Communication:PLCTag x:Key="Tag3" S7FormatAddress="DB97.DBW4" DataTypeStringFormat="Hexadecimal" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
             <Communication:PLCTag x:Key="Tag4" S7FormatAddress="DB97.DBX6.0" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
             <Communication:PLCTag x:Key="Tag5" DatablockNumber="97" ByteAddress="8" ArraySize="10" LibNoDaveDataType="String" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
+            <Communication:PLCTag x:Key="Tag6" DatablockNumber="97" ByteAddress="20" LibNoDaveDataType="DateTime" PropertyChanged="PLCTag_PropertyChanged"></Communication:PLCTag>
         </ResourceDictionary>
     </Window.Resources>
     <Grid>
         <Button Content="Config Connection" Height="26" HorizontalAlignment="Left" Margin="12,12,0,0" Name="cmdConfig" VerticalAlignment="Top" Width="110" Click="cmdConfig_Click" />
         <Button Content="Connect" Height="25" HorizontalAlignment="Left" Margin="12,44,0,0" Name="cmdConnect" VerticalAlignment="Top" Width="110" Click="cmdConnect_Click" />
-        <TextBox Height="30" HorizontalAlignment="Left" Margin="12,132,0,0" VerticalAlignment="Top" Width="126" Text="{Binding Source={StaticResource Tag1}, Path=ValueAsString}" />
+        <Label Height="26" HorizontalAlignment="Left" Margin="138,11,0,0" Name="lblStatus" VerticalAlignment="Top" Width="353" />
+        
+        <TextBox Height="30" HorizontalAlignment="Left" Margin="12,132,0,0" VerticalAlignment="Top" Width="126" 
+                 Text="{Binding Source={StaticResource Tag1}, Path=ValueAsString}" 
+                 Background="{Binding Source={StaticResource Tag1}, Path=Value, Converter={StaticResource FarbenConverter1}}" />
         <TextBox Height="26" HorizontalAlignment="Left" Margin="12,182,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag2}, Path=ValueAsString}" />
         <TextBox Height="26" HorizontalAlignment="Left" Margin="12,222,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag3}, Path=ValueAsString}" />
         <TextBox Height="26" HorizontalAlignment="Left" Margin="12,262,0,0" VerticalAlignment="Top" Width="238" Text="{Binding Source={StaticResource Tag5}, Path=ValueAsString}" />
-        <CheckBox Content="CheckBox" Height="25" HorizontalAlignment="Left" Margin="298,115,0,0" Name="checkBox1" IsChecked="{Binding Source={StaticResource Tag4}, Path=Value}" VerticalAlignment="Top" Width="128" />
-        <Label Height="26" HorizontalAlignment="Left" Margin="138,11,0,0" Name="lblStatus" VerticalAlignment="Top" Width="353" />
+        <CheckBox Content="CheckBox" Height="25" HorizontalAlignment="Left" Margin="298,115,0,0" Name="checkBox1" IsChecked="{Binding Source={StaticResource Tag4}, Path=Value}" VerticalAlignment="Top" Width="128" />        
+        <DatePicker Height="26" HorizontalAlignment="Left" Margin="298,146,0,0" Name="datePicker1" VerticalAlignment="Top" Width="170" SelectedDate="{Binding Source={StaticResource Tag6}, Path=Value}" />
     </Grid>
 </Window>

- BugFix to putDateTimeat (Don't know what I did when i tested this ;-) ) - TinRangeToBrush Conveter for Simple WPF Visu