![]() | |
| 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
| |||
| |||
Fanuc WINDW(SUB52) to macro variable (FUNC 22) Can someone provide an example rung of the SUB52 WINDW to macro variables -function 22. I have looked through my archives and can't find any. I am having problems with the input data structure/format. I have the manuals and just not getting it. I always wished the Fanuc manuals would show examples. The builder(Murata MW) is using all the Macro DI/O F54.s and we need to pass a few more inputs. Example: When X4.0 =1 write to #700=1, when =0 write #700=0 Thanks in advance Burke |
|
#2
| |||
| |||
| I've attached a page that shows an example of writing a macro variable wth Window Function 22 that would apply to a Series 16/18/21 CNC control. Once you get the example working and are able to see the formatting of the decimal places, you can tailor it to your own application. When working with Window Functions, I often prefer to use Data Tables for my Input and Output data. It helps with the debugging, inputting and display of the data. |
|
#3
| |||
| |||
Thanks for the quick help. Now that I want to toggle it always a 1 or a 0, I will have another data table with the oposite value and always hold one active with a NO and NC contact. Agreed? Question. What is the importance of your example R500? Do I just throw any open register on the coil? Burke |
|
#4
| |||
| |||
| This function is a "low speed response" function as it can require 2 or more sweeps of the ladder to execute. You would want to use the R500 contact to interlock with any other Low Speed response functions you may be using. Window Functions are powerful, but are CPU hogs, so use them only when you need them. You want to avoid running them continuously - even the high speed ones. When R500.0 = 1, the function is executing. You can release the ACT signal when R500.0 goes back to 0. |
![]() |
| Tags |
| fanuc, ladder, macro, pmc, windw |
| 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 |
| Need Help!- Fanuc custom Macro Question???? | ixoxi999 | Fanuc | 9 | 12-08-2011 04:31 AM |
| Macro variable #1000, how to edit | hydrospin01 | Hyundai Kia machine | 0 | 01-03-2011 08:22 AM |
| macro b local variable | samu | Fanuc | 4 | 12-18-2010 05:55 PM |
| Macro Variable Lock | James L | Haas Mills | 2 | 07-23-2009 08:29 AM |
| Fanuc drill macro with variable depth and fixed retract point | trey88 | Fanuc | 4 | 10-26-2008 10:42 AM |