Configuration Commands
   

In this Topic Hide

Scene Configuration Commands

201 - Store Scene (Group)

202 - Store Scene (Channel)  

203 - Store As Scene (Group)

204 - Store As Scene (Channel)

205 - Reset Emergency Battery and Total Lamp Time (Group)

206 - Reset Emergency Battery and Total Lamp Time (Device)

Time and Location Configuration Commands

240 - Set Time and Location

241 - Set Time

242 - Set Longitude

243 - Set Latitude

244 - Set Time Zone

245 - Set Daylight Saving Time

 

Notes:

  • For information about configuration command formats, see Configuration Command Table.

  • Unless stated otherwise, configuration commands are not intended for daily use. This is to avoid continual rewriting of flash memory.

  • With regard to Store Scene commands, if you enter a negative value, the output level will be 0; if you enter a value greater than 100, the level will be 100.

  • When you send a command, if you have entered an invalid parameter or it has been sent to a device, router or cluster that does not exist, you will receive an error message describing what is wrong with the command. For more information, see Error/Diagnostic Messages.

Scene Configuration Commands

Note:

  • Scene configuration commands should only be sent to control gear (load) channels, otherwise the commands will be ignored.

  • With regard to group scene store commands, when channels in a group are not used in a scene, the Force flag can be used to override this, thus forcing the scene to use those channels. For more information about ?rh-glo_start ?>channel ‘ignores’ in scenes, see Scene Table.

  • With regard to channel scene store commands, when a channel is not used in a scene, the Force flag can be used to override this, thus forcing the scene to be stored. For more information about channel ‘ignores’ in scenes, see Scene Table.

201 - Store Scene (Group)

Set the scene level for channels in the specified group. If the 'Force' flag is clear, channels with 'ignore' already stored in the Scene Table are not affected.

Command

Command (201), Group (1..16383), Force Store (1=ON, 0=OFF) / Block (1..8) / Scene (1..16), Level (0..100)

ASCII Example

To store an output level of 75% as scene 5 in scene block 2, across group 17:

>V:1,C:201,G:17,O:1,B:2,S:5,L:75#

Raw Example

To store an output level of 75% as scene 5 in scene block 2, across group 17:

0x000100C9  0x00000011  0x00000000  0x10020005  0x00000000  0x00000000  0x0000004B  0x00000000  0x00000000  0x00000000

202 - Store Scene (Channel)  

Set the scene level for the channel.

Special values for the L Parameter

253: Last Level
254: Ignore

If the Force flag is clear and 'ignore' is already stored in the Scene Table for the channel, then the scene is not stored.

Command

Command (202), Cluster (1..253) / Router (1..254), Subnet (1..4) / Device (1..255), Force Store (1=ON, 0=OFF) / Block (1..8) / Scene (1..16), Level (0..100)

ASCII Example

To store an output level of 75% as scene 5 in scene block 2, at channel 2.2.1.1:

>V:1,C:202,@2.2.1.1,O:1,B:2,S:5,L:75#

Raw Example

To store an output level of 75% as scene 5 in scene block 2, at channel 2.2.1.1:

0x000100CA  0x00020002  0x00010001  0x10020005  0x00000000  0x00000000  0x0000004B  0x00000000  0x00000000  0x00000000

203 - Store As Scene (Group)

Stores the current levels of channels in the group into the specified block / scene. If the 'Force' flag is clear, channels with 'ignore' already stored in the Scene Table are not affected.

Command

Command (203), Group (1..16383), Force Store (1=ON, 0=OFF) / Block (1..8) / Scene (1..16)

ASCII Example

To store the current levels of all channels in group 17 as scene 5 in scene block 2:

>V:1,C:203,G:17,O:1,B:2,S:5#

Raw Example

To store the current levels of all channels in group 17 as scene 5 in scene block 2:

0x000100CB  0x00000011  0x00000000  0x10020005  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

204 - Store As Scene (Channel)

Stores the current level of the channel into the specified block / scene. If the Force flag is clear and 'ignore' is already stored in the Scene Table for the channel, then the scene is not stored.

Command

Command (204), Cluster (1..253) / Router (1..254), Subnet (1..4) / Device (1..255), Force Store (1=ON, 0=OFF) / Block (1..8) / Scene (1..16), Level (0..100)

ASCII Example

To store the current level of channel 2.2.1.1 as scene 5 in scene block 2:

>V:1,C:204,@2.2.1.1,O:1,B:2,S:5#

Raw Example

To store the current level of channel 2.2.1.1 as scene 5 in scene block 2:

0x000100CC  0x00020002  0x00010001  0x10020005  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

205 - Reset Emergency Battery and Total Lamp Time (Group)

Reset the Emergency Battery and Total Lamp Time across a group.

Note:

  • This command has no effect if sent to a group containing non-emergency devices.

Command

Command (205), Group (1..16383)

ASCII Example

To reset the Emergency Battery Time and Total Lamp time across group 56:

>V:1,C:205,G:56#

Raw Example

To reset the Emergency Battery Time and Total Lamp time at group 56:

0x000100CD  0x00000038  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

206 - Reset Emergency Battery and Total Lamp Time (Device)

Reset the Emergency Battery and Total Lamp Time at a device.

Note:

  • This command has no effect if sent to a non-emergency device.

Command

Command (206), Cluster (1..253) / Router (1..254), Subnet (1..4) / Device (1..255)

ASCII Example

To reset the Emergency Battery Time and Total Lamp time of an emergency lighting ballast at address 8.67.2.37:

>V:1,C:206,@8.67.2.37#

Raw Example

To reset the Emergency Battery Time and Total Lamp time of an emergency lighting ballast at address 8.67.2.37:

0x000100CE  0x00080043  0x00020025  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

Time and Location Configuration Commands

Notes:

  • Only Daylight Saving Time (DST), longitude/latitude and time zone changes cause a write to flash memory. Local time changes may be written as frequently as desired.

  • The time zone difference value is in seconds. For raw, use two’s complement for negative values.

  • For system time calculation, see Local System Time Word Format. For longitude and latitude calculation, see Longitude and Latitude Word Format.

240 - Set Time and Location

Allows the system time, longitude, latitude, time zone and Daylight Saving Time (DST) to be set.

Command

Command (240), Local Time (seconds since 00:00:00, 1st Jan 1970), Longitude (H ddd0mm’ss”), Latitude (H ddd0mm’ss”), Time Zone Difference (-12..12 hours, calculated in seconds), Daylight Saving Time (1=ON, 0=OFF)

ASCII Example

To set a time of 14:36:39 on 1st July 2009, at a location of longitude W 064038’21” and latitude N 51025’00”, in time zone +01:00, with DST applied:

>V:1,C:240,T:1245591399,E:-232701,N:185100,Z:3600,Y:1#

Raw Example

To set a time of 14:36:39 on 1st July 2009, at a location of longitude W 064038’21” and latitude N 51025’00”, in time zone +01:00, with DST applied:

0x000100F0  0x4A3E3767  0xfffC7303  0x0002D30C  0x00000E10  0x00000001  0x00000000  0x00000000  0x00000000  0x00000000

241 - Set Time

Allows the system time to be set.

Command

Command (241), Local System Time (seconds since 00:00:00, 1st Jan 1970)

ASCII Example

To set a time of 14:36:39 on 21st June 2009:

>V:1,C:241,T:1245591399#

Raw Example

To set a time of 14:36:39 on 21st June 2009:

0x000100F1  0x4A3E3767 0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

242 - Set Longitude

Allows the longitude to be set.

Command

Command (242), Longitude (H ddd0mm’ss”)

ASCII Example

To set a longitude W 064038’21”:

>V:1,C:242,E:-232701#

Raw Example

To set a longitude W 064038’21”:

0x000100F2  0x00000000  0xfffC7303  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

243 - Set Latitude

Allows the latitude to be set.

Command

Command (243), Latitude (H dd0mm’ss”)

ASCII Example

To set a latitude N 51025’00”:

>V:1,C:243,N:185100#

Raw Example

To set a latitude N 51025’00”:

0x000100F3  0x00000000  0x00000000  0x0002D30C  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

244 - Set Time Zone

Allows the time zone to be set. This is the local time subtracted from GMT time.

Command

Command (244), Time Zone Difference (-12..12 hours calculated in seconds)

ASCII Example

To set a time zone for New York:

>V:1,C:244,Z:18000#

Raw Example

To set a time zone for New York:

0x000100F4  0x00000000  0x00000000  0x00000000  0x00000E10  0x00000000  0x00000000  0x00000000  0x00000000  0x00000000

245 - Set Daylight Saving Time

Allows DST to be set.

Command

Command (245), DST (1=ON, 0=OFF)

ASCII Example

To apply DST:

>V:1,C:245,Y:1#

Raw Example

To apply DST:

0x000100F5  0x00000000  0x00000000  0x00000000  0x00000000  0x00000001  0x00000000  0x00000000  0x00000000  0x00000000

 

Related Topics