<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>modbus - HaiNH</title>
	<atom:link href="https://hainh.dev/tag/modbus/feed/" rel="self" type="application/rss+xml" />
	<link>https://hainh.dev</link>
	<description></description>
	<lastBuildDate>Sat, 03 Aug 2019 20:07:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://hainh.dev/wp-content/uploads/2025/10/cropped-logomyblog-32x32.png</url>
	<title>modbus - HaiNH</title>
	<link>https://hainh.dev</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">249252746</site>	<item>
		<title>Hệ thống ghi chép tín hiệu từ PLC Mitsu và Omron</title>
		<link>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron</link>
					<comments>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Sat, 03 Aug 2019 20:07:02 +0000</pubDate>
				<category><![CDATA[Dự án]]></category>
		<category><![CDATA[dự án]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[modbus]]></category>
		<category><![CDATA[modbus tcp/ip]]></category>
		<category><![CDATA[quản lý sản xuất]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=2657</guid>

					<description><![CDATA[<p>Hệ thống kết nối đến PLC Mitsu và Omron, kết xuất dữ liệu trạng thái máy ra file csv theo thời gian cài đặt.</p>
<p>The post <a href="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/">Hệ thống ghi chép tín hiệu từ PLC Mitsu và Omron</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Hệ thống kết nối đến PLC Mitsu và Omron, kết xuất dữ liệu trạng thái máy ra file csv theo thời gian cài đặt.</p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="1085" height="631" data-attachment-id="2668" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/1-3-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/10/1.png" data-orig-size="1085,631" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="1" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/10/1-300x174.png" data-large-file="https://hainh.dev/wp-content/uploads/2019/10/1-1024x596.png" src="https://hainh.dev/wp-content/uploads/2019/10/1.png" alt="" class="wp-image-2668" srcset="https://hainh.dev/wp-content/uploads/2019/10/1.png 1085w, https://hainh.dev/wp-content/uploads/2019/10/1-300x174.png 300w, https://hainh.dev/wp-content/uploads/2019/10/1-1024x596.png 1024w, https://hainh.dev/wp-content/uploads/2019/10/1-768x447.png 768w" sizes="(max-width: 1085px) 100vw, 1085px" /><figcaption>Màn hình chính chương trình</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="1310" height="689" data-attachment-id="2669" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/2-3-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/10/2.jpg" data-orig-size="1310,689" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/10/2-300x158.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/10/2-1024x539.jpg" src="https://hainh.dev/wp-content/uploads/2019/10/2.jpg" alt="" class="wp-image-2669" srcset="https://hainh.dev/wp-content/uploads/2019/10/2.jpg 1310w, https://hainh.dev/wp-content/uploads/2019/10/2-300x158.jpg 300w, https://hainh.dev/wp-content/uploads/2019/10/2-1024x539.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/10/2-768x404.jpg 768w" sizes="(max-width: 1310px) 100vw, 1310px" /><figcaption>Cấu hình tham số kết nối thiết bị omron</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="1290" height="682" data-attachment-id="2670" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/3-3-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/10/3.jpg" data-orig-size="1290,682" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="3" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/10/3-300x159.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/10/3-1024x541.jpg" src="https://hainh.dev/wp-content/uploads/2019/10/3.jpg" alt="" class="wp-image-2670" srcset="https://hainh.dev/wp-content/uploads/2019/10/3.jpg 1290w, https://hainh.dev/wp-content/uploads/2019/10/3-300x159.jpg 300w, https://hainh.dev/wp-content/uploads/2019/10/3-1024x541.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/10/3-768x406.jpg 768w" sizes="(max-width: 1290px) 100vw, 1290px" /><figcaption>Cấu hình tham số tới thiết bị mitsu</figcaption></figure>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1084" height="634" data-attachment-id="2671" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/4-3-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/10/4.jpg" data-orig-size="1084,634" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="4" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/10/4-300x175.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/10/4-1024x599.jpg" src="https://hainh.dev/wp-content/uploads/2019/10/4.jpg" alt="" class="wp-image-2671" srcset="https://hainh.dev/wp-content/uploads/2019/10/4.jpg 1084w, https://hainh.dev/wp-content/uploads/2019/10/4-300x175.jpg 300w, https://hainh.dev/wp-content/uploads/2019/10/4-1024x599.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/10/4-768x449.jpg 768w" sizes="(max-width: 1084px) 100vw, 1084px" /><figcaption>Cấu hình thời gian kết xuất</figcaption></figure>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1505" height="839" data-attachment-id="2666" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-siemens-s7/data-csv/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/10/data-csv.png" data-orig-size="1505,839" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="data-csv" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/10/data-csv-300x167.png" data-large-file="https://hainh.dev/wp-content/uploads/2019/10/data-csv-1024x571.png" src="https://hainh.dev/wp-content/uploads/2019/10/data-csv.png" alt="" class="wp-image-2666" srcset="https://hainh.dev/wp-content/uploads/2019/10/data-csv.png 1505w, https://hainh.dev/wp-content/uploads/2019/10/data-csv-300x167.png 300w, https://hainh.dev/wp-content/uploads/2019/10/data-csv-1024x571.png 1024w, https://hainh.dev/wp-content/uploads/2019/10/data-csv-768x428.png 768w" sizes="(max-width: 1505px) 100vw, 1505px" /><figcaption>Kết quả kết xuất</figcaption></figure><p>The post <a href="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/">Hệ thống ghi chép tín hiệu từ PLC Mitsu và Omron</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-mitsu-va-omron/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2657</post-id>	</item>
		<item>
		<title>Hệ thống ghi chép tín hiệu từ PLC Omron</title>
		<link>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=he-thong-ghi-chep-tin-hieu-tu-plc-omron</link>
					<comments>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Wed, 20 Mar 2019 03:50:39 +0000</pubDate>
				<category><![CDATA[Dự án]]></category>
		<category><![CDATA[dự án]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[modbus]]></category>
		<category><![CDATA[modbus tcp/ip]]></category>
		<category><![CDATA[quản lý sản xuất]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=2542</guid>

					<description><![CDATA[<p>Hệ thống kết nối với PLC Omron và ghi chép dữ liệu ra csv mỗi phút 2 tệp tin gồm hơn 200 tín hiệu. Chương trình viết bằng C# &#8211; Windows services đảm bảo chạy ổn định và liên tục. HƯỚNG DẪN SỬ DỤNG Chuẩn bị Máy tính cần cài .NET Framework 4.0 https://www.microsoft.com/en-us/download/details.aspx?id=17718 Copy...</p>
<p>The post <a href="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/">Hệ thống ghi chép tín hiệu từ PLC Omron</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" data-attachment-id="2543" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu.jpg" data-orig-size="1188,507" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-300x128.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-1024x437.jpg" class="aligncenter size-full wp-image-2543" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu.jpg" alt="" width="1188" height="507" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu.jpg 1188w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-300x128.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-1024x437.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-768x328.jpg 768w" sizes="(max-width: 1188px) 100vw, 1188px" /></p>
<p>Hệ thống kết nối với PLC Omron và ghi chép dữ liệu ra csv mỗi phút 2 tệp tin gồm hơn 200 tín hiệu.</p>
<p>Chương trình viết bằng C# &#8211; Windows services đảm bảo chạy ổn định và liên tục.</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2544" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2.jpg" data-orig-size="1302,729" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 2" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2-300x168.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2-1024x573.jpg" class="aligncenter size-full wp-image-2544" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2.jpg" alt="" width="1302" height="729" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2.jpg 1302w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2-300x168.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2-1024x573.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-2-768x430.jpg 768w" sizes="(max-width: 1302px) 100vw, 1302px" /></p>
<p><strong>HƯỚNG DẪN SỬ DỤNG</strong></p>
<ol>
<li><strong> Chuẩn bị </strong></li>
</ol>
<p>Máy tính cần cài .NET Framework 4.0 <a href="https://www.microsoft.com/en-us/download/details.aspx?id=17718">https://www.microsoft.com/en-us/download/details.aspx?id=17718</a></p>
<p>Copy toàn bộ file có trong thư mục này sang 1 folder khác, tối thiểu trong folder phải có những file như sau:</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2545" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-11/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11.jpg" data-orig-size="474,80" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 11" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11-300x51.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11.jpg" class="size-full wp-image-2545 alignnone" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11.jpg" alt="" width="474" height="80" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11.jpg 474w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-11-300x51.jpg 300w" sizes="(max-width: 474px) 100vw, 474px" /><br />
Mở file config.ini để tiến hành cấu hình</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2546" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-12/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12.jpg" data-orig-size="1095,760" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 12" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12-300x208.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12-1024x711.jpg" class="aligncenter size-full wp-image-2546" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12.jpg" alt="" width="1095" height="760" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12.jpg 1095w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12-300x208.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12-1024x711.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-12-768x533.jpg 768w" sizes="(max-width: 1095px) 100vw, 1095px" /></p>
<p>Thay đổi các giá trị và lưu lại nếu cần, trong đó:</p>
<p>+ [IP] = Địa chỉ IP PLC, vd: đổi thành 10.110.085.234</p>
<p>+ [PORT] = 502, Cổng mặc định plc omron, nên để mặc định</p>
<p>+ [TIMER] = Giá trị timer chu kỳ đọc và kết xuất file csv theo số giây, vd: đặt 60 nếu muốn 1 phút xuất 1 file .csv</p>
<p>+ [FOLDER_DATA_MAYBEN] = Đường dẫn thư mục lưu file .csv của cụm máy bện</p>
<p>+ [FOLDER_DATA_MAYKEO] = Đường dẫn thư mục lưu file .csv của cụm máy kéo</p>
<p>+ [MAYBEN_VIB_START_ADDRESS]  = Địa chỉ thanh ghi start độ rung máy bện, vd: 2000</p>
<p>+ [MAYBEN_VIB_DATA] = Danh sách các tên cột trong file csv máy bện khi kết xuất ra theo thứ tự, cũng được tính như tổng số các tín hiệu sẽ được kết xuất ra, vd: 80 tín hiệu được cấu hình như trên hình.</p>
<p>+ [MAYKEO_VIB_START_ADDRESS] = Địa chỉ thanh ghi start độ rung máy kéo, vd: 2080</p>
<p>+ [MAYKEO_VIB_DATA] = Danh sách các tên cột trong file csv máy kéo khi kết xuất ra theo thứ tự, cũng được tính như tổng số các tín hiệu sẽ được kết xuất ra, vd: 64 tín hiệu được cấu hình như trên hình.</p>
<ol start="2">
<li><strong> Cài đặt SERVICE</strong></li>
</ol>
<p>Click chuột phải lên fle CAI_DAT_SERVICE.bat và chọn Run as Administrator để tiến hành cài đặt windows service</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2547" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-13/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13.jpg" data-orig-size="979,512" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 13" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13-300x157.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13.jpg" class="aligncenter size-full wp-image-2547" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13.jpg" alt="" width="979" height="512" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13.jpg 979w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13-300x157.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-13-768x402.jpg 768w" sizes="(max-width: 979px) 100vw, 979px" /></p>
<p>Kiểm tra xem server đã được bật hay chưa bằng cách vào RUN -&gt; Gõ lệnh services.msc. Tìm đến service có tên Hitachi Scada – BaoAn Automation như dưới đây là được.</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2548" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-14/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14.jpg" data-orig-size="820,233" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 14" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14-300x85.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14.jpg" class="aligncenter size-full wp-image-2548" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14.jpg" alt="" width="820" height="233" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14.jpg 820w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14-300x85.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-14-768x218.jpg 768w" sizes="(max-width: 820px) 100vw, 820px" /></p>
<p>Kiểm tra file ghi chép sự kiện trong thư mục Logs, file được đánh tên theo ngày, mỗi ngày nếu phát sinh sự kiện sẽ ghi chép vào đây để tiến hành theo dõi lỗi phát sinh nếu có. Sự kiện được ghi chép bao gồm: SERVICE được khởi động, SERVICE bị tắt, các lỗi liên quan đến việc kết nối thu thập, kết xuất dữ liệu…</p>
<p><img loading="lazy" decoding="async" data-attachment-id="2549" data-permalink="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/he-thong-ghi-chep-du-lieu-15/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15.jpg" data-orig-size="1028,637" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="he thong ghi chep du lieu 15" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15-300x186.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15-1024x635.jpg" class="aligncenter size-full wp-image-2549" src="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15.jpg" alt="" width="1028" height="637" srcset="https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15.jpg 1028w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15-300x186.jpg 300w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15-1024x635.jpg 1024w, https://hainh.dev/wp-content/uploads/2019/04/he-thong-ghi-chep-du-lieu-15-768x476.jpg 768w" sizes="(max-width: 1028px) 100vw, 1028px" /></p>
<p>File csv sẽ được ghi chép vào thư mục đã cấu hình bên trên.</p>
<ol start="3">
<li><strong> Gỡ bỏ SERVICE</strong></li>
</ol>
<p>Dùng trong trường hợp không muốn sử dụng nữa hoặc khi có cập nhật chương trình. Quy trình cập nhật thì đầu tiên cần gỡ bỏ service và cài lại service.</p>
<p>Click chuột phải vào file XOA_SERVICE.bat và chọn Run as Administrator để tiến hành cài gỡ service.</p><p>The post <a href="https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/">Hệ thống ghi chép tín hiệu từ PLC Omron</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/he-thong-ghi-chep-tin-hieu-tu-plc-omron/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2542</post-id>	</item>
		<item>
		<title>Phần mềm kiểm tra chất lượng sản phẩm</title>
		<link>https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phan-mem-kiem-tra-chat-luong-san-pham</link>
					<comments>https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Thu, 25 Oct 2018 11:15:43 +0000</pubDate>
				<category><![CDATA[Dự án]]></category>
		<category><![CDATA[dự án]]></category>
		<category><![CDATA[modbus]]></category>
		<category><![CDATA[phần mềm]]></category>
		<category><![CDATA[phần mềm quản lý]]></category>
		<category><![CDATA[quản lý sản xuất]]></category>
		<category><![CDATA[S7.NET]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=694</guid>

					<description><![CDATA[<p>Chương trình này kết nối với thiết bị đồng hồ đa năng autonics mt4y qua giao thức modbus rtu và khi nhận tín hiệu bắt đầu kiểm tra chương trình sẽ nhận giá trí từ đồng hỗ 9 lần, mỗi lần cách nhau 1s và so sánh trong khoảng MIN MAX, kết thúc 9s, nếu...</p>
<p>The post <a href="https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/">Phần mềm kiểm tra chất lượng sản phẩm</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Chương trình này kết nối với thiết bị đồng hồ đa năng autonics mt4y qua giao thức modbus rtu và khi nhận tín hiệu bắt đầu kiểm tra chương trình sẽ nhận giá trí từ đồng hỗ 9 lần, mỗi lần cách nhau 1s và so sánh trong khoảng MIN MAX, kết thúc 9s, nếu 1 trong 9 bước vượt ngưỡng sẽ báo NOK đồng thời xuất tín hiệu xuống PLC và ra còi hú cảnh báo.</p>
<p><img loading="lazy" decoding="async" data-attachment-id="695" data-permalink="https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/hutchinson/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson.png" data-orig-size="962,732" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="phần mềm đo dòng điện đa năng" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson-300x228.png" data-large-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson.png" class="aligncenter size-full wp-image-695" src="https://hainh.dev/wp-content/uploads/2018/10/hutchinson.png" alt="" width="962" height="732" srcset="https://hainh.dev/wp-content/uploads/2018/10/hutchinson.png 962w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson-300x228.png 300w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson-768x584.png 768w" sizes="(max-width: 962px) 100vw, 962px" /></p>
<p style="text-align: center;">Giao diện chương trình</p>
<p><img loading="lazy" decoding="async" data-attachment-id="696" data-permalink="https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/hutchinson1/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson1.png" data-orig-size="1920,1080" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="hutchinson1" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-300x169.png" data-large-file="https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-1024x576.png" class="aligncenter size-full wp-image-696" src="https://hainh.dev/wp-content/uploads/2018/10/hutchinson1.png" alt="" width="1920" height="1080" srcset="https://hainh.dev/wp-content/uploads/2018/10/hutchinson1.png 1920w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-300x169.png 300w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-1024x576.png 1024w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-768x432.png 768w, https://hainh.dev/wp-content/uploads/2018/10/hutchinson1-1536x864.png 1536w" sizes="(max-width: 1920px) 100vw, 1920px" /></p>
<p style="text-align: center;">Tiến hành debug chương trình</p><p>The post <a href="https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/">Phần mềm kiểm tra chất lượng sản phẩm</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/phan-mem-kiem-tra-chat-luong-san-pham/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">694</post-id>	</item>
	</channel>
</rss>
