---
title: "EnOcean EEP F6-02-xx Transmitter"
canonical: "https://docs.cuesystem.com/space/CVCHELP/531497099/EnOcean%20EEP%20F6-02-xx%20Transmitter"
format: markdown
---
This object can represent a virtual EnOcean device that is sending the same type of telegrams as EnOcean PTM2xx rocker wireless switches.  

For shared properties and functions, see

- [https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531660831](https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531660831)
- [https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531759163](https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531759163).

# SetButton_xx_State 

This command sends the state of the virtual rocker switch. As the rocker switch consists of A0, AI, B0, and BI buttons, then there are available following functions:

- SetButton_A0_State(newstate As Boolean) As Boolean
- SetButton_AI_State(newstate As Boolean) As Boolean
- SetButton_B0_State(newstate As Boolean) As Boolean
- SetButton_BI_State(newstate As Boolean) As Boolean

#### Syntax 

```visualbasic
Function SetButton_A0_State(newstate As Boolean) As Boolean
```

#### Parameters 

newstate 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) where **True** means pressed while **False** means released  

#### Example 

```visualbasic
// press of A0
EnOcean_Device1.SetButton_A0_State(True) 
```

***Return value**** *

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) **True** if telegram was successfully sent. Otherwise **False.** 

# EnOcean EEP F6-02-xx Transmitter Plugin 

This plugin allows you to Teach-in or Test the telegrams transmitted by this device. The actual ID is based on the actual BaseID of the channel and IDoffset, which is a device property set in the CVC project. All the actual values are displayed on the plugin page:   

![image](media://c00f70f0-de2d-4bf3-992e-af65ed389ceb)

Buttons A0 AI B0 BI  

– are sending the appropriate telegrams, which can be used for testing and learning if the receiving device is to be learned to obey the commands from this device. 

Note that devices of EEP F6-02-xx are not using any special telegrams for Teach-in or Learn process - standard operational telegrams are used for that purpose by this EEP!