![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am attempting a home-made, stand alone indexer that only needs 220V power and RS232 input. What I am running into is lack of knowledge of the signal coming from the Haas controller. When the Haas tells an indexing unit to rotate forward x-degrees, what form is that signal? The servo drive I want to use needs a text line in ascii to know the parameters of motion. Is it possible to send a text line via rs232 to a servo drive in the middle of a program? I just don't understand the standard indexing signal that travels to an indexer control box. Any help on this subject would be much appreciated. Thanks. |
|
#2
| |||
| |||
| Well, it looks like I will be swimming alone here. ![]() The good news is, I found it. Well, not to take credit, I had been told (thanks Peter) and did not find the pertaining information until I read deeply. This is what an example looks like : RS 232 Command Blocks DPRNT[ ] Clear/Reset receive buffer DPRNT [ZGnn ] Loads G-code nn into step no. 00, 0is a place holder DPRNT[ ZSnn.nnn ] Loads Step Size nnn.nnn into Step no. 00 DPRNT[ ZFnn.nnn ] Loads Feed Rate nnn.nnn into Step no. 00 DPRNT[ZLnnn] Loads Loop Count into Step no. 00 DPRNT[ZH] Return home immediately without M-FIN DPRNT [ZB] Activates Remote Cycle Start without M-FIN DPRNT [B] Activates Remote Cycle Start without M-FIN regardless of Haas Servo 1. Use of Z above assumes Haas Servo Control Parameter 21 = 6. 2. Leading and trailing 0 must be included (correct: S045.000, wrong: S45). 3. When writing your program in the FANUC format it is important to not to have blank spaces or carriage returns (CR) in your DPRNT statement. DPRNT Program Example The following is an example of one way to program using the FANUC style. O0001 G00 G17 G40 G49 G80 G90 G98 T101 M06 G54 X0 Y0 S1000 M03 POPEN (Open FANUC serial port) DPRNT [ ] (Clear/Reset Haas) G04 P64 DPRNT [ZG090] (Servo Control Step should now read 00 ) G04 P64 DPRNT [ZS000.000] (Loads Step Size 000.000 into Step 00) G04 P64 DPRNT [ZF050.000] (Loads Feed Rate 50 units/sec into Step 00) G04 P64 Mnn (Remote Cycle Start, moves to P000.0000, sends M-FIN) G04 P250 (Dwells to avoid DPRNT while M-FIN is still high) G43 Z1. H01 M08 G81 Z-.5 F3. R.1 (Drills at: X0 Y0 P000.000) DPRNT [ ] (Make certain Haas Input Buffer is Clear ) G04 P64 #100 = 90. (Example of correct Macro substitution) DPRNT [ZS#100[33] ] (Loads Step Size 090.000 into Step 00) (Leading Zero converted to Space Param. must be off) G04 P64 Mnn (Remote Cycle Start moves to P090.000, sends M-FIN) G04 P250 X0 (Drills at: X0 Y0 P090.000) G80 (Cancels drill cycle) PCLOS (Close FANUC serial port) G00 Z0 H0 M05 M30 And this is the manual it is located in : http://www.haascnc.com/pdf/96-0315.pdf So it is possible to send ascii code to a standard servo controller in the middle of a program. This is only good for indexing, but it is all I want right now. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hurco KM1 RS232 to USB OR RS232 to PCMCIA solution? | modernprecision | Bridgeport and Hardinge Mills | 1 | 09-11-2008 01:15 PM |
| Help me understand | chezrad | General CNC (Mill and Lathe) Control Software (NC) | 2 | 06-21-2007 08:26 PM |
| I don't Understand | automizer | Phase Converters and VFD | 14 | 01-01-2006 11:43 PM |
| Cad/Cam Example - Help Me Understand | bill south | General CAM Discussion | 1 | 06-29-2005 02:47 PM |
| I just dont understand... | freezer | General CAM Discussion | 19 | 02-11-2004 11:55 AM |