SPECIAL APPLICATION
400-0384-001
12
7.
[RDRL]
This command is used to read the status of one
or all of the internal relays. A ‘1’ indicates the
relay is on or closed. A ‘0’ indicates the relay is
off or open. The internal relays have a
maximum current capacity of 1A and 100VDC.
Command Format: [RDRLnCi]
n
= Relay No. (1, 2, 3, 4 or * for all)
Ci
= Unit ID (i = # from 1 to 99)
Example 1:
The PE1005 has relay number one on (closed)
and two through four are off. Send the
command [RDRL*] to check the status of all
relays. The feedback will be as follows:
1000
Example 2:
Check the status of relay number one only by
sending the command [RDRL1]. The feedback
will be as follows:
1
8.
[WRRLx
1
x
2
x
3
x
4
]
This command is used to the turn the internal
relays on or off. A ‘1’ will close the relay, a ‘0’
will open a relay and an ‘X’ will leave the status
of the relay unchanged. The internal relays have
a maximum current capacity of 1A and 100VDC.
Command Format: [WRRLx
1
x
2
x
3
x
4
Ci]
x
1
= Relay #1
x
2
= Relay #2
x
3
= Relay #3
x
4
= Relay #4
x = 0 for open, or off
x = 1 for closed or on
x = X for no change
Ci
= Unit ID (i = # from 1 to 99)
Example:
Set relay 1 on, relay 4 off, and leave relays
2 and 3 unchanged. In order to do this, send the
command [WRRL1XX0].
9.
[WRRLk=x]
This command is used to set one or all internal
relays on or off. A ‘1’ will close the relay and a
‘0’ will open a relay. The internal relays have a
maximum current capacity of 1A and 100VDC.
Command Format: [WRRLk=xCi]
k
= Relay No. (1, 2, 3, 4 or * for all)
x
= Relay Setting (0 = open, 1 = closed)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Set only relay 1 on by sending the command
[WRRL1=1].
10.
[WRIN]
This command is used to assign a subroutine
number to be executed when one of the input
ports makes a high to low transition. In order to
create a high to low transition, connect the input
port to ground using a switch or other contact
closure device.
Command Format: [WRINn=SUBkCi]
n
= Input No. (1, 2, 3 or 4)
k
= Subroutine(k = # from 1 to 99)
Ci
= Unit ID (i = # from 1 to 99)
Example:
Assign subroutine 10 to be performed when port
one makes a high to low transition. In order to
do this, send the command [WRIN1=SUB10].
Now, when input port one is shorted to ground,
subroutine 10 will be executed.
11.
[RDIN]
This command is used to read the subroutine
settings for the input ports.
Command Format: [RDINnCi]
n
= Input No. (1, 2, 3, 4 or * for all)
Ci
= Unit ID (i = # from 1 to 99)