<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>Recent changes to Home</description><language>en</language><lastBuildDate>Mon, 11 Sep 2023 11:34:10 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/prj/codesys-example/nbs/home/Home/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Home modified by celberfeld</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v34
+++ v35
@@ -3,7 +3,7 @@

 # Examples for Net Base Services library
-All examples work with or without tls communication. If tls connection is required, the addon 'CODESYS Security Agend' is mandatory to create certificates. To open the securty agend click at the bottom right on the securty agend symbol:[[img src=SecurtyAgent.png width=15%]]
+All examples work with or without tls communication. If tls connection is required, the addon 'CODESYS Security Agent' is mandatory to create certificates. To open the security agent click at the bottom right on the security agent symbol:[[img src=SecurtyAgent.png width=15%]]
 Select Devices -&amp;gt; there you can create a new certificate for NBSServer and also for Client, if NBSServer or NBSClient information is not available, a download in advance is required.


&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">celberfeld</dc:creator><pubDate>Mon, 11 Sep 2023 11:34:10 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6459e8d3f89aeddfd18664c2a12e10722fc86157</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v33
+++ v34
@@ -12,6 +12,7 @@
 ## Example for TCP Server &amp;lt;-&amp;gt; TCP Client
 The project contains two devices, a CODESYS Control Win V3 and a CODESYS Control Win V3 x64, each with one application in it to simulate a Server - Client relationship. Set up in Client -&amp;gt; CLIENT_PRG the client common name and the appropriate ip address, as well as for Server -&amp;gt; SERVER_PRG. If tls communication is not necessary the variable myTLSContext can be removed (SERVER_PRG and CLIENT_PRG). Server application (myServer) should be enabled first.

+ [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/DemoClientServerOptionProvider/DemoClientServerOptionProvider.project label=project]]
 ## Example for how to use IOptionProvider
 The project is based on TCP Server &amp;lt;-&amp;gt; TCP Client Example, but in client application there is an instance of ClientOptions(FB). This function block (is part of POU part) includes three options which are set during opening the socket. In declaration part of CLIENT_PRG the options are set with method SetOptionProvider().
 In server application there is no option set for TCP_Server (default value is used), but it can be done the same way. If udp communication is used, than the options can be set in udp peer, also with the same method SetOptionProvider().
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Tue, 05 Sep 2023 13:18:14 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com3fa48a5fcbc39489dec751d30ec220f29282f9b7</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v32
+++ v33
@@ -11,12 +11,12 @@

 ## Example for TCP Server &amp;lt;-&amp;gt; TCP Client
 The project contains two devices, a CODESYS Control Win V3 and a CODESYS Control Win V3 x64, each with one application in it to simulate a Server - Client relationship. Set up in Client -&amp;gt; CLIENT_PRG the client common name and the appropriate ip address, as well as for Server -&amp;gt; SERVER_PRG. If tls communication is not necessary the variable myTLSContext can be removed (SERVER_PRG and CLIENT_PRG). Server application (myServer) should be enabled first.
-
-  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Reader_TCP_Processor_TCP_Writer/TCP_Reader_TCP_Processor_TCP_Writer_Example.project label=project]]

 ## Example for how to use IOptionProvider
 The project is based on TCP Server &amp;lt;-&amp;gt; TCP Client Example, but in client application there is an instance of ClientOptions(FB). This function block (is part of POU part) includes three options which are set during opening the socket. In declaration part of CLIENT_PRG the options are set with method SetOptionProvider().
 In server application there is no option set for TCP_Server (default value is used), but it can be done the same way. If udp communication is used, than the options can be set in udp peer, also with the same method SetOptionProvider().
+
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Reader_TCP_Processor_TCP_Writer/TCP_Reader_TCP_Processor_TCP_Writer_Example.project label=project]]

 ## Example for TCP Reader &amp;lt;-&amp;gt; TCP Processor &amp;lt;-&amp;gt; TCP Writer
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Tue, 05 Sep 2023 13:11:22 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com130921a1f61736a368b41e1494e65db65f9e3f8a</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v31
+++ v32
@@ -13,6 +13,10 @@
 The project contains two devices, a CODESYS Control Win V3 and a CODESYS Control Win V3 x64, each with one application in it to simulate a Server - Client relationship. Set up in Client -&amp;gt; CLIENT_PRG the client common name and the appropriate ip address, as well as for Server -&amp;gt; SERVER_PRG. If tls communication is not necessary the variable myTLSContext can be removed (SERVER_PRG and CLIENT_PRG). Server application (myServer) should be enabled first.

   [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Reader_TCP_Processor_TCP_Writer/TCP_Reader_TCP_Processor_TCP_Writer_Example.project label=project]]
+  
+## Example for how to use IOptionProvider
+The project is based on TCP Server &amp;lt;-&amp;gt; TCP Client Example, but in client application there is an instance of ClientOptions(FB). This function block (is part of POU part) includes three options which are set during opening the socket. In declaration part of CLIENT_PRG the options are set with method SetOptionProvider().
+In server application there is no option set for TCP_Server (default value is used), but it can be done the same way. If udp communication is used, than the options can be set in udp peer, also with the same method SetOptionProvider().

 ## Example for TCP Reader &amp;lt;-&amp;gt; TCP Processor &amp;lt;-&amp;gt; TCP Writer
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Tue, 05 Sep 2023 13:10:23 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com399bfa8d300521085e3ba670fec7aee8a4db42d6</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Wed, 05 Apr 2023 07:08:26 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com40ca1ad4bffe833e0b0f76752dba755e59841252</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v29
+++ v30
@@ -21,7 +21,7 @@
   [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Peer_IPeer_Receive_Send/UDP_Receive_Send_Example.project label=project]]

 ## Example for UDP Receive &amp;lt;-&amp;gt; UDP Send
-The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a sychronious UDP Producer - UDP Consumer relationship. The producer application just returns the data which was received before, therefore the interface method of IPeer Receive() and Send() are used. Initially the producer creates a string and this sting is send to costumer. The costumer device also includes a peer and here the data is received via direkt method call of peer Receive2() (its similar to Recieve() but has one more output "eTransmission" to show if frame is e.g. unicast. Between receive and send a method ChangeStringValue is called to change the payload of the communication. Because its UDP its recommended to first enable Consumer and then Producer.
+The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a sychronious UDP Producer - UDP Consumer relationship. The producer application just returns the data which was received before, therefore the interface method of IPeer Receive() and Send() are used. Initially the producer creates a string and this sting is send to costumer. The consumer device also includes a peer and here the data is received via direkt method call of peer Receive2() (its similar to Recieve() but has one more output "eTransmission" to show if frame is e.g. unicast. Between receive and send a method ChangeStringValue is called to change the payload of the communication. Because its UDP its recommended to first enable Consumer and then Producer.

   [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Wed, 05 Apr 2023 07:08:25 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com26013942420669ac0ebf999df787d0e7b6a963a5</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v28
+++ v29
@@ -18,7 +18,7 @@
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
 Be aware that for this Server - Client relationship a TLS context is used, so its mandatory to import in the client the server certificate and vice versa. For unencrypted communication the NBS.TLSContext can be deleted.

-  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Peer_IPeer_Receive_Send/CheckUDPProcessor.project label=project]]
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Peer_IPeer_Receive_Send/UDP_Receive_Send_Example.project label=project]]

 ## Example for UDP Receive &amp;lt;-&amp;gt; UDP Send
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a sychronious UDP Producer - UDP Consumer relationship. The producer application just returns the data which was received before, therefore the interface method of IPeer Receive() and Send() are used. Initially the producer creates a string and this sting is send to costumer. The costumer device also includes a peer and here the data is received via direkt method call of peer Receive2() (its similar to Recieve() but has one more output "eTransmission" to show if frame is e.g. unicast. Between receive and send a method ChangeStringValue is called to change the payload of the communication. Because its UDP its recommended to first enable Consumer and then Producer.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Mon, 03 Apr 2023 11:07:05 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comcf4191167a6011198c97b7e93daaec76ff10fc9c</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v27
+++ v28
@@ -18,9 +18,9 @@
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
 Be aware that for this Server - Client relationship a TLS context is used, so its mandatory to import in the client the server certificate and vice versa. For unencrypted communication the NBS.TLSContext can be deleted.

-  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Peer_IPeer_Receive_Send/CheckUDPProcessor.project label=project]]

-## Example for UDP Receive() and Send()
+## Example for UDP Receive &amp;lt;-&amp;gt; UDP Send
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a sychronious UDP Producer - UDP Consumer relationship. The producer application just returns the data which was received before, therefore the interface method of IPeer Receive() and Send() are used. Initially the producer creates a string and this sting is send to costumer. The costumer device also includes a peer and here the data is received via direkt method call of peer Receive2() (its similar to Recieve() but has one more output "eTransmission" to show if frame is e.g. unicast. Between receive and send a method ChangeStringValue is called to change the payload of the communication. Because its UDP its recommended to first enable Consumer and then Producer.

   [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Mon, 03 Apr 2023 10:57:05 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com46fb15a58f0114509e1e97a4209da6d9d25064bd</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -7,23 +7,28 @@
 Select Devices -&amp;gt; there you can create a new certificate for NBSServer and also for Client, if NBSServer or NBSClient information is not available, a download in advance is required.

-
  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Server_TCP_Client/TCP_Server_TCP_Client.project label=project]]

 ## Example for TCP Server &amp;lt;-&amp;gt; TCP Client
 The project contains two devices, a CODESYS Control Win V3 and a CODESYS Control Win V3 x64, each with one application in it to simulate a Server - Client relationship. Set up in Client -&amp;gt; CLIENT_PRG the client common name and the appropriate ip address, as well as for Server -&amp;gt; SERVER_PRG. If tls communication is not necessary the variable myTLSContext can be removed (SERVER_PRG and CLIENT_PRG). Server application (myServer) should be enabled first.
-
-
-  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]
- 
-## Example for UDP Processor
-The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a UDP Producer - UDP Consumer relationship. In the Conusmer application there is a UDP_Processor in it, which extends the NBS.UDP_Processor, so this function block implements the interface method ProcessPacket. In this method (which is called from interface) some data is processed.

   [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Reader_TCP_Processor_TCP_Writer/TCP_Reader_TCP_Processor_TCP_Writer_Example.project label=project]]

 ## Example for TCP Reader &amp;lt;-&amp;gt; TCP Processor &amp;lt;-&amp;gt; TCP Writer
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
 Be aware that for this Server - Client relationship a TLS context is used, so its mandatory to import in the client the server certificate and vice versa. For unencrypted communication the NBS.TLSContext can be deleted.
+
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]
+
+## Example for UDP Receive() and Send()
+The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a sychronious UDP Producer - UDP Consumer relationship. The producer application just returns the data which was received before, therefore the interface method of IPeer Receive() and Send() are used. Initially the producer creates a string and this sting is send to costumer. The costumer device also includes a peer and here the data is received via direkt method call of peer Receive2() (its similar to Recieve() but has one more output "eTransmission" to show if frame is e.g. unicast. Between receive and send a method ChangeStringValue is called to change the payload of the communication. Because its UDP its recommended to first enable Consumer and then Producer.
+
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/UDP_Receive_UDP_Processor_UDP_Sender/UDP_Processor_Example.project label=project]]
+ 
+## Example for UDP Consumer &amp;lt;-&amp;gt; UDP Processor &amp;lt;-&amp;gt; UDP Producer
+The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a UDP Producer - UDP Consumer relationship. In the Conusmer application there is a UDP_Processor in it, which extends the NBS.UDP_Processor, so this function block implements the interface method ProcessPacket. In this method (which is called from interface) some data is processed.
+
+

 ## System requirements and restrictions
 |System requirements and restrictions  | Info|
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Mon, 03 Apr 2023 10:51:51 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comeb3a6bde33a1f7948756f8abb4a126b59ba244d0</guid></item><item><title>Home modified by fschneider</title><link>https://forge.codesys.com/prj/codesys-example/nbs/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -19,7 +19,8 @@
 ## Example for UDP Processor
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a UDP Producer - UDP Consumer relationship. In the Conusmer application there is a UDP_Processor in it, which extends the NBS.UDP_Processor, so this function block implements the interface method ProcessPacket. In this method (which is called from interface) some data is processed.

-
+  [[download url=https://forge.codesys.com/svn/prj,codesys-example,nbs,code/TCP_Reader_TCP_Processor_TCP_Writer/TCP_Reader_TCP_Processor_TCP_Writer_Example.project label=project]]
+  
 ## Example for TCP Reader &amp;lt;-&amp;gt; TCP Processor &amp;lt;-&amp;gt; TCP Writer
 The project contains two devices, two CODESYS Control Win V3 x64, each with one application in it to simulate a TCP Server - TCP Client relationship. The server only returns the values which where send from the client. The client inclues an example where asynchronious read, process and write can be done via the function blocks NBS.TCP_Reader, NBS.TCP_Processor and NBS.TCP_Writer. The NBS.TCP_Processor is overwritten in this example to implement the ProcessStream method. Also this example shows a possibility to read, manipulate and write synchroniously via direct TCP_Client methods Read() and Write(), if xAsync is FALSE.
 Be aware that for this Server - Client relationship a TLS context is used, so its mandatory to import in the client the server certificate and vice versa. For unencrypted communication the NBS.TLSContext can be deleted.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fschneider</dc:creator><pubDate>Thu, 30 Mar 2023 12:01:48 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com77d8f7cf1c3554e26f036382195896924afa96d3</guid></item></channel></rss>