![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Hello I'm trying to get macro's working on some on the Fanuc OT controlled machines, some of which work. The parameters I have already changed are 912 / 913 to 10000000. But on some machines when I put a program from my PC into it, i.e. % :1000(TEST MACRO PROG) #18=5 WHILE[#18GT0]DO1 N1 #18=#18-1 END1 M99 % It inputs perfectly and runs, but on some it crashes with alarm 004 or 006 I have noticed this happens when a character like [ ] ( ) are trying to go in, as they do not display on the Fanuc program screen either. Does anybody know why this could be, or how to enable the other characters. pinguS |
|
#4
| ||||
| ||||
| You need to check parameter 902 for bit 6=1 (7th bit from right). Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| |||
| |||
Where are the [ ] ( ) characters? On the 0 control it's possible to change a parameter to change the keypad [ ] keys to input ( ) instead. To use macros you need extended edit to give both types of brackets through the soft keys at the bottom of the screen. Alan B |
|
#8
| |||
| |||
| Once again, if it's an "0TA" series you're outta luck. No way that I know of to turn on parentheses or square brackets. In my experience I've had to create the macros offline and load them through the RS-232 port.
__________________ Paul Sevin - Ovation Engineering, Inc. http://www.ovationengineering.com |
|
#10
| |||
| |||
| I'll put my 2 bobs worth in, 006 alarm is sign "-" input error (input after an address with which it cannot be used) or 2 or more sign were input... try putting [] either side of #18-1 ie #18=[#18-1] yup 902 is macro A and 913 is macro B dunno the difference but B is cleverer than A |
| Sponsored Links |
|
#11
| ||||
| ||||
(and in France yet )Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |