# OPC UA Methods

The OPC UA client can control the system using OPC UA methods. Methods are called (invoked) and return the result after the functions are completed (whether they are successful or not). Each function call requires specific input arguments.

The following function calls are available:

SetAreaPreset sets the preset lighting scene in an area. A preset scene recalls all the lighting channel levels in an area at once. Fade time is in milliseconds.

Input argument name | Example value | Data type | Range
--- | --- | --- | ---
AreaNo | 1042 | UInt16 | 0 – 65,000
PresetNo | 4 | UInt16 | 0 – 65,000 (typically 1 – 16)
Join | 255 | UInt16 | 1 – 255
Fade | 2000 | UInt16 | 0 – 65,000 (0s – 1m 5s)

SetAreaTemperature sets the temperature setpoint (in °C) in an area where the HVAC is integrated with the lighting control system.

Input argument name | Example value | Data type | Range
--- | --- | --- | ---
AreaNo | 2030 | UInt16 | 0 – 65,000
Join | 255 | UInt16 | 1 – 255
Setpoint | 19.5 | Float | -127 – 127°C (0.25°C steps)

SetAreaTemperatureUpDown increments the temperature setpoint up or down by the minimum unit specified (in °C) in an area where the HVAC is integrated with the lighting control system.

Input argument name | Example value | Data type | Range
--- | --- | --- | ---
AreaNo | 3150 | UInt16 | 0 – 65,000
Join | 255 | UInt16 | 1 - 255
IsUp | 1 | Boolean | 0/1

SetLogicalChannelLevel sets the lighting level for a specific lighting channel in the area, as a percentage of the maximum level.

Input argument name | Example value | Data type | Range
--- | --- | --- | ---
AreaNo | 4200 | UInt16 | 0 – 65,000
ChannelNo | 3 | UInt16 | 0 – 65,000
Join | 255 | UInt16 | 1 - 255
Fade | 8000 | UInt16 | 0 – 65,000 (0s – 1m 5s)
Level | 100 | UInt16 | 0 – 100