background image

Appendix B 

Sorensen SLM-4 Chassis 

void pd_loc(void) 

    char ch; 
    outportb(ACE_INT_ENB_REG, 0); 

 

/* disable all 8250 interrupt         */ 

    outportb(ACE_MODEM_CTL_REG, 0);   

/* clear RTS,DTR to disable modem and 

*/ 
 

/* turn off OUT2 to disable the 

8250's*/ 
 

/* IRQ interrupt to system            

*/ 
}/*   Program terminated. */ 
 

C Example Program 

 
/* Link this program with pd_rs232.obj */ 
 
#include <dos.h> 
#include <stdio.h> 
#include <conio.h> 
#include <string.h> 
 
main() 

    int com; 
    int io_err= 0; 
    char rdbuf[1024]; 
    clrscr(); 
    printf("Input COM1/COM2 port is : "); 
    scanf("%d", &com); 
    if((io_err = pd_init(com)) == 0) 

 

/* Initial RS-232 interface */ 

    { 
 setstr(rdbuf,''); 
 pd_wrt("chan 

1",6); 

 delay(200); 
 pd_wrt("name?",5); 
 

if ((io_err = pd_rd(a,10)) == 0) 

 { 
 

    do 

 

    { 

/*  Set the channel 1, preset off, current sink 1.0 amps and load on commands to the load. */ 
  pd_wrt("chan 

1",6); 

  delay(200); 
  pd_wrt("pres 

off",8); 

  delay(200); 
  pd_wrt("curr:low 

0.0",12); 

  delay(200); 
  pd_wrt("curr 

high 

1.0",13; 

  delay(200); 
  pd_wrt("load 

on",7); 

  delay(200); 
  pd_wrt("meas:curr 

?",11); 

B-8 

M540069-01 Rev B 

Summary of Contents for SLM-4

Page 1: ...ucts 9250 Brown Deer Road San Diego CA 92121 USA 858 450 0085 Phone 858 458 0257 Fax www programmablepower com Smart choice for power M540069 01 Rev B www programmablepower com SLM 4 Electronic Load C...

Page 2: ......

Page 3: ...s reserved Exclusion for Documentation UNLESS SPECIFICALLY AGREED TO IN WRITING XANTREX TECHNOLOGY INC XANTREX a MAKES NO WARRANTY AS TO THE ACCURACY SUFFICIENCY OR SUITABILITY OF ANY TECHNICAL OR OTH...

Page 4: ...This page intentionally left blank ii...

Page 5: ...ent must be grounded properly for both personnel and equipment safety Always ensure that facility AC input power is de energized prior to connecting or disconnecting any cable In normal operation the...

Page 6: ...This page intentionally left blank iv...

Page 7: ...and Electromagnetic Compatibility Directive Requirements of the European Community Since the goal of the Low Voltage Directive is to ensure the safety of the equipment operator universal graphic symb...

Page 8: ...This page intentionally left blank vi M540069 01 Rev B...

Page 9: ...NSPECTION 2 1 2 1 1 Line Voltage 2 1 2 1 2 Grounding Requirements 2 2 2 1 3 Environmental Requirements 2 3 2 1 4 Rack Mount 2 3 2 1 5 Tilt Adjustment 2 3 2 1 6 Service or Repair 2 3 2 1 7 Accessories...

Page 10: ...ng Example Appendix C SLM series AC Load GPIB RS 232 Operating Flow Chart Appendix D SLM series DC Load GPIB RS 232 Operating Flow Chart Appendix E SLD series BPIB RS 232 Operating Flow Chart LIST OF...

Page 11: ...r 4 3 Table 4 2 GPIB RS 232 Setting Command Summary 4 4 Table 4 3 GPIB RS 232 Preset Query Command Summary with Applicable Module Types 4 4 Table 4 4 State Command Summary 4 5 Table 4 5 System Command...

Page 12: ...This page intentionally left blank x M540069 01 Rev B...

Page 13: ...Model Max current Max voltage Max power SLM 60 20 300 20 Arms 60 Vrms 300 W SLM 150 8 300 8 Arms 150 Vrms 300 W SLM 300 4 300 4 Arms 300 Vrms 300 W SLM 500 1 300 1Arms 300Vrms 500Vdc 300 W SLM 60 30 1...

Page 14: ...h arbitrary waveforms Built in GPIB RS232 interface which uses one GPIB address to control up to four electronic load modules with set load status and read back meter capabilities 1 3 SPECIFICATIONS S...

Page 15: ...SYSTEM BLOCK DIAGRAM The system block diagram is shown in Figure 1 1 There are five power supplies in the SLM 4 chassis one for the system controller and one for each of the four optically isolated c...

Page 16: ...Features Functions Specifications Sorensen SLM 4 Chassis This page intentionally left blank 1 4 M540069 01 Rev B...

Page 17: ...ve to obtain the correct cord Refer to Section 2 1 1 to check the line voltage selection and fuse type 2 1 1 Line Voltage The SLM 4 chassis and SL series electronic loads can operate with 100 115 200...

Page 18: ...e a small screwdriver to extract the fuse holder from under the AC socket Replace the fuse with the appropriate type as indicated in Table 1 2 These fuses are slow blow fuses 5 Reinstall fuse holder a...

Page 19: ...nfigured the following parts should be included in the shipment Three conductor 18 gauge power cord 1 ea SLM 4 electronic load chassis operation manual 1 ea Vsense cable s for each input Hook terminal...

Page 20: ...s to the SLM Series single input the DC load module analog programming input or to the external sync input of SLM Series AC load module The pin connections are defined as shown in Figure 2 4 CH1 CH1 C...

Page 21: ...he SLM Electronic load chassis as marked on the rear panel per Section 2 1 1 The power switch in the lower left corner of the chassis turns power On Off to the chassis and to all SL series electronic...

Page 22: ...Manual 3 3 1 STORE Procedure 1 Set the load status and load level for each load module within the chassis 2 For AC loads go to the next step in this procedure For DC load modules select the Memory Ba...

Page 23: ...states on the SLM chassis will be sent to all modules simultaneously If any key is pressed on a load module the state LED indicator turns off immediately to indicate that the module state no longer m...

Page 24: ...Memory Bank and State under test End Step Step 1 Exit Press EXIT Button Pass Fail Display GO Display NG YES Test sequence number nx NO YES NO PASS FAIL Press Exit Key GO NG 1 1 Test sequence number n...

Page 25: ...test step sequence can include up to 16 steps and can be terminated by pressing the EXIT key State 2 if fewer than 16 steps are required 3 4 2 TEST MODE To enter the TEST Mode of Sequence function pre...

Page 26: ...Operation Sorensen SLM 4 Chassis This page intentionally left blank 3 6 M540069 01 Rev B...

Page 27: ...rst followed by the channel dependent command Example Short ON of channel 1 of SLM series Electronic Load module the GPIB programming command is CHAN 1 SHOR ON The following GPIB commands with GLOB op...

Page 28: ...which is a channel specific command therefore for proper program execution CHAN should be sent first and then the channel dependent command For example Short ON of Channel 1 of SL series Electronic L...

Page 29: ...WITH EOI Table 4 1 GPIB Command Terminator A terminator informs GPIB that it has reached the end of statement Normally this is sent automatically by your GPIB programming statements In this manual the...

Page 30: ...NR2 NL PRESet CR A B SP NR2 NL PRESet CR HIGH LOW SP NR2 NL PRESet CV HIGH LOW SP NR2 NL PRESet CV SP NR2 NL Table 4 2 GPIB RS 232 Setting Command Summary Query Preset Numeric Command Model RETURN SL...

Page 31: ...Se NL 0 OFF 1 ON STATe RANGe SP 1 2 NL STATe RANGe NL 0 I 1 II STATe LEVEl SP HIG LOW AIB NL STATe LEVEl NL 0 LOW 1 HIGH STATe DYNamic SP ON OFF NL STATe DYNamic NL 0 OFF 1 ON STATe SYNCronize SP ON O...

Page 32: ...VA NL LIM CURRent HIGH LOW SP NR2 NL LIM CURRent HIGH LOW NL LIM POWer HIGH LOW SP NR2 NL LIM POWer HIGH LOW NL LIM VA HIGH LOW SP NR2 NL LIM VA HIGH LOW NL LIM VOLTage HIGH LOW SP NR2 NL LIM VOLTage...

Page 33: ...nic load module can be installed in one chassis This command is a channel independent command therefore this command should be programmed before an electronic load channel dependent command The load c...

Page 34: ...nt will be sent to the load module d Engineering unit for load current is Amps e Please refer to Appendices C D and E for proper programming procedure of SL series electronic load modules Example CC L...

Page 35: ...e load voltage data must include the decimal point otherwise this command will not execute The load voltage level can be programmed up to the sixth place after the decimal point b The HIGH level load...

Page 36: ...om power source Example GLOB LOAD OFF All load modules in the SLM chassis are at input OFF condition CHAN 3 LOAD ON Set the channel 3 load module to LOAD ON status this load module is ready to sink cu...

Page 37: ...de or LOW voltage level in CV mode at the active load channel LEVE 1 is Set HIGH current level in CC mode HIGH resistance level in CR mode or HIGH voltage level in CV mode at the active load channel P...

Page 38: ...load status and load current into the EEPROM memory in the electronic loads Example STORE 1 store the AC electronic load module s load status and load current into the memory 1 STORE 2 30 store the D...

Page 39: ...OFF ON NL Description This command is to set the power meter display This command must be used in conjunction with PRES OFF When setting to ON the top monitor will change from voltmeter to Watt meter...

Page 40: ...to set the current Crest Factor C F at CC MODE Peak Value Factor This command works only at CC MODE When BANK varies these 5 sets of C F will at the same time define different C F as shown in Table 4...

Page 41: ...Limit vale of threshold voltage to 200 0V CURRENT Limit Purpose To set the upper lower limit value of threshold current Command Syntax All Modules LIM CURR HIGH LOW SP NR2 NL Description This command...

Page 42: ...alue for PERIOD LOW and HIGH can be programmed up to the sixth place after the decimal point If the period of Tlow and Thigh setting is over the maximum specification at programmed range of load modul...

Page 43: ...s the FALL load current slew rate of load level change or dynamic load The FALL slew rate of SLM DC electronic load modules can be fully independent of the RISE slew rate The FALL load current slew ra...

Page 44: ...terminals If Vsense is set to On voltage is measured at the Vsense input On SLM seris DC loads Vsense is auto off or on If it is set to auto off the module will measure the Vsense input if the voltag...

Page 45: ...el and status of CH A and B is still independent Only the current meter shows the CH A CH B load current on Channel A s and B s current meter user can use the DUAL command setting to display load curr...

Page 46: ...stant Current mode of SLM series DC or AC electronic load module CURR return the presently programmed load current level in Constant Current mode of SLD series electronic load module RESISTANCE Level...

Page 47: ...ommand Command Syntax SLM DC Modules CP LOW HIGH NL Description CP LOW return the presently programmed low load power level in Constant Power mode of SLM DC electronic load module CP HIGH return the p...

Page 48: ...pose PRESet ON or OFF status query command Command Syntax All Modules PRES NL Description PRES returns the present preset status 0 indicates PRESet OFF and 1 indicates PRESet ON MODE Purpose CC CR CV...

Page 49: ...OTP OVP OCP Figure 4 2 Protection Status Register ERROR Status register Purpose ERRor status register query command Command Syntax All Modules ERR NL Description ERR returns the present error status...

Page 50: ...command bit 3 invalid operating This bit set to high by accepted invalid operating command Example Module SLM 60 60 300 MODE CR DYN ON DYNAMIC function only supports CC MODE VOLTAGE METER Purpose The...

Page 51: ...GLOB MEAS VOLT returns the present 4 1 2 digital voltage meter reading from channel 1 to channel 4 respectively The returned data format is shown in Table 4 2 the engineering unit is V Example GLOB M...

Page 52: ...enotes OFF 1 denotes ON WATT Meter ON OFF Purpose To read the setting condition of WATT Command Syntax SLM Modules WATT NL Description WATT Reads back the setting condition of WATT 0 denotes OFF 1 den...

Page 53: ...of upper lower limit value of threshold current Command Syntax All Modules LIM CURR HIGH LOW NL Description LIM CURR LOW Reads back the lower limit set value of threshold current unit is amps A POWER...

Page 54: ...and Command Syntax SLM DC SLD Modules PERI LOW HIGH NL Description PERI LOW returns the presently programmed low duration time in dynamic load mode PERI HIGH returns the presently programmed high dura...

Page 55: ...returns the presently SHORt status 0 indicates SHORt OFF and 1 indicates SHORt ON DYNAMIC ON OFF Purpose DYNamic ON or OFF status query command Command Syntax SLM DC SLD Modules DYN NL Description DY...

Page 56: ......

Page 57: ...CARD HEADER FILE main char ouster 20 rdbuf 15 spec 10 int i ch load Assign unique identifier to the device dev5 and store in variable load check for error ibfind error negative value returned if load...

Page 58: ...ion error Set the channel 1 preset off current sink 1 0 amps and load on commands to the load ibwrt load chan 1 pres off curr low 0 0 curr high 1 0 load on 51 ibwrt load meas curr 11 Get the load acti...

Page 59: ...0 REM Get the module load specification 195 REM 200 wrt NAME CALL ibwrt load wrt 210 rd space 20 CALL ibrd load rd 215 REM 220 REM Set the channel 1 preset off current sink 1 0 amps and load on comman...

Page 60: ...Appendix A Sorensen SLM 4 Chassis This page intentionally left blank A 4 M540069 01 Rev B...

Page 61: ...IA line status register int ACE_MODEM_STAT_REG ACIA modem status register int COM_INT_NUM ACIA communication port interrupt number int IRQ_MASK IRQ mask for PC IRQ flag void pd_loc void function of di...

Page 62: ...OB SHOR GLOB DYN GLOB RANG GLOB MODE CLER CHAN MEAS VOLT MEAS CURR CURR HIGH CURR LOW ERR RES HIGH RES LOW VOLT HIGH VOLT LOW NAME PERD HIGH PERD LOW FALL RISE LOAD LEV PRES SHOR DYN RANG MODE PROT RE...

Page 63: ...e inportb ACE_LINE_STAT_REG THRE 0 ch intbuf cnt delay 20 outportb ACE_DATA_REG ch timeout 0 for cnt 0 cnt count cnt ch intbuf cnt if ch do read_buf while rd_result 0 timeout 0 rd_result 0 for cnt 0 c...

Page 64: ..._REG ch 0x06 switch ch case 6 inportb ACE_DATA_REG read the data register to empty it break case 0 break case 2 break case 4 read character from data register ch1 inportb ACE_DATA_REG temp_index input...

Page 65: ..._DATA_REG 0x3f8 ACE_INT_ENB_REG 0x3f9 ACE_INT_IDENT_REG 0x3fa ACE_LINE_CTL_REG 0x3fb ACE_MODEM_CTL_REG 0x3fc ACE_LINE_STAT_REG 0x3fd ACE_MODEM_STAT_REG 0x3fe COM_INT_NUM 12 IRQ_MASK 0xef IRQ mask for...

Page 66: ...rdmcnt strncat tmpbuf chanbuf 1 pd_wrt tmpbuf 6 break case 2 pd_wrt chan 2 6 pd_wrt meas curr 10 pd_rd rdmbuf rdmcnt strncat tmpbuf chanbuf 1 pd_wrt tmpbuf 6 break case 3 pd_wrt chan 3 6 pd_wrt meas c...

Page 67: ...rncat tmpbuf chanbuf 1 pd_wrt tmpbuf 6 break case 4 pd_wrt chan 4 6 pd_wrt meas volt 10 pd_rd rdmbuf rdmcnt strncat tmpbuf chanbuf 1 pd_wrt tmpbuf 6 break else return OPER_ERR return result void pd_re...

Page 68: ...tdio h include conio h include string h main int com int io_err 0 char rdbuf 1024 clrscr printf Input COM1 COM2 port is scanf d com if io_err pd_init com 0 Initial RS 232 interface setstr rdbuf pd_wrt...

Page 69: ...4 Chassis Appendix B Get the load actially sink current from the load delay 200 pd_rd rdbuf 20 io_err 1 while io_err 0 else printf a printf chan 1 I O reading error n exit 1 pd_loc Go to local M540069...

Page 70: ...Appendix B Sorensen SLM 4 Chassis This page intentionally left blank B 10 M540069 01 Rev B...

Page 71: ...et FREQ NR2 SYNC ON OFF BANK m Set FREQ NR2 SYNC ON OFF BANK m HIGH or LOW LEVEL Set LEVE B CR A E CR B NR2 Set LEVE A CR B D CR A NR2 LOW HIGH HIGH or LOW LEVEL Set LEVE B CC A I CC B NR2 WAVE n Set...

Page 72: ...Appendix C Sorensen SLM 4 Chassis This page intentionally left blank C 2 M540069 01 Rev B...

Page 73: ...VE LOW CC HIGH D CC LOW NR2 HIGH or LOW LEVEL Set LEVE HIGH CC LOW G CC HIGH NR2 Set LEVE LOW CC HIGH H CC LOW NR2 Set LEVE HIGH CC LOW M CC HIGH NR2 Set LEVE LOW CC HIGH N CC LOW NR2 HIGH or LOW LEVE...

Page 74: ...Appendix D Sorensen SLM 4 Chassis This page intentionally left blank D 2 M540069 01 Rev B...

Page 75: ...CV MODE Set MODE CC Set MODE CV Set MODE CR STATIC or DYNAMIC Set DYN OFF CC NR2 DYNAMIC STATIC YES NO NO NO NO NO NO NO YES YES YES YES YES YES Set CHAN A Set CHAN B CHAN A or CHAN B Set DYN ON CC H...

Page 76: ...Xantrex is opened modified or disassembled in any way without Xantrex s consent or is used in combination with items articles or materials not authorized by Xantrex The Buyer may not assert any claim...

Page 77: ...This page intentionally left blank WA 2...

Reviews: