Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Modul Sistem Kendali Terprogram PLC Outseal-Haiwell

Modul Sistem Kendali Terprogram PLC Outseal-Haiwell

Published by UMG Press | Universitas Muhammadiyah Gresik, 2022-06-23 06:47:03

Description: Modul Sistem Kendali Terprogram PLC Outseal-Haiwell

Search

Read the Text Version

Setting Comm. Protocol Variable/tag name Visualization, Animation & Security TEA (Trending, Even, Alarm) Reporting & data analysis Gambar 7.1 Tahapan Perancangan di Haiwell 7.3 Memulai Project Gambar 7.2 New Project 37 | P L C O u t s e a l - H a i w e l l

Gambar 7.3 Tampilan Awal Haiwell 7.4 Setting Komunikasi dan Protokol Gambar 7.4 Setting Komunikasi dan Protokol P L C O u t s e a l - H a i w e l l | 38

• Tentukan protocol yang digunakan → (modbus RTU) • Serial comm setting : • Device No# : 1 • Com port : com3 • Baud rate 57600 • Data bits 8 • Parity check : None • Stop bit 0 7.5 Variable/ Tag Name Gambar 7.5 Setting Variabel 39 | P L C O u t s e a l - H a i w e l l

7.6 Visualization, Animation & Security Gambar 7.6 Setting Tampilan Layar 7.7 Practice Step visualisasi SCADA/HMI • Desain • Header • Copy / duplicate page • Minimum page : • Overview • Detail (2-3 page) • Trending • Alarm • Topology • Report P L C O u t s e a l - H a i w e l l | 40

7.8 Trending Gambar 7.7 Tampilan Trend • Step one: Real time curve in the gallery of configuration running environment , drag it to the suitable position in the picture window, then release the left mouse button, the real time curve graphics are added in the picture window. • Step two: In the property window, the properties of the real time curve are set, and thereal time curve is added. • Step three: Click \"running\" or \"simulation running \" 41 | P L C O u t s e a l - H a i w e l l

7.9 Alarm Gambar 7.8 Tampilan Setting Alarm 7.10 Report Gambar 7.9 Tampilan Setting Report P L C O u t s e a l - H a i w e l l | 42

8 BAB VIII MODBUS HMI (SCADA) 8.1 Aplikasi Modbus-HMI Dalam aplikasi berikut ini akan menggabungkan antara Outseal PLC dengan software Haiwell SCADA. Sehingga akan terbentuk suatu aplikasi yang sangat aplikatif. Tabel 8.1 Peta Alamat Outseal PLC Gambar 8.1 Tampilan Aplikasi Outseal PLC dan Haiwell SCADA 43 | P L C O u t s e a l - H a i w e l l

10 BAB IX KOMPONEN YANG DIPERLUKAN 10.1 Komponen Beberapa komponen yang diperlukan sebagai pendukung dari pembuatan trainer Modbus-HMI, yang antara lain : ▪ USB-RS485 ▪ TTL-RS485 ▪ Arduino Nano ▪ Laptop/PC ▪ HC-05 ▪ RTC DS2313 ▪ Dll Gambar 10.1 Kumpulan Modul Pendukung Modbus HMI P L C O u t s e a l - H a i w e l l | 44

11 BAB X APLIKASI BLUETOOTH 11.1 Bluetooth Mengopersikan kerja dari outseal bisa dilakukan dengan cara wireless atau tanpa pengunaan kabel atau denan menggunakan modul bluetooth. Untuk modul yang digunakan adalah tipe HC-05, dan modul ini sangat populer dan harga relatif murah. Diharapkan dengan modul HC-05 kinerja outseal PLC memiliki kemampuhan kerja yang lebih maksimal. Gambar 11.1 Modul Bluetooth HC-05 Gambar 11.2 Diagram Ladder Untuk Bluetooth 45 | P L C O u t s e a l - H a i w e l l

Gambar 11.3 Diagram Ladder Untuk Program dengan Bluetoot P L C O u t s e a l - H a i w e l l | 46

12 BAB XI PEMROGRAMAN ARDUINO (ARDUINO IDE) 12.1 Arduino IDE Pemrograman arduino disamping menggunakan leadder diagram (outseal studio), kita jugabisa memprogram dengan bahasa C atau arduino.ide. Gambar 12.1 Arduino IDE Gambar 12.2 Tampilan Arduino IDE 47 | P L C O u t s e a l - H a i w e l l

12.2 Contoh Program 12.2.1 Program Blynk (LED) Gambar 12.3 Rangkaian Led dan Tombol P L C O u t s e a l - H a i w e l l | 48

/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 3; // the setup routine runs once when you press reset:void setup() { // initialize the digital pin as an output. inMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOWdelay(1000); // wait for a second } 12.2.2 Tombol dan LED const int buttonPin = 2; // the number of the pushbutton pinconst int ledPin = 3; // the number of the LED pin // variables will change: int buttonState = 0; // variable for reading the pushbutton status void setup() { // initialize the LED pin as an output:pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input:pinMode(buttonPin, INPUT); } void loop(){ // read the state of the pushbutton value:buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed. // if it is, the buttonState is HIGH:if (buttonState == HIGH) { // turn LED on: digitalWrite(ledPin, HIGH); 49 | P L C O u t s e a l - H a i w e l l

} else { // turn LED off: digitalWrite(ledPin, LOW); } } 12.2.3 Menampilkan Tulisan di LCD Gambar 12.4 Rangkaian LCD 2 X 16 #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x3F,16,2); // set the LCD address to 0x27 for a 16 chars and 2 linedisplay //scl pin A5 //sda PIN A4void setup() { lcd.init(); // initialize the lcd // lcd.init(); // lcd.begin(); // initialize the LCD// initialize the LCD // Print a message to the LCD. lcd.backlight(); lcd.setCursor(0,0); lcd.print(\"Belajar LCD 2x16\"); P L C O u t s e a l - H a i w e l l | 50

lcd.setCursor(0,1); lcd.print(\"Arduino Nano\"); } void loop() { } 12.2.4 Menjalankan Relay dengan Tampilan LCD #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x3F,16,2); #define tom1 2 #define tom2 3 #define relay1 5 #define relay2 6 void setup() { pinMode(tom1, INPUT); pinMode(tom2, INPUT); pinMode(relay1, OUTPUT); pinMode(relay2, OUTPUT); lcd.init(); lcd.backlight(); lcd.setCursor(0,0); lcd.print(\"Mulai Program\"); lcd.setCursor(0,1); lcd.print(\"Silakan Tekan\"); } void loop() { int tombol1 = digitalRead(tom1);int tombol2 = digitalRead(tom2); if(tombol1 == HIGH) { lcd.clear(); lcd.setCursor(0,0); lcd.print(\"Relay 1 ON\"); lcd.setCursor(0,1); lcd.print(\"Relay 2 OFF\"); digitalWrite(relay1, HIGH); 51 | P L C O u t s e a l - H a i w e l l

digitalWrite(relay2, LOW); } if(tombol2 == 1) { lcd.clear(); lcd.setCursor(0,0); lcd.print(\"Relay 1 OFF\"); lcd.setCursor(0,1) lcd.print(\"Relay 2 ON\"); digitalWrite(relay1, LOW); digitalWrite(relay2, HIGH); } } P L C O u t s e a l - H a i w e l l | 52

12.2.5 ADC 10 bit #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x3F,16,2); #defin e sens A1int sensor; float volt;float cel; void setup() { lcd.init(); lcd.backlig ht(); lcd.setCurso r(0,0); lcd.print(\"Mulai Program\"); lcd.setCursor(0,1); lcd.print(\"Silakan Putar\"); } void loop() { sensor = analogRead(sens ); volt = (sensor/1024.0)*5. 0;cel = volt*100.0; lcd.setCursor(0,0); lcd.print(\"VOLT :\");lcd.print(volt); lcd.print(\"Volt\"); lcd.setCursor(0,1); lcd.print(\"SUHU :\");lcd.print(cel); lcd.print(\"\\xdf\"); lcd.print(\"C\"); } 53 | P L C O u t s e a l - H a i w e l l

13 BAB XII HMI HAIWELL 13.1 Spesifikasi HMI (Human Machine Interface) sangat sesuai bila dipadukan dengan PLC, sehingga terbentuk suatu sistem rangkaian kontrol yang sangat handal. Dengan keunggulan adalah bisadijadikan sistem IOT. Gambar 13.1 HMI HAIWELL Haiwell Cloud HMI ▪ 7\" /10.1\" TFT, 800x480,1024x600, LED backlight, screen is real and exquisite ▪ 4GB Flash + 512M DDR3, Haiwell Cloud SCADA management ▪ A/B Key security mechanism, Multi-language automatic translation, Project overviewinterface ▪ Serial port/ U disk / SD card / Ethernet port/ Haiwell cloud ▪ Supports cloud / mobile terminal access control, strong operability ▪ Innovatie network mode, easy, convenient and pratical ▪ Integrate Haiwell cloud service, built-in Haiwell cloud engine ▪ Standard RJ45 port, 2 serial ports (232/422/485), 2 USB ports, SD card. ▪ Support MQTT Protocol, support access to database servers, easy for data collection andreport, connecting ERP/MES and other systems. P L C O u t s e a l - H a i w e l l | 54

Gambar 13.2 Aplikasi HMI Haiwell dengan Inverter dan PLC 13.2 Memulai Desain dengan Haiwell Berikut Langkah-langkah memulai desain dengan Haiwell Gambar 13.3 Tampilan Awal HMI Pilih Menu Project (P)→New Project (W) Gambar 13.4 Tampilan New Project 55 | P L C O u t s e a l - H a i w e l l

Project name: Runtime platform: Screen resolution: Gambar 13.5 Tampilan New Project Klik Project Propertis Gambar 13.6 Tampilan Project Propertis P L C O u t s e a l - H a i w e l l | 56

Double klik pada ikon device (tanda plus +) Gambar 13.7 Tampilan Icon Device Pilih Common modbus master (RTU/ASCII) ▪ COM port ▪ Device ▪ Communation Gambar 13.8 Tampilan Pilihan MODBUS MASTER 57 | P L C O u t s e a l - H a i w e l l

Gambar 13.9 Langkah-Langkah Selanjutnya P L C O u t s e a l - H a i w e l l | 58

Pilih 0x0 Klik confirm Gambar 13.10 Langkah-Langkah Selanjutnya sehingga menyimpan Project 59 | P L C O u t s e a l - H a i w e l l

Gambar 13.11 Proses Penyimpanan File Project 13.3 Komunikasi RS232 dengan Haiwell Gambar 13.12 Tampilan Project baru dengan Komunikasi RS232 dengan Haiwell Gambar 13.13 Diagram Ladder Untuk Komunikasi Serial RS232 dengan Haiwell P L C O u t s e a l - H a i w e l l | 60

Gambar 13.14 Desain HMI Haiwell Gambar 13.15 Proses HMI Haiwell Proses Transfer Data Gambar 13.16 Hasil dan Setting Property 61 | P L C O u t s e a l - H a i w e l l

13.4 Komunikasi RS485 dengan Haiwell Gambar 13.17 Tampilan Project baru dengan Komunikasi RS485 dengan Haiwell Gambar 13.18 Diagram Ladder Untuk Komunikasi RS485 Gambar 13.19 Desain HMI Haiwell Gambar 13.20 Desain Output P L C O u t s e a l - H a i w e l l | 62

Gambar 13.21 Setting Property 63 | P L C O u t s e a l - H a i w e l l

Halaman ini memuat laman kosong P L C O u t s e a l - H a i w e l l | 64

TIM PENULIS HENDRA ARIWINARNO PENGAJAR RINI PUJI ASTUTIK PENGAJAR DENNY IRAWAN PENGAJAR AFAKHRUL MASUB B. PENGAJAR UMG PRESS TKJ aeallbapun.p:aS+tue6mn2a3Gt1er er3as9iNk5o16.4111104211, K e c a m a t a n K e b o m a s ,


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook