Launching the recorder, 6 launching the recorder – ElmoMC SimplIQ Digital Servo Drives-Bell Command Reference User Manual

Page 310

Advertising
background image

RP[N] Description

Definition

RP[7]

Digital input trigger mask

Table 10-4: Trigger Parameters

Trigger levels RP[4] and RP[5] can be entered as either integers or floating point numbers.

10.1.6 Launching the Recorder

The RR command is used to launch (or kill) the recorder. It also reports the recorder
status:

RR=-1 kills the recorder if active, and invalidates any recorded data.
RR=0 kills the recorder and does nothing if it is not active.
RR=1 launches the recorder, triggered on next BG.
RR=2 launches the recorder with an immediate trigger.
RR=3 launches the recorder with the trigger defined by the RP parameters.

Note that the results of RR=1 and RR=2 can be achieved with RR=3 and the
appropriate RP[N] definitions. The RR=2 and RR=2 commands are used for easy
interface with the most common recorder actions.

As a status report, RR may return the following values:

RR=-1:

No valid data in recorder.

RR=0:

Recorder action is complete and is loaded with valid data.

RR=1, 2 and 3:

Waiting for the completion of RR=1, RR=2 or RR=3

respectively.

The report value (1, 2 or 3) does not indicate if the recorder

is already recording or if it is waiting for a trigger. If this differentiation is
required, use the SR command.

The SR (status register) command details the status of the recorder. SR returns a bit
field, in which bits 16 and 17 may have the following values:

Bit 16

Bit 17

Recorder Status

0

0

Recorder inactive, no valid recorded data

0

1

Recorder armed, waiting for trigger event

1

0

Recorder finished, valid data ready for use

1 1 Recording

now

Table 10-5: SR Recorder Status Reports

SimplIQ for Steppers Application Note

Development Aids

MAN-STECR (Ver. 1.1)

111

Advertising