SPECIAL APPLICATION
400-0384-001
14
15.
[RDLS]
This command displays the subroutine label of
one or all subroutine memory locations.
Command Format: [RDLSmCi]
m
= Subroutine (m = # from 1 to 99, * for all)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Subroutine 20 is labeled “RLY_1_ON”. Send the
command [RDS20] and receive the following
feedback:
RLY_1_ON
16.
[CLRS]
This command erases the subroutine contents
of one or all subroutine memory locations.
Erasing the subroutine contents does not affect
the subroutine label.
Command Format: [CLRSkCi]
k
= Subroutine (n = # from 1 to 99, * for all)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Subroutine 50 turns off all the relays and has
the label “RLYS_OFF”. Send the command
[RDS50] and the display will be as follows:
SUB50/RLYS_OFF/: WRRL*=0
Clear the contents of subroutine 50 by sending
the command [CLRS50]. After sending this
command, reading the contents of subroutine
50 will be as follows:
SUB50/RLYS_OFF/Subroutine Empty
17.
[CLRLS]
This command erases one or all subroutine
labels. Erasing the subroutine label does not
affect the contents of the subroutine.
k
= Subroutine (n = # from 1 to 99, * for all)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Subroutine 50 turns off all the relays and has
the label “RLYS_OFF”. Send the command
[RDS50] and the display will be as follows:
SUB50/RLYS_OFF/: WRRL*=0
Clear the label for subroutine 50 by sending the
command [CLRLS50]. After sending this
command, reading the contents of subroutine
50 will be as follows:
SUB50/NONE/: WRRL*=0
18.
[SUB]
This command executes the functions stored in
a subroutine.
Command Format: [SUBkCi]
k
= Subroutine (n = # from 1 to 99, * for all)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Subroutine 90 is programmed with the
command [MDON] enables the motion detector.
Send the command [SUB90], and the motion
detector will be enabled.
19.
[HELP]
This command displays a list of all RS-232
available commands.
Command Format: [HELPCi]
Ci
= Unit ID (i = # from 1 to 99)
Example:
Send the command [HELP] and a list of all
available commands, along with a brief
description, will be displayed.
20.
[SETTIME]
This command sets the time for the PE1005
internal clock. The time is saved and displayed
in 24-hour format.
Command Format: [SETTIMEhhmmssCi]
hh = time in hours (hh = 00 to 23)
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:
The current time is 07:30AM. Set the internal
clock to this time and then verify the time is set
by sending the following commands: