background image

FTG Series Programming Manual

_________________________________________________________________

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.

Table 1-1 Communication Interfaces

Remote Controller

Interface

Explanation

PC

RS232

Universal serial port

LAN

Standard ethernet

Caution:

You can only select one communication method at a time. Default is RS232.

1.2. Configure communication interface

This section describes in detail the configuration method of each communication interface. These

configurations can only be set via the front panel keyboard of the power supply. For more

detailed configuration introduction, please refer to the user manual. Press the "Menu" key to

enter the menu, under the "System" column, select the "Communication" item, and press the

"Enter" key to enter the communication configure interface.

Figure 1-1 Communication Configure Interface

Use the knob or direction keys to move the cursor to the setting item, and press the "Enter"

Содержание FTG Series

Страница 1: ...Programmable DC Switching Power Supply Programming Manual FTG Series Copyright Faithtech Version V2 02 2020 04 ...

Страница 2: ...ough to meet your needs please contact Faithtech Technology sales or after sales service department Announcement Faithtech Technology owns the copyright and final interpretation right of this manual The information contained in the manual is for reference only and is subject to change without notice Faithtech Technology is not responsible for the errors that may be contained in this manual or the ...

Страница 3: ...word 6 Root Specifier 6 Command separators 6 Query syntax 7 Command terminator 7 2 3 Paramter Format 8 2 4 Status system 8 Channel Status Register Group 9 Standard Event Status Register Group 10 Status Byte Register 10 2 5 Command version information 11 3 SCPI Command Description 12 3 1 IEEE488 2 common command reference 12 CLS 12 ESE 13 ESR 13 IDN 13 OPC 13 PSC 14 RST 14 SRE 14 STB 15 SAV 15 RCL ...

Страница 4: ...Rent LIMit HIGH 21 SOURce CURRent LIMit LOW 22 3 5 SEQuence command 22 SEQuence STATus 22 SEQuence RUN NUMBer 22 SEQuence EDIT NUMBer 22 SEQuence EDIT COUNt 23 SEQuence EDIT CYCLe 23 SEQuence EDIT LINK 23 SEQuence EDIT SAVE 23 SEQuence EDIT STEP 24 SEQuence EDIT VOLTage 24 SEQuence EDIT CURRent 24 SEQuence EDIT DELay 24 3 6 CP command 25 CP VOLTage 25 CP CURRent 25 CP POWer 25 CP RESPonse 25 3 7 M...

Страница 5: ... information 29 4 1 Introduction 29 4 2 Check error information 29 4 3 Command errors 29 4 4 Execution errors 31 4 5 Query errors 31 5 Programming example 32 5 1 VI static output 32 5 2 Query measurement parameter 32 5 3 Edit SEQ file 32 5 4 Run SEQ File 33 5 5 Constant power CP output 33 ...

Страница 6: ...Universal serial port LAN Standard ethernet Caution You can only select one communication method at a time Default is RS232 1 2 Configure communication interface This section describes in detail the configuration method of each communication interface These configurations can only be set via the front panel keyboard of the power supply For more detailed configuration introduction please refer to t...

Страница 7: ...us serial communication interface that conforms to the RS232 level specification and does not support any flow control RS232 uses 9600 baud rate by default which can be set to 4800 19200 38400 or 115200bps The baud rate of the power supply and the computer must be the same The factory default parity is off no check If the parity is enabled the RS232 interface will use odd or even parity to verify ...

Страница 8: ... 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 1 4 Enter remote control mode After the power supply receives any correct SCPI command it enters the remote co...

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

Страница 10: ...commands The groups are comprised of commands that extend one or more levels below the root 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 In this command CURRent STATic L1 are...

Страница 11: ...ase If it is a word the entire word constitutes a mnemonic if it is a phrase the first character of each word and the entire last word constitute a mnemonic CONFIGURE CONFigure Main Value MVALue The short mnemonic is generally composed of the first 4 characters of the long mnemonic CONFigure CONF If the character length of the long mnemonic is less than or equal to 4 the long and short mnemonics a...

Страница 12: ...d For example the following command sets the output voltage to 80 V VOLTage 80 You can query the value by executing VOLTage After the power supply receives the query command and completes the analysis it executes the command and generates a response message The response message is first written into the output buffer If the current remote interface is a GPIB interface it will wait for the controll...

Страница 13: ... value 1 0 ON OFF CRD String such as CURR AARD Return ASCII data Allowed for undefined 7 Bit ASCII It includes a command terminator 2 4 Status system The status system records various conditions and states of the power supply in each status register group The structure of this status system is shown in the figure below The status system includes the standard event status register group the channel...

Страница 14: ...lter register Channel Event register and Channel Event Enable register The Channel Condition register records the real time status of the power supply The main content is the alarm information of the power supply including over current status over voltage status etc The detailed definition is shown in the following table Table 2 2 Channel Condition Register Bit Explanation Bit 0 1 2 3 4 5 6 7 Expl...

Страница 15: ...Table 2 3 Standard Event Register Bit Explanation Bit 7 6 5 4 3 2 1 0 Name rsv rsv CME EXE DDE QYE rsv OPC OPC All operations commands completed QYE Query Error DDE Device specific Error EXE Excecution Error CME Command Error Bits in the Standard Event register are automatically cleared by a query of that register such as ESR or by sending the CLS clear status command Querying an event register re...

Страница 16: ...ble This is set when there is data in the Output Queue ESB The summary bit for the Standard Event Status Register group RQS Exsit Request for service rsv Reserved 2 5 Command version information The version information of programming commands can only be queried remotely Implement the following command via remote interface to check PSU s programming command version SYSTem VERSion The return messag...

Страница 17: ...on of the PSU OPC Operation Complete Command used for program synchronization RCL profile Recalls the PSU state stored in the specified storage location RST Reset PSU to the initial state SAV profile Stores the current PSU state in the specified storage location SRE Programs bits in the Service Request Enable register STB Query the Status Byte register PSC Define power on state for service request...

Страница 18: ...cimal value which corresponds to the binary weighted sum of all bits in the Standard Event Enable register Related commands ESR PSC STB ESR Standard Event Register Query Reading the Standard Event register clears it Query syntax ESR Parameter None Returned parameter NR1 returns a decimal value which corresponds to the binary weighted sum of all bits in the Standard Event register Related commands ...

Страница 19: ...ata will not be cleared Command syntax PSC bool Parameter 0 1 Usage example PSC 1 Query syntax PSC Return OFF ON return PSC current status Related commands ESE SRE RST Reset Command Restores the PSU to its initial factory default state Command syntax RST Parameter None Returned parameter 无 Related commands 无 SRE Sets or queries the Service Request Enable register The Service Request Enable registe...

Страница 20: ...overwritten without generating any errors The PSU has 20 storage locations in non volatile memory which are available to the user for storing PSU states location 1 20 Command syntax SAV NR1 Parameter 1 20 Usage example SAV 3 Query syntax None Related commands RCL Caution SAV command takes an excution time of 500ms do not operate the instrument while implementing this command RCL This command recal...

Страница 21: ...ery The self test query causes an internal self test and returns whether or not the PSU completed the self test without detected errors If all tests passed TST 0 If one or more tests failed TST 1 Use SYSTem ERRor to obtain error code Command syntax TST Parameter None Return NR1 Related commands None WAI The Wait to Continue Command causes the PSU to wait until all pending commands are completed be...

Страница 22: ... BACK Returned parameter NR1 CONFigure FOLD TIME Set foldback protection delay time Command syntax CONFigure FOLD TIME NRf Parameter 0 1 600 0 Unit s Second Example CONF FOLD TIME 1 Query syntax CONFigure FOLD TIME Returned parameter NRf Unit s CONFigure APG MODE Set analog programming mode Command syntax CONFigure APG MODE NR1 Parameter 0 1 2 3 4 OFF U I U I P Unit None Example CONF APG MODE 1 Qu...

Страница 23: ...is function is ON the PSU will save the parameters before it is powered off and automatically load the previously saved paramters when it is powered on Command syntax CONFigure AUTO LOAD NR1 Parameter 0 1 OFF ON Unit None Example CONF AUTO LOAD ON Query syntax CONFigure AUTO LOAD Returned parameter NR1 CONFigure AUTO OUTPut Set the output status of the PSU at the moment when it is powered on If au...

Страница 24: ... supply test function Command syntax OUTPut FUNCtion NR1 Parameter 0 1 2 VI SEQ CP Example OUTP FUNC VI Query syntax OUTPut FUNCtion Returned parameter NR1 OUTPut PROTect VOLTage Set power supply overvoltage protection threshold Command syntax OUTPut PROTect VOLTage NRf Parameter MIN MAX Unit V Volt Example OUTP PROT VOLT 10 Query syntax OUTPut PROTect VOLTage Returned parameter NRf Unit V OUTPut ...

Страница 25: ...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 Command syntax OUTPut PROTect CLEar Example OUTP PROT CLE Parameter None Query syntax None 3 4 SOURce command SOURce VOLTage LEVel Set static output voltage Command syntax SOURce VOLTage LEVel NRf Parameter MIN MAX Unit V Volt Example SOUR VOLT 25 0 Qu...

Страница 26: ... LOW NRf Parameter MIN MAX Unit V Volt Example SOUR VOLT LIM LOW 10 0 Query syntax SOURce VOLTage LIMit LOW Returned parameter NRf Unit V SOURce CURRent LEVel Set static output current Command syntax SOURce CURRent LEVel NRf Parameter MIN MAX Unit A Ampere Example SOUR CURR 5 0 Query syntax SOURce CURRent LEVel Returned parameter NRf Unit A SOURce CURRent LIMit HIGH Set static output current upper...

Страница 27: ...ce command SEQuence STATus Query sequence running status return sequence cycle times and current step number Command syntax SEQuence STATus Parameter None Example SEQ STAT Returned parameter NR1 NR1 SEQuence RUN NUMBer Set the file number in sequnce test mode Command syntax SEQuence RUN NUMBer NR1 Parameter 1 8 Example SEQ RUN NUMB 1 Query syntax SEQuence RUN NUMBer Returned parameter NR1 SEQuence...

Страница 28: ...s for the sequence being edited Set to 0 means infinit loop Command syntax SEQuence EDIT CYCLe NR1 Parameter 0 60000 Example SEQ EDIT CYCL 1 Query syntax SEQuence EDIT CYCLe Returned parameter NR1 SEQuence EDIT LINK Set linked sequence for the sequence being edited 0 means no link Command syntax SEQuence EDIT LINK NR1 Parameter 0 8 Example SEQ EDIT LINK 0 Query syntax SEQuence EDIT LINK Returned p...

Страница 29: ...d syntax SEQuence EDIT VOLTage NRf Parameter MIN MAX Unit V Volt Example SEQ EDIT VOLT 12 0 Query syntax SEQuence EDIT VOLTage Returned parameter NRf Unit V SEQuence EDIT CURRent Set output current for step in sequence file Command syntax SEQuence EDIT CURRent NRf Parameter MIN MAX Unit A Ampere Example SEQ EDIT CURR 5 0 Query syntax SEQuence EDIT CURRent Returned parameter NRf Unit A SEQuence EDI...

Страница 30: ...0 Query syntax CP VOLTage Returned parameter NRf Unit V CP CURRent Set maximum output current in CP output mode Command syntax CP CURRent NRf Parameter MIN MAX Unit A Ampere Example CP CURR 50 0 Query syntax CP CURRent Returned parameter NRf Unit A CP POWer Set constant output power in CP output mode Command syntax CP POWer NRf Parameter MIN MAX Unit W Watt Example CP POW 500 0 Query syntax CP POW...

Страница 31: ... output voltage Query syntax MEASure VOLTage Example MEAS VOLT Returned parameter NRf Unit V MEASure CURRent Enquire the actual output current Query syntax MEASure CURRent Example MEAS CURR Returned parameter NRf Unit A MEASure POWer Enquire the actual output power Query syntax MEASure POWer Example MEAS POW Returned parameter NRf Unit W MEASure TEMPerature Enquire the actual module temperature Co...

Страница 32: ...the Channel Event register The Channel Event register is cleared after read Command syntax STATus CHANnel EVENt Parameter None Example STAT CHAN Returned parameter NR1 STATus CHANnel ENABle Programs the Channel Event Enable Register bits Command syntax STATus CHANnel ENABle NR1 Parameter 0 65535 Example STAT CHAN ENAB 65535 Query syntax STATus CHANnel ENABle Returned parameter NR1 3 9 SYSTem comma...

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

Страница 34: ...r information In remote control mode execute the following command to read and clear an error message in the error queue SYSTem ERRor The information returned by this command is a string such as 101 Invalid character This error message indicates that there are invalid characters in the command string received by the power supply If all error information is read or no error occurs when query the er...

Страница 35: ...ponent too large 124 Too many digits 128 Numeric data not allowed 130 Suffix error 131 Invalid suffix 134 Suffix too long 138 Suffix not allowed 140 Character data error 141 Invalid character data 144 Character data too long 148 Character data not allowed 150 String data error 151 Invalid string data 158 String data not allowed 160 Block data error 161 Invalid block data 168 Block data not allowed...

Страница 36: ... 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 243 NO reference 256 File name not found 259 Not selected file 295 Input buffer overflow 296 Output buffer overflow 4 5 Query errors 350 Query overflow 400 Query error ...

Страница 37: ...ured voltage current power 5 3 Edit SEQ file OUTP OFF Must turn off output before edit sequence file SEQ EDIT NUMB 1 Edit sequence file file number is 1 SEQ EDIT COUN 3 Set sequence length is 3 SEQ EDIT CYCL 1 Set sequence running cycles is 1 SEQ EDIT LINK 0 Set SEQ link file 0 means no linked sequence file SEQ EDIT STEP 1 Edit step 1 SEQ EDIT VOLT 5 0 Set output voltage is 5V SEQ EDIT CURR 1 0 Se...

Страница 38: ... NUMB 1 Select sequence file file number 1 OUTP ON Turn on output SEQ STAT Query current sequence step and running cycles 5 5 Constant power CP output OUTP OFF Must turn off output before swtching output mode OUTP FUNC CP Switch to CP output mode CP VOLT 20 0 Set maximum voltage 20V CP CURR 50 0 Set maximum current 50A CP POW 100 0 Set constant output power 100W CP RESP 100 Set constant power resp...

Отзывы: