Categories: Home automation, Programmable controllers
Number of views: 47972
Comments on the article: 7

Using ARIES PLC in automatic lighting control systems

 

Using ARIES PLC in automatic lighting control systemsHome automation often starts with the simple, urgent task of controlling lighting. It is often necessary to control the on and off light from different places or from a common remote control or a set of buttons. Moreover, the number of lighting fixtures, rooms, switches is always different. And the control scheme is different from task to task.

In this material we will consider a universal means of solving this problem - freely programmable Aries PLC controller.

With this device, you can automate the lighting of almost any complexity. At the same time, intermediate contacts are not needed, switching of electric circuits occurs using built-in electromagnetic relays.

The creation of the work algorithm begins with loading CoDeSys programs. It is free and is included with the PLC.

CoDeSys implements several methods (languages) for developing an algorithm. One of the most obvious is LD relay circuits.

Programmable controller Aries PLC

Programmable controller Aries PLC

Suppose that you need to solve the standard task of implementing a pass-through switch. Whichever way you enter the room, you turn on the light. Whichever way you go, the light turns off. For two switches, the task is solved by conventional contacts. But with an implementation with three or more switches, things get a little more complicated.

In the LD language, it is customary to implement discrete (relay) algorithms. The circuit collects series-connected and parallel-connected contacts. Their order and placement define certain logical functions. A serial connection defines the logic “AND”, parallel - “OR”. In addition, there are normally closed and normally open contacts.

Using ARIES PLC in automatic lighting control systems

Each contact is associated with a variable. This may be an input to the controller, such as a switch. It may be an intermediate variable. The result of the algorithm, a variable associated with the output relays, is set in the form of a winding. This element is always placed at the end of the chain, on the right. When the signal passes through the winding in the LD circuit, the PLC physical output relay closes. When in the program the signal stops passing through the winding, the relay opens.

An example of the implementation of a passage switch for three buttons and a common toggle switch is shown in the figure.

Using ARIES PLC in automatic lighting control systems

We see four chains. Each of them estimates the current position of the three switches. If any one switch goes into the on state, the signal passes through the rele1 winding. If all switches are on, rele1 is also on. In all other cases, the signal transmission condition is not satisfied, and rele1 is disabled.

You can check the operation of this circuit directly in the programming system. You do not need to have a PLC for this. CoDeSys implements a controller emulation system. Thus, you can study programming and try your first algorithms right on your computer.

For more information, see the video course, "Developing Process Control Systems in Codesys." The video course is designed specifically for beginners with no programming experience. It provides step-by-step instructions for creating the first projects in CoDeSys, so that you can immediately begin to develop your own algorithms.

Watch PLC programming tutorials in CoDeSyscan be here:PLC Programming Lessons

We tried to make the description as simple and understandable as possible for any technically competent person.

If the information in this article seemed useful to you, write to the author what other simple examples of home automation you would be interested to make out.

See also on our website:

Ladder Diagram (LD) Programming Language

The principles of programming programmable controllers in the FBD language

See also at bgv.electricianexp.com:

  • Motor starting diagrams in the ladder diagram language LD for PLC
  • LD Ladder Language and its Application
  • Classroom lighting automation
  • Video course on working with the Aries controller PLC110 in the CODESYS2.3 environment
  • Functional Block Diagram Language (FBD) and its Application

  •  
     
    Comments:

    # 1 wrote: | [quote]

     
     

    It would be interesting to read how it is possible to automate a greenhouse using a programmable controller (lighting, ventilation, watering, electric heating), and how much it will cost about using the minimum necessary equipment (controller, sensors, electrovalves, etc.).
    Once I began to understand the Siemens LOGO PLC and their programming program. I wonder how PLC Aries differs from LOGO? Which PLC is more convenient to work with and which is easier to learn?

     
    Comments:

    # 2 wrote: Igor | [quote]

     
     

    The topic is not disclosed. I would like more specific information - how to connect the switches and lamps in the considered example to the controller, whether additional elements are needed, or the controller is able to control the lighting itself. The article should have a controller connection diagram. And you can program a lot of things. It’s just not clear how to really connect and configure all this.

     
    Comments:

    # 3 wrote: | [quote]

     
     

    Getting started with PLC is difficult and expensive right away. I advise you to start with the programmable OWEN relay. There are a lot of them there. They cost from 2000 to 3000 rubles. I put together a lighting control system in large cottages, about 600 sq. M. In a programmable relay, create a macro of a pulse relay. Replace all switches with buttons. The buttons become multi-functional. Works great.

     
    Comments:

    # 4 wrote: | [quote]

     
     

    I want to make a "smart home" on PLC Aries. I just want to do it myself, without helpers. This is the whole point - to understand everything and do it yourself. It’s best to start with lighting automation. For starters - you can just in theory. Then it is possible in practice. The topic is relevant. I look forward to continuing.

     
    Comments:

    # 5 wrote: faradox | [quote]

     
     

    Hi hello! For three years he worked with PLC Aries. Automated press and conveyor. Advantages ARIES PLC price! Look at the site. You will not find cheaper. Reliable enough controllers (not without glitches, but the company is developing and solves problems), good documentation, there is a book painted everything correctly. Only patience and desire are needed. For a smart home, OWEN has enough opportunities. There are extensions - DVA, MVA, etc. read on the site. Supports all IEC languages. I used three LDD, ST and FBD. To whom is closer and more understandable. Some things are made more understandable and simpler in one of these languages, the LD pipeline, the ST press, and the subroutines (program modules) in any of the IEC languages. It only seems difficult. Look for examples and go! Good luck in the development of PLC!

     
    Comments:

    # 6 wrote: | [quote]

     
     
     
    Comments:

    # 7 wrote: | [quote]

     
     

    Oleg, yeah, Saruman's eye will automate.