CITECT SCADA Basic Programming

A.  About Citect SCADA
        





        Citect SCADA is a Supervisory Control and Data Acquisition (SCADA) solution that is used to manage and monitor processes in manufacturing, primary production, utilities delivery and facilities management. The easy-to-use configuration tools and powerful features help customers to develop and deploy solutions for small and large applications, with robust visualization and operational capabilities driving operational efficiency, helping to mitigate risk and deliver actionable insights faster.

        Known for its reliability, flexibility and scalability, and used in a wide range of industries, Citect SCADA enables you to increase your return on assets by delivering highly scalable control and monitoring systems to:
Reduce operating costs
Improve productivity
Improve product quality.     
      Citect SCADA is a leading industrial automation software platform, with over 30 years of industrial automation expertise and an extensive customer-base spanning several market segments. Citect SCADA's library of over 150 device and protocol drivers to PLC and RTU hardware available in the market as well as interoperability with AVEVA's portfolio of Engineering and Industrial Automation software make Citect SCADA an extremely versatile solution.

        Citect SCADA can be configured as a standalone or a distributed client-server system, including native redundancy and load sharing capabilities. Citect SCADA's client-server architecture allows system components to be distributed across a number of computers on a LAN, creating a system that offers geographical flexibility and performance benefits over standalone systems.


Citect SCADA Version Selection:

Citect SCADA 2018 R2 (28th February 2020 update)
Citect SCADA 2018
Citect SCADA 2016 (21st April 2017 update)
Citect SCADA 2015 SP1
Citect SCADA 2015
Citect SCADA 7.40
Citect SCADA 7.20

Vijeo Citect Version Selection:

Vijeo Citect 2015 SP1
Vijeo Citect 2015 
Vijeo Citect 7.40
Vijeo Citect 7.20

B. Specification PC / Computer / Workstation for Citect SCADA 2018 R2

Client Recommendation :


CPU PassMark (https://www.cpubenchmark.net)2000
CPU Core2
RAM4 GB
HDD10 GB
Graphics128 MB
Screen Resolution1920 x 1080
Server Recommendation :

I/O per
Server
Compact
(< 1,500pts)
Small
(< 15,000pts)
Medium
(< 50,000pts)
Large
(< 200,000pts)
CPU PassMark-®1800245008000210000
Cores1448
RAM4 GB8 GB8 GB16 GB
HDD10 GB20 GB100 GB500 GB
Graphics164 MB128 MB128 MB128 MB

Operating System :
Windows Desktop OS as Client or Server :
Windows 10 1607 SAC Enterprise
Windows 10 2016 LTSC IoT Enterprise
Windows 10 Enterprise
Windows 7 SP1 Enterprise
Windows 8 SP1
Windows 8
Windows 8.1
Windows Server OS as Client or Server :
Windows Server 2008 R2 SP1 Enterprise
Windows Server 2012 R2 Standard
Windows Server 2012 Standard
Windows Server 2016 Standard
Windows Server 2019 LTSC Standard – Desktop Experience



C. Basic Programming Citect SCADA






















Close POP UP


Open POP UP


Open Pop Up by Ginie
================

asswin
("!POP_FUELPUMP", 200,200 , 1+8+512 , "%Equip%_START","%Equip%_RUN" )
WinTitle ("%Equip%")


Message Push Button 

IF Message("Confirm", "Do you want to CB CLOSE %equipment% ?", 1) = 0 THEN
%equipment%_CBCO=1;
Sleep(2);
%equipment%_CBCO=0;
END


READMORE
 

Different Variants MODBUS/MODNET protocol

Applies To:

CitectSCADA  5.31, 5.40, 5.41, 5.42, 5.50, 6.0, 6.1, 7.0 until Last Version
CitectHMI   5.31, 5.40, 5.41, 5.42, 5.50, 6.0, 6.1, 7.0 until Last Version
CitectFacilities  5.31, 5.40, 5.41, 5.42, 5.50, 6.0, 6.1, 7.0 until Last Version



Summary:

What is the difference between all the variants of the MODBUS/MODNET driver?
Solution:
From the driver help:

MODNET   -  1-indexed registers/coils with bit access to registers as 1-16.
              No support for extended registers.
              Maximum request size of 2000 bits.

MODNET0  -  1-indexed registers/coils with bit access to registers as 1-16.
              No support for extended registers.
              Maximum request size of 2000 bits.         

MODNET1  -  0-indexed registers/coils with bit access to registers as 1-16.
              No support for extended registers.
              Maximum request size of 2000 bits.

MODNET2  -  1-indexed registers/coils with bit access to registers as 0-15.
              No support for extended registers.
              Maximum request size of 2000 bits.

MODNET3  -  0-indexed registers/coils with bit access to registers as 0-15.
              No support for extended registers.
              Maximum request size of 2000 bits.

MODNET10 - 1-indexed registers/coils with bit access to registers as 1-16.
             Support for extended registers.
             Maximum request size of 1920 bits.

MODNET11 - 0-indexed registers/coils with bit access to registers as 1-16.
             Support for extended registers.
             Maximum request size of 1920 bits.

MODNET12 - 1-indexed registers/coils with bit access to registers as 0-15.
             Support for extended registers.
             Maximum request size of 1920 bits.

MODNET13 - 0-indexed registers/coils with bit access to registers as 0-15.
             Support for extended registers.
             Maximum request size of 1920 bits.

MODNET20 - TSX Quantum Compatability Mode.
           1-indexed registers/coils with bit access to registers as 0-15.
             Support for extended registers.
             Maximum request size of 1920 bits.
             Forced parameter: RegisterBitReverse=1, FloatMode=0, LongDataType=3

MODNET21 - TSX Quantum Compatability Mode. (superseded by MODNET20)
           1-indexed registers/coils with bit access to registers as 0-15.
             No support for extended registers.
             Maximum request size of 2000 bits.
             Addressing syntax %M123, %MW123, %MW123.4 etc...
             Forced parameter: RegisterBitReverse=1, FloatMode=0, LongDataType=3

MODNET30 - TSX Premium Compatability Mode.
           0-indexed registers/coils with bit access to registers as 0-15.
             No support for extended registers.
             Maximum request size of 1024 bits.
             Forced parameter: RegisterBitReverse=1, FloatMode=0, LongDataType=3

MODNET31 - TSX Premium Compatability Mode. (superseded by MODNET30)
           0-indexed registers/coils with bit access to registers as 0-15.
             No support for extended registers.
             Maximum request size of 1024 bits.
             Addressing syntax %M123, %MW123, %MW123.4 etc...
             Forced parameter: RegisterBitReverse=1, FloatMode=0, LongDataType=3



Modbus Protocol is a messaging structure developed by Modicon. It is used to establish master-slave/client-server communication between devices. Modbus has a lot of protocol options. But the two used most are Modbus RTU (Remote Terminal Unit), serial (RS-232 or RS-485) protocol or Modbus (TCP/IP) Transmission Control Protocol and Internet Protocol. What’s the difference between the two? Although the two protocols are similar, cost and speed differentiate the two. Modicon introduced the Modbus protocol to the market in 1979. Modbus RTU mode is the most common implementation, but Modbus TCP/IP is gaining ground and ready to surpass it. To move Modbus into the 21st century, an open Modbus TCP/IP specification was developed in 1999.

       Modbus is a standard that is open and is widely-used network protocol in the industrial manufacturing environment. It's a common link that has been implemented by hundreds of vendors for integration on thousands of different manufacturing devices to transfer discrete/analog I/O and register data between control devices. A MODBUS communication is always initiated by the master node to the slave node. The slave nodes will never transmit data without receiving a request from the master node nor communicate with each other. The master node initiates only one MODBUS transaction at the same time.There are 4 types of MODBUS registers used:

The coils, starting at 00001, corresponding to on/off binary outputs, such as relays.
The input bits, starting at 10001, corresponding to binary inputs (read only).
The input registers, starting at 30001, corresponding to analog inputs (read only).
The holding registers, starting at 40001, corresponding to analog parameters which can be changed.

On the contrary, Modbus RTU mode is the most common implementation, using binary coding and CRC error-checking.  RTU Protocol is an efficient binary protocol in which each eight-bit byte in a message contains two four-bit hexadecimal characters.  Each message must be transmitted in a continuous stream. The format for each byte (11 bits) in RTU mode is:
Coding System: 8–bit binary, Bits per Byte: 1 start bit, 8 data bits, least significant bit sent first, 1 bit for parity completion, 1 stop bit.

            MODBUS RTU packets are only intended to send data; they do not have the capability to send parameters, such as point name, resolution, units, etc. Standard MODBUS RTU node addresses are 1-254, with 0 being reserved for broadcast messages and write only. MODBUS over Serial Line systems may use different physical interfaces (RS485, RS232). TIA/EIA-485 (RS485) Two-Wire interface is the most common. As an add-on option, RS485 Four-Wire  interface may also be implemented. An RS485-MODBUS configuration without repeater has one trunk cable, along which devices are connected directly (daisy chaining). The trunk cable, also named “Bus”, vary in length, however, its two ends must be connected with Line Terminations. The use of repeaters between several RS485-MODBUS is also possible. The end to end length of the trunk cable must be limited. The maximum length depends on the baud rate, the cable (Gauge, Capacitance or Characteristic Impedance), the number of loads on the daisy chain, and the network configuration (2-wire or 4-wire). The typical cable lengths for this kind of bus connection are up to 1000m, and the typical baud rate is 9600 bps. A good cable selection, at least 22 gauge, at an adequate length may be costly.

          Modbus TCP/IP is simply the Modbus RTU protocol with a TCP interface that runs on Ethernet. With Ethernet, you are combining a versatile, scalable, and worldwide physical network (Ethernet) with a universal networking standard (TCP/IP) and a vendor-neutral data representation, Modbus. This protocol gives a truly open, accessible network, which allows blocks of binary data to be exchanged between devices. It is simple to implement for any device that supports TCP/IP sockets, with a switch and cable available to each device. It remains fully compatible with the already installed Ethernet infrastructure any customer might have. Ethernet is of course, a lot faster and a bit easier to troubleshoot. However, you may not wish to use Ethernet for your Modbus communications. It may, perhaps, be too fast. TCP/IP is the common transport protocol of the Internet and is a set of layered protocols, providing a reliable data transport mechanism between machines. Ethernet has become the standard of many systems, so it comes as no surprise that it has also become one of  the standards for factory networking. As Ethernet technology has been around for years, it has matured to the point that the cost of implementing this network solution has become quite affordable. The Ethernet devices are going to be faster, but speed is not completely necessary with a lot of Modbus devices. All these level sensors, temperature sensors, flow meters and other transmitters do not need to report data very fast. It is necessary for data to be reported every few seconds.

              Throughput is hardly a good reason to use RTU over Ethernet. The most basic difference between MODBUS RTU and MODBUS TCP/IP is that MODBUS TCP/IP runs on an Ethernet physical layer, and Modbus RTU is a serial level protocol. Modbus TCP/IP also uses a 6-byte header to allow routing. You can have a lot of issues trying to get the RS485 network to work correctly. You must deal with wire termination issues, network termination issues and more configuration issues than with Ethernet devices. But overall would you take Modbus RTU Devices over Modbus TCP? Modbus TCP/IP is simply the Modbus RTU protocol with a TCP interface that runs on Ethernet. So, if you desire data fast, and you want to come into the 21st century, then Modbus TCP/IP is the way to go.

              Protocol refers to the type of messages exchanged between the I/O server and I/O device.
I/O devices support at least one protocol – which governs the kind of commands and data you can exchange with the device. They vary significantly in functionality and in complexity. However, because Citect SCADA supplies the protocol drivers, the engineer does not need to know the details of the protocol.  Most modern devices support two or more protocols. This gives engineers flexibility in designing appropriate communications architectures.  Occasionally the protocol is closely linked to the transport layer used – particularly in the case of proprietary protocols and communications hardware.  In many cases, a specific card or module is necessary in the I/O device to support additional protocols.

Industry Standard Protocols
The automation and associated industries have developed a number of standardized protocols for communicating with I/O devices:
ASCII   – for simple serial communications
Modbus   – a widely used simple serial protocol for automation
DNP 3.0          – a protocol for distributed networks such as RTUs
BACNet   – specifically for the building automation control industry
OPC   – a technology for sharing automation data at the PC level
IEC870-5  – communication profile for sending basic telecontrol messages
EIB           – European installation bus
Profibus          – field bus communications protocols for automation
SNMP   – widely used protocol for network devices.

     As Citect SCADA allows you to choose whatever protocol you need for the situation, you can choose to use these protocols where supported by your I/O device. This is particularly useful when you have a mix of I/O device brands but  you want to simplify and use one common protocol. These components work in unison to expose the inputs and outputs of an I/O device to a Citect SCADA system. Inputs to the I/O device provide information about your plant, such as the speed of a machine, status of a conveyor, or the temperature of an oven. Outputs from the I/O device usually initiate tasks that control the operation of your plant, such as starting electric motors, varying their speed, or switching valves and indication lamps.


READMORE
 

Integer to Real PLC Schneider Modicon M221


Real to Integer (Contoh program untuk input Input Freq Inverter Menggunakan HMI, Inverter 50Hz = 500 Di PLC)






READMORE
 

Checking Dioda Bridge Thyristor and IGBT VSD

This test is done using a digital multi-meter in diode test mode to check that the transistors and
diodes are not short-circuited. The absolute values are not so important because they depend
strongly on the test device. However, in function of each module, it is possible to find values include
in like indicate the following schematic. The uniformity of the measured values is more important.
Please further note, that the drives requires some time to load the intermediate circuit capacity.
There are 24 measurements to be made:

























Checking the thyristors of the input bridge:

(Only for drives > 15KW 230V, P > 18.5kW 480V, and 690V range up to 90kW)

This test is done using a multi-meter in the ohmmeter position to check that the thyristors are not
short-circuited. The test is done like the preceding test between PO and L1, L2, L3.



Checking of the thyristor module only:

This test is done using an incandescent lamp and a 4.5 V battery connected. Using the schematic
below.

􀂾 Switch open ⇒ the thyristor is in open circuit (lamp off).
􀂾 Close the switch ⇒ the thyristor conducts (lamp on).
􀂾 Open the switch ⇒ the thyristor remains conductive (lamp on).
􀂾 Lower the voltage to turn off the thyristor.

If the operation is different than described, the thyristor is probably out of service.


READMORE
 

Output filters Option: Sinus filters


Filter Sinus memungkinkan drive Proses Altivar beroperasi dengan kabel motor panjang:

  •  500 m (1.640 kaki) dengan kabel berpelindung
  •  1.000 m (3.280 kaki) dengan kabel yang tidak tertutup




Frekuensi switching minimum di mana filter sinus dapat beroperasi adalah 2 kHz. Ini adalah
nilai default ketika fungsi filter sinus diaktifkan pada kecepatan variabel
drive (silakan merujuk ke panduan pemrograman di situs web
www.schneider-electric.com).
Frekuensi output harus kurang dari 100 Hz.
Pada beban 100%, penurunan tegangan kurang dari 8% dengan frekuensi keluaran 50 Hz dan
frekuensi switching 4 kHz.

Aplikasi
Untuk aplikasi yang membutuhkan:

  •  Kabel panjang berjalan
  •  Motor terhubung secara paralel
  •  Pompa submersible peka terhadap dv / dt
  •  Transformator antara antara drive dan motor





READMORE
 

Motor Choke atau Output filters Option: dv/dt filters

Drive Proses Altivar dengan tegangan suplai 200 ... 240 V dan 380 ... 480 V beroperasi
dengan panjang kabel motor maksimum berikut: 150 m / 492 kaki untuk kabel berpelindung
dan 300 m / 984 kaki untuk kabel tanpa pelindung.


Untuk tegangan suplai 500 ... Panjang kabel motor maksimum 690 V adalah: 10 m / 32 ft
kabel berpelindung dan 20 m / 65 kaki untuk kabel yang tidak tertutup.
Untuk membatasi dampak dv / dt dan tegangan lebih pada motor, disarankan untuk kabel
lebih panjang dari 50 m / 164 kaki, bahwa filter keluaran ditambahkan jika jenis insulasi motor
tidak sesuai dengan IEC60034-25.


Filter keluaran digunakan untuk membatasi dv / dt pada terminal motor hingga maksimum 500 V / μs
tegangan suplai hingga 480 V, hingga 750 V / μs maksimum untuk tegangan suplai 500 V dan
hingga 1000 V / μs maksimum untuk tegangan suplai 690 V.
Filter keluaran dirancang untuk membatasi tegangan lebih pada terminal motor menjadi kurang dari:
bb 800 V dengan kabel berpelindung panjang 0 hingga 50 m (0 hingga 164 kaki), dengan pasokan 400 V
voltase
bb 1.000 V dengan kabel berpelindung sepanjang 50 hingga 150 m (164 hingga 492 kaki), dengan 400 V
tegangan suplai
bb 1.500 V dengan kabel berpelindung 150 hingga 300 m (492 hingga 984 kaki), dengan 400 V
tegangan suplai (hingga 500 m (1.640 kaki) dengan kabel tidak terlindung)
bb 1.300 V dengan tegangan suplai 500 V, panjang kabel tergantung pada filter dv / dt
kombinasi
bb 1.600 V dengan tegangan suplai 690 V, panjang kabel tergantung pada filter dv / dt
kombinasi
Kinerja filter dv / dt akan terpengaruh jika panjang kabel maksimumnya
terlampaui. Untuk aplikasi dengan beberapa motor yang terhubung secara paralel, kabel
Panjang harus mencakup semua kabel. Jika kabel lebih panjang dari yang ditentukan digunakan, dv / dt
filter mungkin terlalu panas.
Frekuensi switching harus kurang dari 8 kHz.







READMORE
 

Line choke Dan Passive Filter

Line choke digunakan untuk memberikan perlindungan yang lebih baik terhadap voltase berlebih pada pasokan saluran dan untuk mengurangi harmonisasi distorsi arus yang dihasilkan oleh drive.
Penggunaan line choke direkomendasikan khususnya dalam keadaan:
1.      Tutup koneksi beberapa drive secara paralel.
2.      Pasokan saluran dengan gangguan signifikan dari peralatan lain (interferensi, tegangan lebih).
3.      Pasokan saluran dengan ketidakseimbangan tegangan antara fase yang lebih dari 1,8% dari tegangan nominal.
4.      Pemasangan sejumlah besar inverter frekuensi pada jalur yang sama.
5.      Pengurangan kelebihan pada kapasitor koreksi cos phi, jika pemasangan termasuk unit koreksi faktor daya.

Line choke dapat digunakan untuk mengurangi distorsi harmonik dari arus yang dihasilkan olehdrive.Nilai choke ditentukan untuk penurunan tegangan antara fase 3% dan 5%Line choke memungkinkan ATV630U22Y6 ... drive D90Y6 dapat digunakan dalam aplikasitegangan suplai nominal. Nilai yang lebih tinggi dari ini akan menyebabkan kehilangan torsi.membutuhkan tingkat harmonis THDi 48%.Tersedak harus diinstal hulu drive.







Passive Filter Filter pasif merupakan metode penyelesaian yang efektif dan ekonomis untuk masalah harmonik. Tipe filter pasif yang paling umum adalah filter single tuned. Filter ini sebagian besar dirancang untuk mengalihkan harmonik arus yang tidak diinginkan dalam sistem tenaga. Parameter utama yang harus dipertimbangkan dalam pemilihan R, L, C pada saat perencanaan filter pasif adalah quality factor (Q), nilai ini akan menentukan ketajaman penalaan. Dalam hal ini filter dapat berupa tipe Q tinggi untuk ketajaman penalaannya pada ordo harmonik frekuensi rendah biasanya berharga antara 30 sampai dengan 60. Sedangkan tipe Q rendah biasanya pada daerah 0.5 sampai dengan 5 mempunyai impedansi rendah dengan batasan frekuensi yang luas.( Jeong-Chay Jeon, 2004). Passive filter single tuned digunakan untuk mengurangi penyimpangan tegangan pada sistem tenaga dan juga sebagai koreksi faktor daya.








Beberapa komponen frekuensi tergantung pada perangkat keras elektronik dapat menghasilkan , medan magnet atau elektromagnetik listrik . Jika bidang ini cukup kuat , mereka dapat mengganggu peralatan lain dan menyebabkan efek yang tidak diinginkan . Kompatibilitas elektromagnetik ( EMC ) adalah kemampuan peralatan listrik untuk beroperasi tanpa dipengaruhi oleh atau menyebabkan elektromagnetik interferance ( EMI ) .
Komisi Eropa memperkenalkan 89/336/EEC tahun 1989 yang mendefinisikan kriteria EMC di mana semua peralatan listrik dipasarkan di Uni Eropa harus beroperasi . Konsep awalnya adalah untuk menyamakan perdagangan di Eropa dan menjaga Nasabah informasi (bias menentang impor murah tanpa filter yang bisa mengganggu peralatan kontrol lainnya ) . Tidak semua produsen tim Penjualan memperhatikan banyak dari ini dan tidak ada perusahaan yang pernah dituntut , sejauh penulis menyadari .

Meskipun tanggung jawab hukum pada produsen dan perwakilan resmi mereka untuk menyarankan pelanggan untuk menggunakan peralatan secara benar disaring , terserah kepada pengguna untuk memilih peralatan dengan Pertama atau Kedua lingkungan compliant penyaringan yang sesuai dengan aplikasi mereka , Lingkungan Pertama meliputi gunakan di mana supply dibagi dengan banyak perumahan – Lingkungan Kedua meliputi beban non perumahan .
Hal ini lebih penting untuk menggunakan kabel bermotor yang disaring , lapis baja atau benar-benar terbungkus dalam saluran logam . Hal ini mengurangi kebocoran EMI dan menawarkan jalur konduktif kembali ke Inverter ( diperlukan untuk kepatuhan EMC dalam hal apapun ) .
 Parker SSD Drives produk yang kami jual hingga 7.5KW semua termasuk EMC Filter untuk Pertama dan Kedua lingkungan , asalkan mereka memiliki ‘ – F – ‘ dalam kode produk . Sebagian besar lainnya termasuk filter Lingkungan Kedua , kecuali mereka mengatakan sebaliknya .
Jika Anda memiliki sistem perlindungan kebocoran bumi pada pasokan ke Inverter dengan filter Lingkungan Pertama, akan perjalanan . Beberapa tutup filter yang terhubung ke bumi dan membuat pulsa arus ketika power dihidupkan . Solusinya adalah dengan menggunakan pasokan tanpa Bumi Kebocoran Circuit Breaker ( ELCB ) selama ini aman untuk Anda , membeli Inverter dengan filter lingkungan Kedua asalkan tingkat kebocoran kompatibel dengan ELCB atau membeli Inverter tanpa EMC Filter di semua 





Filter pasif digunakan untuk memperoleh distorsi harmonik total kurang dari 10% atau 5%.
Daya reaktif meningkat tanpa beban atau beban rendah. Untuk membantu mengurangi daya reaktif ini,
kapasitor filter dapat terputus (lihat diagram di situs web kami
www.schneider-electric.com).
Filter pasif memberikan perlindungan IP 20.


  • Aplikasi

Pengurangan harmonisa saat ini untuk menggunakan drive di lingkungan pertama
(distribusi terbatas, aplikasi domestik).





READMORE
 

Real Time Clock (RTC) PLC Schneider Modicon M221




















READMORE
 

Arduino Telecontrol GSM Sim900

  String apaAja = "";
String msg = "";
String textMode = "AT+CMGF=1\r\n";

bool smsFlagOff;
bool smsFlag1;
bool smsFlag2;
bool smsFlag3;
bool feedBack1;
bool feedBack2;
bool feedBack3;
bool sukses = 0;
bool siap = 0;

unsigned int errorCounter;

int r1 = 2;
int r2 = 3;
int r3 = 4;
int ledIndikator = 7;
int reSet = 8;

int inv1 = 10;
int inv2 = 11;
int inv3 = 12;

void setup()
{
  digitalWrite(reSet, HIGH);
  digitalWrite(r1, HIGH);
  digitalWrite(r2, HIGH);
  digitalWrite(r3, HIGH);

  pinMode(inv1, INPUT_PULLUP);
  pinMode(inv2, INPUT_PULLUP);
  pinMode(inv3, INPUT_PULLUP);
  pinMode(r1, OUTPUT);
  pinMode(r2, OUTPUT);
  pinMode(r3, OUTPUT);
  pinMode(reSet, OUTPUT);
  pinMode(ledIndikator, OUTPUT);

  Serial.begin(9600);
}

void loop()
{
  if (Serial.available())
  {
    apaAja += (char)Serial.read();
  }

  else
  {
    feedBack1 = digitalRead(inv1);
    feedBack2 = digitalRead(inv2);
    feedBack3 = digitalRead(inv3);

    if (apaAja.indexOf("OK") >= 0)
    {
      digitalWrite(ledIndikator, HIGH);
      siap = 1;
      errorCounter = 0;
      apaAja.remove(0);
    }

    if (apaAja.indexOf("ERROR") >= 0)
    {
      siap = 0;
      errorCounter = 0;
      apaAja.remove(0);
    }

    if (siap == 0)
    {
      Serial.print(textMode);
      digitalWrite(ledIndikator, HIGH);
      delay(10);
      digitalWrite(ledIndikator, LOW);
      delay(290);

      errorCounter++;
      if (errorCounter == 40)
      {
        digitalWrite(reSet, LOW);
      }
    }

    if (feedBack1 == 0 && smsFlag1 == 0 && siap == 1)
    {
      delay (3000);
      feedBack1 = digitalRead(inv1);
      if (feedBack1 == 0)
      {
        msg = "Speed 1, 50Hz";
        sms();
        smsFlag1 = 1;
      }
    }

    if (feedBack2 == 0 && smsFlag2 == 0 && siap == 1)
    {
      delay (3000);
      feedBack2 = digitalRead(inv2);
      if (feedBack2 == 0)
      {
        msg = "Speed 2, 40Hz";
        sms();
        smsFlag2 = 1;
      }
    }

    if (feedBack3 == 0 && smsFlag3 == 0 && siap == 1)
    {
      delay (3000);
      feedBack3 = digitalRead(inv3);
      if (feedBack3 == 0)
      {
        msg = "Speed 3, 35Hz";
        sms();
        smsFlag3 = 1;
      }
    }

    if (feedBack1 == 1 && feedBack2 == 1 && feedBack3 == 1 && smsFlagOff == 0 && siap == 1)
    {
      delay (3000);
      feedBack1 = digitalRead(inv1);
      feedBack2 = digitalRead(inv2);
      feedBack3 = digitalRead(inv3);
      if (feedBack1 == 1 && feedBack2 == 1 && feedBack3 == 1)
      {
        smsFlagOff = 1;
        msg = "Speed 0, OFF";
        sms();
      }
    }

    if (apaAja.indexOf("Speed 1") >= 0)
    {
      digitalWrite(r1, LOW);
      digitalWrite(r2, HIGH);
      digitalWrite(r3, HIGH);
      errorCounter = 0;
      smsFlagOff = 0;
      smsFlag1 = 0;
      smsFlag2 = 0;
      smsFlag3 = 0;
      apaAja.remove(0);
    }

    if (apaAja.indexOf("Speed 2") >= 0)
    {
      digitalWrite(r1, LOW);
      digitalWrite(r2, LOW);
      digitalWrite(r3, HIGH);
      errorCounter = 0;
      smsFlagOff = 0;
      smsFlag1 = 0;
      smsFlag2 = 0;
      smsFlag3 = 0;
      apaAja.remove(0);
    }

    if (apaAja.indexOf("Speed 3") >= 0)
    {
      digitalWrite(r1, LOW);
      digitalWrite(r2, HIGH);
      digitalWrite(r3, LOW);
      errorCounter = 0;
      smsFlagOff = 0;
      smsFlag1 = 0;
      smsFlag2 = 0;
      smsFlag3 = 0;
      apaAja.remove(0);
    }

    if (apaAja.indexOf("Off") >= 0)
    {
      digitalWrite(r1, HIGH);
      digitalWrite(r2, HIGH);
      digitalWrite(r3, HIGH);
      errorCounter = 0;
      smsFlagOff = 0;
      smsFlag1 = 0;
      smsFlag2 = 0;
      smsFlag3 = 0;
      apaAja.remove(0);
    }
  }
}

void sms()
{
  Serial.print("AT+CMGS=");
  Serial.print("\"");
  Serial.print("082210028004");
  Serial.print("\"");
  Serial.print("\r");
  delay (250);
  Serial.print(msg);
  Serial.print((char)26);
  apaAja.remove(0);
  indikatorProsesSms();
}

void indikatorProsesSms()
{
  for (int kedip = 0; kedip < 50; kedip++)
  {
    digitalWrite(ledIndikator, LOW);
    delay(75);
    digitalWrite(ledIndikator, HIGH);
    delay(10);
  }
}
READMORE
 

Parameter Yaskawa Machine Roll Plastic

Pt.Interkemas Tangerang Bandara









READMORE
 

Parameter Yaskawa Basic


Parameter Up Down terminal S6 and S7



READMORE
 

Real Time Clock PLC Mitsubishi FX series

    In knowledge base at mitsubishi-automation.com I found: " How can I set the real-time clock of my FX PLC? (General (FX)) - KS00781 To set the real time clock for FX1S, FX1N, or FX2N© PLC you can use the "TWR" (set clock) function. Use this instruction to save the time and date ... read more To set the real time clock for FX1S, FX1N, or FX2N© PLC you can use the "TWR" (set clock) function. 


   Use this instruction to save the time and date information you have entered in the real-time clock. The TWR instruction uses 7 sequential data registers for the information: Year, month, day, hours, minutes, seconds, and day of the week, If you have an older FX PLC then you can set the real-time clock as follows: 1 - Stop the real-time clock by switching on the relay M8015. 2 - Replace real-time information with new information that will be set. Time unit Seconds register D8013 minutes D8014 hours D8015 days D8016 months D8017 years D8018 COMMENT: Day of the week (D8019) is set automatically via the set date of the PLC. 3 - Restart the real-time clock by switching off relay M8015. At the end there is info day of week is set automatically. You guys wrote that it must be set manually or PLC needs a code to set up automatically. So what is the true? Inntele - could you attach code to set day of week in PLC automatica










READMORE
 

Energy Saving Inverter Yaskawa A1000

Feature Highlights
  • Closed or open loop vector control for outstanding regulation, torque production, and position control capability
  • Continuous Auto-tuning optimizes performance by compensating for changes in motor temperature
  • High Frequency Injection enables high precision open loop control of Interior Permanent Magnet Motors
  • Fast acting current and voltage limiters help achieve continuous drive operation during periods of excessive demand
  • High Slip Braking reduces installation cost and the need for dynamic braking resistors
  • Communication options for all major industrial networks provides high speed control and monitoring, reducing installation cost
  • DriveWizard computer software and Application Sets for easy configuration
  • Auxiliary Control Power Unit maximizes production time and efficiency by maintaining network communication while main power is removed
  • Embedded Safe Torque Off minimizes downtime for applications requiring occasional intervention (SIL CL2, PLd, Category 3)
  • Embedded function blocks, programmable with DriveWorks EZ, provide additional application flexibility and the opportunity to eliminate separate controllers
  • USB Copy Unit and Keypad configuration storage provide speed and convenience for duplicate configuration of multiple drives
  • Removable terminal board with configuration storage provides convenience of configuration backup
  • Made with RoHS compliant materials
  • Integrated DC Reactor (standard on 30HP and larger) for input harmonic reduction
  • Kinetic Energy Braking allows drive to remain in control during momentary power losses
  • Integrated 12 Pulse version provides a cost effective solution for low harmonics
  • Flange version provides NEMA 12 backside integrity when mounting with heatsink external





READMORE