beautypg.com

Sample programs, Appendix c – AMETEK CW Series Programming Manual User Manual

Page 24

background image

Programming Manual

C-1

APPENDIX C

SAMPLE PROGRAMS

The following examples will illustrate how to perform certain functions on the CW-P
using SCPI via the GPIB interface or the RS-232 channel.

NOTE: See the CW-P Series Operation Manual for examples of how to use

Slave commands.

1.

Source AC from power up

SOUR:VOLT:RANGE LOW Specify low range 0-156V 13 Amps

SOUR:CURR 3

Specify 3 Amps current limit; foldback mode

SOUR:VOLT 120

Specify 120 VAC setpoint

SOUR:FREQ 60

Specify 60 Hz frequency

OUTP ON

Source power to the output

2.

Turn off Front Panel Programmability

SYST:KLOCK ON (1)

Lock the program keys out

3.

Turn on Front Panel Programmability

SYST:KLOCK OFF (0)

Front panel program keys now function

4.

Provide Zero Crossing pulses from Phase A

SYST:EXT:CLOCK OUT

5.

Phase Lock Loop clock input

SYST:EXT:CLOCK IN

6.

Turn on External Analog Gain control

SYST:EXT:ANAIN ON (1)

7.

Turn off External Analog Gain control

SYST:EXT:ANAIN OFF (0)