SPECIAL APPLICATION
400-0384-003 18
Example:
Associate Alarm #1 with subroutine 10, and set
Alarm #1 to trigger at 10:00AM every Tuesday,
by sending the following commands:
[ALRM1=SUB10]
[SET1ALRM51000003]
[ALRMON1]
Alarm #1 is now enabled and running. Every
Tuesday at 10:00AM the functions stored in
subroutine 10 will be executed.
ALARM #2 COMMANDS
The second programmable alarm for the PE1005
has five modes to choose from, but only one mode
may be active at a time. The following Alarm #2
modes allow the alarm to be executed at one of the
following rates:
Mode 1 =Every Minute
Mode 2 =Every Hour
Mode 3 =Every Day
Mode 4 =Every Month
Mode 5 =Every Week
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.
5. Enable the alarm.
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.
31. [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 …
32. [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]