<?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>c action Category - SCADA World</title>
	<atom:link href="https://myscadaworld.com/category/general-information/scada/c-action/feed/" rel="self" type="application/rss+xml" />
	<link>https://myscadaworld.com/category/general-information/scada/c-action/</link>
	<description>Learn SCADA Programming. Get Promoted Easily.</description>
	<lastBuildDate>Tue, 01 Feb 2022 20:18:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://myscadaworld.com/wp-content/uploads/2020/08/cropped-logo-500x500-1.png</url>
	<title>c action Category - SCADA World</title>
	<link>https://myscadaworld.com/category/general-information/scada/c-action/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">182710060</site>	<item>
		<title>WinCC SCADA C-action Scripting Course: Tutorial #70</title>
		<link>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-70/</link>
					<comments>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-70/#respond</comments>
		
		<dc:creator><![CDATA[SCADA World]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 10:09:00 +0000</pubDate>
				<category><![CDATA[c action]]></category>
		<category><![CDATA[SCADA]]></category>
		<category><![CDATA[SIMATIC WinCC V7]]></category>
		<guid isPermaLink="false">https://myscadaworld.com/clone-of-wincc-scada-c-action-scripting-course-tutorial-69/</guid>

					<description><![CDATA[<p>In this lecture, we learn about scripting process to control colors of rectangle in WinCC window. Sometimes we need to use scripting during runtime (WinCC RT) and we need to know how to make it!One of subscribers asked for help:"Can you please make one video for changing object colour with 3 different conditions using C [&#8230;]</p>
<p>The post <a href="https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-70/">WinCC SCADA C-action Scripting Course: Tutorial #70</a> appeared first on <a href="https://myscadaworld.com">SCADA World</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div data-inherit-lp-settings="1" data-match-lp-colors="1" class="thrv_wrapper thrv-page-section thrv-lp-block tcb-local-vars-root" style="" data-css="tve-u-611555c76303e3" tcb-template-name="Text Area Block 07" tcb-template-id="3566" data-keep-css_id="1"><div class="thrive-group-edit-config" style="display: none !important"></div><div class="thrive-local-colors-config" style="display: none !important"></div>
<div class="tve-page-section-out tcb-responsive-video" style="" data-css="tve-u-611555c7630450"></div>
<div class="tve-page-section-in   tve_empty_dropzone" data-css="tve-u-611555c7630483" style=""><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611555c7630494"><h2 class="">In this lecture, we learn about scripting process to control colors of rectangle in WinCC window. Sometimes we need to use scripting during runtime (WinCC RT) and we need to know how to make it!</h2></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611555c76304b8"><h3 class="" data-css="tve-u-611555c76304c0">One of subscribers asked for help:</h3></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611555c76304e1"><p><em>"Can you please make one video for changing object colour with 3 different conditions using C script.<br>If Tag A is 1it should be greenWith Tag B is 1 it should be redWith Tag C is 1 yellow and flashing"</em></p></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611555c7630503"><h3 class="" data-css="tve-u-611555c7630514">Check the script below with flashing option:</h3></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611555c76304e1"><p data-css="tve-u-611555c7630535"><strong><em><br>// WINCC:TAGNAME_SECTION_START<br>// syntax: #define TagNameInAction "DMTagName"<br>// next TagID : 2<br>#define TAG_1 "TagA"<br>#define TAG_2 "TagB"<br>#define TAG_3 "TagC"<br>// WINCC:TAGNAME_SECTION_END<br><br>// WINCC:PICNAME_SECTION_START<br>// syntax: #define PicNameInAction "PictureName"<br>// next PicID : 1<br>// WINCC:PICNAME_SECTION_END<br><br>if (GetTagBit(TAG_1) &amp; GetTagBit(TAG_2) &amp; GetTagBit(TAG_3)) // TagA = 1 AND TagB = 1 AND TagC = 1??<br>{ <br>SetPropBOOL(lpszPictureName,"Rec10","FlashBackColor",1);//FLASHING RECTANGLE ON<br>return 64255; //YELLOW COLOR<br>}<br>else if (GetTagBit(TAG_1) &amp; GetTagBit(TAG_2)) // TagA = 1 AND TagB = 1??<br>{<br>SetPropBOOL(lpszPictureName,"Rec10","FlashBackColor",0);//FLASHING RECTANGLE OFF<br>return 255;<br>}<br>else if (GetTagBit(TAG_1))// TagA = 1?<br>{<br>SetPropBOOL(lpszPictureName,"Rec10","FlashBackColor",0);//FLASHING RECTANGLE OFF<br>return 65280;<br>}<br>else <br>SetPropBOOL(lpszPictureName,"Rec10","FlashBackColor",0);//FLASHING RECTANGLE OFF<br>return 0;<br></em></strong></p></div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><p>The post <a href="https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-70/">WinCC SCADA C-action Scripting Course: Tutorial #70</a> appeared first on <a href="https://myscadaworld.com">SCADA World</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-70/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6073</post-id>	</item>
		<item>
		<title>WinCC SCADA C-action Scripting Course: Tutorial #69</title>
		<link>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-69/</link>
					<comments>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-69/#respond</comments>
		
		<dc:creator><![CDATA[SCADA World]]></dc:creator>
		<pubDate>Thu, 12 Aug 2021 16:18:05 +0000</pubDate>
				<category><![CDATA[c action]]></category>
		<category><![CDATA[SCADA]]></category>
		<category><![CDATA[SIMATIC WinCC V7]]></category>
		<guid isPermaLink="false">https://myscadaworld.com/clone-of-how-to-create-a-wincc-v7-project-backup/</guid>

					<description><![CDATA[<p>In this lecture, we learn about scripting process to control colors of rectangle in WinCC window. Sometimes we need to use scripting during runtime (WinCC RT) and we need to know how to make it!One of subscribers asked for help:"Can you please make one video for changing object colour with 3 different conditions using C [&#8230;]</p>
<p>The post <a href="https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-69/">WinCC SCADA C-action Scripting Course: Tutorial #69</a> appeared first on <a href="https://myscadaworld.com">SCADA World</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div data-inherit-lp-settings="1" data-match-lp-colors="1" class="thrv_wrapper thrv-page-section thrv-lp-block tcb-local-vars-root" style="" data-css="tve-u-611549bd623cd0" tcb-template-name="Text Area Block 07" tcb-template-id="3566" data-keep-css_id="1"><div class="thrive-group-edit-config" style="display: none !important"></div><div class="thrive-local-colors-config" style="display: none !important"></div>
<div class="tve-page-section-out tcb-responsive-video" style="" data-css="tve-u-611549bd623d59"></div>
<div class="tve-page-section-in   tve_empty_dropzone" data-css="tve-u-611549bd623d82" style=""><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611549bd623d96"><h2 class="">In this lecture, we learn about scripting process to control colors of rectangle in WinCC window. Sometimes we need to use scripting during runtime (WinCC RT) and we need to know how to make it!</h2></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611549bd623dd5"><h3 class="" data-css="tve-u-611549bd623de2">One of subscribers asked for help:</h3></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611549bd623e87"><p><em>"Can you please make one video for changing object colour with 3 different conditions using C script.<br>If Tag A is 1it should be greenWith Tag B is 1 it should be redWith Tag C is 1 yellow and flashing"</em></p></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-17b3b2eac0f"><h3 class="" data-css="tve-u-17b3b2eac10">Check the script below:</h3></div><div class="thrv_wrapper thrv_text_element" style="" data-css="tve-u-611549bd623e87"><p data-css="tve-u-611549bd623ea0"><strong><em><br>// WINCC:TAGNAME_SECTION_START<br>// syntax: #define TagNameInAction "DMTagName"<br>// next TagID : 2<br>#define TAG_1 "TagA"<br>#define TAG_2 "TagB"<br>#define TAG_3 "TagC"<br>// WINCC:TAGNAME_SECTION_END<br><br>// WINCC:PICNAME_SECTION_START<br>// syntax: #define PicNameInAction "PictureName"<br>// next PicID : 1<br>// WINCC:PICNAME_SECTION_END<br><br>if (GetTagBit(TAG_1) &amp; GetTagBit(TAG_2) &amp; GetTagBit(TAG_3)) // TagA = 1 AND TagB = 1 AND TagC = 1??<br>return 64255;<br>else if (GetTagBit(TAG_1) &amp; GetTagBit(TAG_2)) // TagA = 1 AND TagB = 1??<br>return 255;<br>else if (GetTagBit(TAG_1))// TagA = 1?<br>return 65280;<br>else <br>return 0;</em></strong></p></div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><p>The post <a href="https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-69/">WinCC SCADA C-action Scripting Course: Tutorial #69</a> appeared first on <a href="https://myscadaworld.com">SCADA World</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myscadaworld.com/wincc-scada-c-action-scripting-course-tutorial-69/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6065</post-id>	</item>
	</channel>
</rss>
