EnOcean actuator to be controlled from PLC CX5130+KL6581+KL6583

Anri

Level-1
Beiträge
2
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
How to create a correct EnOcean telegramm on PLC to control EnOcean actuator (BL-201-00-868 UP BROADCAST )?
I want to create a virtual EnOcean Button on PLC.
And connect it to the real EnOcean device.
As a result - control EnOcean Actuator from PLC and from EnOcean push button.

I can receive telegrams from the EnOcean button via “antenna KL6583”+ KL658+PLC.
I can send telegrams with help of FB_Send_RPS_SwitchAuto (virtual EnOCean button).
But the data inside messgae is different from what I have when EnOcean rocker switch (button) sends.
I scan EnOcean telegrams (mesages) by Thermokon Air Scan.
1.png

EEP (EnOcean Equipment Profile) in both cases is the same = F06-02-01 (Light and Blind Control - Application Style 1)

Currently, I don't know what should be equal in the commands of the virtual button with the real EnOcean button for the EnOcean activator to work with the virtual one.
Beckhoff transmitter (antenna) EnOcean ID is different from EnOcean button - it is Ok.
2.png

I made experiments with differernts values of nRockerID(0...3), EnOceanID(0....127) of FB_Send_RPS_SwitchAuto.
Also I can create a direct connection between EnOcean pushbutton and EnOcean Light Actuator (via teaching up light actuator by pressing service button and pairing with EnOcean pushbutton).

Should I do the same with virtual button (teach Actuator to work with)? Is it only way to pair virtual button and Actuator?
Or I can use EnOcean ID of the Actuator to send somehow direct commands from virtual button to real device EnOcean Actuator?


What should be in the structure VARstKL6581 to control Actuator (ON/OFF/DIMM) ?

3.png
 
Zuviel Werbung?
-> Hier kostenlos registrieren
I saw that document. It contains the low/level (telegram content) specific of the EnOcean protocol. But doesn't contain examples.
The document is useful, but I should conduct an experiment to understand all the nuances.
In any case I want to thank you Oberchefe.

Currently I deal with Beckhoff TwinCAT functional blocks for EnOcean: FB_Send_Generic and FB_Rec_Generic.
I can send commands ON/OFF/DIM and control from "virtual button" to the EnOcean lamp Actuator.

To pair "virtual" button and Actuator the "teach" process was made (with help of service button inside Actuator).
I didn't find the possibility of direct control the Actuator by its ID without "teaching" process. This is probably a "safety" standard.
I didn't find the TwinCAT instruments to make a full immitation of physical EnOcean button (in other words with fake ID). Again it is probably a "safety" that comes from original EnOcean tranciewer that is used in Beckhoff antenna.
Actually, I wasn't looking for a way to hack EnOcean. I needed to solve a utilitarian problem using the most standard methods and means.

Maybe it will help somebody.
In terms of Beckhoff for FB_Send_Generic and other EnOcean FB:
input "nEnOceanID": Virtual EnOcean ID; a value of 0 to 127 is added to the real EnOcean ID (valid values: 0 to 127).
With this number you can create 127 devices with other identical parameters on one node (EnOcean antenna).
In my example it is different "virtual" buttons (different from the perspective of a EnOcean third-party physical device) that send telegramms via common EnOcean antenna.
1734012102951.png
1734012181132.png
This example of Actuator control from virtual buttons "bSwitch1" and "bSwitch2" simultaneously with real EnOcean buttons "FB_EnOcean_Switch_0.bT2_ON" and "FB_EnOcean_Switch_0.bT2_OFF".
Example shows only "Send" part of the algorithm.
 
Zuletzt bearbeitet:
Zurück
Oben