Make sure the dll is registered. It is done by the installer, but just in case, it doesnt hurt to do it again by running the FusionCOM_Registration.cmd file.
Then in your MDX Configuration File, manually add something like this in your general area:
That above code, means that a command in RoadRunner called "RoadRunnerCommand" when received will trigger both of those votes to turn on Digital Output 0 and Digital Output 1.Code:<com status="enabled"> <commands> <command id="RoadRunnerCommand" minimum_delta_vote_time="100"> <do function="trigger output" functionTargetID="Digital Output 0" vote_opinion="on" vote_priority="medium"></do> <do function="trigger output" functionTargetID="Digital Output 1" vote_opinion="on" vote_priority="medium"></do> </command> </commands> </com>
Also commands in RoadRunner's skin files that relate to MDX, need to start with "fusion".
MDX Commands need to have "vote" as the second part, and then the id as the third part. So for instance, the button would be:
Code:B02,348,70,104,75,"fusion_vote_RoadRunnerCommand",""
Now for label displays in RoadRunner, it too must start with "fusion".
The second section is what type the item is. It can either be an Analogue Input, Digital Output, Digital Input, Numeric Variable, or Boolean Variable with the second part being "ai", "do", "di", "varnum", and "varbool" respectively.
The third section is what the index value is. It is as in the order they are laid out in the configuration file with 0 being at the top and N being the last one near the end of the file. Then there is an optional fourth section that specifies how many decimals (must be integer value).
So sample code:
First line displays the full value of the first Analogue Input defined in your Configuration File.Code:L03,260,10,150,30,255,255,255,18,"Arial Narrow:B","fusion_ai_0", "" L04,410,10,180,30,128,255,128,18,"Arial Narrow:B","fusion_ai_0_3", "" L05,260,40,150,30,255,255,255,18,"Arial Narrow:B","fusion_varbool_4", "" L06,410,40,180,30,128,255,128,18,"Arial Narrow:B","fusion_varnum_0", ""
Second line displays the value of the first Analogue Input defined in your Configuration file rounded to 3 decimal positions.
Third line displays the fifth (0,1,2,3,4 is the fifth), boolean variable as defined in your Configuration file.
Fourth Line displays the first numeric variable as defined in your Configuration file.
Also of course, you need to add this into your RoadRunner skin:
Code:/, Fusion Control Centre X,FusionCOM



LinkBack URL
About LinkBacks
Reply With Quote




Bookmarks