7;00/&' 0LQL0/&' 7UDQVPLWWHU
,QVWUXFWLRQ 0DQXDO
7UDQVPLWWHUV
Ta b le o f C o n te n ts
In tro d u c tio n ............................................................................ 1
Ove rvie w
1
1
2
3
Fe a tu re s
Op e ra tio n
W irin g th e TX-MLC D
AXC ES S P ro g ra m m in g ........................................................... 5
Ove rvie w
5
6
6
8
P ro g ra m m in g Re s tric tio n s
P ro g ra m m in g Ba s ic s
S a m p le P ro g ra m
S p e c ific a tio n s ....................................................................... 1 5
Ove rvie w 1 5
Te c h n ic a l S u p p o rt ................................................................ 1 7
Ove rvie w
1 7
TX-MLCD Mini-LCD Transmitter
Table of Contents
i
ii
Table of Contents
TX-MLCD Mini-LCD Transmitter
In tro d u c tio n
O ve rvie w
The TX –MLCD (Figure 1) is a programmable Radio Frequency (RF) or
Infrared (IR) wireless transmitter. Text for TX–MLCD menu functions is
presented on a 2-line, 16 character, horizontal liquid crystal display (LCD).
All TX–MLCD functions are under software control. The TX–MLCD is
completely compatible with a subset of the AXCESS System programming
language described in the programming section of this User Guide. Figure 1
is an illustration of the TX–MLCD panel arrangement.
F ig u re 1
Red LED
Transmit
TX-MLCD panel
Horizontal LCD
Screen and
Source Dots
SOURCE
Six Function
Keys
RS–232 Port
(on side)
IBM
UMATIC
SLIDES
VHS
CASS
Twelve User
Defined Menu
Selection Keys
(Programmable)
MAC
LSR DS
LIGHTS
DUAL
AUX
VOLUME
V-SHOW
F e a tu re s
TX –MLCD features include:
· Twenty button matrix —configured as needed by the user.
· LCD—displays up two lines of 16 text characters each for the
programmed menu selection key.
· Transmit LED—indicates that an RF or an IR signal is being
transmitted by the TX–MLCD. The choice of RF or IR is selected
initial manufacture of the unit.
TX-MLCD Mini-LCD Transmitter
Introduction
1
· RS–232 port —used to program the TX–MLCD functions. The data
rate is fixed at 1200 baud (bps).
· Portable—the AMX TX–MLCD uses four AAA batteries for
completely portable operation.
O p e ra tio n
Once a program, like the example in the appendix, is loaded, your TX–
MLCD provides complete menu selection of up to 12 control menus with up
to 6 functions each. Menu selections allow you to control a wide range of
devices with RF or IR signals according to your needs.
· RF or IR selection— The operating mode is determined at the time the
equipment order is placed. RF or IR capability is factory installed in
the unit at the time of assembly.
· Turn the TX–MLCD on—Press any button to activate the menu
screen. The last selected menu will appear first. Press the desired
menu selection button for the menu you want.
· Time out—A power saving feature. If no function key activity occurs
for approximately 2 minutes, the screen will go dark. Press any key to
return to the last selected menu.
· Control Function Menus—Press one of the 12 menu selection keys to
activate a menu of six control functions.
Press one of the 6 circles to activate the corresponding function next to the
dots above and below the display. Figure 2 shows a sample TX-MLCD with
three of the twelve possible function menus.
F ig u re 2
Sample TX-MLCD menu
options
MI D <- DRPS-> CONF
LOW (LI GHTS)
AV
SOURCE
<<SRCH>>
(UMATI C)
SOURCE
PSE
REW
PLY
STP
ENT <- CRSR-> FWD
( MAC )
F1
REV
SOURCE
2
Introduction
TX-MLCD Mini-LCD Transmitter
W irin g th e TX-M LC D
Figure 3 shows how to connect the TX–MLCD RS–232 port to an AXCESS
RS–232 cable for programming.
Cable Wiring 9-Pin D to Stereo Plug
Pin 2 to Ring Terminal
F ig u re 3
Pin 3 to Tip Terminal
Pin 5 to Sleeve Terminal
RS-232 adapter cable wiring
diagram (AXCESS-to-TX-
MLCD)
9-Pin
D Male
(3)Tip
(2)Ring
(5)Sleeve
Length = 8 to 10 inches
2 TXD
3 RXD
Tip
2.5mm Stereo Plug
5 Ground
Ring
Sleeve
TX-MLCD Mini-LCD Transmitter
Introduction
3
4
Introduction
TX-MLCD Mini-LCD Transmitter
AXC E S S P ro g ra m m in g
O ve rvie w
You can use the AXCESS software to program all features of the TX–MLCD.
A working knowledge of the AXCESS programming language is needed
to thoroughly understand the operation of the TX–MLCD. Language
features include screen control, character position control, and
commands for implementing TX–MLCD functions. The following subset
of the AXCESS Language commands are supported for the TX–MLCD:
CALL
CANCEL_ALL_WAI T
CANCEL_WAI T
DEFI NE_CONSTANT
DEFI NE_DEVI CE
DEFI NE_PROGRAM
DEFI NE_START
DEFI NE_VARI ABLE
I F. . . ELSE
I TOA
OFF
ON
PUSH
PUSH_CHANNEL
RELEASE
SEND_STRI NG
TO
WAI T
al l mat hemat i cal oper at or s ( +, –, *, / )
al l l ogi cal oper at or s ( AND, OR, NOT, XOR)
al l bi t wi s e oper at or s ( BAND, BOR, BNOT, BXOR)
TX-MLCD Mini-LCD Transmitter
AXCESS Programming
5
P ro g ra m m in g R e s tric tio n s
AXCESS program restrictions include:
1 . DEFINE_LATCHING, DEFINE_MUTUALLY_EXCLUSIVE, and
DEFINE_TOGGLING are not supported. Similar functions are
accomplished with combinations of ON, OFF, and IF…ELSE.
2 . PULSE is not supported. A similar function is accomplished with
combinations of ON, WAIT, and OFF
3 . String support is limited:
·
·
·
No access to individual array elements
No string comparisons
Some string functions are not supported (e.g., LEFT_STRING, and so
on.)
·
Maximum string length is 36 characters.
4 . Concurrent WAITS—5 maximum.
5 . Concurrent TOs—5 maximum.
6 . Nesting of levels—3 maximum. With more than three, an internal
stack overflow may occur resulting in erratic, undefined behavior.
7 . Total memory size—4.5Kbytes. SOURCE–SEND will often need to be
turned OFF resulting in the inability to RETRIEVE a program from
the TX–MLCD. There may not be enough memory in the TX–MLCD
to include the program source code and the compiled (executable)
program.
P ro g ra m m in g B a s ic s
The following information is helpful when programming the TX–MLCD:
·
·
TX–MLCD is assigned device code number one. To use channel and
SEND_STRING commands for sending text to the LCD screen:
DEFI NE_DEVI CE
MLCD=1
Use device code number zero to return characters from the TX–
MLCD RS–232 port. Returning characters from TX–MLCD can be
useful for debugging.
6
AXCESS Programming
TX-MLCD Mini-LCD Transmitter
·
A PUSH occurs in the program every time a button (key) is pressed.
Figure 4 shows the button assignments.
1
·
·
6
·
·
4
·
·
16
Top Left =
F ig u re 4
·
·
·
Button assignments
·
·
·
= Bottom Right
5
10 15 20
·
Turning on channels 1 through 254 enables transmission (RF or IR) of
the respective radio code. The code example below transmits radio
code 128 when button 1 is pressed.
PUSH[ SK, 1]
TO[ SK, 128]
·
·
Use SEND_STRING to send characters to the LCD screen. Characters
will start at the current cursor position.
Special SEND_STRING escape sequences are included in the TX–
MLCD commands. When included within a SEND_STRING program
instruction, the following character combinations will be treated as
commands:
—" 2" moves the cursor to home (line one, column one)
—" 9" moves the cursor one position right
—" 10" moves the cursor one position down (to next line)
—" 12 " , clears the screen and moves the cursor to home (line one,
column one)
—" 13" moves the cursor to first of line (column one)
—" 17, <l i ne number >, <col umn number >" moves the cursor to the
specified line and column
·
When a button is pressed, the TX–MLCD unit powers-up and runs
through the DEFINE_START section. The DEFINE_START section is
the part of the program where the text for each of the screens is setup
and initialized. With the text already initialized, the main part
(DEFINE_PROGRAM) of the program is shorter and simpler
allowing you to flip from one screen to another with a
SEND_STRING command.
TX-MLCD Mini-LCD Transmitter
AXCESS Programming
7
S a m p le P ro g ra m
Figure 5 is a sample demo AXCESS software program for a TX-MLCD.
Refer to the AXCESS Language Programming Guide for complete
programming instructions.
PROGRAM_NAME=' TXMLCD 6 BUTTON DEMO PROGRAM, RSH 04- 29- 91'
F ig u re 5
( *
( *
DATE: 04/ 28/ 92
TI ME: 16: 53: 22
*)
Sample AXCESS software
program
THI S I S A GENERI C PROGRAM THAT CREATES 6 VARI ABLE FUNCTI ON
BUTTONS
BUTTONS DENOTED WI TH A * BELOW. THE REMAI NI NG THREE ROWS ARE
USED
FOR MENU SELECTI ONS.
BUTTON NUMBERI NG:
1* 6* 11* 16*
2*
3
7
8
12
13
14
15
17*
18
4
9
19
5
10
20
BUTTONS 7 AND 12 ARE NOT USED I N THI S PROGRAM.
FUNCTI ON BUTTONS GI VE FEEDBACK ' WI NK' , A DASHED LI NE, THAT
REPLACES
THE FUNCTI ON TEXT AND THEN RESTORES I T ON RELEASE OF THE BUTTON.
THE 12 MENU SELECTI ON BUTTONS TRANSMI T RADI O CODES 1- 12 AND
OFFSET
THE RADI O CODES THAT THE FUNCTI ON BUTTONS WI LL THEN TRANSMI T.
FOR EXAMPLE, I F MENU SELECTI ON 1 I S PRESSED THEN FUNCTI ONS 1- 6 WI LL
TRANSMI T RADI O CODES 32- 37 AND I F MENU SELECTI ON 2 I S PRESSED
THEN FUNCTI ONS 1- 6 WI LL TRANSMI T RADI O CODES 40- 45 AND SO ON.
*)
( ***********************************************************)
( *
DEVI CE NUMBER DEFI NI TI ONS GO BELOW
*)
( ***********************************************************)
DEFI NE_DEVI CE
MLCD = 1
( * TX MLCD I S ALWAYS DEVI CE 1 *)
( ***********************************************************)
( * CONSTANT DEFI NI TI ONS GO BELOW *)
( ***********************************************************)
DEFI NE_CONSTANT
( ***********************************************************)
( *
VARI ABLE DEFI NI TI ONS GO BELOW
*)
( ***********************************************************)
8
AXCESS Programming
TX-MLCD Mini-LCD Transmitter
DEFI NE_VARI ABLE
BA[ 4]
( * LCD VARI ABLE FORMAT *)
BB[ 4]
BC[ 2]
( * BA BC FI LL BD BF *)
BD[ 2]
( * BB
(
SOURCE ) BE *)
BE[ 4]
BF[ 4]
FI LL[ 4]
SOURCE[ 6]
BTEMP[ 4]
RC
( * FOR TEMPORARI LY SAVI NG BA, BB, BC, BD, BE, OR BF *)
( * RADI O CODE OFFSET AFTER MENU SELECTI ON *)
( ***********************************************************)
( * LATCHI NG DEFI NI TI ONS GO BELOW *)
( ***********************************************************)
DEFI NE_LATCHI NG
( ***********************************************************)
( *
DEFI NE CALLS GO BELOW
*)
( ***********************************************************)
DEFI NE_CALL ' LCD'
{
( * UPDATE LCD SCREEN *)
SEND_STRI NG MLCD, " $0C"
CURSOR HOME *)
( * CLEAR SCREEN AND MOVE
SEND_STRI NG MLCD, " BA, BC, FI LL, BD, BF"
( * WRI TE FI RST LI NE *)
SEND_STRI NG MLCD, " $11, 2, 1"
COLUMN 1 *)
( * MOVE CURSOR TO LI NE 2
SEND_STRI NG MLCD, " BB, ' ( ' , SOURCE, ' ) ' , BE" ( * WRI TE SECOND LI NE *)
}
( ***********************************************************)
( *
STARTUP CODE GOES BELOW
*)
***********************************************************
DEFI NE_START
( ***********************************************************)
( *
THE ACTUAL PROGRAM GOES BELOW
*)
( ***********************************************************)
DEFI NE_PROGRAM
PUSH[ MLCD, 3]
{
TO[ MLCD, 1] ( * MENU SELECTI ON 1 TRANSMI TS RC 1, DELETE LI NE I F
NOT NEEDED *)
BA='
BB='
'
'
BC='
'
FI LL='
'
BD='
'
BF='
ON'
SOURCE=' I BM
'
BE=' OFF'
CALL' LCD'
RC=32
( * OFFSET FOR RADI O CODES, FUNCTI ONS 1- 6 WI LL
TRANSMI T 32- 37 *)
TX-MLCD Mini-LCD Transmitter
AXCESS Programming
9
}
PUSH[ MLCD, 4]
TO[ MLCD, 2] ( * MENU SELECTI ON 2 TRANSMI TS RC 2 *)
BA=' ENT '
BB=' F1
BC=' <- '
FI LL=' CRSR'
BD=' - >'
BF=' FWD'
BE=' REV'
'
SOURCE=' MAC
'
CALL' LCD'
RC=40
( * FUNCTI ONS 1- 6 WI LL NOW TRANSMI T 40- 45 *)
}
PUSH[ MLCD, 5]
{
TO[ MLCD, 3]
BA=' #1
BB=' #5
'
'
BC=' #2'
BC=' <<'
BC=' <<'
BC=' 1- '
BC=' <<'
FI LL='
'
BD=' #3'
BD=' >>'
BD=' >>'
BD=' - 2'
BD=' >>'
BF='
#4'
SOURCE=' AUX
'
BE=' OFF'
CALL' LCD'
RC=48
}
PUSH[ MLCD, 8]
{
TO[ MLCD, 4]
BA=' PSE '
BB=' REW '
CALL' LCD'
RC=56
FI LL=' SRCH'
BF=' PLY'
BE=' STP'
SOURCE=' VHS
'
}
PUSH[ MLCD, 9]
{
TO[ MLCD, 5]
BA=' PSE '
BB=' REC '
CALL' LCD'
RC=64
FI LL='
'
BF=' PLY'
BE=' STP'
SOURCE=' CASS '
}
PUSH[ MLCD, 10]
{
TO[ MLCD, 6]
BA=' ON
'
FI LL=' PRST'
BF='
UP'
BB=' OFF '
CALL' LCD'
RC=72
SOURCE=' VOLUME'
BE=' DWN'
}
PUSH[ MLCD, 13]
{
TO[ MLCD, 7]
BA=' PSE '
BB=' REW '
CALL' LCD'
RC=80
FI LL=' SRCH'
BF=' PLY'
BE=' STP'
SOURCE=' UMATI C'
}
PUSH[ MLCD, 14]
{
10
AXCESS Programming
TX-MLCD Mini-LCD Transmitter
TO[ MLCD, 8]
BA=' PSE '
BB=' HOME'
CALL' LCD'
RC=88
BC=' <<'
BC=' <- '
BC=' <- '
BC=' R<'
BC=' <'
FI LL=' CHPT'
BD=' >>'
BD=' - >'
BD=' - >'
BD=' >F'
BD=' > '
BF=' PLY'
BE=' STP'
SOURCE=' LSR DS'
}
PUSH[ MLCD, 15]
{
TO[ MLCD, 9]
BA=' MI D '
BB=' LOW '
CALL' LCD'
RC=96
FI LL=' DRPS'
BF=' CONF'
SOURCE=' LI GHTS'
BE='
AV'
}
PUSH[ MLCD, 18]
{
TO[ MLCD, 10]
BA=' ON
'
FI LL=' FOCS'
BF=' FWD'
BE=' REV'
BB=' OFF '
CALL' LCD'
RC=104
SOURCE=' SLI DES'
}
PUSH[ MLCD, 19]
{
TO[ MLCD, 11]
BA=' FWD '
BB=' REV '
CALL' LCD'
RC=112
FI LL=' DUAL'
BF=' FWD'
BE=' REV'
SOURCE=' DUAL '
}
PUSH[ MLCD, 20]
{
TO[ MLCD, 12]
BA=' MENU'
BB=' CNTU'
CALL' LCD'
RC=120
FI LL=' - - '
BF='
BE='
^ '
v '
SOURCE=' V- SHOW'
}
( * FEEDBACK WI NK - - - - FOR FUNCTI ON KEYS *)
PUSH[ MLCD, 1] ( *BA*)
{
TO[ MLCD, RC+1]
BTEMP=BA
BA=' - - -
( * SAVE THE TEXT TEMPORARI LY *)
( * REPLACE TEXT WI TH - - - *)
'
CALL' LCD'
}
RELEASE[ MLCD, 1]
{
BA=BTEMP
CALL' LCD'
( * RESTORE THE TEXT *)
TX-MLCD Mini-LCD Transmitter
AXCESS Programming
11
PUSH[ MLCD, 2] ( *BB*)
{
TO[ MLCD, RC]
BTEMP=BB
BB=' - - -
'
CALL' LCD'
}
RELEASE[ MLCD, 2]
{
BB=BTEMP
CALL' LCD
}
PUSH[ MLCD, 6] ( *BC*)
{
TO[ MLCD, RC+2]
BTEMP=BC
BC=' - - '
CALL' LCD'
}
RELEASE[ MLCD, 6]
{
BC=BTEMP
CALL' LCD'
}
PUSH[ MLCD, 11] ( *BD*)
{
TO[ MLCD, RC+3]
BTEMP=BD
BD=' - - '
CALL' LCD'
}
RELEASE[ MLCD, 11]
{
BD=BTEMP
CALL' LCD'
}
PUSH[ MLCD, 16] ( *BF*)
{
TO[ MLCD, RC+4]
BTEMP=BF
BF=' - - - '
CALL' LCD'
}
RELEASE[ MLCD, 16]
{
BF=BTEMP
CALL' LCD'
}
12
AXCESS Programming
TX-MLCD Mini-LCD Transmitter
PUSH[ MLCD, 17] ( *BE*)
{
TO[ MLCD, RC+5]
BTEMP=BE
BE=' - - - '
CALL' LCD'
}
RELEASE[ MLCD, 17]
{
BE=BTEMP
CALL' LCD'
}
( ***********************************************************)
( *
( *
END OF PROGRAM
*)
*)
DO NOT PUT ANY CODE BELOW THI S COMMENT
( ***********************************************************)
TX-MLCD Mini-LCD Transmitter
AXCESS Programming
13
14
AXCESS Programming
TX-MLCD Mini-LCD Transmitter
S p e c ific a tio n s
O ve rvie w
Figure 6 shows the TX-MLCD, and Figure 6 lists the specifications.
F ig u re 6
TX-MLCD Mini-LCD
transmitter
D
SOURCE
IBM
UMATIC
SLIDES
VHS
CASS
MAC
LSR DS
LIGHTS
DUAL
AUX
VOLUME
V-SHOW
F ig u re 7
S p e c ific a tio n s
Specifications
Buttons
20 pushbuttons under Lexan faceplate
2-line, 16-character per line LCD readout
Low-frequency (38 kHz)
Display
IR transmission
Memory
25K
Includes
Four AAA, 1.5 V alkaline batteries
Molded black matte plastic
5.8" x 3.5" x 1.3" (14.6 cm x 8.9 cm x 3.2)
10.0 oz (283.5 g)
Enclosure
Dimensions
Weight
TX-MLCD Mini-LCD Transmitter
Specifications
15
16
Specifications
TX-MLCD Mini-LCD Transmitter
Te c h n ic a l S u p p o rt
O ve rvie w
Before you call AMX for assistance, check your AXlink, power, and cable
connections, and the integrity of your software operating system. Reload the
software to see if something in the program is causing the problem. If the problem is
not resolved, reload the program from a new copy of your master disk. If you still
have a service problem, call AMX at (800) 222-0193 or (972) 644-3048 for technical
assistance.
TX-MLCD Mini-LCD Transmitter
Technical Support
17
Document No. 034-004-1079 5/92 © 1996 AMX Corporation
11995 Fores tgate Drive
Dallas , Texas 75243
AMX reserves the right to alter specifications without notice at any time. AMX and
the AMX logo are registered trademarks of AMX Corporation. All other trademarks
contained in this document are the properties of their respective owners.
800/222-0193 972/644-3048
|