SPECIAL APPLICATION
400-0384-001
16
Mode 1 =
Every Second
Mode 2 =
Every Minute
Mode 3 =
Every Hour
Mode 4 =
Every Day
Mode 5 =
Every Month
Mode 6 =
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.
The alarm functions that follow are used to setup
the alarms and enable/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.
26.
[SET1ALRM1] – MODE 1 - Every Second
This command is used to set Alarm #1 to
Mode 1. Use caution with this alarm mode.
Since all activities will be interrupted every
second, issuing other commands will be difficult.
Command Format: [SET1ALRM1Ci]
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #1 with subroutine 10 and set
Alarm #1 by sending the following commands:
[ALRM1=SUB10]
[SET1ALRM1]
[ALRMON1]
Alarm #1 is now enabled and running. Every
second, the functions stored in subroutine 10
will be executed.
27.
[SET1ALRM2] – MODE 2 - Every Minute
This command is used to set Alarm #1 into
Mode 2.
Command Format: [SET1ALRM2ssCi]
ss = Time in seconds (ss = 00 to 59)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #1 with subroutine 10 and set
Alarm #1 to trigger 30 seconds into each minute
by sending the following commands:
[ALRM1=SUB10]
[SET1ALRM230]
[ALRMON1]
Alarm #1 is now enabled and running. Every
minute when the second count matches “30”,
the functions stored in subroutine 10 will be
executed. If the time is 10:00:00AM, the alarm
will trigger at the following times:
10:00:30, 10:01:30, 10:01:30 …
28.
[SET1ALRM3] – MODE 3 - Every Hour
This command is used to set Alarm #1 into
Mode 3.
Command Format: [SET1ALRM3mmssCi]
mm = Time in Minutes (mm = 00 to 59)
ss = Time in Seconds (ss = 00 to 59)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Associate Alarm #1 with subroutine 10 and set
Alarm #1 to trigger at the bottom of every hour
by sending the following commands:
[ALRM1=SUB10]
[SET1ALRM33000]
[ALRMON1]
Alarm #1 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:30:00AM, the alarm will trigger at the
following times:
10:30:00, 11:30:00, 12:30:00 …