background image

Programming

18

TX-SK+ SoftKey Transmitter

AXCESS Keywords (Cont.)

RELEASE

The RELEASE keyword is used in the same way as PUSH, except the 
operation underneath a RELEASE statement will be executed if the cor-
responding button is released.

RELEASE_CHANNEL

RELEASE_CHANNEL stores the channel whose button was most 
recently released. 

This system variable is used in a program in the same manner as 
PUSH_CHANNEL.

Note

: PUSH_CHANNEL and RELEASE_CHANNEL cannot both have a 

non-zero value during the same pass through mainline. At least one of 
them will always be zero.

RIGHT_STRING

This keyword requires the same parameters as LEFT_STRING. How-
ever, RIGHT_STRING begins reading at the end of the string array for 
the specified amount of characters.

Example:

STR = RIGHT_STRING (PRESETS,2)

Assuming PRESETS still contains 'HELLO', replacing LEFT_STRING in 
the previous example with RIGHT_STRING will assign the string 'LLO' to 
STR. This keyword also will set the length value of the array receiving the 
result.

SEND_STRING

Sends a string to a specific Axcess device. In some cases, a sequence 
of strings can be interpreted as a command by the device. 

Syntax:

SEND_STRING device, 'string'

SET_LENGTH_STRING

Sets the length value of an array to a specified value. The length value of 
an array is used by several of the Axcess string operation keywords. 

Max string size = 64 characters.

Syntax:

SET_LENGTH_STRING (string array, number)

SET_PULSE_TIME

To set the length of time for PULSE, use the keyword 
SET_PULSE_TIME. 

Time is measured in tenths of seconds, and the default is one half-sec-
ond. The PULSE time remains the same value until it is changed in the 
program. Here is an example of SET_PULSE_TIME:

SET_PULSE_TIME(12)

This sets the current duration of PULSEs to 1.2 seconds. It recom-
mended that you return pulse time to the default setting of .5 seconds, as 
in the following example:

SET_PULSE_TIME(5)

TO

The TO keyword is used to activate a channel or variable for as long as 
the corresponding device-channel of its PUSH statement is activated.

When the device-channel referenced by the PUSH statement changes 
from off to on, the TO activates the device-channel or variable in the 
brackets following it. When the device-channel of its PUSH is released, 
the TO statement stops activating its device- channel or variable. For this 
reason, TO must be placed underneath a PUSH statement.

The TO keyword has several conditions:

• It must be used only below a PUSH statement.

• It cannot be used with the WAIT keyword. For detailed information, 

refer to Multiple Waits in the Waits and Timer Keywords section.

• It cannot be placed in the DEFINE_START section.

Summary of Contents for SoftKey TX-SK+

Page 1: ...instruction manual Transmitters TX SK SoftKey Transmitter...

Page 2: ...RMA is cancelled will be refused AMX is not responsible for products returned without a valid RMA number AMX Corporation is not liable for any damages caused by its products or for the failure of its...

Page 3: ...us 5 Contrast 5 Baud 5 Sleep timeout 5 Back light timeout 6 IR RF serial number 190 XXXX models only 6 IR serial number 194 XXX XXXX models only 6 RF serial number 194 XXX XXXX models only 6 Display c...

Page 4: ...ii TX SK SoftKey Transmitter Table of Contents Bitwise Operator Keywords 21 SoftKey Programming 22...

Page 5: ...o use menus that support a wide variety of wireless audiovisual equipment It includes 10 variable function SoftKey Pushbuttons TX SK wireless transmitter with serial number 194 XXX XXXX support 455 kH...

Page 6: ...with AMX format IR and RF codes using program control RS 232 Master Control Port programmable for bi directional RS 232 control commands using the RS 232 Master Control port Signal Types 38 kHz IR fre...

Page 7: ...maining menu pushbuttons can be programmed to display new menus transmit wireless commands or both Menu The MENU pushbutton opens the main menu BACK LIGHT The BACK LIGHT pushbutton toggles the back li...

Page 8: ...files for this feature are addressed as device 2 in TX SK transmitter RS 232 Control The TX SK s RS 232 Master Control port can be used for direct bi directional communication with an RS 232 controll...

Page 9: ...djacent to the appropriate baud rate FIG 5 to set the baud rate and port type as a master or RS 232 control port The current baud rate appears in the top left corner of the LCD Sleep timeout Press the...

Page 10: ...isables all IR or RF code transmissions IR serial number 194 XXX XXXX models only Press the IR pushbutton FIG 9 to set the IR frequency to 38 KHz 455 KHz or to off Off mode disables all IR transmissio...

Page 11: ...to ENABLED to upload or download AXCESS programs via a PC to AMX programming cable connection Set the port to DISABLED to transmit RS 232 control signals System information The System Information pag...

Page 12: ...pushbuttons simultaneously to open the SETUP page 2 Set DISPLAY CHANNELS to ON 3 Press the desired pushbutton and note the device and channel number that appears on the bottom line 4 Check AXCESS or...

Page 13: ...CESS or SKDesign programs to the TX SK The CC 232 DB 9 female connector to stereo mini plug cable connects directly to your PC s serial port and the TX SK The CC 232 DB 9 male connector to stereo mini...

Page 14: ...Pushbuttons and Menu Options 10 TX SK SoftKey Transmitter...

Page 15: ...turns to the statement directly following the CALL statement CANCEL_ALL_WAIT CANCEL_ALL_WAIT nullifies every WAIT currently in the list CANCEL_WAIT CANCEL_WAIT completely nullifies a WAIT removing it...

Page 16: ...program The process of defining them is very similar to defin ing devices Assigning a value to an identifier in this section locks that value to the identifier for the entire program making it possib...

Page 17: ...CardFrame These cards have device numbers 1 2 and 3 You also need to control a projection screen some drapes and lights Two relay cards one in slot 4 and one in slot 5 will handle these the first card...

Page 18: ...LY_EXCLUSIVE keyword The double period shortcut specifies a range of device channels to be defined as mutually exclusive For example DEFINE_MUTUALLY_EXCLUSIVE RELAY SCREEN_UP RELAY SCREEN_DOWN defines...

Page 19: ...d at 65 535 For example 10 20 65 525 DEFINE_VARIABLE TEMP Single variables BUFFER 1 Array variables INTEGER CAM_PRESET 1 Integers and variables When the system is turned off variables retain their val...

Page 20: ...e result STR ITOHEX 123 STR 7B STR ITOHEX CONST STR 1C8 STR ITOHEX VAR STR 315 Notice there are no dollar signs in the results This is because the dol lar sign indicates a numerical value expressed in...

Page 21: ...time remains the same value until it is changed in the program For example SET_PULSE_TIME 12 This sets the current duration of future PULSEs to 1 2 seconds It is always a good practice to return puls...

Page 22: ...an array to a specified value The length value of an array is used by several of the Axcess string operation keywords Max string size 64 characters Syntax SET_LENGTH_STRING string array number SET_PUL...

Page 23: ...sured in tenths of a second WHILE Axcess checks to see if the condition following it is true then either exe cutes statements within the WHILE statement or continues to the next statements in the code...

Page 24: ...en the opposite of a condition makes the expression true Example IF NOT X 2 If X 2 these statements are executed OR Typically used in IF statements to check for a true condition The logical opera tor...

Page 25: ...the byte is inverted that is each 1 bit becomes and vice versa The result of the operation can be tested with an IF statement or assigned to a variable Example X BNOT 1 X is equal to 155 BOR Performs...

Page 26: ...ING SOFTKEY 1B 1 THIS WILL PRINT AN INVERTED VIDEO BAR ON ROW 1 RETURN TO NORMAL VIDEO SEND_STRING SOFTKEY 1C 1 THIS WILL REMOVE THE INVERTED VIDEO BAR ON ROW 1 WRITE TO SPECIFIED PAGE SEND_STRING SOF...

Page 27: ...NS ON EACH LINE ROW YOU CAN HAVE EIGHT CHARACTERS OF TEXT NOTE BUTTONS ARE NUMBERED STARTING FROM THE TOP DOWN BUTTON NUMBER CORRESPONDING ROW 1 2 2 5 3 8 4 11 5 14 6 17 7 20 8 23 9 26 10 29 11 30 USU...

Page 28: ...A AUSTRALIA BELGIUM BRAZIL CANADA CHINA ENGLAND FRANCE GERMANY GREECE HONG KONG INDIA INDONESIA ITALY JAPAN LEBANON MALAYSIA MEXICO NETHERLANDS NEW ZEALAND PHILIPPINES PORTUGAL RUSSIA SINGAPORE SPAIN...

Reviews: