Xantrex SLM-4 Operating And Programming Manual

Manual is about: Electronic Load Chassis

Summary of SLM-4

  • Page 1

    Xantrex technology inc. Programmable products 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 chassis operating and programming manual.

  • Page 2

    Gpib/rs-232 programming sorensen slm-4 chassis command note return [system:] channel{sp}{1

  • Page 3

    About xantrex xantrex technology inc. Is a world-leading supplier of advanced power electronics and controls with products from small mobile units to utility-scale systems for wind, solar, batteries, fuel cells, microturbines, and backup power applications in both grid- connected and stand-alone sys...

  • Page 4

    This page intentionally left blank. Ii.

  • Page 5

    Important safety instructions before applying power to the system, verify that your product is configured properly for your particular application. Warning hazardous voltages may be present when covers are removed. Qualified personnel must use extreme caution when servicing this equipment. Circuit b...

  • Page 6

    This page intentionally left blank. Iv.

  • Page 7

    About this manual this manual has been written expressly for the sorensen sl series of electronic loads, which have been designed and certified to meet the low voltage and electromagnetic compatibility directive requirements of the european community. Since the goal of the low voltage directive is t...

  • Page 8

    This page intentionally left blank. Vi m540069-01 rev b.

  • Page 9

    Contents section 1 features, functions, and specifications ....1-1 1.1 introduction ...................................................................................................... 1-1 1.2 features and functions .....................................................................................

  • Page 10

    3.2.1 power-on status..................................................................................3-2 3.3 store / recall function .............................................................................3-2 3.3.1 store procedure: ................................................................

  • Page 11

    List of tables table 1–1 sl-series maximum ratings specifications................................................1-1 table 1–2 slm-4 chassis specifications .....................................................................1-2 table 4–1 gpib command terminator ........................................

  • Page 12

    This page intentionally left blank. X m540069-01 rev b.

  • Page 13

    Section 1 features, functions, and specifications 1.1 introduction the slm electronic load chassis is designed with open bays to easily receive up to four load modules, which slide into their respective bays from the rear of the chassis. The specification ratings for the sl-series plug-in modules ar...

  • Page 14

    Features, functions, specifications sorensen slm-4 chassis 1.2 features and functions the slm chassis provides high performance, easy operation and a cost-effective solution for power source testing. The features of the slm-4 electronic load chassis are: • plug-in design allows for easy replacement ...

  • Page 15

    Sorensen slm-4 chassis features, functions, specifications 1.5 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 channels. Figure 1–1 system block dia...

  • Page 16

    Features, functions, specifications sorensen slm-4 chassis this page intentionally left blank. 1-4 m540069-01 rev b.

  • Page 17

    Section 2 configuration and maintenance 2.1 inspection the slm-4 chassis was carefully inspected before shipment. If instrument damage has occurred during transport, please inform the xantrex sales and service office or representative per the warranty instructions of this manual. Slm-4 chassis was s...

  • Page 18

    Configuration sorensen slm-4 chassis figure 2–1 input power setting switch 3. Check the rating of the line fuse and replace it with the correct fuse if necessary. 4. The ac line fuse is located below the ac line receptacle (figure 2–2). With the power cord removed, use a small screwdriver to extract...

  • Page 19

    Sorensen slm-4 chassis configuration 2.1.3 environmental requirements • for indoor use only • installation category ii (over voltage) • pollution degree 2 • altitude up to 2000 meters (with power derating) • relative humidity 80% rh max • ambient operating temperature 0-40 c 2.1.4 rack mount the slm...

  • Page 20

    Configuration sorensen slm-4 chassis slm figure 2–3 slm-4 chassis rear panel 2.2.2 rs-232c connection the rs-232c connector (female) on the rear panel connects the slm-4 chassis to the computer's rs-232c port. 2.2.3 analog programming input the d-sub 9-pin connector on the rear panel connects the sl...

  • Page 21

    Section 3 operation 3.1 introduction the front panel of the slm-4 chassis is shown in figure 3–1. Figure 3–1 slm-4 chassis front panel 3.2 power connection before connecting ac power to the slm chassis, make sure the power source matches the power requirements of the slm electronic load chassis (as ...

  • Page 22

    Operation sorensen slm-4 chassis 3.2.1 power-on status local/manual operation displays: store/recall: all leds are off; bank led display shows 01; sl-series electronic load is in power on initial state (please refer to the appropriate sl-series electronic load operations manual for the startup state...

  • Page 23

    Sorensen slm-4 chassis operation 3.3.2 recall procedure: for slm ac series: press one of the memory state 1 through 5 keys; the appropriate led will be lit, and the stored states on the slm chassis will be sent to all modules simultaneously. If any key is pressed on a load module, the state led indi...

  • Page 24

    Operation sorensen slm-4 chassis 3.4 sequence function there are two modes in the sequence function: edit mode and test mode, the auto seq function can be initiated by pressing state 3 + state 4 keys simultaneously. To enter edit mode, press store; to enter the test mode, press start key. Please ref...

  • Page 25

    Sorensen slm-4 chassis operation 3.4.1 edit mode to enter the edit mode of the sequence function, press state3 + state4 keys simultaneously (state 3 and state 4 leds are on, indicating auto sequence function is now active). Use the bank up/down keys to select the sequence to be edited, then press th...

  • Page 26

    Operation sorensen slm-4 chassis this page intentionally left blank. 3-6 m540069-01 rev b.

  • Page 27

    Section 4 gpib/rs-232 programming operation 4.1 introduction the rear panel of the slm chassis is designed to connect with a pc (personal computer) or notebook pc through gpib or rs-232 interfaces. 4.2 gpib commands the following gpib setting commands are channel-dependent, except the "chan" command...

  • Page 28

    Gpib/rs-232 programming sorensen slm-4 chassis the connections for the rear panel rs-232 interface are shown below; figure 4–1a depicts the connector wire diagram, and figure 4–1b depicts the connections using a standard rs-232 cable. Rs-232c port on slm mainframe txd rxd rts cts . . . Inside the sl...

  • Page 29

    Sorensen slm-4 chassis gpib/rs-232 programming description of gpib programming command syntax. { } :the contents of the { } symbol must be used as a part or data of the gpib command, it can not be omitted. [ ] :the contents of the [ ] symbol indicates that the command is optional, depending on the t...

  • Page 33

    Sorensen slm-4 chassis gpib/rs-232 programming remarks: 1. D : 0 - 9 2. Glob : global (all channels active at same time) 3. Current engineering unit : a 4. Voltage engineering unit : v 5. Resistance engineering unit : Ω 6. Period engineering unit : ms 7. Slew-rate engineering unit : a/ μs note : the...

  • Page 35

    Sorensen slm-4 chassis gpib/rs-232 programming module will adjust the high level to be equal to the low level. If the value for the high level is input first and the low level value is input as higher than the programmed high level, the slm-series load module will adjust the low level to be equal to...

  • Page 38

    Gpib/rs-232 programming sorensen slm-4 chassis clear status register purpose: clear the prot and err status byte registers. Command syntax: all modules: cler{nl} description: cler ; clear the prot and err status byte register, the prot and err status byte register will indicate “0” after executing t...

  • Page 40

    Gpib/rs-232 programming sorensen slm-4 chassis example: bank 1, to set waveform bank 1. Bank 10, to set waveform bank 10. Waveform bank m=1 m=2 m=3 m=4 m=5 sine wave 0 √2 2.0 2.5 3.0 3.5 1 1.5 1.6 1.7 1.8 1.9 2 2.0 2.1 2.2 2.3 2.4 3 2.5 2.6 2.7 2.8 2.9 4 3.0 3.1 3.2 3.3 3.4 square wave 5 1.0 1.1 1.2...

  • Page 41

    Sorensen slm-4 chassis gpib/rs-232 programming 3. If the value designated exceeds the specification of the electronic load, the chassis will send out the full scale current value of the electronic load specification. 4. The frequency range is 40.0~70.0hz. 5. The engineering unit for frequency is hz....

  • Page 43

    Sorensen slm-4 chassis gpib/rs-232 programming description: the rise load current slew rate of load level change or dynamic load can be programmed by rise command. The rise slew rate of slm-series dc electronic load modules can be fully independent from the fall slew rate. The rise load current slew...

  • Page 45

    Sorensen slm-4 chassis gpib/rs-232 programming voltage and current meter go/ng check, so user can set the current's upper limit to max. And set the lower to min. If the current meter ng check is not required and vice versa. Note : when ch a ng is set to off, the front panel ng a led is disabled. Not...

  • Page 46

    Gpib/rs-232 programming sorensen slm-4 chassis 4.5.2 query commands channel purpose: the active channel query command. Command syntax: system: chan?{nl} description: chan? Return the active channel, “1-4” indicate the active channel is channel “1-4”. Current level purpose: the constant current mode'...

  • Page 49

    Sorensen slm-4 chassis gpib/rs-232 programming protection status register purpose: opp, otp, ovp, and ocp protection status query command. Command syntax: all modules: prot?{nl} description: prot? Returns the present protection status; the status byte register summarizes all of the protection status...

  • Page 50

    Gpib/rs-232 programming sorensen slm-4 chassis example: module slm-60-60-300 mode cc rang 1 curr:high 20.0 setting current 20.0 a actual setting current 3.071 a bit 0 will set to high bit 1:range changed this bit set to high by electronic module load setting command causing change range. Reset by cl...

  • Page 55

    Sorensen slm-4 chassis gpib/rs-232 programming short on/off purpose: short on or off status query command. Command syntax: slm dc, sld modules: shor?{nl} description: shor? Returns the presently short status, “0” indicates short off, and “1” indicates short on. Dynamic on/off purpose: dynamic on or ...

  • Page 57

    Appendix a gpib programming example example program in c /* link this program with appropriate *cib*.Obj. */ /* this application program is written in turbo c 2.0 for the ibm pc-at compatible. The national instruments cooperation (nic) model pc-2a board provides the interface between the pc-at and a...

  • Page 58

    Appendix a sorensen slm-4 chassis ibrd(load,spec,20); if (spec[3] == '9') printf(" slm series specification 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,"me...

  • Page 59

    Sorensen slm-4 chassis appendix a example program in basica load decl.Bas using basica merge command. 100 rem you must merge this code with decl.Bas 105 rem 110 rem assign a unique identifier to the device "dev5" and store it in variable load%. 125 rem 130 udname$ = "dev5" 140 call ibfind (udname$,l...

  • Page 60

    Appendix a sorensen slm-4 chassis this page intentionally left blank. A-4 m540069-01 rev b.

  • Page 61

    Appendix b rs-232 programming example c language interface for dos handlers " pd_rs232.C " #include #include #include #include #define comptr 44 /* command array pointer */ #define quelen 1024 /* size of seriel input */ #define success 0 /* return value variable for success */ #define oper_err -1 /*...

  • Page 62

    Appendix b sorensen slm-4 chassis #define pe 4 /* parity error */ #define fe 8 /* frame error */ #define bi 0x10 /* break interrupt */ #define thre 0x20 /* transmit holding reg. Empty */ /* slm series elec. Load command sets */ int pd_wrt(char *wrtbuf,int count) { static char *combuf[comptr] = {"cha...

  • Page 63

    Sorensen slm-4 chassis appendix b strupr(tempbuf); strupr(intbuf); cnt = 0; do { comerr = strncmp(tempbuf,combuf[cnt],t); cnt = cnt++; }while(( cnt != comptr) && (comerr != 0)); if ( comerr == 0) { result = success; for (cnt = 0;cnt { while(inportb(ace_line_stat_reg) & thre == 0); ch = intbuf[cnt]; ...

  • Page 64

    Appendix b sorensen slm-4 chassis queue[0] = '\0'; if (timeout == 1) { return(time_out); } return(success); } int read_buf() { char ch,ch1; int temp_index; unsigned long ticks; float sec1,sec2; rd_result = 0; ticks = biostime(0,0); sec1 = ticks/18.2; do { ticks = biostime(0,0); sec2 = ticks/18.2; if...

  • Page 65

    Sorensen slm-4 chassis appendix b break; } /* finally send the non-spacific */ }while ((rd_result == 0) && (timeout == 0)); } int pd_init(int pd_com) { if ((pd_com != 1) && (pd_com != 2)) return(oper_err); if (pd_com == 2) /* initial communication port 2 */ { ace_data_reg = 0x2f8; ace_int_enb_reg = ...

  • Page 66

    Appendix b sorensen slm-4 chassis } strupr(measbuf); cnt = 0; do { measerr = strncmp(measbuf,wrtbuf[cnt],6); cnt = cnt++; }while((cnt != 10) && (measerr != 0)); if(measerr == 0) { result = success; if (strncmp(measbuf,"curr", 4) == 0) { ch = measbuf[5]; switch(ch) { case '1': pd_wrt("chan 1",6); pd_...

  • Page 67

    Sorensen slm-4 chassis appendix b case '1': pd_wrt("chan 1",6); pd_wrt("meas:volt?",10); pd_rd(rdmbuf,rdmcnt); strncat(tmpbuf,chanbuf,1); pd_wrt(tmpbuf,6); break; case '2': pd_wrt("chan 2",6); pd_wrt("meas:volt?",10); pd_rd(rdmbuf,rdmcnt); strncat(tmpbuf,chanbuf,1); pd_wrt(tmpbuf,6); break; case '3'...

  • Page 68

    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 e...

  • Page 69

    Sorensen slm-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 !"); exit(1); } pd_loc(); /* go to local */ } } m540069-01 rev b b-9.

  • Page 70

    Appendix b sorensen slm-4 chassis this page intentionally left blank. B-10 m540069-01 rev b.

  • Page 72

    Appendix c sorensen slm-4 chassis this page intentionally left blank. C-2 m540069-01 rev b.

  • Page 73

    Appendix d slm-series dc load gpib/rs-232 operating flow chart the following flow chart shows the typical slm series chassis remote control and load current level and status setting procedures of each load module. Start channel 1? Channel 4? Channel 3? Channel 2? Set "chan 1" set "chan 4" set "chan ...

  • Page 74

    Appendix d sorensen slm-4 chassis this page intentionally left blank. D-2 m540069-01 rev b.

  • Page 75

    Appendix e sld-series gpib/rs-232 operating flow chart the following flow chart shows the typical slm-series chassis remote control and load current level and status setting procedures of each sld-series load module. Start channel 1? Channel 4? Channel 3? Channel 2? Set "chan 1" set "chan 4" set "ch...

  • Page 76

    Product family: slm-4 electronic load chassis warranty period: one (1) year warranty terms xantrex provides this written warranty covering the product stated above, and if the buyer discovers and notifies xantrex in writing of any defect in material or workmanship within the applicable warranty peri...

  • Page 77

    This page intentionally left blank. Wa-2.