03.11.2014 Views

Download - Haas Automation, Inc.

Download - Haas Automation, Inc.

Download - Haas Automation, 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.

Table 1 Table 2<br />

0 = RS 232 upld/dnld prgrms 1 = U 0 = 110 1 = 300<br />

2 = V 3 = W 2 = 600 3 = 1200<br />

4 = X 5 = Y 4 = 2400 5 = 4800<br />

6 = Z 7,8,9 Reserved 6 = 72007 7 = 9600<br />

8 = 19200<br />

Fanuc Parameters<br />

The following Fanuc control parameters must be set to successfully communicate<br />

with the <strong>Haas</strong> rotary control.<br />

Baud Rate<br />

1200 (Initial setting. Change this only after interface<br />

is functioning.)<br />

Parity<br />

Even (Required setting)<br />

Data Bits<br />

7 or ISO (If CNC control defines Data bits as word<br />

length + parity bit, set to 8)<br />

Stop bits 2<br />

Flow control<br />

XON / XOFF<br />

Character Coding (EIA/ISO) ISO (Required setting, EIA will not work)<br />

DPRNT EOB<br />

LF CR CR (“CR” is required, “LF” is always ignored<br />

by the servo control)<br />

DPRNT<br />

Leading zeroes as blanks - OFF<br />

Be certain to set FANUC parameters related to the actual serial port connected to<br />

<strong>Haas</strong> rotary control. The parameters have been set for remote operation. A program<br />

can now be entered, or run an existing program. There are several key items<br />

to consider to ensure your program will run successfully.<br />

DPRNT must precede every command sent to the <strong>Haas</strong> Control.<br />

The commands are sent to the controller in ASCII code and terminated by a carriage<br />

return (CR).<br />

All commands must be preceded by an axis select code (U, V, W, X, Y, Z). For<br />

example, setting parameter 21 = 6, means Z will represent the axis code.<br />

RS 232 Command Blocks<br />

DPRNT[ ]<br />

Clear/Reset receive buffer<br />

DPRNT [ZGnn ]<br />

Loads G-code nn into step no. 00, “0”is a place holder<br />

DPRNT[ ZSnn.nnn ] Loads Step Size nnn.nnn into Step no. 00<br />

DPRNT[ ZFnn.nnn ] Loads Feed Rate nnn.nnn into Step no. 00<br />

DPRNT[ZLnnn] Loads Loop Count into Step no. 00<br />

DPRNT[ZH]<br />

Return home immediately without M-FIN<br />

DPRNT [ZB]<br />

Activates Remote Cycle Start without M-FIN<br />

DPRNT [B]<br />

Activates Remote Cycle Start without M-FIN regardless<br />

of <strong>Haas</strong> Servo Control Parameter 21 setting (Not for<br />

Notes:<br />

general use in this application)<br />

1. Use of “Z“ above assumes <strong>Haas</strong> Servo Control Parameter 21 = 6.<br />

2. Leading and trailing “0” must be included (correct: S045.000, wrong:<br />

S45).<br />

96-0315 Rev P<br />

April 2012<br />

15<br />

Original Instructions

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

Saved successfully!

Ooh no, something went wrong!