Both sides previous revisionПредходна версияСледваща версия | Предходна версия |
en:buttons_relays_and_programs [2023/05/17 12:02] – siyana | en:buttons_relays_and_programs [2023/09/22 09:56] (текуща) – svilen |
---|
=====Buttons, exits and programs===== | =====Buttons, outputs and programs===== |
The controllers' work could be divided into two groups: governing where is set at which button which relays should be switched on and off and visualizing where are set the names of the programs and their duration. | The controller work could be divided into two groups: controlling - where is set at which button which relays should be triggered and visualizing - where are set the names of the programs and their duration. |
{{ ::cwcontroller_buttons_relays.png?nolink |}} | {{ ::cwcontroller_buttons_relays.png?nolink |}} |
==== Setting the buttons==== | ==== Setting the buttons==== |
The controller maintains up to 16 different programs. Depending on the given signal or combination of signals it is chosen the relevant program. The entrances for buttons are 6 and for the maintenance of more than 6 programs is needed the use of a combination of entrances, by separation diodes - look [[електрическо свързване#бутони|electrical connection - buttons]]. | The controller maintains up to 16 different programs. Depending on the given signal or combination of signals it is chosen the relevant program. The inputs for the buttons are 6 and for the maintenance of more than 6 programs is needed the use of a combination of inputs, by separation diodes - look [[en:electrical_connections#buttons|Electrical connection]]. |
| |
Setting the signals from the buttons to the corresponding program is done from the "Buttons and Relays" group, by setting the corresponding combination of "Input lines" for each group. | Setting the signals from the buttons to the corresponding program is done from the "Buttons and Relays" group, by setting the corresponding combination of "Input lines" for each group. |
| |
====Governing of the relays==== | ====Control of the relays==== |
For each program, it is adjusted the state in which the six controlling relays should be. In the simplest control option, only the field "Relays on" is set, selecting one or a combination of several relays. | For each program, is adjusted the state in which the six controlling relays should be. In the simplest control option, only the field "Relays on" is set, selecting one or a combination of several relays. |
Example 1: program 1 - relay 1, program 2 - relay 2, program 3 - relay 3.\\ | Example 1: program 1 - relay 1, program 2 - relay 2, program 3 - relay 3.\\ |
Example 2: program 1 - relay 1, program 2 - relay 1+2, program 3 - relay 1+3, program 4 - relay 1+3+4. | Example 2: program 1 - relay 1, program 2 - relay 1+2, program 3 - relay 1+3, program 4 - relay 1+3+4. |
| |
Чрез полето "Релета запазващи състоянието си", могат да бъдат направени и по-сложни програми, като например превключване между топла и студена вода. Ако релета 1-4 управляват нормалната работа, а реле 5 включва топла вода, то в програмата към бутона "топла вода" ще бъде зададено: релета запазващи състоянието си - 1, 2, 3, 4, включени релета - 5. Така при натискането на бутона, ще бъде включено реле 5, без да се променя работата на останалите. | More complex programs, such as switching between hot and cold water, can be made through the field of "State-retaining relays". If relays 1-4 control the normal work and relay 5 turns on the hot water, then in the program with the button "hot water" will be set up: relays maintaining their state - 1, 2, 3, 4, turned on relay - 5. In this way, pushing the button will be turned on relay 5, without changing the work of the others. |
| |
Ако дадено реле бъде избрано и в двете групи - "Релета запазващи състоянието си" и "Включени релета" то ще работи по специален начин - като превключващо. Ако е било включено, ще изключи и ако е било изключено ще се включи. Така, към предходният пример, програмата "топла вода" може не само да бъде активирана, но и при повторно натискане да бъде изключена. | If the given relay is chosen in two groups - "Relays maintaining their state" and "Turned on relays" then t will work in a special way - as a switchable. If it was turned on, it will turn off and if it was turned off it will turn on. In this way, as in the previous example the program "hot water" can not only be activated, but with a second click could be turned off. |
| |
За полетата "След изтичане на време" и "Превключи релетата (време)", вижте [[Изходи управлявани по време]]. | For the "After the time is up" and "Switch relays (time)" fields, look at [[Outputs controlled by time]]. |
| |
====Визуализация==== | ====Visualization==== |
В групата "Изглед - работа", съществуват 16 подгрупи за представянето на всяка програма на екрана. Избора на текущата група не е свързана с натискането на конкретен бутон, а със състоянието на изходните релета. Това е направено с цел да се отразят адекватно и различните състояния и при използването на функции като "Релета запазващи състоянието си" и [[Изходи управлявани по време]]. | The group "View - work" consists of 16 subgroups presenting each program on the screen. The selection of the running group does not happen by pushing a button but with the state of the output relays. This is done to adequately reflect the different states and when using functions such as "Relays keeping their state" and [[Outputs controlled by time]]. |
| Each group is identified by the "Relay Status" setting. It is also assigned a name to be displayed on the screen as well as colors for the remaining time sector in the stopwatch view. Additionally, individual counseling time can be set for a credit of 100 cents. At zero time, it is used, the total "Time per Coin". For more details on timings, look at [[Individual program times]]. |
| |
Всяка група се разпознава по настройването на "Състояние на релетата". Към нея се задава и име, което да бъде показано на екрана както и цветове за сектора оставащото време в изглед хронометър. Допълнително може да се зададе индивидуално време съветващо на кредит от 100 стотинки. При нулево време се използва общото "Време за монета". За повече подробности относно времената, вижте [[Индивидуални времена]]. | ====Extra settings ==== |
| **Buttons - normally closed inputs**\\ |
| Some buttons, for instance, those for pause, are normally with closed contact. For them to be read simultaneously with their pressing and not upon release this setting is required. |
| |
====Допълнителни настройки==== | **Relays - normally closed outputs**\\ |
**Бутони - нормално затворени входове**\\ | From here the work for one of the relays could be reversed. It could be turned on during the inactive state and turned off during the active state. |
Някой бутони, като например тези за пауза, са с нормално затворени контакт. За да може те да бъдат отчитани в момента на натискането им, а не при отпускането е необходимо да бъдат отразени в тази настройка. | |
| |
**Релета - нормално затворени изходи**\\ | **Relays - startup state**\\ |
От тук може да бъде обърната работата на някое от релетата. При неактивно състояние да е включено, а при активно - изключено. | The position of the relays when a coin is inserted. Here you can set a mode in which the machine starts immediately or for example to be set an extra piece of equipment - for example lights |
| |
**Релета - първоначално състояние**\\ | **Delay to switch the relays**\\ |
Положение на релета при поставяне на монета. Тук може да бъде зададен режим в който веднага да тръгне машината. Или например да бъде включено допълнително оборудване - например осветление. | When switching from one mode to another, all the relays connected to the new mode are set in an inactive mode beforehand. Activate the new mode after the time is up. |
| |
**Изчакване за превключване на реле**\\ | |
При превключване от един режим към друг, първо всички релета свързани с новия режим се поставят в неактивно състояние. Изчаква се зададеното време и се активира новото с | |