---
title: "PER 610"
canonical: "https://docs.cuesystem.com/space/CVCHELP/524353904/PER%20610"
format: markdown
---
> Macro (toc)

---

# Properties

- **UnitID (serial number)** of the module, defaults to 1.
- **Interface address** 0-15 address of the module, defaults to 1. The addresses of all channels of this module are based on this value.
- **Bank** 0-9 module group, defaults to 1.
- **Filter** 0-180 msec, defaults to 40 msec. Minimum time of pressing the button for the press to be valid.
- **Long press** 0-900 msec, defaults to 400 msec. If the time of pressing the button is longer than this value, the press is interpreted as a long press.

***The following parameters can be set for each channel independently:**** *

- **Function mode** selection for control relay by its buttons, defaults to coded.
  - **no action** - buttons are disabled.
  - **coded** - Each press causes the negation of the relay state (switched on/off)
  - **relay** - When the button is pressed, the output is on, otherwise, it is off.
  - **system on** - When pressed, the relay switches on; it can be switched off only by command through a serial line.
  - **run** – a short press switches the relay on for the period of time entered in its parameter. Long time press does the relay on only for the button is holding. It is useful in couple with another channel with direction mode for controlling AC motors.
  - **direction** - it is useful for selecting the direction of controlled AC motors. After 200 ms, the couple relay with mode run is switched on too.
  - **delayed off** - the relay is switched on at once, but it is switched off after delay time.
  - **delayed on** - the relay is switched off at once, but it is switched on after delay time.
  - **run DC** (firmware 1.09 or higher) - short press switch relay on for parameter time. Long time press does the relay on only for the button is holding. It is useful in a couple with another channel with the same mode for controlling DC motors.
  - **pulse** (firmware 1.10 or later) – the relay is switched on for a short time impulse entered in the parameter.
- **Time** parameter in seconds for modes working with time, defaults to 0.5 sec. There are the following time formats available for units with firmware 1.11 or higher:
  - seconds 0,1 – 999,9 s
  - minutes - seconds: 00:01 – 59:59
  - hours - minutes: 00:01 – 12:59 (longest available time is 12 hours 59 minutes)
- **Paired relay** is ranged from 0-6, where 0 means NO paired relay channel and numbers 1-6 means the number of the paired relay. A default value is none.

# Close

This function switches the relay ON. 

#### Syntax 

```visualbasic
Function Close()
```

# ClosePulse

This function switches the relay ON and after **pulsetime** switches it OFF. 

#### Syntax 

```visualbasic
Function ClosePulse(pulsetime As Time)
```

#### Parameters 

pulsetime 

[<u>Time</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Time) It is a time of the pulse. 

# IsClosed

The function returns if a channel is closed or opened. 

#### Syntax 

```visualbasic
Function IsClosed() As Boolean
```

#### Return value 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) It is True if the channel is closed, False otherwise. 

# IsInputClosed

The function returns if an input channel is closed or opened. 

#### Syntax 

```visualbasic
Function IsInputClosed() As Boolean
```

#### Return value* *

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) It is True if the input channel is closed, False otherwise. 

# Open

This function switches the relay OFF. 

#### Syntax 

```visualbasic
Function Open()
```