<!DOCTYPE html>
    <html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
    <head>
<title>S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng</title>
<meta name="description" content="S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng - Savefile - Tin Tức -...">
<meta name="author" content="CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH">
<meta name="copyright" content="CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH [mr.anhlv@gmail.com]">
<meta name="google-site-verification" content="gDGgLc4qBYy9_5H9NUfAy0BSdCWhxCiMIackhCSr2vg">
<meta name="msvalidate.01" content="171F162059CAB2E1BD9C86B5970FBF31">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index, archive, follow, noodp">
<meta name="msnbot" content="index, archive, follow, noodp">
<meta name="coccocbot-web" content="index, archive, follow, noodp">
<meta name="generator" content="TMS v4.5">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;giahungtech.com&#x002F;news&#x002F;savefile&#x002F;huong-dan&#x002F;s7-1200-phan-4-cac-bit-he-thong-va-cach-su-dung-36.html">
<meta property="og:site_name" content="CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH">
<meta property="og:image" content="https://giahungtech.com/uploads/plcnext_starterkit3.jpg">
<meta property="og:image:url" content="https://giahungtech.com/uploads/plcnext_starterkit3.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="1280">
<meta property="og:image:height" content="720">
<meta property="og:url" content="https://giahungtech.com/news/savefile/huong-dan/s7-1200-phan-4-cac-bit-he-thong-va-cach-su-dung-36.html">
<link rel="shortcut icon" href="https://giahungtech.com/uploads/icon.ico">
<link rel="canonical" href="https://giahungtech.com/news/savefile/huong-dan/s7-1200-phan-4-cac-bit-he-thong-va-cach-su-dung-36.html">
<link rel="alternate" href="https://giahungtech.com/news/rss/" title="Tin Tức" type="application/rss+xml">
<link rel="alternate" href="https://giahungtech.com/news/rss/dao-tao-ngan-han/" title="Tin Tức - Đào tạo ngắn hạn" type="application/rss+xml">
<link rel="alternate" href="https://giahungtech.com/news/rss/file-mau/" title="Tin Tức - File mẫu" type="application/rss+xml">
<link rel="alternate" href="https://giahungtech.com/news/rss/huong-dan/" title="Tin Tức - Hướng dẫn" type="application/rss+xml">
<link rel="alternate" href="https://giahungtech.com/news/rss/tin-tuc/" title="Tin Tức - Tin tức" type="application/rss+xml">
<link rel="preload" as="style" href="https://giahungtech.com/assets/css/font-awesome.min.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/bootstrap.min.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/style.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/style.responsive.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/news.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/custom.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/tms/css/swiper.css" type="text/css">
<link rel="preload" as="style" href="https://giahungtech.com/themes/default/css/tms_menu.css" type="text/css">
<link rel="preload" as="script" href="https://giahungtech.com/assets/js/jquery/jquery.min.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/assets/js/language/vi.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/assets/js/global.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/js/news.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/js/main.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/js/custom.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/tms/js/swiper.js" type="text/javascript">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/js/tms_menu.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.googletagmanager.com/gtag/js?id=G-NTD0WQBV7B" type="text/javascript">
<link rel="preload" as="script" href="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1900612952327782" type="text/javascript" crossorigin="anonymous">
<link rel="preload" as="script" href="https://giahungtech.com/themes/default/js/bootstrap.min.js" type="text/javascript">
<link rel="stylesheet" href="https://giahungtech.com/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="https://giahungtech.com/themes/default/css/bootstrap.min.css">
<link rel="stylesheet" href="https://giahungtech.com/themes/default/css/style.css">
<link rel="stylesheet" href="https://giahungtech.com/themes/default/css/style.responsive.css">
<link rel="StyleSheet" href="https://giahungtech.com/themes/default/css/news.css">
<link rel="stylesheet" href="https://giahungtech.com/themes/default/css/custom.css">
<link rel="stylesheet" type="text/css" href="https://giahungtech.com/themes/default/tms/css/swiper.css">
<link id="theme" rel="stylesheet" type="text/css" media="all" href="https://giahungtech.com/themes/default/css/tms_menu.css" />
<style>
	body{background: #fff;}
</style>
<script data-show="inline">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-70168873-1', '.giahungtech.com');
ga('send', 'pageview');
</script>
</head>
    <body>
<amp-auto-ads type="adsense"
        data-ad-client="ca-pub-1900612952327782">
</amp-auto-ads>
<script src="https://giahungtech.com/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="news",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4",nv_check_pass_mstime=59878000,nv_area_admin=0,nv_safemode=0,theme_responsive=1,nv_recaptcha_ver=2,nv_recaptcha_sitekey="",nv_recaptcha_type="image";</script>
<script src="https://giahungtech.com/assets/js/language/vi.js"></script>
<script src="https://giahungtech.com/assets/js/global.js"></script>
<script src="https://giahungtech.com/themes/default/js/news.js"></script>
<script src="https://giahungtech.com/themes/default/js/main.js"></script>
<script src="https://giahungtech.com/themes/default/js/custom.js"></script>
<script type="text/javascript" src="https://giahungtech.com/themes/default/tms/js/swiper.js"></script>
<script type="text/javascript" src="https://giahungtech.com/themes/default/js/tms_menu.js"></script>
<script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "Organization",
            "url": "https://giahungtech.com",
            "logo": "https://giahungtech.com/assets/images/logo.png"
        }
        </script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NTD0WQBV7B"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date);gtag('config','G-NTD0WQBV7B');</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1900612952327782"
     crossorigin="anonymous"></script>
<script src="https://giahungtech.com/themes/default/js/bootstrap.min.js"></script>
</body>
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH</h2>
		<p class="pull-right"><a title="CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH" href="https://giahungtech.com/">https://giahungtech.com</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng</h1>
		<ul class="list-inline">
			<li>Thứ hai - 07/11/2022 01:59</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
			Các bit hệ thống có chức năng rất quan trọng trong khi lập trình PLC. Khi lập trình sử dụng các Bit hệ thống sẽ tạo thuận lợi cho chúng ta một số ứng dụng nhất điện. Do đó chúng ta cần làm quen về các bit hệ thống hay dùng, một số chức năng sẽ được dùng nhiều trong các project khi bạn lập trình một hệ thống nào đó.
		</div>
				<div class="imghome">
			<img alt="S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng" src="https://giahungtech.com/uploads/news/2022_10/step-7-basic-and-s7-1200.png" width="460" class="img-thumbnail" />
		</div>
		<div class="clear"></div>
		<div id="bodytext" class="clearfix">
			<span style="color:rgb(46, 204, 113);"><span style="font-size:16px;"><span style="font-family:Times New Roman,Times,serif;"><strong>4.1&nbsp;Các bit hệ thống – System bit</strong></span></span></span>
<div class="image-center">
<figure class="image"><img alt="System Memory Bits" height="200" src="https://giahungtech.com/uploads/news/2022_11/system-memory-bits.png" width="545" />
<figcaption>Kick hoạt System memory bits</figcaption>
</figure>
</div>
Khi cần sử dụng đến System memory bits, trong cấu hình phần cứng, các bạn tích vào ô <strong><span style="color:rgb(231, 76, 60);">Enable the use of system memory byte&nbsp;&nbsp;</span></strong><br />
- Giá trị nhập vào ô Addres of system memory byte : mặc định là 1 (chúng ta có thể thay đổi tùy úy, thuộc vùng nhớ M của CPU hỗ trợ)<br />
- First cycle: Bit này bằng 1 trong vòng quét đầu tiên của PLC, các vòng quyét sau bit này bằng 0<br />
- Diagnostic status changed: Bit này bằng 1 khi PLC đang hoạt động mà phát sinh lỗi phần cứng...<br />
- Always 1 (high) : Bit này luôn luôn bằng 1<br />
- Always 0 (low): Bit này luôn luôn bằng 0<br />
<span style="color:rgb(46, 204, 113);"><span style="font-size:16px;"><span style="font-family:Times New Roman,Times,serif;"><strong>4.2 Các bit tạo xung clock</strong></span></span></span>

<div class="image-center">
<figure class="image"><img alt="Clock memory bits" height="299" src="https://giahungtech.com/uploads/news/2022_11/clock-memory-bits.png" width="813" />
<figcaption>Clock memory bits</figcaption>
</figure>
</div>
Khi cần sử dụng đến các bit tạo xung clock của PLC, trong cấu hình cứng chúng ta tích vào ô <span style="color:rgb(231, 76, 60);"><strong>Enable the use of clock memory byte</strong></span><br />
- Giá trị nhập vào ô Address of clock memory byte: mặc định là 0. (chúng ta có thể thay đổi tùy úy, thuộc vùng nhớ M của CPU hỗ trợ)<br />
Các bít tương ứng với giá trị xung clock&nbsp;<br />
&nbsp;
<div class="image-center"><img alt="clocl" height="116" src="https://giahungtech.com/uploads/news/2022_11/clocl.png" width="1203" /></div>
&nbsp; Các bạn theo dõi video bài giảng tại đây

<div style="text-align: center;"><iframe allow="autoplay;" allowfullscreen="" frameborder="0" height="480" src="https://www.youtube.com/embed/2_qypzDZCnM?autoplay=1" width="640"></iframe></div>
		</div>
				<div id="author">
						<p>
				<strong>Tác giả:</strong>
				<a href="https://giahungtech.com/news/author/Le-Viet-Anh/">Lê Việt Anh</a>
			</p>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://giahungtech.com/news/savefile/huong-dan/s7-1200-phan-4-cac-bit-he-thong-va-cach-su-dung-36.html" title="S7-1200 Phần 4&#x3A; Các bit hệ thống và cách sử dụng">https://giahungtech.com/news/savefile/huong-dan/s7-1200-phan-4-cac-bit-he-thong-va-cach-su-dung-36.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; CÔNG TY TNHH TỰ ĐỘNG HÓA GIA HƯNG TECH
		</div>
		<div id="contact">
			<a href="mailto:mr.anhlv@gmail.com">mr.anhlv@gmail.com</a>
		</div>
	</div>
</div>

     <head>
      </head>     
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://giahungtech.com/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
    </body>
</html>