Hotel Lighting Scenario 2. Lua4RC Application

Hotel Lighting Scenario 2 Lua4RC Application Lua4RC Application 2 Hotel Lighting Scenario 2 INTRODUCTION This script can be used to control a mas...
Author: Giles Carpenter
8 downloads 0 Views 887KB Size
Hotel Lighting Scenario 2 Lua4RC Application

Lua4RC Application

2

Hotel Lighting Scenario 2

INTRODUCTION This script can be used to control a master lighting contact with the Auxiliary output of a VT8300 series Room Controller. The built-in logic of the BO8 Auxiliary Heat output was designed for reheat applications. It includes a 10 seconds delay between the Effective occupancy change and the output action. Using the Lua4Gamma script will remove this delay and make lighting applications possible. Compared to Lua4RC_002_HotelLighting.lua, this script works with the local occupancy set at the the hotel desk (see the sequence of operation section below)

HARDWARE REQUIREMENTS Qty

Part Number

Description

1

VT8300/VT8600

VT8000 series Room Controller

1

Remote PIR motion sensor (optional unless the Room Controller has no onboard PIR motion sensor)

SOFTWARE REQUIREMENTS Files Filename

Version

Comment

Lua4RC_008.lua

1.0

Lua script, used in PG1

Software

Version

Comment

VT8300 Firmware

1.0.6 and newer

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

Software

March 2015

Lua4RC Application

Hotel Lighting Scenario 2

3

WIRING DIAGRAM

2 3 4 5 6

UO12 - NO Heat V

UO10 - NC Heat V

UO11 - NO Cool V

UO9 - NC Cool V

RH

BO8 - Aux Heat

C (Common)

RC (24 Vac)

BO4 - Fan H

BO2 - Fan L

1

BO3 - Fan M

VT8300*

On / Off MASTER LIGHTING CONTACTOR

110v

7 8 9 10 11 12

24 VAC COMMON 24 VAC TRANSFORMER

UI22 - SS

Common

UI 20 - RS

19 20 21 22 23 24

UI 19

Common

UI 17

UI 16

BACnet REF

BACnet

BACnet

+ -

13 14 15 16 17 18

VT8300/VT8600 Binary Outputs BO8

Controlling Lighting (ON/OFF)

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

*Inputs and outputs not specified in the table above are not used in this application.

March 2015

Lua4RC Application

4

Hotel Lighting Scenario 2

USER VARIABLES User Variables

Description

Type

AV26

Time before lights turns off in StandBy mode (in minutes)

User input

SEQUENCE OF OPERATION

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

Hotel Desk sets the Room Controller to Occupancy Command: Local Occupancy then Room Controller switches to Effective Occupancy: Stand-by mode In Effective Occupancy: Stand-by mode If the door opens then The lights turns on If the PIR motion sensor detects motion then the Room Controller switches to Effective Occupancy: Occupied mode. If there is no motion detected after a period of time specified in the Unoccupied time field then the controller switches to Effective Occupancy: Unoccupied mode. In Effective Occupancy: Occupied mode The lights are kept on as long as the PIR motion sensor detects motion. They will turn off only if there is no motion detected for a period of time specified in AV26 If the door is opened and closed and no motion is detected then the Room Controller switches back to Effective Occupancy: Stand-by mode In Effective Occupancy: Unoccupied mode The lights are turned on as soon as the door opens. The Room Controller switches to Effective Occupancy: Stand-by mode as soon as the door closes. Hotel Desk sets the Room Controller to Occupancy Command: Unoccupied then (the room is visited by the cleaning staff) The lights are turned on as soon as the door opens (the door is left opened for cleaning) As soon as the door is closed again the lights turn off

March 2015

Lua4RC Application

Hotel Lighting Scenario 2

5

Hotel Lighting Scenario 2 : Lights Off During Standby EFFECTIVE OCCUPANCY

EXAMPLE 23 DEG C

OCCUPIED STATUS OCCUPIED UNTIL DOOR MOVEMENT

OCCUPIED UNTIL DOOR MOVEMENT

UNOCC. TIME = 1 HOURS

EXAMPLE 25 DEG C

STAND-BY STATUS AV26

AV26

AV26

EXAMPLE 27 DEG C

UNOCCUPIED STATUS

PIR Motion Door Close Door Open

Eff Occ= Unocc

Lights Off

1 of 2 Guests Leaves Room

Door Close Door Open

PIR Motion

Door Open

Guests Enter room

Door Close

PIR Motion

Door Open

1 of 1 Guest Leaves Room

Hotel Lighting Scenario 2 : Cleaner Scenario

Guests Return to Room

EXAMPLE 23 DEG C

OCCUPIED STATUS OCCUPIED UNTIL DOOR MOVEMENT STAND-BY STATUS

EXAMPLE 25 DEG C

UNOCCUPIED STATUS

EXAMPLE 27 DEG C

Cleaner Enters

Door Close

Guest Check-Out

Door Open

028-6095-00

1 of 1 Guest Leaves Room Forever

OccCom = Unoccupied

Viconics Technologies Inc.

Door Close Door Open

Door Open

1 of 1 Guest Enters Room

Door Close

OccComm= LocalOcc

OccComm= Unocc

Guest Check-In

Cleaner Leaves

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

EFFECTIVE OCCUPANCY

Door Close

OccComm= LocalOcc

OccComm= Unocc

Guests Check-In

March 2015

Lua4RC Application

6

Hotel Lighting Scenario 2

VT8300/VT8600 CONFIGURATION 1. Navigate to ZigBee menu screen 2 (2/2) and ensure Door installed value shows Yes and Permit join is On to proceed with script configuration. Important: If Door installed value shows No, a Zigbee Door Contact must be binded. Refer to Zigbee Pairing Procedure and Lua

2/2 Zigbee network Door installed

Yes

Window status

Closed

Win. installed

Yes

Battery alarm

Off

Permit join

On

2. In Configuration menu screen 3 (3 /7), set duration (hrs) for Unocc. time to a value greater than 0 hrs.

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

3. In Configuration menu screen 4 (4 /7), set BO8 AuxOut to Aux No (normally open).

March 2015

Lua4RC Application

Hotel Lighting Scenario 2

7

4. In Zone menu screen 1 (1 /10), set Set function to Door, Paired to Yes and set Permit join to On.

1/10 Zone Set function to

Door

Status

Closed

Battery

Nrmal

Paired

Yes

IEEE address

0x0000

Permit join

On

5. In LUA menu screen 3 (3 /3), set Param. B (AV26) to a value greater than 0 hrs.

Param. A (AV25)

1

Param. B (AV26)

0

Param. C (AV27)

0

Param. D (AV28)

0

Param. E (AV29)

0

Param. F (AV30)

0

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

3/3 LUA

March 2015

8

Lua4RC Application

Hotel Lighting Scenario 2

FEEDBACK We hope that this application document, script example and associated information (the “information”) is valuable to you. Your use of this information, however, is at your sole risk. All information is provided “as -is”, without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party products or information potentially mentioned in the work are authored, recommended, supported or guaranteed by Viconics Technologies inc..

Viconics Technologies Inc. 028-6095-00

9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660 www.viconics.com

© 2015 Viconics Technologies. All rights reserved.

Viconics Technologies inc. shall not be liable for any damages you may sustain by using/installing/modifying this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages. Further, Viconics Technologies can not guarantee updates, sustaining or support for the information. If any kind of support is given in relation to this application note, it will be done “without prejudice” and with no implied warranty.

March 2015