1. ## Hi

Hi James L,

had a minor doubt. Where should assignment of #4=101 & #5=199 values should be commanded. Are they need to be commanded in Main Program or at the start of Subprogram..( before POPEN Command ) or where else ?.

Ash

2. ## Assigning variables

In macros you assign the variables when you call the program. Sinha mentioned them when he spoke of sending 'arguments' to the macro. In this macro we need #4 and #5. These are recognized by the control as I and J, respectively. So when you call the macro, use the syntax :

From main program or MDI screen :

G65 P8200 I(whatever value you wish to assign #4). J(#5).;

for example - G65 P8200 I101. J199.; would assign 101 to #4 and 199 to #5, and the macro would start it's loop.

3. Originally Posted by James L

G65 P8200 I(whatever value you wish to assign #4). J(#5).;

for example - G65 P8200 I101. J199.; would assign 101 to #4 and 199 to #5, and the macro would start it's loop.
It is definitely a good practice to use decimal points in macro arguments. But, I never use decimal points in cases where integer values are expected (e.g., number of holes), because it looks awkward. Am I asking for trouble (parameters can do strange things)?

4. ## Deicmals

Most of the time a decimal is not needed in a macro. It doesn't really hurt not to use them but I like to use the same format with them as I would calling up a normal canned cycle. I usually just go by the control's requirements - if decimals are needed in canned cycles then I use them in macro arguments. In this macro, it probably would look cleaner to go without them.

5. ## Format for assigning a group of variables a common Value

Hi All,

I need to assign a value 0.001 to variable serial from 100 to 149, how should is command it ?

Is that so that we have to right,Just LIKE -

#101=0.001
#102=0.001
.............
...........
#149=0.001

Is there a Format or a single command to solve the above purpose?

Ash

6. Originally Posted by Ashish B
Is there a Format or a single command to solve the above purpose?
#1=0
WHILE[#1LT48]DO1
#[101+#1]=.001
#1=#1+1
END1

Stevo

7. ## nEED Help

Hi

Its a long time I have fixed a RE232C cable but the connection is not yet established.

The MACHINE Dealer says that to use DPRNT command u need a special FANUC software & it costs thousands of rupees. Is that so ?

Can anyone write the procedure for establishment of a RE232 Connection & a clarification of whether any software (on PC ) is required or what ?

Ash.

8. Originally Posted by stevo1
#1=0
WHILE[#1LT48]DO1
#[101+#1]=.001
#1=#1+1
END1

Stevo
You were too quick for me. Just got home a few minutes ago. Finally something I could answer, but you beat me to it!

9. ## Thanks

Hi

Thanks Stevo for that program.

Well can anyone address & let me know the COMMUNICATION Setup for RE232C Link?

Thanks for you TIME, PATIENCE & SUPPORT

Ash

10. Originally Posted by g-codeguy
You were too quick for me. Just got home a few minutes ago. Finally something I could answer, but you beat me to it!
LOL…..Sorry Dale I didn’t mean to steal your thunder . I have been so busy the only things I have had time to answer are the quick easy ones.

Ash…I have never set up the DNC on a Mitsubishi control before. I have attached a note of the settings I have from a quick guide. Also here are 2 links I found for the M50 control and the 300-500 control. I did not see anything on the M64. The wiring should be the same so I have also attached the pinout that I use.

Mitsubishi M50
http://www.aggsoft.com/cnc-dnc/mitsubishi-m50.htm

Mitsubishi 300-500
http://www.aggsoft.com/cnc-dnc/mitsubishi-300-500.htm

Stevo

11. ## HI

Hi Stevo,

Thanks a lot for that VALUEABLE ATTACHMENTS

I need to know in context of RE232C setup. I mean like does it required a software to recieve the data on PC or it will work on the HYPERTERMINAL program (which is a standard feature in Windows PC )?

Also Stevo, can u suggest me some of the Software Names which i can google down & download & work with it.

Ash

Thanks for your time, support & PATIENCE.

12. Ash…..you’re welcome for the info.

There are a lot of different softwares out there that you can get for communication. I currently use Enet. I really like Dostek as I used it a lot in the past, the support was good, and it was only a few hundred bucks. Now there is free software out there but I do not know the name of it. I remember seeing a post sometime back by Al_the_man with a link to some free software so maybe a search or a PM might get that for you. Dan Fritz is the DNC guru and does have his own software and is always willing to help so it might not hurt to check that out as well.

HyperTerminal does work for transfer and some people still use it. So all you will need is the cables.

Stevo

Page 3 of 5 First 12345 Last