25-Seven Program Delay Manager
Version 2.3 Manual April 2013 45
Enable RS-232 and set its protocols in the Web interface’s
CONFIGURATION
screen (page
35). You can wire a custom cable (page 54), or use a standard DB-25 to DB-9 adapter
and a null modem. You can use the RS-232 port either for control or to delay data. You
can’t set it up for both functions simultaneously.
Commands and queries can also be transmitted as IP packets over network port 5443, if
you enable this function on the Configuration screen.
•
Once port 5443 is enabled, it remains accessible to the entire network until
specifically closed. There is no further password checking. Use a firewall, or
keep your PDM on a dedicated (closed) network, for protection.
Serial language structure
PDM’s serial remote control language is designed to be easily implemented from any
terminal program, macros in most automation systems, or computer programming
language. Requests and responses are standard ASCII characters, based on plain Eng-
lish, using familiar PDM “front panel” designations whenever possible.
Requests,
or messages from the controller to PDM, consist of a number of words, fol-
lowed by a Line Feed character
1
<LF>
. Messages are case-sensitive.
Responses
are replies from PDM back to the controller. They consist of a single
Result
character, any appropriate
message,
and then
<LF>.
The Result character may be:
!
Indicates command has been received and acted upon
?
Indicates command isn’t understood, or can’t be acted upon
Output Events
can be sent by PDM whenever there’s a change in status, such as mem-
ory being filled or buttons being pressed. They’re provided so you can design custom
serial interfaces to other equipment. Use the
enable
command (page 47) to specify
which events generate a message.
Request syntax
Requests consist of a
command
(something for PDM to do), usually followed by
argu-
ments
(what it should act on), and then the <LF>.
Commands include:
down
Start the event described by <argument>
up
End the event described by <argument>
trigger
Momentary activation of <argument>, same as tapping a button
2
.
get
Returns status of <variable>
help
Returns hints about PDM’s serial language
1
ASCII
10
(decimal) or
OXOA
(hex). Note that Carriage Return (ASCII
13
) is ignored by the system.
2
trigger
<argument>
<LF>
works the same as sending “
down
<argument>
<LF>
up
<same
argu-
ment>
<LF>
”. But it sure is easier.
Содержание program delay manager
Страница 1: ......