background image

Programming

17

TX-SK+ SoftKey Transmitter

AXCESS Keywords (Cont.)

OFF

The OFF keyword turns off a channel or variable.

If the channel or variable is already off, its status will remain unchanged. 
Here are two examples:

OFF [1,2]    (* Turns off channel 2 of device 1 *)

OFF [TEMP]   (* Sets the value of the variable     

                TEMP to 0 *)

ON

The ON keyword turns on a channel or variable. 

If the channel or variable is already on, its status will remain unchanged. 
Here are two examples:

ON [1,2]     (* Turns on channel 2 of device 1 *)

ON [TEMP]    (* Sets the value of the variable

                  TEMP to 1 *)

A variable is considered ON if it contains a non-zero number; in this 
case, the value is 1. If a variable contains the value Ø, it is considered 
OFF.

PULSE

The PULSE keyword turns on a channel or variable for a certain amount 
of time. Once the time elapses, the channel or variable is turned off.

As an example, refer back to the discussion on DEFINE_START, in the 
Defining Start section. The PULSE keyword was used to activate a light-
ing preset, a drapes change, and a screen change. The duration of this 
PULSE is one half-second, but it can be changed if necessary with the 
SET_PULSE_TIME keyword. The PULSE time is measured in tenths of 
seconds, and the Axcess default is one half-second. The PULSE 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 pulse time to the default setting of .5 
seconds, as shown in the following example:

SET_PULSE_TIME(5)

PUSH

The PUSH keyword is used to find out if a channel has had an input 
change from off to on, such as when a button is pressed. If the channel 
has been turned on, the corresponding PUSH statement is activated. 
The operation(s) following this PUSH statement is executed once after 
the channel is turned on.

PUSH statements must be followed by a device number and a particular 
channel, and both are enclosed in brackets. Variables can be used in 
their places, but this is done only in special circumstances. Following the 
PUSH statement is the operation to be executed when the PUSH occurs. 
If more than one event must happen, a compound statement must follow 
the PUSH. For example:

PUSH[device,channel]

{

                          (* Statement *)

}

Multiple PUSH statements can be specified to execute the same action. 
For example:

PUSH[TOUCH_PANEL,1] 

PUSH[RADIO,64]

{

                         (* Statement *)

}

PUSH_CHANNEL

PUSH_CHANNEL is the same as PUSH_DEVICE, except that the chan-
nel number that was most recently turned on is stored inside the vari-
able.

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.

Содержание SoftKey TX-SK+

Страница 1: ...instruction manual Transmitters TX SK SoftKey Transmitter...

Страница 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...

Страница 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...

Страница 4: ...ii TX SK SoftKey Transmitter Table of Contents Bitwise Operator Keywords 21 SoftKey Programming 22...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 14: ...Pushbuttons and Menu Options 10 TX SK SoftKey Transmitter...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: