Component: TTi Power Supply PL155 P (TTi PL155-P PSU) (3rd Party Equipment/Tools)

From Flowcode Help
Jump to navigationJump to search


Author Paul Newill
Version 1.0 (Development)
Category 3rd Party Equipment/Tools


Image TTi Power Supply _ PL155_P (TTi PL155-P PSU) component

TTi PL155-P Power Supply Unit Component. 15V - 5A

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

LSE

Set the value of LSE <n>, Limit Event Status Register <n>, to <nrf>.

Parameters

BYTE Register
Select Register
BYTE Value
Value to be placed in the register (0-255)


Return value

This call does not return a value


NOLANOK

Disables the LAn Err message for no LAN connection found at power on if <nrf> is 1 and enables the message if <nrf> is 0.

Parameters

BOOL Status
0 = Message disabled, 1 = Message enabled


Return value

This call does not return a value


WAI

Wait for the Operation Complete true. As all commands are completely executed before the next is started this command takes no additional action.

Parameters

This macro has no parameters


Return value

This call does not return a value


DELTAV

Set the output <n>voltage step size to <nrf> Volts

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Voltage
Set a Voltage step between 0.0 - 15.0 V


Return value

This call does not return a value


OVP

Set output <n> over voltage protection trip point to <nrf> Volts

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Voltage
Set a Voltage between 0.0 - 15.0 V


Return value

This call does not return a value


DECI

Decrement the output <n> current limit by the step size set for output <n>.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


VRet

Returns the set voltage of output <n>

The response is V <n> <nr2><rmt> wjere <nr2> is in Volts.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


SRE

Set the Service Request Enable Register to <nrf>.

Parameters

BYTE Status
Set register value 0-255


Return value

This call does not return a value


PRE

Sets the Parallel Port Enable Register to the value <nrf>.

Parameters

BYTE Status
Set register value 0-255


Return value

This call does not return a value


OPALL

Simultaneously sets all ouputs on/off where <nrf> has the following meaning;

0=ALL OFF, 1=ALL ON

If OPALL sets all outputs ON then any that were already on will remain ON

If OPALL sets all outputs OFF then any that were already off will remain OFF

Parameters

BOOL Status
0=OFF, 1=ON


Return value

This call does not return a value


DAMPING

Set the current meter measurement averaging (IAVG) ofoutput <n> where <nrf> has the following meaning: 0 = OFF, 1 = ON.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
BOOL Status
0 = OFF, 1 = ON


Return value

This call does not return a value


DELTAVRet

Returns the output <n> voltage step size.

The response is DELTAV<n><nr2><rmt> where <nr2> is in Volts.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


QERRet

Query and clear Query Error Register. The response format is nr1<rmt>.

Parameters

This macro has no parameters


Return value

BYTE


RATIORet

Query the ratio of output 2 (slave) to putput 1 (master) in tracking mode. The response is <nrf>, where <nrf> is the ratio in percent (0 to 100).

Parameters

This macro has no parameters


Return value

BYTE


IRet

Returns the set current limit of output <n>

The response is I <n><nr2><rmt> where <nr2> is in Amps

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


ESRRet

Returns the value in the Standard Event Status Register in <nr1> numeric format. The register is then cleared. The response is <nr1><rmt>.

Parameters

This macro has no parameters


Return value

INT


PRERet

Returns the value in the Parallel Poll Enable Register in <nr1> numeric format. The syntax of the response is <nr1><rmt>.

Parameters

This macro has no parameters


Return value

BYTE


DELTAIRet

Returns the output <n> current step size.

The response is DELTAI<n><nr2><rmt> where <nr2> is in Amps.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


ESERet

Returns the value in the Standard Event Status Enable Register in <nr1> numeric format. The syntax of the response is <nr1><rmt>.

Parameters

This macro has no parameters


Return value

BYTE


IRANGERet

Report the current range for output <n>. The response is <nr1><rmt>, where <nr1> is 1 for Low (500mA) range, 2 for High range.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

BYTE


OCPRet

Returns the current trip setting for output <n>

The response is CP<n><nr2><rmt> where <nr2> is in Amps.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


PSUInitialise

This macro is required to initialise the PSU

Parameters

This macro has no parameters


Return value

This call does not return a value


SAV

Save the current set-up of output <n> to the set-up store specified by <nrf> where <nrf> can be 0-9.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
BYTE StoreLocation
Memory location of register (0-9)


Return value

This call does not return a value


OVPRet

Returns the voltage trip setting for output <n>.

The response is VP<n>Mnr2><rmt> where <nr2> is in Volts.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


DELTAI

Set the output <n> current step size to <nrf> Amps

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Current
Set a current step between 0.0 - 5000 mA


Return value

This call does not return a value


IFLOCK

Request interface lock. This command requests exclusive access control of the instrument.

The response is 1 if successful or -1 if the lock is unavaliable either because it is already in use or the user has disabled this interface from taking control...

Parameters

This macro has no parameters


Return value

INT


TRG

The PSU has no trigger capability. The command is accepted but performs no action.

Parameters

This macro has no parameters


Return value

This call does not return a value


LSRRet

Query and clear Limit Event Status Register <n>.

The response is <nr1><rmt>. See status reporting section for details.

Parameters

BYTE Register
Select Register number


Return value

FLOAT


IFLOCKRet

Query the status of the interface lock. The return value is 1 if the lock is owned by the requesting interface instance;

0 ifthere is no active lock or -1 if the lock is unavailable either because it is already in use, or the user has disabled this...

Parameters

This macro has no parameters


Return value

INT


RATIO

Set the ratio of output 2 (slave) to output 1 (master) in tracking mode to <nrf>, where <nrf> is the ratio in percent (0 to 100).

Parameters

BYTE Ratio
Ratio percentage (0-100)


Return value

This call does not return a value


IORet

Returns the output readback current for output <n>

The response is <nr2>A<rmt> where <nr2> is in Amps.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


INCVV

Increment the output <n> voltage by the step size for output <n> and verify.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


OPRet

Returns output <n> on/off status

The response is <nr1><rmt> where 1 = ON, 0 = OFF.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

BOOL : Returns true if the operation is a success, else false


LSERet

Return the value of LSE<n>, Limit Status Enable Register <n> - response is <nr1><rmt>.

Parameters

BYTE Register
Select register


Return value

BYTE


OCP

Set output <n> over current protection trip point to <nrf> Amps.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT CurrentTrip
Set a current between 0.0 - 5000 mA


Return value

This call does not return a value


DECVV

Decrement the output <n> voltage by the step size for output <n> and verify.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


RST

Resets the instrument to the remote control default settings with the exception of all remote interface settings, stored setups, Vmin/Vmax values and Output state at power-on setting.

Parameters

This macro has no parameters


Return value

This call does not return a value


VV

Set output <n> to <nrf> Volts with verify.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Voltage
Set a Voltage between 0.0 - 15.0 V


Return value

INT


V

Set output <n> to <nrf> Volts

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Voltage
Set a Voltage between 0.0 - 15.0 V


Return value

This call does not return a value


RCL

Recall a set-up for output <n> from he set-up store specified by <nrf> where <nrf> can be 0-9.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
BYTE StoreLocation
Memory location (0-9)


Return value

This call does not return a value


INCV

Increment the output <n> voltage by the step size set for output <n>.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


SRERet

Returns the value of the Service Request Enable Register in <nr1> numeric format. The syntax of the response is <nr1><rmt>

Parameters

This macro has no parameters


Return value

BYTE


LOCAL

Go to local. This does not release any active interface lock so that the lock remains with the selected interface when the next remote command is received.

Parameters

This macro has no parameters


Return value

This call does not return a value


OPC

Sets the Operation Complete bit (bit 0) in the Standard Event Status Register. This will happen immediately the command is executed because of the sequential nature of all operations.

Parameters

This macro has no parameters


Return value

This call does not return a value


TRIPRST

Attempt to clear all trip conditions.

Parameters

This macro has no parameters


Return value

This call does not return a value


STBRet

Returns the value of the Status Byte Register in <nr1> numeric format. The syntax of the response is <nr1><rmt>.

Parameters

This macro has no parameters


Return value

BYTE


IFUNLOCK

Release the lock if possible. This command returns the value 0 if successful. If this command is unsuccessful -1 is returned.

200 is placed in the Execution Register and bit 4 of the Event Status Register is set indication that there is no authority...

Parameters

This macro has no parameters


Return value

INT


EERRet

Query and clear Execution Error Register. The response format is nr1 <rmt>.

Parameters

This macro has no parameters


Return value

STRING


ESE

Sets the Standard Event Status Register to the value of <nrf>.

Parameters

BYTE Status
Set status register to a value of 0-255


Return value

This call does not return a value


CLS

Clear Status. Clears the Status structure. This indirectly clears the Status Byte Register.

Parameters

This macro has no parameters


Return value

This call does not return a value


ADDRESSRet

Returns the bus address of the instrument; This is the address used by the GPIB, if fitted, or may be used as a general identifier over the other interfaces.

Parameters

This macro has no parameters


Return value

BYTE


DECV

Decrement the output <n> voltage by the step size set for output <n>.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


OP

Sets the output <n> on/off where <nrf> has the following meaning: 0=OFF, 1=ON.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
BOOL Status
0=OFF, 1=ON


Return value

This call does not return a value


OPCRet

Query Operation Complete status. The response is always 1<rmt> and will be available immediately the command is executed because all commands are sequential.

Parameters

This macro has no parameters


Return value

BOOL : Returns true if the operation is a success, else false


ISTRet

Returns IST local message as defined by IEEE Std. 488.2. The syntax of the response is 0<rmt>, if the local message is false, or 1<rmt>, if the local message is true.

Parameters

This macro has no parameters


Return value

BOOL : Returns true if the operation is a success, else false


TSTRet

The PSU has no self test capability and the response is always 0 <rmt>.

Parameters

This macro has no parameters


Return value

BOOL : Returns true if the operation is a success, else false


VORet

Returns the output readback voltage for output <n>

The response is <nr2>V<rmt> where <nr2> is in Volts.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

FLOAT


IRANGE

Sets the current range of output <n> to <nrf>, where <nrf> is 1 for Low (500mA) range, 2 for High range.

Output must be switched off before changing range.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
BYTE Range
1 = Low (500mA), 2 = High (5A)


Return value

This call does not return a value


IDNRet

Returns the instrument identification. The exact response is determined by the instrument configuration and is of the form <NAME>, <model>, <Serial No.>, <Version>, <rmt>.

Parameters

This macro has no parameters


Return value

STRING


CONFIGRet

Reports the operating mode set by the front panel MODE switch. The syntax of the respnse is <nr1><rmt>,

where <nr1> is 1 for single channel units and dual units operating in parallel mode, 2 for dual units with both channels operating independently...

Parameters

This macro has no parameters


Return value

BYTE


INCI

Increment the output <n> current limit by the step size set for output <n>.

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)


Return value

This call does not return a value


I

Set output <n> current limit to <nrf> Amps

Parameters

BOOL Output
Choose Output: 1 = Output 1, 2 = Output 2 (if applicable)
FLOAT Current
Set a current between 0 - 5000 mA


Return value

This call does not return a value



Property reference

COM Port

This property is of type Fixed list of ints and can be referenced with the variable name ComPort.

No additional information