Mgswitch and mglight example applications – Echelon Mini FX/PL Examples User Manual

Page 18

Advertising
background image

10

Using the Mini FX/PL Example Applications

network variable updates between the evaluation boards. These steps are summarized

below. Further details are provided in the sections following this summary:
1. Start the Mini FX Application, and then load the example applications (MgDemo,

MgSwitch, MgLight, or MgKeyboard) you want to use into the evaluation boards, as
described in the previous section, Loading the Mini FX/PL Example Applications.

2. Push one of the push buttons labeled SW5 – SW8 on a MiniGizmo attached to an

evaluation board with the MgDemo application loaded, or push the button labeled
SW8 on a MiniGizmo attached to an evaluation board with the MgSwitch or MgLight

applications loaded. This starts a new connection. The buttons used to start the
connection are referred to as the Connect buttons, and the LEDs next to the Connect

buttons are referred to as the Connect lights.

The Connect light next to the Connect button that you pressed will start blinking.

The Connect lights on devices that can join the connection will also start blinking.

The MgKeyboard example application does not have a Connect button because it
automatically connects without waiting for the installer to push a button. You can

skip to step 5 if you are only connecting an MgKeyboard device.

3. Push one of the Connect buttons next to a blinking Connect light on any of the other

devices to join the connection. The device’s Connect light, as well as the Connect

light on the evaluation board used to initiate the connection in step 2, will both
illuminate without flashing, indicating they are ready to join the connection.
Repeat this step until you have added all the devices you want to the connection.

4. Push the Connect button that you used to initiate the connection in step 2 again.

This completes the connection.

5. You can now use the example applications.

Note: You can also download the Monitoring & Control Example Application from
the Echelon Web site and use it to monitor and control a 3150 EVB running the

MgDemo application. The Monitoring & Control Example Application is a C#
application that monitors ISI messages and uses the OpenLDV API to monitor and

control network variables.

MgSwitch and MgLight Example Applications

You can use the MgSwitch and MgLight example applications to demonstrate how simple
switch and lamp devices work on a L

ON

W

ORKS

network, where the switch devices are

used to activate or de-activate the lamp devices, or to set the lighting level for the lamp

devices. When you use these applications, the evaluation boards running the MgSwitch
application represent the switch devices. The evaluation boards running the MgLight

application represent the lamp devices, and will respond to output from the MgSwitch
devices.
To use the MgSwitch and MgLight applications, follow these steps:
1. Start the Mini FX Application, load MgSwitch into one or more of the evaluation

boards as described in the Loading the Mini FX/PL Example Applications section

earlier in this chapter, and then load MgLight into one or more evaluation boards.
You can optionally load MgDemo into a 3150 EVB and use it with MgSwitch or

MgLight.

2. Press the button labeled SW8 on a MiniGizmo attached to any of the evaluation

boards used in step 1 to start a new connection. It does not matter which evaluation
board you use. For these example applications, the button labeled SW8 is the

Advertising