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 />
<strong>5.</strong>2 Comm<strong>and</strong> List<br />
1) System comm<strong>and</strong>s<br />
1-1Memory Access<br />
Comm<strong>and</strong> Comm<strong>and</strong> Name Function Initial Value<br />
1 Initialization Initializes the CPU to the power ON state. -<br />
2 Parameter CLR Clears the parameters <strong>and</strong> resets them to their factory<br />
-<br />
settings.<br />
3 Parameter Save Saves the edited parameters to non-volatile memory. -<br />
4 Parameter Load Loads the data from non-volatile memory to RAM. -<br />
5 Point CLR Clears point s <strong>and</strong> proglam data. -<br />
6 ALM history CLR Clears the ALM history. -<br />
<br />
Comm<strong>and</strong> Comm<strong>and</strong> Name Function Initial Value<br />
16 (10h) Response time Sets the response time of communication. 500μs<br />
17 (11h) Software switch Sets the motor model <strong>and</strong> the resolution.<br />
PBM423, 2000P/R<br />
18 (12h) Positive direction<br />
definition<br />
* If the connected motor depends on the initial<br />
value, configure it before installing the amplifier.<br />
Sets the positive direction.<br />
Positive direction=CCW<br />
19(13h)<br />
initialization<br />
Sets the initialization movement direction.<br />
0CW<br />
movement direction<br />
20 (14h) ALM detection<br />
condition<br />
22 (16h) Input/output port<br />
function<br />
24 (18h) Excessive deviation<br />
during push<br />
Enables or disables the overload stop, servo error<br />
detection threshold <strong>and</strong> ALM detection functions.<br />
Sets the logic <strong>and</strong> function of the input / output signals.<br />
* If necessary, modify the initial values for the<br />
application before installing the amplifier.<br />
Sets the threshold for detecting a deviation error due to<br />
pushback during push operations.<br />
Overload stop=8s<br />
Servo error=3 rotations<br />
All A conn.<br />
Input: Point<br />
Output: Zone, END,<br />
SON, Out n<br />
3 rotations<br />
27 (1Bh) Number of programs Selects the number of programs as follows.<br />
1 PRG x 1024 lines128 PRG x 8 lines<br />
1 PRG x 1024 lines<br />
28 (1Bh) Execution target<br />
selection<br />
32PRG32lines<br />
Selects the EXE signal execution target to point or<br />
program when not using the SELECT signal function.<br />
Point<br />
30(1Eh Move Enable Selects the Enable or disables of movement before<br />
0Enable<br />
origin return.<br />
31 (1Fh) User memory Provides 8 bytes of memory for the user. 0 (8bytes)<br />
5-2