{"id":2035,"date":"2018-09-15T12:16:15","date_gmt":"2018-09-15T10:16:15","guid":{"rendered":"http:\/\/www.gtronic.it\/test\/?page_id=2035"},"modified":"2021-02-18T02:11:25","modified_gmt":"2021-02-18T01:11:25","slug":"temperature-control-for-dressing-room-in-clothing-store","status":"publish","type":"page","link":"https:\/\/www.gtronic.it\/test\/index.php\/temperature-control-for-dressing-room-in-clothing-store\/","title":{"rendered":"Temperature control for dressing room in clothing store"},"content":{"rendered":"<p>We want to thermostat the dressing room by setting a setpoint between 20 and 25 degrees Celsius. Sensor in the system is a PT100 that acquire the temperature. A finder interface with analog voltage output, operating range is 0-10V to be scaled in 0-250 degrees centigrade is connected between PT100 and PLC analog input.\u00a0basic.<\/p>\n<p>It is available a PLC Siemens S7-1200 model AC\/DC\/RLY and a HMI model KTP400 basic.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2039\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Termometro-di-Luisa.png\" alt=\"Termometro di Luisa\" width=\"601\" height=\"499\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Termometro-di-Luisa.png 601w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Termometro-di-Luisa-300x249.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Termometro-di-Luisa-361x300.png 361w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>Creating a new project in TIA Porta V16 enviroment<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2041\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/crea-progetto.png\" alt=\"crea progetto\" width=\"763\" height=\"335\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/crea-progetto.png 763w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/crea-progetto-300x132.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/crea-progetto-500x220.png 500w\" sizes=\"(max-width: 763px) 100vw, 763px\" \/><\/p>\n<p>In the next step is necessary to configure the devices in the profinet net.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2043\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device.png\" alt=\"configure device\" width=\"573\" height=\"375\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device.png 573w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-300x196.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-458x300.png 458w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/p>\n<p>Insert in the &#8220;Network view&#8221; a CPU and a HMI, so interconnet it, using drag and drops, the ethernet connector. In aour specific case is assigned IP 192.68.0.1 and 192.168.0.3<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2046\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-1.png\" alt=\"configure device\" width=\"596\" height=\"457\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-1.png 596w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-1-300x230.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-1-391x300.png 391w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/p>\n<p>The Profinet and the dedigned devices must appear like these:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2048\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-2.png\" alt=\"configure device\" width=\"368\" height=\"163\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-2.png 368w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/configure-device-2-300x133.png 300w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><\/p>\n<p>In the &#8220;project tree&#8221; is necessary to create a minimal program structure where there are a main program (cycle OB1), a Data Block where to store data and exchange it with the HMI tags, and a function where to implement normalization and value scale.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2051 aligncenter\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-project-tree-Micro-GT.png\" alt=\"thermostat project tree Micro-GT\" width=\"186\" height=\"152\" \/><\/p>\n<p>Inside the cycle block OB1 (main program), there is a unconditional call to the function FC1.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2054\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-main-program-Micro-GT.png\" alt=\"thermostat main program Micro-GT\" width=\"615\" height=\"291\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-main-program-Micro-GT.png 615w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-main-program-Micro-GT-300x142.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-main-program-Micro-GT-500x237.png 500w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>Normalization and scaled are performed in FC1<\/p>\n<p>The analogue signal normalization chain has two steps,The fist one put the value in percent of the total range, in the second the unit of measurement is assigned.<\/p>\n<p>The standard saturation numerica value, for siemens analog channels is ever the number <strong>27648<\/strong>. It mean, for 4-20mA the numeber is 20ma, for 0-10V it mean 10V, for bipolar +\/-5V or ever +\/-10V the value 27648 express the +5V and +10V respectively.<\/p>\n<p>To clarify, the normalization transforms the numeric image of 0V into 0.0, which has direct correspondence with 0%.<\/p>\n<p>similarly the number 27648, which corresponds to the full scale, which corresponds to 100%. This value becomes 1.0.<\/p>\n<p>Both values 0.0 and 1.0 are necessarily expressed as real 32-bit numbers. This results in a type transformation by the NORMX block.<\/p>\n<p>The normalized value is downloaded into a REAL variable inside the DB1.\u00a0The same number is used as input for the SCALEX command. This value can move between the minimum and the boulders of the available sensor engineering scale. This range is shown in the sensor databook.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2062 aligncenter\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Convertitore-PT100.jpg\" alt=\"Convertitore PT100\" width=\"1000\" height=\"1000\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Convertitore-PT100.jpg 1000w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Convertitore-PT100-150x150.jpg 150w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Convertitore-PT100-300x300.jpg 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Convertitore-PT100-768x768.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>The image shows a converter for PT100 in the range 0-50 \u00b0C.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2067\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-normalization-chain-Micro-GT-1.png\" alt=\"thermostat normalization chain Micro-GT\" width=\"713\" height=\"317\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-normalization-chain-Micro-GT-1.png 713w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-normalization-chain-Micro-GT-1-300x133.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/thermostat-normalization-chain-Micro-GT-1-500x222.png 500w\" sizes=\"(max-width: 713px) 100vw, 713px\" \/><\/p>\n<p>In the HMI side, the numeric field in which to display the temperature in the XX.X or XXX.X format must be show.\u00a0The use of a sample thermometer, and a forced temperature change, are necessary to calibrate the instrument.<\/p>\n<p>download the draft of the exercise-&gt;\u00a0<a href=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2018\/09\/Rest-room-termostat_1.zip\">Rest room termostat_1<\/a><\/p>\n<p>The implementation on the touch panel side of the temperature setpoint setting buttons is left as a useful exercise. Insights and use of the PID block can be found in the textbook of the teacher Marco Gottardo for sale on Amazon.<\/p>\n<p><strong>The whole project, with extensive explanations, is found in the two textbooks on sale on www.lulu.com and on Amazon visible below.\u00a0<\/strong>Text is in Italian but Step 7 programming and procedure can be well understand in any languages due to high number of figures explanation.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2738\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/Let-program-a-PLC-esercizi-ediz-2020.jpg\" alt=\"Let' program a PLC esercizi ediz 2020\" width=\"387\" height=\"499\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/Let-program-a-PLC-esercizi-ediz-2020.jpg 387w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/Let-program-a-PLC-esercizi-ediz-2020-233x300.jpg 233w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.it\/dp\/B084G2CSM7\">buy the most complete workbook in the world in Amazon<\/a><\/p>\n<h1 id=\"title\" class=\"a-spacing-none a-text-normal\"><span id=\"productTitle\" class=\"a-size-extra-large\">Let\u2019s Program a PLC!!! (Quinta Edizione 2020): Esercizi di programmazione in TIA Portal V16 S7-1200\/1500 e PLC modelli S7300-400 WinCC<\/span><\/h1>\n<p>(pubblicazioni di automazione industriale) (Volume 2) (Italian Edition) (Italian) Paperback \u2013 February 9, 2020<br \/>\nby dott Marco Gottardo PhD (Author)<\/p>\n<ul>\n<li><b>Language:<\/b>\u00a0Italian<\/li>\n<li><b>ISBN-10:<\/b>\u00a01724436465<\/li>\n<li><b>ISBN-13:\u00a0<\/b><span class=\"a-list-item\">979-8611490815<\/span><\/li>\n<\/ul>\n<p>Advanced PLC Programming ediz.2021<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3130\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/copertina-advanced-PLC-2021.jpg\" alt=\"copertina advanced PLC 2021\" width=\"386\" height=\"499\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/copertina-advanced-PLC-2021.jpg 386w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2016\/06\/copertina-advanced-PLC-2021-232x300.jpg 232w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.it\/dp\/B08QRYT14D\">buy Advanced PLC programming on Amazon<\/a><\/p>\n<p><strong>Advanced PLC programming ed.2021<\/strong>: Pubblicazioni di Automazione Industriale (Volume 3) (Italian Edition) (Italian) Paperback \u2013 December 15, 2020<br \/>\nby dott Marco Gottardo PhD (Author)<\/p>\n<p>ISBN:\u00a0979-8581600740<\/p>\n<p><strong>Books in english, on Amazon<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3143\" src=\"http:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2019\/05\/English-Book-2021.png\" alt=\"English Book 2021\" width=\"785\" height=\"494\" srcset=\"https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2019\/05\/English-Book-2021.png 785w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2019\/05\/English-Book-2021-300x189.png 300w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2019\/05\/English-Book-2021-768x483.png 768w, https:\/\/www.gtronic.it\/test\/wp-content\/uploads\/2019\/05\/English-Book-2021-477x300.png 477w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/dp\/B08PX7CN1X\">PLC controlled wind turbine Amazon page<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/dp\/B086FYBT7M\">PLC controlled Biomass generator<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We want to thermostat the dressing room by setting a setpoint between 20 and 25 degrees Celsius. Sensor in the system is a PT100 that acquire the temperature. A finder interface with analog voltage output, operating range is 0-10V to &hellip; <a href=\"https:\/\/www.gtronic.it\/test\/index.php\/temperature-control-for-dressing-room-in-clothing-store\/\">Continua a leggere<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/pages\/2035"}],"collection":[{"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/comments?post=2035"}],"version-history":[{"count":31,"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/pages\/2035\/revisions"}],"predecessor-version":[{"id":3159,"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/pages\/2035\/revisions\/3159"}],"wp:attachment":[{"href":"https:\/\/www.gtronic.it\/test\/index.php\/wp-json\/wp\/v2\/media?parent=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}