Osmanselim
07-26-2008, 12:13 AM
Hi
I want;
Ladder diagram , read some macro variable and send to pc with "DPRNT" or different ladder code is it possible
I dont wants to write macro prg.
is it possible
thanks
guypb
07-26-2008, 11:34 PM
I understand what you want to do, but you are better using macros. It's a lot easier and less likely to cause problems.
Osmanselim
07-27-2008, 04:38 AM
I used some macro for Operator Average
:7777
#501=#3011 (Date)
#502=#3012 (Current Time)
#503=#3901 (Number of Machined Parts)
#504=#4115 (Program Number)
DPRNT [#501 [54]]
..
..
But Operator same time chancing code
I want this program is hidden and never seen, never Changed
I think only ladder not easy changed and not easy understand
Now I want;
#501=#3011 (Date)
#502=#3012 (Current Time)
#503=#3901 (Number of Machined Parts)
#504=#4115 (Program Number)
These codes added in the ladder diagram is it possible ?
jamesweed
07-28-2008, 11:54 AM
it probably is possible to edit your ladder to include these changes but i think you will need special software that is rather pricey. i think its called
Macro Compiler / Macro Executor or something like that. you could write your macro and save it under the 8000/9000 range that can be protected from edit or viewing.
stevo1
07-28-2008, 01:39 PM
Jamesweeed is right. That is the best way to do what you are trying to accomplish. Changing the ladder can be costly software and headaches to try and achive such a simple thing as what your tryin to do.
What kind of control are you using?
You can set it up in a 8000 or 9000 program number as a macro and even establish a G or M code to call that macro. Then you can lock those programs with a parameter so they can not be changed. There is also a parameter that locks the view of the program when it is running. So it would be like you want, out of sight and out of mind.
Stevo
Osmanselim
07-28-2008, 03:58 PM
My kontrol is Fanuc 21 iTB
I konw The 9000 program is not editing 3202
NE9 Which is the parameter not seen 9000 prg.
Many thanks