5. Commands and Functions - Sanyo Denki America, Inc.
5. Commands and Functions - Sanyo Denki America, Inc.
5. Commands and Functions - Sanyo Denki America, Inc.
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 />
Comm<strong>and</strong> Code: 69 (45h)<br />
Data Length: 10 (d) bytes<br />
Zero Return Comm<strong>and</strong><br />
DAT No Function Setting range Setting unit<br />
DAT1 Zero-return type<br />
Rotational direction<br />
Zero-return type: 0 to 4<br />
Rotational direction: 0 to 1<br />
See (1)<br />
0: Positive direction1: Negative direction<br />
DAT2 Zero-return velocity 1 to C8h 1min -1 /ms<br />
DAT3 Zero-return low velocity 1 to C8h 1min -1 /ms<br />
DAT4 to 5 Grid shift Depends on the resolution 1PLS<br />
DAT6 Zero-return push current limit 0 to FFh Setting value (d) /255 x Rated current<br />
DAT7 to 10 Counter preset value Depends on the resolution 1PLS<br />
Initiates zero-return. The acceleration/deceleration rate is set by comm<strong>and</strong> code 37h.<br />
DATA NO Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />
DAT1 * * * Rotational direction * Zero-return type<br />
(1) : Zero-return type<br />
Bit2 Bit1 Bit0 Zero-return type<br />
0 0 0 C channel detection<br />
0 0 1 SDN detection<br />
0 1 0 SDN + C channel<br />
0 1 1 Push zero detection<br />
1 0 0 Push + C channel detection<br />
Others<br />
Setting prohibited<br />
* The grid shift setting is signed; for push zero-return type set the grid shift for both the<br />
comm<strong>and</strong> direction <strong>and</strong> reverse direction.<br />
* If zero-sensor (SDN: Type 1, 2) is started, pin 9 will be the zero-sensor input. Refer to comm<strong>and</strong><br />
16h to set the input port function as the zero-sensor signal.<br />
In additionSet comm<strong>and</strong> 14h, DAT4, Bit7 (SDN) = 0.<br />
<br />
5-28