Moxa DA-682A-C7-DPP [19/36] Da 682a dpp windows software customizable sample code

Moxa DA-682A-C7-DPP [19/36] Da 682a dpp windows software customizable sample code
DA-682A-DPP Windows Software Customizable Sample Code
4-4
Relay Control
The DA-682A-DPP is provided with one programmable relay that integrators and system administrators can
customize for their notification needs. The source code is available on the software DVD under
\examples\Example\C++\WatchDog\ and the compiled executable relay.exe is available at
\examples\Release.
The Relay Control Walkthrough
You can follow the steps below to test the relay control script, or you can modify the control script to create
customized patterns that are associated with specific system events. Refer to Relay Control Code
for the
complete code.
1. Create the c:\programs\examples folder and copy the relay.exe file into that folder.
2. Run
relay.exe.
3. In the Relay Test Program menu, select 1 to set the status of the relay.
In the example below, the user has selected 1 (Set Relay value) and is setting the current status of the
relay. The value 0 indicates that the relay is currently in normal status as per the jumper setting. The value
1 shown next to the relay entry indicates that the relay is currently in inverse status.
The following table shows the relay status according to the jumper setting in the computer:
Jumper Setting NO NC
System Boot up Close Open
Set value 0 Open Close
Set value 1 Close Open

Содержание

Похожие устройства

Скачать