SPECIAL APPLICATION
400-0384-001
18
The following is required for the alarm to function:
1. Set the Time, Day and Date on the
PE1005
.
2. Program functions into a subroutine.
3. Associate the subroutine with an alarm.
4. Set the alarm number and mode.
The alarm functions that follow are used to setup
the alarms and enable and disable the alarms. The
examples used in the next commands reference
subroutine 10 and assume the time and date are
already set. Subroutine 10 is programmed to close
internal relay number one, wait a half-second and
then open the relay.
[WRS10=WRRL1=1,WAIT5, WRRL1=0;1]
This is an example only. These or other functions
may be programmed into the subroutine in order to
control external equipment, set indicator lights or
trigger external events as desired.
32.
[SET2ALRM1] – MODE 1 - Every Minute
This command is used to set Alarm #2 into
Mode 1.
Command Format: [SET2ALRM1Ci]
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #2 with subroutine 10 and set
Alarm #2 to trigger each minute at “00” by
sending the following commands:
[ALRM2=SUB10]
[SET2ALRM1]
[ALRMON2]
Alarm #2 is now enabled and running. Every
minute when the second count matches “00”,
the functions stored in subroutine 10 will be
executed. If the time is 09:59AM, the alarm will
trigger at the following times:
10:00:00, 10:01:00, 10:02:00 …
33.
[SET2ALRM2] – MODE 2 - Every Hour
This command is used to set Alarm #2 into
Mode 2.
Command Format: [SET2ALRM2mmCi]
mm = Time in Minutes (mm = 00 to 59)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #2 with subroutine 10 and set
Alarm #2 to trigger at the bottom of every hour
by sending the following commands:
[ALRM2=SUB10]
[SET2ALRM230]
[ALRMON2]
Alarm #2 is now enabled and running. Every
hour when the minute and second count
matches “30:00”, the functions stored in
subroutine 10 will be executed. If the time is
10:29:00AM, the alarm will trigger at the
following times:
10:30:00, 11:30:00, 12:30:00 …
34.
[SET2ALRM3] – MODE 3 - Once A Day
This command is used to set Alarm #2 into
Mode 3.
Command Format: [SET2ALRM3hhmmCi]
hh = Time in Hours (hh = 00 to 23)
mm = Time in Minutes (mm = 00 to 59)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #2 with subroutine 10 and set
Alarm #2 to trigger at 12 noon every day by
sending the following commands:
[ALRM2=SUB10]
[SET2ALRM31200]
[ALRMON2]
Alarm #2 is now enabled and running. Every
day at noon, the functions stored in subroutine
10 will be executed.