Begin Assignment At (Power Assign); Wrap Within Port Id (Power Assign) - AMX KEYPADBUILDER Manual

Keypad device design software
Table of Contents

Advertisement

Mio Modero DMS Application Operations
1. Under Function Code Action, select Clear.
2. Under Function Code Type, select Channel, or Address.
3. Click Assign.
It is good practice to clear the function codes before any Assign Codes operations. If you don't clear the
codes first, and any of the buttons in the group you are assigning already have codes assigned, they will
show up as used when Power Assign does its' checks. In some cases, this may be what you want to have
happen, but usually you'll want to clear them before assigning.
Assign Codes:
Next assign new function codes:
1. Under Function Code Action, select Assign.
2. Under Function Code Type, select Channel, or Address.
3. Click Assign.
To use take full advantage of Power Assign, you need to understand the nuances of some of the options
involved:

Begin Assignment At (Power Assign)

If you don't check the Begin Assignment At option, the assign operation begins at the first available
channel, just like the standard Auto Assign. When Begin Assignment At is selected you can specify the
starting value of the channels.
This is particularly useful for setting up things like numeric keypads, where you need the channels to
begin at a specific value, since you might be using offset math in your code to process the button pushes.

Wrap Within Port ID (Power Assign)

Since the keypads support more than one port, you're no longer limited to 256 channels and address
codes. However, things like SYSTEM_CALLS are based upon all the channels coming from a single
device. And if the channels are split across ports the feedback part of the System Call won't work.
Another thing that comes into play with being able to use multiple ports is that you may need to confine
certain ranges of channels to a single device to take advantage of the
DEFINE_MUTUALLY_EXCLUSIVE channel grouping in the code. Since MUTUALLY EXCLUSIVE
works on a particular port, ensure that the group of buttons is entirely within a single device. In either of
these cases, check the Don't Split option, which ensures that all channels assigned fall within a single
port code.
When Power Assign is run with this option enabled, one of two things can happen, depending upon the
setting of the Keep Checking option. If Keep Checking is not set, you get an error notice. If it is selected,
Power Assign keeps looking until it either finds a valid range to assign the channels to, or there simply
aren't enough free channels to perform the operation, in which case you get another error message.
The easiest way to understand Keep Checking is to look at it from the standpoint of what you want to do.
If it's absolutely essential that Power Assign use exactly the range of channels you have in mind (i.e. the
code is already written and it would be a fair amount of work to change it), turn off Keep Checking, and
turn on Start At. If the requested channels are not available (i.e. they've been used elsewhere), you get an
error message, telling you that Power Assign couldn't assign the channels. This means that the channels
in question have been used elsewhere. You can then use the channel map to verify which of the channels
in the range you wanted were in use.
102
Begin Assignment At (Power Assign)
Ensure Contiguous Code Assignment (Power Assign)
Wrap Within Port ID (Power Assign)
KeypadBuilder v2.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Keypadbuilder v2.1

Table of Contents