---
title: "EnOcean EEP F6-xx-xx Generic Transmitter"
canonical: "https://docs.cuesystem.com/space/CVCHELP/531791999/EnOcean%20EEP%20F6-xx-xx%20Generic%20Transmitter"
format: markdown
---
> Macro (toc)

---

This object can represent a virtual EnOcean device that is sending the same type of telegrams as, for example, EnOcean PTM200 or devices using general F6-xx-xx type of EEP.  

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).

# SendTelegram

This command sends the telegram with data and status information. The F6 type of EnOcean telegram always holds 1-byte data and 1-byte status information. The data and status for this command are specified in the parameters 

#### Syntax 

```visualbasic
Function SendTelegram(data As Byte, status As Byte) As Boolean
```

#### Parameters 

data 

[<u>Byte</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Byte)   - the F6 type of telegrams holds a 1-byte data value  

status 

[<u>Byte</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Byte)   - the F6 type of telegrams holds a 1-byte status value  

#### Example 

```visualbasic
EnOcean_Device1.SendTelegam(&H00, &H20) 
//sends telegram like PTM200: with meaning “Button release”
```

#### Return value 

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

# Send_PTM200_Button_xx

The EnOcean PTM200 device “2-rocker switch” is the most common and the most typical device using F6 type of telegrams - so the functions sending the same telegrams as PTM200 have been added to this driver. 

These commands are just sending the telegrams with predefined data and status:  

- **Send_PTM200_Button_A0_Press() **-the same as  SendTelegram(&H10,&H30)
- **Send_PTM200_Button_A1_Press()**` `-the same as  SendTelegram(&H30,&H30)
- **Send_PTM200_Button_B0_Press()**` `-the same as  SendTelegram(&H50,&H30)
- **Send_PTM200_Button_B1_Press()**` `-the same as  SendTelegram(&H70,&H30)
- **Send_PTM200_Button_Release()**` `-the same as  SendTelegram(&H00,&H20)

(see SendTelegram.. command above)  

#### Syntax 

```visualbasic
Function Send_PTM200_Button_Release() As Boolean
```

#### Example 

```visualbasic
EnOcean_Device1.Send_PTM200_Button_Release()  
//sends telegram like PTM200: with meaning “Button release”
```

#### Return value 

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

# EnOcean EEP F6-xx-xx Generic 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 the device property in the CVC project. All the actual values are displayed on the plugin page:   

![image](media://7844748a-b915-4f88-b345-93601f79a1a9)

Send 

send telegram button – sends telegram with prepared Data and Status  

to be used both for RPS Teach-in and testing purposes 

The Data and Status of the telegram to be sent can be set to new values either by: 

Input box “New Data&Status” Note that Input must be done in format \dd\ss where the dd means hex value of Data while ss means hex value of Status byte.  

ENTER(on a PC keyboard) must be pressed to accept the value here. 

Or by use of: 

“New Data&Status as PTM200” buttons - which can be used to prepare Data and Status as common actions on PTM200 (EnOcean 2-rocker switch)