28
Detail Programming Time Zones Continued
So One Allow Window can be used to cover the whole work week. Then we need a group of Deny
Windows to declare all the Holidays when we can't allow this worker to gain entry. So we
define perhaps 7 Holidays as deny Windows. Now.. how do we mix them together to create a
single specific zone that applies to this worker? You Guessed it! The Zone Lists!
In the special case of Zones-01 to Zones-24, the 9 elements are
NOT
date/time values.
Instead they are individual zones you have pre-defined in the allow and deny sections.
Since we have one Allow Window and 7 Deny Windows, we can put them all into a single time
zone of, for example, Zone-10. Thus, any person who is zoned for the value of 10 has all
those zones defined applied to their personal ability to enter a restricted area.
If you need more than 9 zones in a list then use one of them to link to another list. This
method allows you make extended lists. Just be careful when you do this as the program is
designed to detect the use of the same zone more than once in a list. For example, imagine
a zone-10 that references zone-10 within itself. The poor program could go nuts trying to
resolve this self repetitive definition, especially since there are no special limits to
how many lists can be linked together. For this reason one simple but very important rule
is applied:
No list can contain a reference to ANY zone more than once
. If this one rule
is violated then the program will default this zone to a denial status until you fix it.
Ok, by now you should realize this zoning definition method is as simple as you want it or
as complex as you may need it. You can define a set of holidays once and tie them together
in a single list. Then you can define several work shifts for several groups of people as
separate lists with just one mention of the holiday denial list in each. That's Powerful!
You may have noticed that an Allow Window can be restricted to behave like a Deny Window,
or vice a versa. Ok.. fair observation. The difference is that an allow window assumes
denial unless an allow window is open. The deny window assumes an allow unless one deny
window forbids it. In a mixed list of many allow windows and deny windows you only need
one allow to be true and no denys to be true to permit entry.
Another feature should be mentioned. That is Zones 22,23 and 24 can be processed to trip
internal program switches and events. For example, using a Macro Command, you could force
the unit to automatically open and close the gate at specific times, to say permit free
travel during normal working hours and access control only after hours, using zoning only.
Also, one more thing: "Time Zone-00". This value indicates
No Time Zoning
. So if the value
"00" is ever found in a linked list, the program stops time analysis and is regarded as an
Allow Function. Indirect zone "00" would give a person un-restricted access at all times.
To View the Time Zone
Database use command
*#7
.
*#7 #
Begins the viewing at zone 01.
*#7 98#
Begins the viewing at zone 98. Try this to see the DST settings for this year.
Use the "*" key to browse through next zones and the "#" key to exit this browsing.
To Set a Time Zone
using command
#4
:
#4 25*01*01*00*00*12*31*23*59*17#
Sets a no-restriction Allow Zone-25 as follows:
Sets Zone 25, using From 01/01-00:00, To 12/31-23:59, For days = 1-7, termination.
#4 01*25*26*27#
This command sets zone List-01 to include zones 25,26 and 27.
To Clear a Time Zone
using command
#4
: (Empty zones have no effect and are ignored)
#4 22#
This command clears the whole time zone-22 definitions.
Summary of Contents for Uni-2010
Page 38: ......