23.06.2014 Views

5. Commands and Functions - Sanyo Denki America, Inc.

5. Commands and Functions - Sanyo Denki America, Inc.

5. Commands and Functions - Sanyo Denki America, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>5.</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Functions</strong><br />

Modulo Function<br />

The following section describes the modulo function (coordinate range adjustment function).<br />

This function presets the amplifier internal coordinates to the range specified by comm<strong>and</strong> 2Ch. The operation is<br />

performed in the direction selected by comm<strong>and</strong> 2Dh. The modulo function is enabled if comm<strong>and</strong> 2Bh=1.<br />

This function is effective for applications where shortcut-control of rotating loads or switching from velocity control to<br />

in-position control is necessary.<br />

Coordinate value<br />

Modulo function is disabled<br />

Modulo value<br />

(Comm<strong>and</strong> 2Ch value -1)<br />

Valid position range when modulo function is enabled<br />

0<br />

* When using incremental move comm<strong>and</strong>s or SCAN operation, the coordinates (absolute position monitor)<br />

follow the modulo settings.<br />

Comm<strong>and</strong> Code: 43 (2Bh)<br />

Data Length: 1 byte<br />

Modulo Function Enable / Disable<br />

DAT No Function Setting range Setting unit Initial Value<br />

DAT1 Low Zone 0 to 1 0=Modulo function disabled<br />

0<br />

1=Modulo function enabled<br />

Enables or disables the modulo function. When enabled, absolute move comm<strong>and</strong>s perform modulo operation.<br />

* When modulo is enabled, the target position should be set in the following range: 0 ≤ Target position ≤ Modulo value -1<br />

Comm<strong>and</strong> Code: 44 (2Ch) Data Length: 4 bytes<br />

Modulo Value<br />

DAT No Function Setting range Setting unit Initial Value<br />

DAT1 to Modulo Value See below depends on setting resolving Equivalent of 1 rotation<br />

Sets the modulo pulse number per rotation.<br />

* Coordinate setting is not possible for the negative direction.<br />

Setting range<br />

Basic divisions 500 1000 2000 4000 5000 10000<br />

Upper limit coordinate 3333333 6666666 CCCCCCC 19999999 1FFFFFFF 3FFFFFFF<br />

Comm<strong>and</strong> Code: 45 (2Dh)<br />

Data Length: 1 byte<br />

Modulo Direction<br />

DAT No Function Setting range Setting unit Initial Value<br />

DAT1 Modulo Direction 0 to 2 0=Negative direction<br />

2 (Shortcut)<br />

1=Positive direction<br />

2=Shortcut<br />

Sets the direction of the modulo operation.<br />

5-18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!