Faithtech FTG Series Programming Manual

Programmable switching
Table of Contents

Advertisement

Quick Links

Programmable DC Switching Power Supply
Programming Manual
( FTG Series )
©Copyright Faithtech
Version V2.02
2020-04

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FTG Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Faithtech FTG Series

  • Page 1 Programmable DC Switching Power Supply Programming Manual ( FTG Series ) ©Copyright Faithtech Version V2.02 2020-04...
  • Page 2 Faithtech Technology is not responsible for the errors that may be contained in this manual or the damage caused by the provision, execution and use of this manual.
  • Page 3: Table Of Contents

    Table of Contents 1. Communication Interface ...................... 1 1.1. Introduction ........................1 1.2. Configure communication interface ................1 Connect RS232 ........................ 2 Connect LAN ........................2 Connect GPIB ........................3 1.3. Switching protocol ......................3 1.4. Enter remote control mode .................... 3 1.5.
  • Page 4 CONFigure:APG:VOLTage ................... 17 CONFigure:INHibit ...................... 18 CONFigure:AUTO:LOAD ..................... 18 CONFigure:AUTO:OUTPut ..................18 3.3. OUTPut command ....................... 19 OUTPut[:STATe] ......................19 OUTPut:FUNCtion ....................... 19 OUTPut:PROTect:VOLTage ..................19 OUTPut:PROTect:CURRent ..................19 OUTPut:PROTect:POWer .................... 20 OUTPut:PROTect:CLEar ....................20 3.4. SOURce command ....................... 20 SOURce:VOLTage[:LEVel] ....................
  • Page 5 3.9. SYSTem command ....................... 27 SYSTem:ERRor? ......................27 SYSTem:LOCal ......................28 SYSTem:VERSion? ......................28 4. SCPI error information ......................29 4.1. Introduction ........................29 4.2. Check error information ..................... 29 4.3. Command errors ......................29 4.4. Execution errors ......................31 4.5.
  • Page 6: Communication Interface

    1. Communication Interface 1.1. Introduction Faithtech FTG series programmable DC switching power supply provides various remote communication interfaces such as RS232 port (standard), LAN (standard), GPIB (optional), etc.. You can connect to the power supply through a dedicated cable with the computer, the computer can control the source.
  • Page 7: Connect Rs232

    N.C. Connect LAN The FTG series power supply has an Ethernet communication interface, adopts UDP communication mode, and the default port number is 7000. Before starting communication, the user needs to set the IP address and subnet mask, and ensure that the address of the PC...
  • Page 8: Connect Gpib

    “Menu” button to enter the system menu to set the address. GPIB address is saved in nonvolatile memory. 1.3. Switching protocol FTG series support SCPI and Modbus-RTU protocol, select the correct protocol base on your requirements. ◎ Caution: Restart the power supply after you changed the protocol, so as to let the changes take effect.
  • Page 9: Others

    For instructions on related software operations, driver installation and communication operations, please refer to the user manual and the accompanying software instructions. For the latest information about the software and drivers, please log in to Faithtech's website http://www.faithtech.cn for inquiries.
  • Page 10: Scpi Status Registers

    Figure 2-1 Command Levels 2.2. Program syntax FTG series programmable DC power supply SCPI commands are inherited and expanded from IEEE488.2 standards. SCPI commands are constructed with keyword, seperator, paramter and terminator. Below is an example, CURRent:STATic:L1 10.0...
  • Page 11: Command Keyword

    FTG Series Programming Manual _________________________________________________________________  Square brackets ([]) indicate optional keywords or parameters. The braces are not sent with the command string.  Braces ({}) enclose parameters within a command string.  Triangle brackets (<>) indicate that you must substitute a value or a code for the enclosed parameter.
  • Page 12: Query Syntax

    FTG Series Programming Manual _________________________________________________________________ colon becomes the root specifier, it tells the command parser that this is the root or the top node of the command tree. Space Used for seperating command and parameter. Semicolon “;” A semicolon (;) is used to separate two commands within the same subsystem, and can also minimize typing.
  • Page 13: Paramter Format

    FTG Series Programming Manual _________________________________________________________________ reset the current SCPI command path to the root level. 2.3. Paramter Format Table 2- 1 Parameter types Symbol Explanation Data Example <NR1> Integer value <NR2> Float value 123., 12.3, 0.12, 1.23E4 <NRf> Could be NR1 or NR2。...
  • Page 14: Channel Status Register Group

    FTG Series Programming Manual _________________________________________________________________ Figure 2- 2 Status system of FTG power supply Channel Status Register Group The Channel Status Register group reflects the real-time status and events of the power supply, including the Channel Condition register, PTR filter register, NTR filter register, Channel Event register, and Channel Event Enable register.
  • Page 15: Standard Event Status Register Group

    FTG Series Programming Manual _________________________________________________________________ The channel event register records the status change event of the power supply, and the meaning of each binary bit corresponds to the bit of the channel condition register. The channel event register can be cleared by the related query command or "*CLS" command.
  • Page 16: Command Version Information

    FTG Series Programming Manual _________________________________________________________________ Table 2- 4 Status Byte Register Bits Name CSUM CSUM The summary bit for the Channel Status Register group MAV (Message Available) This is set when there is data in the Output Queue ESB The summary bit for the Standard Event Status Register group...
  • Page 17: Scpi Command Description

    FTG Series Programming Manual _________________________________________________________________ 3. SCPI Command Description 3.1. IEEE488.2 common command reference This section summarizes the mandatory subset of IEEE 488.2 commands required for any SCPI compliant instrument. Common Description command *CLS Clears all event registers, besides status byte register and error queue *ESE {<value>}...
  • Page 18: Ese

    FTG Series Programming Manual _________________________________________________________________ Query syntax: None *ESE This command sets the Standard Event Enable register bits in the PSU. A 1 in the bit position enables the corresponding event. All of the enabled events of the Standard Event Enable Register are logically ORed sets the Event Summary Bit (ESB) of the Status Byte Register.
  • Page 19: Psc

    FTG Series Programming Manual _________________________________________________________________ Command syntax: *OPC Parameter: None Query syntax: *OPC? Returned parameter: <NR1> Related commands: *TRG *WAI *PSC It determines to save or not for the Service Request Enable Register and Standard Event Enable Register at the moment when PSU is powered on.
  • Page 20: Stb

    FTG Series Programming Manual _________________________________________________________________ Returned parameter: <NR1> Related commands: *ESE *ESR *PSC *STB? Query Status Byte register. The Status Byte Register bits are cleared when it is read. Command syntax: *STB? Parameter: None Returned parameter: <NR1> Related commands: *CLS *ESE *ESR *SAV This command stores the current instrument state in the specified storage location.
  • Page 21: Tst

    FTG Series Programming Manual _________________________________________________________________ Usage example: *RCL 3 Query syntax: None Related commands: *SAV ◎ Caution: *RCL command takes an excution time of 500ms, do not operate the instrument while implementing this command. *TST? Self-Test Query. The self-test query causes an internal self-test, and returns whether or not the PSU completed the self-test without detected errors.
  • Page 22: Configure Command

    FTG Series Programming Manual _________________________________________________________________ 3.2. CONFigure command CONFigure:FOLD:BACK Set foldback protection mode, when power supply switches output mode between CC and CV, the output will be turned off. Command syntax: CONFigure:FOLD:BACK <NR1> Parameter: 0 | 1 | 2 | OFF | CV2CC | CC2CV...
  • Page 23: Configure:inhibit

    FTG Series Programming Manual _________________________________________________________________ Unit: None Example: CONF:APG:VOLT 1 Query syntax: CONFigure:APG:VOLTage? Returned parameter: <NR1> CONFigure:INHibit Set external signal control behavior for PSU output. Command syntax: CONFigure:INHibit <NR1> Parameter: 0 | 1 | 2 | TRIGGER | TOGGLE | HOLD...
  • Page 24: Output Command

    FTG Series Programming Manual _________________________________________________________________ 3.3. OUTPut command OUTPut[:STATe] Turn on/off output, also used for turn on/off test functin output. Command syntax: OUTPut[:STATe] <bool> Parameter: 0 | 1 | OFF | ON Example: OUTP ON Query syntax: OUTPut? Returned parameter: <NR1>...
  • Page 25: Output:protect:power

    FTG Series Programming Manual _________________________________________________________________ Example: OUTP:PROT:CURR 10 Query syntax: OUTPut:PROTect:CURRent? Returned parameter: <NRf>[Unit=A] OUTPut:PROTect:POWer Set power supply overpower protection threshold. Command syntax: OUTPut:PROTect:POWer <NRf> Parameter: MIN~MAX Unit: W (Watt) Example: OUTP:PROT:POW 1000.0 Query syntax: OUTPut:PROTect:POWer? Returned parameter: <NRf>[Unit=W] OUTPut:PROTect:CLEar Clear the protection state or fault of the power supply.
  • Page 26: Source:voltage:limit:low

    FTG Series Programming Manual _________________________________________________________________ Command syntax: SOURce:VOLTage:LIMit:HIGH <NRf> Parameter: MIN~MAX Unit: V (Volt) Example: SOUR:VOLT:LIM:HIGH 80.0 Query syntax: SOURce:VOLTage:LIMit:HIGH? Returned parameter: <NRf>[Unit=V] SOURce:VOLTage:LIMit:LOW Set static output voltage lower limit, in order to protect the DUT. Command syntax: SOURce:VOLTage:LIMit:LOW <NRf>...
  • Page 27: Source:current:limit:low

    FTG Series Programming Manual _________________________________________________________________ SOURce:CURRent:LIMit:LOW Set static output current lower limit, to protect the DUT. Command syntax: SOURce:CURRent:LIMit:LOW <NRf> Parameter: MIN~MAX Unit: A (Ampere) Example: SOUR:CURR:LIM:LOW 1.5 Query syntax: SOURce:CURRent:LIMit:LOW? Returned parameter: <NRf>[Unit=A] 3.5. SEQuence command SEQuence:STATus Query sequence running status, return sequence cycle times and current step number.
  • Page 28: Sequence:edit:count

    FTG Series Programming Manual _________________________________________________________________ Returned parameter: <NR1> SEQuence:EDIT:COUNt Set file length for the sequence file being edited. Command syntax: SEQuence:EDIT:COUNt <NR1> Parameter: 1~50 Example: SEQ:EDIT:COUN 10 Query syntax: SEQuence:EDIT:COUNt? Returned parameter: <NR1> SEQuence:EDIT:CYCLe Set cycle times for the sequence being edited. Set to 0 means infinit loop.
  • Page 29: Sequence:edit:step

    FTG Series Programming Manual _________________________________________________________________ SEQuence:EDIT:STEP Set the step number for the present step being edited. Command syntax: SEQuence:EDIT:STEP <NR1> Parameter: 1~100 Example: SEQ:EDIT:STEP 1 Query syntax: SEQuence:EDIT:STEP? Returned parameter: <NR1> SEQuence:EDIT:VOLTage Set output voltage for present step in sequence file.
  • Page 30: Cp Command

    FTG Series Programming Manual _________________________________________________________________ Returned parameter: <NRf>[Unit=s] 3.6. CP command CP:VOLTage Set maximum output voltage in CP output mode. Command syntax: CP:VOLTage <NRf> Parameter: MIN~MAX Unit: V (Volt) Example: CP:VOLT 100.0 Query syntax: CP:VOLTage? Returned parameter: <NRf>[Unit=V] CP:CURRent Set maximum output current in CP output mode.
  • Page 31: Measure Command

    FTG Series Programming Manual _________________________________________________________________ Command syntax: CP:RESPonse <NR1> Parameter: 1~100 Unit: None Example: CP:RESP 50 Query syntax: CP:RESPonse? Returned parameter: <NR1> 3.7. MEASure command MEASure:VOLTage? Enquire the actual output voltage. Query syntax: MEASure:VOLTage? Example: MEAS:VOLT? Returned parameter: <NRf>[Unit=V] MEASure:CURRent? Enquire the actual output current.
  • Page 32: Status Command

    FTG Series Programming Manual _________________________________________________________________ 3.8. STATus command STATus:CHANnel:CONDition? Query the Channel Condition register. Command syntax: STATus:CHANnel:CONDition? Parameter: None Example: STAT:CHAN:COND? Returned parameter: <NR1> STATus:CHANnel[:EVENt]? Query the Channel Event register. The Channel Event register is cleared after read. Command syntax: STATus:CHANnel[:EVENt]?
  • Page 33: System:local

    FTG Series Programming Manual _________________________________________________________________ SYSTem:LOCal Exsit remote control mode, enter local control. Command syntax: SYSTem:LOCal Parameter: None Example: SYST:LOC Query syntax: None SYSTem:VERSion? Query system version information. Command syntax: SYSTem:VERSion? Parameter: None Example: SYST:VERS? Returned parameter: <NR2> 28...
  • Page 34: Scpi Error Information

    FTG Series Programming Manual _________________________________________________________________ 4. SCPI error information 4.1. Introduction Any errors that occur during the work process are recorded in the error queue until the error queue is full. The error information can be read through the panel menu or programming commands.
  • Page 35 FTG Series Programming Manual _________________________________________________________________ -108 Parameter not allowed -109 Missing parameter -110 Command header error -111 Header separator error -112 Program mnemonic too long -113 Undefined header -114 Header suffix out of rang -115 Command can not query -116...
  • Page 36: Execution Errors

    FTG Series Programming Manual _________________________________________________________________ 4.4. Execution errors -200 Execution error -220 Parameter error -221 Setting conflict -222 Data out of range -224 Illegal paramter value -225 Out of memory -232 Invalid format -240 Hardware error -242 Calibration data lost...
  • Page 37: Programming Example

    FTG Series Programming Manual _________________________________________________________________ 5. Programming example 5.1. VI static output OUTP OFF //Must turn off output before swtching output mode OUTP:FUNC VI //Switch to static VI output mode SOUR:VOLT 10 //Set output votlage is 10V SOUR:CURR 10 //Set output current is 10A...
  • Page 38: Run Seq File

    FTG Series Programming Manual _________________________________________________________________ SEQ:EDIT:SAVE //Save the current sequence file 5.4. Run SEQ File OUTP OFF //Must turn off output before swtching output mode OUTP:FUNC SEQ //Switch to sequence test output mode SEQ:RUN:NUMB 1 //Select sequence file, file number 1...

Table of Contents