SEARCH
TOOLBOX
LANGUAGES
MLLitetouch Plugin

MLLitetouch Plugin

From Tallus LLC Wiki

Jump to: navigation, search

Contents

About

MLLiteTouch v 3.0.2 and newer for LiteTouch 5000LC controller


Setup

Setup is easy, just run setup.exe. Restart MLServer.


Run MLServer and open the properties for MLLiteTouch in the plug-in list. MLLiteTouch needs to know the available loads in order to generate real-time load value variables. A load listing file can be generated from LiteWare. Goto File -> Export -> Export Loads in the menu bar, specify a file, and click OK to generate the file. Now, in the MLLiteTouch settings dialog browse to this file. Finally, select the desired serial port. That's it!


Commands

• MLServeCmd.MLLiteTouch|Set~<module>~<load>~<value>~<time (optional)> Sets the specified load on the specified module to the value

• MLServeCmd.MLLiteTouch|SetLoadsOn~<group> Turns on the specified load group

• MLServeCmd.MLLiteTouch|SetLoadsOff~<group> Turns off the specified load group

• MLServeCmd.MLLiteTouch|SetLoads~<group> Fades on the loads in the specified group to their preset levels

• MLServeCmd.MLLiteTouch|ToggleOn~<group> Toggles the specified load group on. If loads are in different states, all loads turned on

• MLServeCmd.MLLiteTouch|Toggle~<group> Synonomous with ToggleOn (for compatibity)

• MLServeCmd.MLLiteTouch|ToggleOff~<group> Toggles the specified load group on. If loads are in different states, all loads turned on

• MLServeCmd.MLLiteTouch|StartRamp~<group> Start ramping the specified load group

• MLServeCmd.MLLiteTouch|StopRamp~<group> Stop ramping the specified load group

• MLServeCmd.MLLiteTouch|OpenLoads~<group> Opens motion control loads in the specified group

• MLServeCmd.MLLiteTouch|CloseLoads~<group> Closes motion control loads in the specified group

• MLServeCmd.MLLiteTouch|StopLoads~<group> Stops the loads in motion in the specified group

• MLServeCmd.MLLiteTouch|PressSwitch~<station>~<button> Generates a switch press NOTE: buttons numbers are 1 based

• MLServeCmd.MLLiteTouch|ToggleSwitch~<station>~<button> Generates a switch press followed by a switch release

• MLServeCmd.MLLiteTouch|ReleaseSwitch~<station>~<button> Generates a switch release

• MLServeCmd.MLLiteTouch|Hold~<station>~<button> Generates a switch hold

• MLServeCmd.MLLiteTouch|PressHoldSwitch~<station>~<button> Generates a switch press followed by a hold event

• MLServeCmd.MLLiteTouch|SendSerial~<string> Sends an arbitrary string to the 5000LC

INCOMING MLServeCmd The light touch controller can send MLServeCmd's to MLServer. Any command beginning with "MLServeCmd" is passed directly to MLServer and executed.


Variables

MLLiteTouch automatically generates MLServer Variables for all loads specified in the imported .lod file. The variables are named:

MLLiteTouch_<load name>  e.g. MLLiteTouch_l101.

Version history

Version 3.0.3

- Move the initialization to StartUp.


Version 3.0.2

- Changed "MLLiteTouch|Set~16~3~25" to produce "R,DSMLV,16,4,0,25".

- Replaced the "~" by "," in the command resulting from "MLLiteTouch|SendSerial~<string>".

- Fixed an infinite loop which resulted in Module 1 being constantly polled for status.