SPECIAL APPLICATION
400-0384-001
15
[SETTIME073000] [RDTIME]
The display will be similar to the following:
TIME: 07:30:05
21.
[SETDAY]
This command is used to program the internal
clock with the day of the week.
Command Format: [SETDAYwCi]
w
=
day of the week (w = # from 1 to 7)
1 = Sunday
2 = Monday
3 = Tuesday
4 = Wednesday
5 = Thursday
6 = Friday
7 = Saturday
Ci
= Unit ID (i = # from 1 to 99)
Example:
Set the day to Monday and then read back the
day to verify the setting by sending the following
commands:
[SETDAY2] [RDDAY]
The feedback from the read day command will
be as follows:
DAY: Monday
22.
[SETDATE]
This command is used to program the internal
clock with the current date.
Command Format: [SETDATEmmddyyCi]
mm = Month (mm=01 to 12)
dd = Date (dd=01 to 31)
yy = Year (yy = 00 to 99)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Set the date to June 1, 2005 and then read back
the date for verification by sending the following
commands.
[SETDATE060105] [RDDATE]
The feedback will be as follows:
DATE: 06-01-05
23.
[RDTIME]
This command reads back the time from internal
clock.
Command Format: [RDTIMECi]
Ci
= Unit ID (i = # from 1 to 99)
Feedback Format: hh:mm:ss
Example:
The current time is 08:40PM. Read back the
time by sending the command [RDTIME] and
receiving the following feedback:
TIME: 20:40:00
24.
[RDDAY]
This command reads the current day of the
week from the internal clock.
Command Format: [RDDAYCi]
Ci
= Unit ID (i = # from 1 to 99)
Example:
The day is Monday. Read the day from the
internal clock by sending the command
[RDDAY] and receiving the following feedback:
DAY: Monday
25.
[RDDATE]
This command reads the date from the internal
clock.
Command Format: [RDDATECi]
Ci
= Unit ID (i = # from 1 to 99)
Example:
The date is June 13, 2005. Read back the
current date setting by sending the command
[RDDATE] and receive the following feedback:
DATE: 06-13-05
ALARM #1 COMMANDS
The
PE1005
has two programmable alarms, which
may be programmed to execute functions stored in
subroutines. The first alarm has six modes to
choose from, but only one mode may be active at a
time. The following Alarm #1 modes allow the
alarm to be executed at one of the following rates: