Sunrise/Sunset

Source graphics  The information below provides a FULL description of this microblock and all of its properties. What information you see and what you can do with it depends on your license and the application you are in.
 

Microblock family

Misc microblocks

Icon and symbol

  

What it does

A Sunrise/Sunset microblock calculates the time the sun will rise and set based on location and time zone information entered in the Snap application or on the Properties page.

The sunrise and sunset outputs produce today's sunrise and sunset times. The output values are in minutes since midnight. The daylight output turns on when the current time falls between sunrise and sunset and turns off when the current time is before sunrise or after sunset.

Click for details below

Source graphics

Properties

Source graphics TIPS

  • Alt+click any value in the i-Vu® or Field Assistant interface to view property details, including its editing privilege and expression (location path) for use on graphics.
  • You can right-click some properties in the Snap Property Editor and select Make editable or Make read-only to determine that property's functionality in your system.

Reference Name

Use the default reference name unless you want a more descriptive name for graphics or network links.

Limitations:

  • lower case only
  • limited to 40 characters
  • cannot begin with a number
  • must be unique within a control program

Editing Privilege

Preset - Each microblock property has an appropriate privilege or role assigned to it. You can use Global Modify in the i-Vu® interface to find out what the actual privilege is.

Source graphics CAUTION  If you change the Editing Privilege from Preset, the privilege you select will be used for all properties of this microblock, which is not always desirable.

Latitude/Longitude

Degrees/Minutes

Enter settings accurately to ensure that the correct sunrise and sunset times are calculated. See an atlas or your local weather station to determine this information for your area. Enter the longitude for a location in the Western Hemisphere (North or South America) as a negative number.

 

Property Page Text

Show Property Page Text

Check to show this microblock's value on the equipment's Properties page.

Property Page Text

You can edit the microblock description that appears on the Properties page. See "Editing Properties page text using special characters" and "Formatting a microblock property" in Snap Help.

Source graphics

Simulation

Define the value(s) the microblock will use when you simulate the control program.

NOTE The Latitude and Longitude settings on the General tab have no effect on simulation.