3 defining the set of recording signals, 4 programming length and resolution, Defining the set of recording signals -8 – ElmoMC SimplIQ Software Manual User Manual

Page 104: Programming length and resolution -8

Advertising
background image

SimplIQ

Software Manual

Development Aids

MAN-SIMSW (Ver. 1.4)

7-8

Prior to being recorded, the signals listed in Table

7-3 must be mapped to the recorder. Up

to sixteen signals may be mapped to the recorder at any time. Up to eight signals can be
recorded simultaneously.

The RV[N]=x command maps a signal with the ID of x to the logical ID of N, N=1…16. RC is
a bit-field parameter (bit 0 to 15) that sends the actual required signal to the recorder. In this
case, bit N-1 of RC points to signal x.

Example:
RV[2]=1 maps the signal with the ID of 1 (main encoder speed) to the logical ID of 2. This
means that in order to record the main encoder speed, bit 1 of RC should be set (RC=2).

The default mapping, restored at boot, maps the signals of IDs 1 through 16 to the
corresponding logical IDs 1 through 16. Therefore, the signals with IDs 1 through 16 can be
recorded using corresponding logical IDs, without further programming.

No mapping is required if only signals with IDs 1 through 16 are needed.

7.4.3

Defining the Set of Recording Signals

The RC command defines which mapped signals should be recorded. Each bit of RC, a 16-
bit bit field, specifies a logical signal ID for recording. For example, if RC=5, the first and
third bits with the binary value of five will be on and the rest of the bits will be zero
(0000000000000101). Therefore, RC=5 specifies that the signals with logical IDs one and three
should be recorded, and all other signals should not.

Example:
The commands RV[1]=5; RV[2]=1; RC=3;
define that when launched, the recorder will record the main speed and position error.

RC may define a maximum of eight recorded signals, meaning that the binary
representation of RC may not include more than eight ones.

7.4.4

Programming Length and Resolution

The RP[0], RL and RG commands are used to program the length and resolution of the
recorded signals.

RP[0] defines the basic time quantum of the recorder:
ƒ

RP[0]=0 synchronizes the recorder to the speed or position control cycles. The time
quantum of the recorder is 4 * TS.

ƒ

RP[0]=1 synchronizes the recorder to the torque cycles. The time quantum of the
recorder is TS.

RG defines the sampling rate of the recorder, in terms of the time quantum:
ƒ

RG=1 indicates that a new sample should be taken once per time quantum. If TS=70 and
RP[0]=0, the recorder will sample once per 280 microseconds.

ƒ

RG=2 indicates that a new sample should be taken once per two time quanta. If TS=70
and RP[0]=1, the recorder will sample once per 140 microseconds.

ƒ

Similarly, RG=N indicates that a new sample should be taken once per N time quanta.

Advertising