<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/</id><updated>2020-04-01T12:03:48.283000Z</updated><subtitle>Recent posts to Showing Devicelog content in a visu</subtitle><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#de4c/bcf3/e582" rel="alternate"/><published>2020-04-01T12:03:48.283000Z</published><updated>2020-04-01T12:03:48.283000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comcf0729266d6c27872fa6e2a62a21cab8de307370</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;"CfUnit MUST be able to run on every CODESYS compatible device."&lt;br/&gt;
"CODESYSControl.cfg;  ;Logger.0.Backend.2.ClassId=0x00000135"&lt;br/&gt;
"&lt;a class="user-mention" href="/u/i-campbell/"&gt;@i-campbell&lt;/a&gt; you got any example for this?"&lt;br/&gt;
No.  refactor all of your log writings to write to an array (as well as / instead of).  You have a single POU for your logs, so you only have to change it in one spot, right?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#de4c/bcf3" rel="alternate"/><published>2020-04-01T05:12:54.129000Z</published><updated>2020-04-01T05:12:54.129000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com65c2e43f1d21845e24361889711c2185913f47f6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="user-mention" href="/u/i-campbell/"&gt;@i-campbell&lt;/a&gt; you got any example for this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=250#de4c" rel="alternate"/><published>2020-03-31T07:53:39.548000Z</published><updated>2020-03-31T07:53:39.548000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.coma6fdb905d99a328784ab6ba916bf4e23fccf9a32</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have found the following features in the CODESYSControl.cfg;&lt;/p&gt;
&lt;p&gt;;Logger.0.Backend.2.ClassId=0x00000135   ;sends logger messages as UDP syslog&lt;/p&gt;
&lt;p&gt;Would you care to explain this cvery very interesting option, as I want to send an xml formatted file to a CI/CD environment&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=250#220c" rel="alternate"/><published>2020-03-31T06:41:44.331000Z</published><updated>2020-03-31T06:41:44.331000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comf58c12fa70ced4103096f693e5583a4f3ef213aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently we have a seperate CfUnit log file in place.&lt;/p&gt;
&lt;p&gt;The only concern I have is that CfUnit  &lt;em&gt;MUST&lt;/em&gt;  be able to run on every CODESYS compatible device. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#481b/57b0/8fce" rel="alternate"/><published>2020-03-31T06:33:30.092000Z</published><updated>2020-03-31T06:33:30.092000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com9a7721cd19025fa92e2e58dea531eaa94f6095d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;you sould be able to write the plc log to file with the following settings.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;[CmpLog]&lt;/span&gt;
&lt;span class="na"&gt;Logger.0.Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;PlcLog&lt;/span&gt;
&lt;span class="na"&gt;Logger.0.Filter&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;0xFFFFFFFF&lt;/span&gt;
&lt;span class="na"&gt;Logger.0.Enable&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;Logger.0.Backend.0.ClassId&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;0x00000104   ;writes logger messages in a file&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Not sure if you can open this file with the texteditor (due to security concerns when accessing files outside of the $visu$ folder) but you could try.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=250#481b/57b0" rel="alternate"/><published>2020-03-31T06:17:47.347000Z</published><updated>2020-03-31T06:17:47.347000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.com2b199cb9fdc038f6253de1bb8ee43c71317eb59a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, this sounds interesting, with plc-log you mean the Plc Device Log? &lt;br/&gt;
Would you explaning / showing this?&lt;/p&gt;
&lt;p&gt;Thank you :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#481b" rel="alternate"/><published>2020-03-31T06:01:09.768000Z</published><updated>2020-03-31T06:01:09.768000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comc938e68c660eaed4260f6f61575312126fe4b7c0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You could use the text editor to display the plc-log file on the plc.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#f895" rel="alternate"/><published>2020-03-29T23:20:59.927000Z</published><updated>2020-03-29T23:20:59.927000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com114ecd36f7cade99b939e0d0351e06a80a529b88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not that I could figure out. Refactor to write all messages to an array and display that. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=250#9a76/6326" rel="alternate"/><published>2020-03-26T20:36:42.372000Z</published><updated>2020-03-26T20:36:42.372000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.com0c455340ce7c83b4c0c394db1a64f3940950c06d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The standard log when you double click your device and select the log tab (i.e. PLC DeviceLog) &lt;/p&gt;
&lt;p&gt;Currently I let CfUnit write every message to the standard PLC DeviceLog.&lt;br/&gt;
I am thinking about writing a webinterface to show the produced log in a "more" user friendly manner then the current log.&lt;/p&gt;
&lt;p&gt;The current log is not bad, dont get me wrong, but if I can make it even more user-friendly, that will lower the threshold for CfUnit usage even further.&lt;/p&gt;
&lt;p&gt;This new feature will be added in CfUnit after I finish integration of the new xUnit xml reporter module which I am currently developing for TcUnit.&lt;/p&gt;
&lt;p&gt;An alternative is to implement the IEC DeviceLog into CfUnit. That will take some extra rework...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing Devicelog content in a visu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a82d42bcfb/?limit=25#9a76" rel="alternate"/><published>2020-03-26T20:04:57.964000Z</published><updated>2020-03-26T20:04:57.964000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com76013a4dc948d8d37ad635cc1733aab0da4d31fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Device Log like the forge project? Or standard log when you double click your device and select the log tab?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>