<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to use Cmplog Lib?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/</id><updated>2020-02-27T14:24:28.536000Z</updated><subtitle>Recent posts to How to use Cmplog Lib?</subtitle><entry><title>How to use Cmplog Lib?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/?limit=25#ba01" rel="alternate"/><published>2020-02-27T14:24:28.536000Z</published><updated>2020-02-27T14:24:28.536000Z</updated><author><name>zhanjun717</name><uri>https://forge.codesys.com/u/zhanjun717/</uri></author><id>https://forge.codesys.combc2ad4247f246481f39663034388e11b6ce8d4e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;you can configure the logging of PLC by editing COdesysSP.cfg file，the component can configure like below:&lt;br/&gt;
&lt;span&gt;[CmpLog]&lt;/span&gt;&lt;br/&gt;
Logger.0.Name = "your file name"&lt;br/&gt;
Logger.0.Enable= 1&lt;br/&gt;
...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use Cmplog Lib?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/?limit=25#df4b" rel="alternate"/><published>2020-02-27T14:24:27.214000Z</published><updated>2020-02-27T14:24:27.214000Z</updated><author><name>pangwei</name><uri>https://forge.codesys.com/u/pangwei/</uri></author><id>https://forge.codesys.comb0cad9034d5c36199fcee869f628e905a73645ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks!&lt;br/&gt;
This is not my means.&lt;br/&gt;
I wanted to save messages into the loger file .The message also include the PLC system info.Like this:&lt;br/&gt;
00000980: Cmp=JBL_UTIL, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_DenyStart received: App=Application, bDeny=0 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000980: Cmp=MIO_PLC, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_DenyStart received: App=Application, bDeny=0 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=JBL_UTIL, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_DenyStop received: App=Application, Reason=4, bDeny=0 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=MIO_PLC, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_DenyStop received: App=Application, Reason=4, bDeny=0 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=JBL_UTIL, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_PrepareStop received: App=Application, Reason=4 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=MIO_PLC, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_PrepareStop received: App=Application, Reason=4 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=JBL_UTIL, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_StopDone received: App=Application, Reason=4 &lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
00000981: Cmp=MIO_PLC, Class=1, Error=0, Info=0, pszInfo= &lt;strong&gt;&lt;em&gt; EVT_StopDone received: App=Application, Reason=4 &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Do you have any ideas?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use Cmplog Lib?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/?limit=25#315c" rel="alternate"/><published>2020-02-27T14:24:26.628000Z</published><updated>2020-02-27T14:24:26.628000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com2acbad97803a8af3841ff66be4b2e68869f01092</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can use the CAA_FILE library.&lt;br/&gt;
See the CoDeSys help for detailed information about this library and an example.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use Cmplog Lib?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fca851346/?limit=25#6179" rel="alternate"/><published>2020-02-27T14:24:26.216000Z</published><updated>2020-02-27T14:24:26.216000Z</updated><author><name>pangwei</name><uri>https://forge.codesys.com/u/pangwei/</uri></author><id>https://forge.codesys.come3865143a207a3cf58210598ce22ca328b2b7767</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In my application ,i want to save some debug messages into a file.&lt;br/&gt;
Now , i can write message into a logger named PlcLogger,and it can display it in codesys,but i can not find the file in my root.&lt;br/&gt;
Do you have any examples?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>