{"id":1046,"date":"2023-12-11T14:16:34","date_gmt":"2023-12-11T13:16:34","guid":{"rendered":"https:\/\/dev.engiby.ch\/?page_id=1046"},"modified":"2023-12-11T16:33:32","modified_gmt":"2023-12-11T15:33:32","slug":"how-to-use-ng-trace-with-the-iec-60870-5-104-driver","status":"publish","type":"page","link":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/","title":{"rendered":"How to use NG-Trace with the IEC 60870-5-104 driver"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px||0px||true|&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<span><span><a href=\"https:\/\/engiby.ch\/cms\/web\/\">Accueil<\/a><\/span><\/span>[\/et_pb_code][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; title_font=&#8221;|600|||||||&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_post_title][et_pb_divider color=&#8221;#EEEEEE&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(255,255,255,0)&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>Valid for IEC-104 library version 2.5.207 and later.<\/span><\/p>\n<p>We assume that you have correctly installed NG-Trace and the FBox library according to the instructions on the<span>\u00a0<\/span><a href=\"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/\">NG-Trace Download page.<\/a><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>You have already created your IEC 60870-5-104 application and therefore, you have a Fupla file with the IEC Driver FBox placed.<\/p>\n<ol>\n<li><span>Open the Fupla file with the IEC FBox. Before the IEC Driver FBox, place an FBox &#8216;Trace Buffer&#8217; from the NG-Trace family. Name it<strong>\u00a0&#8216;IEC104&#8217;.<br \/><\/strong>On the FBox enter a free register (one single free register).<\/span><\/li>\n<\/ol>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/engiby.ch\/cms\/web\/wp-content\/uploads\/2023\/12\/NG-Trace_IEC104.png&#8221; alt=&#8221;NG-Trace IEC104&#8243; title_text=&#8221;NG-Trace_IEC104&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span>2. In the PCD device in the PG5 Project Manager, create a new file with the type &#8216;NG-Trace&#8217;.<br \/><strong>Important: Uncheck the option &#8216;Linked\/Build&#8217;<\/strong>.<br \/>The NG-Trace will open.<br \/>When prompted, select &#8216;<strong>Connect to standard buffer<\/strong>&#8216;.<\/span><\/p>\n<p><span><br \/><\/span><span>3. Click on &#8216;Edit Buffer&#8217; and enter the same start Register as chosen above. Save the configuration.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/engiby.ch\/cms\/web\/wp-content\/uploads\/2023\/12\/BufferConfiguration.png&#8221; alt=&#8221;BufferConfiguration&#8221; title_text=&#8221;BufferConfiguration&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span>4. Build, download and run your program as usual in the PG5 Project Manager. During build, you should get these 2 messages:<br \/>&#8211; NG-Trace Buffer for IEC104\u00a0<span class=\"SpellE\">created<\/span>.<br \/>&#8211; NG-Trace Buffer for IEC 60870-5-104\u00a0<span class=\"SpellE\">found<\/span>.<strong><span lang=\"FR\"><br \/><\/span><\/strong>Only if you get these 2 messages, the trace buffer will work.<\/p>\n<p><\/span><\/p>\n<p><span>5. Go online with the PG5 Project Manager.<\/p>\n<p><\/span><\/p>\n<p><span>6. In the main window of the NG-Trace, press the &#8216;Connect&#8217; button.<br \/>The named columns appear and the events are recorded. If the options are checked, the PC Date and PC Time are added.<\/p>\n<p>In the\u00a0<strong>Frm<\/strong>\u00a0column you can find the IEC frame types (I-S-U) but also the following:<br \/>&#8211; Info For auxiliary information (e.g. Library version). See Value column<br \/>&#8211; Error For driver errors with error code in ASDU and argument in Value column<br \/>&#8211; PPP For PPP events, with changed status in COT and new status in Value column<br \/>&#8211; TCP For TCP event shown in COT column<\/span><\/p>\n<p><strong>Read the Help file for more explanation about the use of NG-Trace.<\/strong><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h5>www.engiby.ch\/ngtrace-iec104<\/h5>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span><span><a href=\"https:\/\/engiby.ch\/cms\/web\/\">Accueil<\/a><\/span><\/span>Valid for IEC-104 library version 2.5.207 and later. We assume that you have correctly installed NG-Trace and the FBox library according to the instructions on the\u00a0NG-Trace Download page.You have already created your IEC 60870-5-104 application and therefore, you have a Fupla file with the IEC Driver FBox placed. Open the Fupla file with the IEC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1018,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-1046","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to use NG-Trace with the IEC 60870-5-104 driver - Engiby<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use NG-Trace with the IEC 60870-5-104 driver - Engiby\" \/>\n<meta property=\"og:description\" content=\"Valid for IEC-104 library version 2.5.207 and later. We assume that you have correctly installed NG-Trace and the FBox library according to the instructions on the\u00a0NG-Trace Download page.You have already created your IEC 60870-5-104 application and therefore, you have a Fupla file with the IEC Driver FBox placed. Open the Fupla file with the IEC [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/\" \/>\n<meta property=\"og:site_name\" content=\"Engiby\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-11T15:33:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\\\/\",\"url\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\\\/\",\"name\":\"How to use NG-Trace with the IEC 60870-5-104 driver - Engiby\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#website\"},\"datePublished\":\"2023-12-11T13:16:34+00:00\",\"dateModified\":\"2023-12-11T15:33:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Acquisition\",\"item\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"NG-Trace 2\",\"item\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"NG-Trace Download\",\"item\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/data-acquisition\\\/ng-trace-2\\\/ng-trace-download\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to use NG-Trace with the IEC 60870-5-104 driver\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#website\",\"url\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/\",\"name\":\"Engiby\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#organization\",\"name\":\"Engiby Sarl\",\"url\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/LogoEngiby.jpg\",\"contentUrl\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/LogoEngiby.jpg\",\"width\":1180,\"height\":226,\"caption\":\"Engiby Sarl\"},\"image\":{\"@id\":\"https:\\\/\\\/engiby.ch\\\/cms\\\/web\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use NG-Trace with the IEC 60870-5-104 driver - Engiby","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"How to use NG-Trace with the IEC 60870-5-104 driver - Engiby","og_description":"Valid for IEC-104 library version 2.5.207 and later. We assume that you have correctly installed NG-Trace and the FBox library according to the instructions on the\u00a0NG-Trace Download page.You have already created your IEC 60870-5-104 application and therefore, you have a Fupla file with the IEC Driver FBox placed. Open the Fupla file with the IEC [&hellip;]","og_url":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/","og_site_name":"Engiby","article_modified_time":"2023-12-11T15:33:32+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/","url":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/","name":"How to use NG-Trace with the IEC 60870-5-104 driver - Engiby","isPartOf":{"@id":"https:\/\/engiby.ch\/cms\/web\/#website"},"datePublished":"2023-12-11T13:16:34+00:00","dateModified":"2023-12-11T15:33:32+00:00","breadcrumb":{"@id":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/how-to-use-ng-trace-with-the-iec-60870-5-104-driver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/engiby.ch\/cms\/web\/"},{"@type":"ListItem","position":2,"name":"Data Acquisition","item":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/"},{"@type":"ListItem","position":3,"name":"NG-Trace 2","item":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/"},{"@type":"ListItem","position":4,"name":"NG-Trace Download","item":"https:\/\/engiby.ch\/cms\/web\/data-acquisition\/ng-trace-2\/ng-trace-download\/"},{"@type":"ListItem","position":5,"name":"How to use NG-Trace with the IEC 60870-5-104 driver"}]},{"@type":"WebSite","@id":"https:\/\/engiby.ch\/cms\/web\/#website","url":"https:\/\/engiby.ch\/cms\/web\/","name":"Engiby","description":"","publisher":{"@id":"https:\/\/engiby.ch\/cms\/web\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/engiby.ch\/cms\/web\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/engiby.ch\/cms\/web\/#organization","name":"Engiby Sarl","url":"https:\/\/engiby.ch\/cms\/web\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/engiby.ch\/cms\/web\/#\/schema\/logo\/image\/","url":"https:\/\/engiby.ch\/cms\/web\/wp-content\/uploads\/2025\/11\/LogoEngiby.jpg","contentUrl":"https:\/\/engiby.ch\/cms\/web\/wp-content\/uploads\/2025\/11\/LogoEngiby.jpg","width":1180,"height":226,"caption":"Engiby Sarl"},"image":{"@id":"https:\/\/engiby.ch\/cms\/web\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/pages\/1046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/comments?post=1046"}],"version-history":[{"count":5,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/pages\/1046\/revisions"}],"predecessor-version":[{"id":1099,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/pages\/1046\/revisions\/1099"}],"up":[{"embeddable":true,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/pages\/1018"}],"wp:attachment":[{"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/media?parent=1046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/categories?post=1046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engiby.ch\/cms\/web\/wp-json\/wp\/v2\/tags?post=1046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}