Working With Function Codes - AMX TPDESIGN4 V2.5 Instruction Manual

Touch panel design program
Table of Contents

Advertisement

Working With Function Codes

In terms of designing buttons that interact with and control the various devices on the control
system, TPDesign4 uses a concept that is familiar to TPDesign3 users, but which has a new name in
TPD4: Function Codes. Function Codes were known as Channel Codes and Variable Text Codes in
TPDesign3. In TPDesign4, the term Function Codes refers to all three of the code types that can be
assigned to buttons:
As in TPDesign3, you can select whether to display the function codes associated with any button
in the design view window (select View > Display Function Codes).
Each function code is a two-part number separated by a colon:
In the example below, the button function code assignments all indicate port 1 and channel/level/
address 1.
FIG. 27 Button function code assignments
The easiest way to handle function codes is to create and finalize your touch panel
pages and buttons (with function codes) before generating the supporting Axcess or
NetLinx program code. That way, in case you have to change any aspect of the
project (i.e. add/remove controlled equipment, test strings, graphics, etc.), you can
update the function code assignments in TPDesign4, rather than having to re-write
your code.
TPDesign4 Touch Panel Design Program
Channel Codes: Displayed in the upper-left corner of the button, the channel codes
indicate the port number and the channel code associated with the button. The channel
code represents communication out of the panel to the master controller and are
responsible for button Presses, Releases and Feedback.
Address Codes: Displayed in the lower-right corner of the button, address codes in
TPDesign4 are similar to the Variable Text Codes in TPDesign3. The address code
represents communication from the master controller to the panel, causing the panel to do
something (i.e. change border, display a text string, etc.).
Level Codes: Displayed in the lower-right corner of the button, level codes represent bi-
directional communication between the panel and the master controller (i.e. the panel can
cause a change in a level setting, and a changed level setting generates feedback on the
panel).
Port Number:Channel/Address/Level Number (depending on which function code you are
looking at).
Working With Buttons
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents