{"id":3352,"date":"2026-11-17T18:42:49","date_gmt":"2026-11-17T10:42:49","guid":{"rendered":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/p5hmi-fvd-en-10\/"},"modified":"2026-11-17T18:42:49","modified_gmt":"2026-11-17T10:42:49","slug":"p5hmi-fvd-en-10","status":"publish","type":"post","link":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/p5hmi-fvd-en-10\/","title":{"rendered":"Chapter 10 Operation Log"},"content":{"rendered":"<p>Historic logs are frequently required for the parameters and controls of certain equipment in many applications in order to track phenomenon that users care about. This is the function that the\u3010Operation Log\u3011provides. It can record the HMI operating processes performed by the user into the memory and also save it as a CSV file so that the user can view it afterwards.<\/p>\n<h3>10.1 \u3010Basic\u3011<\/h3>\n<p>\u3010Operation Log\u3011can be accessed from the\u3010Function\u3011window located in the\u3010Project Explorer\u3011to the left of the FvDesigner as shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/p5hmi-fvd-en-10\/p5hmi-fvd-en-10-001.png\" \/><\/p>\n<p>Figure 166 Setting Screen of\u3010Operation Log\u3011<\/p>\n<p>Table 72 Setting Properties of\u3010Operation Log\u3011<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Property<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Description<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Enable Operation Log\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>Check to enable the\u3010Operation Log\u3011; this is the master switch of the\u3010Operation Log\u3011.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Recording Buffer (Backup Memory)\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Number of Records\u3011<\/p>\n<p>Set the number of logs that the recording buffer can record.<\/p>\n<p>\u3010When the Recording Buffer is Limited\u3011<\/p>\n<p>This can be divided into the following two behaviors:<\/p>\n<ul>\n<li>\u3010Stop Operation Log\u3011<\/li>\n<\/ul>\n<p>Stop logging immediately; any operations afterwards will no longer be recorded in the recording buffer. It can only start logging again once the recording buffer is cleared.<\/p>\n<ul>\n<li>\u3010First in First out\u3011<\/li>\n<\/ul>\n<p>Delete the oldest log and places the newest log information in the recording buffer.<\/p>\n<p>\u3010Number of Operation Logs Address\u3011<\/p>\n<p>Users can check the number of operation logs through a specific register.<\/p>\n<p>\u3010Trigger a Bit\u3011<\/p>\n<p>When the number of the operation logs reach the maximum limitation it will trigger the bit to notify users.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Action\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Record When Project Starts\u3011<\/p>\n<p>Check to record data in the recording buffer when the project starts.<\/p>\n<p>\u3010Message\u3011<\/p>\n<p>Set the messages to record when\u3010Record When Project Starts\u3011is selected.<\/p>\n<p>\u3010Record When Project Stops\u3011<\/p>\n<p>Check to record data in the recording buffer when the project ends.<\/p>\n<p>\u3010Message\u3011<\/p>\n<p>Set the messages to record when\u3010Record When Project Stops\u3011is selected.<\/p>\n<p>\u3010Record When Security Level Changes\u3011<\/p>\n<p>Check whether the information is recorded in the recording buffer when the security level changes<\/p>\n<p>\u3010Message\u3011<\/p>\n<p>Set the messages to record when\u3010Record When Security Level Changes\u3011is selected.<\/p>\n<p>\u3010Record When Security User Changes\u3011<\/p>\n<p>Check whether the information is recorded in the recording buffer when the security Name changes<\/p>\n<p>\u3010Message\u3011<\/p>\n<p>Set the messages to record when\u3010Record When Security User Changes\u3011is selected.<\/p>\n<p>\u3010Record Communication Status\u3011<\/p>\n<p>The communication status of the HMI will be recorded.<\/p>\n<p>\u3010Message\u3011<\/p>\n<p>Set the messages to record when\u3010Record Communication Status\u3011is selected.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Save File\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010File Type\u3011<\/p>\n<p>Check to save the operation log recorded in the recording buffer into a CSV file.<\/p>\n<p>\u3010Destination\u3011<\/p>\n<p>Set the save location, including internal, microSD card, USB storage device.<\/p>\n<p>\u3010Save Mode\u3011<\/p>\n<p>This can be divided into the following two modes:<\/p>\n<ul>\n<li>\u3010Time\u3011<\/li>\n<\/ul>\n<p>Save into CSV files at fixed times and follow the time selections.<\/p>\n<ul>\n<li>\u3010Triggered by\u3011<\/li>\n<\/ul>\n<p>Use a certain triggering bit as the basis for saving files.<\/p>\n<p>\t\u3010Prefix of File Name\u3011<\/p>\n<p>\u3010Prefix of File Name\u3011<\/p>\n<p>Set a prefix for the file name; The file name will come with_YYYYMMDD_hhmmss, For example, when setting AA, the generated file name is AA_YYYYMMDD_hhmmss.csv.<\/p>\n<p>\u3010File Preservation Limit\u3011<\/p>\n<p>When enabled, it allows the user to set the number of days the exported files are preserved. For example, if set for 7 days, the HMI will check the date and will delete the files on the 7<sup>th<\/sup> day.<\/p>\n<p>\u3010Date\/Time Format\u3011<\/p>\n<p>Set the date format when exporting file.<\/p>\n<p>\u3010Output Data\u3011<\/p>\n<p>Select the content items you want to export<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Control Address\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Control Bit\u3011<\/p>\n<p>Set the bit address of the control mode.<\/p>\n<p>\u3010Trigger Condition\u3011<\/p>\n<p>Set the triggering conditions of the control mode, there are \u3010Bit OFF-&gt;ON\u3011,\u3010Bit ON-&gt;OFF\u3011,\u3010Bit Change\u3011three conditions. When the setting was the first two conditions then the\u3010Auto Reset\u3011can be used. <\/p>\n<p>For example: Select\u3010Bit OFF-&gt;ON\u3011and select\u3010Auto Reset\u3011, after pressing the button to switch it to ON, and it will automatically return to OFF.<\/p>\n<p>\u3010Control Mode Address\u3011<\/p>\n<p>Perform corresponding actions through parameters.<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Parameter<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Action<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>0<\/strong><\/p>\n<\/td>\n<td>\n<p>Clear buffer<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>1<\/strong><\/p>\n<\/td>\n<td>\n<p>Archive<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>2<\/strong><\/p>\n<\/td>\n<td>\n<p>Clear buffer after archiving<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>3<\/strong><\/p>\n<\/td>\n<td>\n<p>Delete all archieves<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note: If you want to use the &quot;Archive&quot; and &quot;Clear the buffer after archiving&quot; functions of the control address, you need to tick the\u3010Save file\u3011function.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h3>10.2 \u3010Sync Data\u3011<\/h3>\n<p>Synchronize the Operation Log from the database. When enabled, the data will be automatically read from the database when the connection is successful.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/p5hmi-fvd-en-10\/p5hmi-fvd-en-10-002.png\" \/><\/p>\n<p>Figure 167\u3010Operation Log\u3011\u3010Sync Data\u3011Setting Page<\/p>\n<p>Table 73\u3010Operation Log\u3011\u3010Sync Data\u3011Property Setting Page<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Property<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Description<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Sync Data\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>Set whether to enable the data sync function. After enabling, the setting items will appear below.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010General\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Destination\u3011<\/p>\n<p>Set the synchronize destination<\/p>\n<p>\u3010Database\u3011<\/p>\n<p>Set the synchronize database<\/p>\n<p>\u3010Table Name Prefix\u3011<\/p>\n<p>Set the generated table name of the after synchronization.<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Table Name<\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>&lt;Customized Name&gt;_data<\/p>\n<\/td>\n<td>\n<p>Store the data of the Operation Log<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Control\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Sync Mode\u3011<\/p>\n<p>Set the timing of synchronizing data to the database, including When Buffer is Full, When Bit is Triggered, Daily Synchronization, and Sync Regularly.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Status\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>\u3010Sync Status\u3011<\/p>\n<p>Set the storage address of the status<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Value<\/p>\n<\/td>\n<td>\n<p>Status Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>Unconnect<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Connecting<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Connected<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>3<\/p>\n<\/td>\n<td>\n<p>Synchronizing<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u3010Sync Error\u3011<\/p>\n<p>Set error code storage address<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Value<\/p>\n<\/td>\n<td>\n<p>Status Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>No error<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Unkown error<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Database connection failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>3<\/p>\n<\/td>\n<td>\n<p>Insufficient access authority<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>4<\/p>\n<\/td>\n<td>\n<p>Database name error<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>5<\/p>\n<\/td>\n<td>\n<p>Format error<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>6<\/p>\n<\/td>\n<td>\n<p>Table connection failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>7<\/p>\n<\/td>\n<td>\n<p>Build table failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>8<\/p>\n<\/td>\n<td>\n<p>Write table failed<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h3>10.3 \u3010Operation Log\u3011Settings of Objects<\/h3>\n<p>The descriptions above are for the function settings of the\u3010Operation Log\u3011, but every object with operating behaviors has their own corresponding settings that must also be set completely in order to use the Operation Log.<\/p>\n<p>The following figure shows the setting screen of objects with operating behaviors; the Operation Log setting of the objects can be found under the\u3010Operation\u3011tab, as shown by the frame in the figure below.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/p5hmi-fvd-en-10\/p5hmi-fvd-en-10-003.jpg\" \/><\/p>\n<p>Figure 168 Setting Screen of Objects with Operation Behaviors<\/p>\n<p>Table 74 Object Setting Properties of\u3010Operation Log\u3011<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Property<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Description<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>\u3010Operation Log\u3011<\/strong><\/p>\n<\/td>\n<td>\n<p>Select whether to enable the\u3010Operation Log\u3011of the object.<\/p>\n<p>It can also edit operation messages where the message can be inputted directly or acquired from the\u3010Text Library\u3011.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Historic logs are frequently required for the parameter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"class_list":["post-3352","post","type-post","status-publish","format-standard","hentry","category-en-p5hmi-fvd"],"_links":{"self":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/comments?post=3352"}],"version-history":[{"count":0,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3352\/revisions"}],"wp:attachment":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/media?parent=3352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/categories?post=3352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/tags?post=3352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}