Aeroflex 8210A-2-5 Скачать руководство пользователя страница 33

Model 8210A-2-5 

 

IM-377 

Aeroflex / Weinschel 

33

 

7-14.  Switch Control  

SWITCH Function:

 

Set  switch value 

Syntax:

 

SWITCH  name  setting (specific form) or SWITCH  setting (non-specific form) 

Argument(s):

 

name 

 

string10  

switch name 

 

setting  

integer16  

desired switch setting  

Remarks: 

 

This function sets the outputs of  switch name to setting. This command may be 

used with both physical and virtual switch devices supporting the SwitchProtocol. The parameter 
name must have been previously assigned using either the ASSIGN or ASSIGN SWITCH command.  
The non-specific form of this command will set all switch devices found during the configuration 
process to the value setting. It may be used to initialize the system, or as an easy method of 
programming systems that contain a single switch.  Also, this form allows the value of atten to be 
specified as -1, which results in each device being programmed to it’s maximum attenuation value.  

Return Value:

   none  

Example(s):

  

SWITCH SW1 1 

 

SWITCH  SwTwo 8 SWITCH  0 

SWITCH? 

 

Function:

 

Read switch setting 

Syntax:

 

SWITCH?  name (specific form) or SWITCH? (non-specific form) 

Argument(s):  

name

  

string10  

switch name  

Remarks: In the specific form, this function reads the setting of  switch name. This command may be 
used with both physical and virtual switch devices supporting the SwitchProtocol. The parameter 
name must have been previously assigned using either the ASSIGN or ASSIGN SWITCH command. 
The non-specific form may be used in systems where there is only a single switch.  

Return Value:  

setting

  

integer16  

setting  

Example(s):  

SWITCH?  SW1 returns ’1’  

SWITCH? GETCAP  

Function:  

Reads the capability of  a switch  

Syntax: 

 

SWITCH? GETCAP  name  

Argument(s):

  

name

  

string10  

switch name  

Remarks: 

 

This function reads the capability information of switch name. This command may 

be used with both physical and virtual switch devices supporting the SwitchProtocol. The parameter 
name must have been previously assigned using either the ASSIGN or ASSIGN SWITCH command. 
The capability information includes the switch mask value of the device, and the operational mode. 

Return Value:

  

mask

  

integer16  

switch output mask 

 

mode 

integer  

operational mode (0=encoded, 1=decoded) 

Example(s):

  

SWITCH?  GETCAP  SW1 returns ’7, 1’  

Содержание 8210A-2-5

Страница 1: ...Operation Installation Manual SmartStep Programmable Attenuator Switch Controller Model 8210A 2 5 This documentation may not be reproduced in any form for any purpose unless authorized in writing by...

Страница 2: ...IONS 7 3 PHYSICAL DIMENSIONS 8 4 INSTALLATION 9 4 1 RACKMOUNTING 9 4 2 CONFIGURING THE 8210A 2 5 HARDWARE 9 5 SERIAL RS 232 RS 422 RS 488 OPERATION 10 5 1 SERIAL COMMUNICATIONS SETTINGS 10 11 5 2 SERI...

Страница 3: ...DS 37 38 7 19 DEVICE INTERFACE BUS CONTROL COMMANDS 38 7 20 BASE PROTOCOL COMMANDS 39 7 21 STEP ATTENUATOR PROTOCOL COMMANDS 40 41 7 22 SWITCH PROTOCOL COMMANDS 42 9 PROGRAMMING AND CONFIGURATION EXAM...

Страница 4: ...tStep Programmable Attenuator Switch Controller Figure 1 is designed to interface with Weinschel s line of SmartStep programmable attenuators and represents a new concept in device control application...

Страница 5: ...pping regulations damage claims must be collected by the consignee DO NOT return the equipment to Aeroflex Weinschel until a claim for damages has been established 1 5 RESHIPMENT Use the best packagin...

Страница 6: ...xt all of that procedure is considered an ESDS device handling procedure 1 9 ABBREVIATIONS AND ACRONYMS The following list contains abbreviations used throughout this manual Abbreviations and acronyms...

Страница 7: ...S CTS DTR GND Baud Rates 2400 9600 19200 and 38400 Data Bits 8 Handshaking None RTS CTS XON XOFF Parity None Odd Even Indicators Tx Transmit and Rx Receive RS 422 Bus 2 RS 485 Bus 3 Connector 9 pin ma...

Страница 8: ...Model 8210A 2 5 IM 377 Aeroflex Weinschel 8 3 PHYSICAL DIMENSIONS Note All dimensions are given in mm inches and are maximum unless specified...

Страница 9: ...troller to the Model 8210A 2 5 X s bus connector For specific connector details reference the following Model Bus Type Paragraph 8210A 2 5 2 RS 232 5 3 8210A 2 5 2 RS 422 485 5 4 c Using the interconn...

Страница 10: ...s including baud rate parity and handshaking Refer to Figure 4 for switch location To configure the serial communications parameters select the appropriate switch setting using the table located in be...

Страница 11: ...OFF User Select RXD Termination On Termination Off No Termination 3 OFF ON RI RTS Select 4 ON OFF Serial Mode On RS232 Off RS422 The data format includes a start bit eight data bits and one stop bit...

Страница 12: ...ta This signal should be connected to the external computer s CTS input signal so that when the receiver is ready the transmitter may send data When the unit is not ready for data it unasserts the RTS...

Страница 13: ...clarity the signal names and directions are relative to the 8210A 2 5 Pin Signal Name Description Direction 1 DCD unused 2 RxD Receive data input 3 TxD Transmit data output 4 DTR Signals DTE is on lin...

Страница 14: ...ed The RS422 port utilizes a 9 pin connector The pin out for the connector is show below For clarity the signal names and directions are relative to the8210A 2 5 The signals are electrically compatibl...

Страница 15: ...in or open collector in order to perform a wired AND function Data on the I2 C bus can be transferred at a rate up to 100 kbit s The number of device interfaces connected to the bus is dependent on th...

Страница 16: ...25 square post header 0 1 centers and is located on the front panel of the Model 8210A 2 5 and mates with AMP connector P N 746285 2 or equivalent Name Pin Description VIN 1 2 dc Supply Voltage 5 V GN...

Страница 17: ...s will extinguish unless a configuration discrepancy is encountered in which case they will remain illuminated As can be seen from the above discussion the assignment of addresses to devices during t...

Страница 18: ...change perhaps a larger attenuation range or a different step size these algorithms would have to change accordingly The 8210A 2 5 provides a solution to this dilemma with the ability to create and d...

Страница 19: ...imum of 16 output signals The Virtual Switch uses the Switch Protocol command set During the setup process the user assigns a name to the virtual switch which may be stored in the 8210A 2 5 s non vola...

Страница 20: ...an OPC command It indicates that the ITS 2000 has completed all pending operations The Status Reporting Registers may be used for serial communications with certain limitations The Status Byte Regist...

Страница 21: ...gle quote or double quote character in order to distinguish the string from a numeric data type Examples ATTEN1 ON 150T Integer Numeric Program Data This data type is used to represent integer binary...

Страница 22: ...mmands in the same program message the data resulting from each of the individual message units will be separated by an ASCII comma 2CH character 7 8 4 NOTATIONAL CONVENTION Brackets indicate optional...

Страница 23: ...n Value reg integer register Example s ESR returns the following 128 SRE Function Sets the Status Byte Enable Register Syntax SRE mask Argument s mask integer bitmask Remarks This function is used to...

Страница 24: ...of command completion by including the command as the last one in a series of commands Return Value 1 integer command completed Example s SAVE ASSIGN OPC returns a 1 when the SAVE ASSIGN command compl...

Страница 25: ...name Argument s name string10 device name Remarks This function is used to read the device model and serialno parameters associated with an assignment previously set using the ASSIGN command Return Va...

Страница 26: ...ains a count of the devices installed and for each the device name model id and address The name returned is the device name assigned via the ASSIGN command If the device does not have an assigned nam...

Страница 27: ...hecks for presence of a device Syntax ISPRESENT type name Argument s type optional string literal DEVICE ATTN or SWITCH name string10 device name physical or virtual Remarks This function is used to c...

Страница 28: ...sociated with name and for each the device name Return Value count integer count of device names devname string10 device name Example s ASSIGN ATTN Chan1 returns the following 2 AT1 AT2 COUNT ATTN Fun...

Страница 29: ...ument s name string10 attenuator or group name Remarks This function is used to set the reference level of the attenuator specified by name to the device s current setting This command may be used wit...

Страница 30: ...physical and virtual attenuation devices supporting the AttnProtocol The parameter name must have been previously assigned using either the ASSIGN or ASSIGN ATTN command Return Value atten real attenu...

Страница 31: ...r name This command may be used with both physical and virtual attenuation devices supporting the AttnProtocol The parameter name must have been previously assigned using either the ASSIGN or ASSIGN A...

Страница 32: ...and mode Return Value devname string10 device name mask integer16 output mask mode integer operational mode 0 Encoded 1Decoded Example s ASSIGN SWITCH Rfswitch returns the following SW1 7 1 LIST ASSIG...

Страница 33: ...ion Read switch setting Syntax SWITCH name specific form or SWITCH non specific form Argument s name string10 switch name Remarks In the specific form this function reads the setting of switch name Th...

Страница 34: ...t the assignment does not take effect until the next time device names are reassigned see REASSIGN Return Value none Example s GROUP Group1 AT1 AT2 AT3 AT4 AT5 GROUP Function reads a group assignment...

Страница 35: ...an internal command the macro replaces the internal command Macro expansion may be enabled disabled with the EMC command Return Value none Example s MACRO POWERON EMC 0 ATTN 1 EMC 1 MACRO Function Rea...

Страница 36: ...configuration or macros into non volatile memory Syntax SAVE ASSIGN Saves device assignments SAVE ASSIGN ATTN Saves virtual attenuator assignments SAVE ASSIGN SWITCH Saves virtual switch assignments S...

Страница 37: ...cal front panel keyboard enable disable Remarks This function can be used to enable disable the front panel keyboard functions for those systems incorporating a local keyboard This command is useful f...

Страница 38: ...ne termination character s used during RS232 operation By default the 8210A 2 5 uses the ASCII CR LF sequence 0x0D 0x0A when sending information The eos parameter can be used to specify a new terminat...

Страница 39: ...ng fields Protocol Rev char Module Version 7 bytes Manufacturer 8 bytes Module Name 8 bytes ID 32 bit integer Example s DEVICE GETID 4 returns B V1 00A Weinshel 150T 70 0x67000000 DEVICE GETCAP Functi...

Страница 40: ...the bit pattern specified Return Value none Example s DEVICE PROG 4 0xAA DEVICE PROG Function Reads the program word cell bit pattern of a device Syntax DEVICE PROG addr Argument s addr integer addres...

Страница 41: ...READ COUNTER addr cellno Argument s addr integer address relay byte relay 1 8 Remarks This function is used to read the setting of the device s relay switching counter which records the total number o...

Страница 42: ...y those outputs with a mask value of 1 will be effected Return Value none Example s DEVICE SETMASK 4 7 0x0F DEVICE RELAY Function Sets the specified output relay on off Syntax DEVICE RELAY addr relay...

Страница 43: ...ators Send ASSIGN AT1 3200T 1 101 ASSIGN AT2 3200T 1 102 b Save these names in the non volatile EEPROM memory Send SAVE ASSIGN c Optionally set the number of devices to expect during configuration and...

Страница 44: ...GN SAVE ASSIGN ATTN d Rerun the device assignment to associate the newly defined names with the attenuators Send REASSIGN To see the effect of the virtual attenuator query the attenuator s capability...

Страница 45: ...volatile EEPROM memory Send SAVE ASSIGN SAVE GROUP d Rerun the device assignment to associate the newly defined names with the attenuators Send REASSIGN The channels may now be programmed using the fo...

Страница 46: ...1 102 ASSIGN AT3 3200T 1 103 ASSIGN AT4 3200T 1 104 ASSIGN AT5 3201T 4 201 ASSIGN AT6 3201T 4 202 ASSIGN AT7 3201T 4 203 ASSIGN AT8 3201T 4 204 b Assign the four virtual names Send ASSIGN ATTN CH1 AT1...

Страница 47: ...r of the Relay Output Card PN 193 8015 is serial number 110 We will assign the name RLYBD to the Relay Card We will use three outputs from the Relay Card Relay Outputs 1 3 to control the switches whic...

Страница 48: ...1 4 bits 0 1 2 3 is 0000 1111 binary 0x0f Specify decode mode operation so that only one output asserts at a time Send ASSIGN SWITCH SW1 RLYBD 0x0f DECODE c Create the virtual switch for the RF switch...

Страница 49: ...as shown below Output SW1 SW2 SW3 1 0 0 0 2 0 1 0 3 1 0 0 4 1 0 1 To select an output you could send the individual programming commands to each of the switches for example to select output 4 you woul...

Страница 50: ...5 range from providing control of a single SmartStep Attenuator in a bench test lab environment using a PC and a terminal emulator to complex system applications where the 8210A 2 5 is employed to co...

Страница 51: ...RODUCTS Aeroflex Weinschel Inc warrants each product it manufactures to be free from defects in material and workmanship under normal use and service anywhere in the world Aeroflex Weinschel s only ob...

Страница 52: ......

Страница 53: ...DELETE DEVICE abbr DEV DRIVER ECHO EEPROM EMC ENAREPORT ENCODE EOS ERASE DECR DISPLAY FORMAT GETCAP GETID GPIB GROUP HEX IDN IDWAIT IN INCR INPORT IOMODE ISPRESENT ISKEYWORD LED LIST LOCKOUT MACRO MA...

Страница 54: ...PROGRAM HEADER QUERY PROGRAM HEADER PROGRAM HEADER SEPARATOR PROGRAM DATA SEPARATOR PROGRAM DATA DECIMAL NUMERIC PROGRAM DATA CHARACTER PROGRAM DATA 7 Buffer size limitations for block data not implem...

Страница 55: ...ion Record REVISION DATE DESCRIPTION APPLICABLE SERIAL NUMBERS A 9 03 Initial Issue All Units B 4 04 Company Name change to Aeroflex Weinschel All Units C 1 10 Corrected callout error on page 16 from...

Страница 56: ...onforms with the protection requirements of Council Directive 89 336 EEC and the Amending Directive 93 68 EEC relating to Electromagnetic Compatibility by the application of EN50081 1 1992 Generic Emi...

Отзывы: