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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Comm<strong>and</strong> Code: 75 (4Bh)<br />

Data Length: 1 byte<br />

Bit Out<br />

DAT No Function Setting range Setting unit<br />

DAT1 Bit Out 0 to 1Fh <br />

Sets the output status of the generic output port.<br />

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />

* * * Out5 Out4 Out3 Out2 Out1<br />

0: Photocoupler OFF 1: Photocoupler ON<br />

* This comm<strong>and</strong> is valid only at generic output ports set for output port functions using comm<strong>and</strong><br />

16h. For non-generic outputs, this function will be ignored.<br />

Comm<strong>and</strong> Code: 76 (4Ch)<br />

Data Length:0 bytes<br />

STOP Comm<strong>and</strong><br />

This comm<strong>and</strong> initiates an emergency stop. If the motor is in motion, it stops with the maximum<br />

possible deceleration rate, <strong>and</strong> the amplifier status changes to servo OFF.<br />

* The comm<strong>and</strong> operates using an OR condition with the STOP input port.<br />

* If used during program execution, the program execution will stop.<br />

Comm<strong>and</strong> Code: 77 (4Dh)<br />

Data Length:0 bytes<br />

STOP Clear<br />

Cancels the STOP initiated by a STOP comm<strong>and</strong>. At the time of the STOP clear, the amplifier status<br />

automatically changes to servo ON.<br />

* This comm<strong>and</strong> does not clear the STOP signal at an input port.<br />

Comm<strong>and</strong> Code: 78 (4Eh)<br />

Data Length:0 bytes<br />

Interlock<br />

This comm<strong>and</strong> aborts movement. A deceleration stop is performed using the deceleration rate set at<br />

the time of receiving the comm<strong>and</strong>. The stop position becomes the target position. The system keeps<br />

the SON status, <strong>and</strong> performs a deceleration stop. Move comm<strong>and</strong>s during interlock will generate a<br />

comm<strong>and</strong> error.<br />

* During interlock, initialization is not executed.<br />

Comm<strong>and</strong> Code: 79 (4Fh)<br />

Data Length:0 bytes<br />

Interlock Clear<br />

Clears the Interlock initiated by an Interlock comm<strong>and</strong>.<br />

* This comm<strong>and</strong> does not clear the interlock of an input port.<br />

5-32

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

Saved successfully!

Ooh no, something went wrong!