Tutorial
KIKUSUI Electronics Corp.
PWR-01 Interface Manual
■
Execution using triggers
First, set the output to on.
OUTP ON
A sequence has three states: IDLE, INITiated, and WTG.
Sequence is started
Sequence is completed
IDLE
INITiated
TRIG:SOURce?
WTG
ABOR
*RST
*RCL
INIT:PROG
BUS
TRG:PROG
IMM
IDLE
START
END
To start a sequence immediately, set the trigger source to IMMediate, and then use
the INITiate:PROGram command.
TRIG:PROG:SOUR IMM
'Sets the trigger source to IMM
INIT:PROG
'Initiates PROGram subsystem. The sequence begins.
When multichannel is use, you can start the sequence operation on all channels by
using the GLOB:INIT:PROG command.
To use software triggers to start a sequence, change the trigger source to BUS.
If you are using software triggers to start the sequence, change the trigger source
to BUS.
TRIG:PROG:SOUR BUS
'Sets the trigger source to BUS
INIT:PROG
'Initiates PROGram subsystem.
TRIG:PROG
'Applies a software trigger to PROGram subsystem. The sequence
begins.
If you use INITiate:PROGram to bring the TRIGger subsystem out of the IDLE state
and start (initiate) the trigger function, the TRIGger subsystem enters the WTG
(Waiting For Trigger) state. When a software trigger is received (through the TRIG-
ger:PROGram command or *TRG command), the sequence starts.
TRIGger:PROGram only applies a software trigger to the PROGram subsystem.
The *TRG command or the IEEE488.1 get (Group Execute Trigger) command ap-
plies a software trigger to all trigger subsystems, if there are other trigger subsys-
tems in the initiated state, their trigger functions will also be executed at the same
time.
When multichannel is use, you can send software triggers to all channels by using
the GLOB:*TRIG command.
When the sequence finishes, the PROGram subsystem enters the IDLE state
again. If the ABORt command or an equivalent command is received in the WTG
state or when a sequence is being executed, the sequence is canceled, and the
PROGram subsystem returns to the IDLE state.
You can view the remaining repetition count while a sequence is running.
PROG:REM:LOOP?
You can view the remaining execution time of a sequence.
PROG:REM:TIME?
You can collectively view the execution state, present repetition count, present step
number, elapsed time, and estimated time of a sequence.
TRIG:PROG:EXEC
If you want to terminate a sequence, use the ABORt:PROGram command.
ABOR:PROG
When all the processes of a program are complete, the output state remains in the
last-step state. In the sequence example, the sequence finishes with the 9 V output
turned on.
In the end, turn the output off.
OUTP OFF
When the power is turned off, the template information is deleted.
When a sequence is executed, the sequence information is written in the PWR-01.
Such sequences can be executed from the panel without a PC. For details how to
execute sequences from the panel, see the user’s manual.