Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2014, 04:22:21 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 »
131  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 03:30:28 PM
I am looking at the state of the Ref LED for starting the loop so I have to de-ref first step so that it is in the correct state.
The Red for the homed LEDs are seen as active state, green inactive (if thats proper terminology Wink )

Not sure I understand. Still think it would work even without that If statement...

I have used the DoLoop for years, first used it on the big lathes turret, found it in a VB for dummies book I think, which incidentally is still too advanced for me to read and understand

Grin afraid we are in the same boat there.

Dan
132  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 02:13:01 PM
Thanks for the snippet, Hood. I don't understand your first If statement. You first de-referenced the axes and then you're checking if it's really de-referenced? Why? Also, the conditional is not clear to me - your checking if LED 809 is active? Should it be '1' when red? Just tried to map it to a DRO and it's showing -1 for red and 0 for green.

The Do loop is interesting. Didn't know you could use such syntax to exit the loop. Will read the manual about the Do loop. Was always using While loops.

Dan
133  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 01:20:43 PM
The RS485 is out of a box, Ian.

Dan
134  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 12:04:35 PM
Ian,

You're right, it doesn't matter who does the homing first. I just feel more comfortable having the drive finish its task and then allow Mach to take control over. I agree though that the end result is the same.

Dan I home externally but I use VB calls not LEDs.
Hood

And you don't use buttons 22, 23,, 24?

Dan
135  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 10:56:36 AM
Hood,

Are you not doing it the same way? Thought we had been on the same page.

Dan
136  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 10:20:12 AM
Ah... yes, Mach thinks there are no home switches. But I can't use this as I am doing Button(22) or Button(24), for X and Z respectively, AFTER I get a confirmation signal from the drives. So the buttons above set the Machine DROs to zero and the standard Mach3 LEDs for homing are lit.

Dan
137  Third party software and hardware support forums. / Modbus / Re: Lathe Toolchanger in VB via Modbus and PLC on: February 20, 2013, 10:08:48 AM
Hi Adam,

Just any DRO from 1000 to 2255. They are all user DROs.

Dan
138  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 08:12:01 AM
Hi Ian,

We are talking to 2 slaves with the plugin Modbus at the moment with no issues, Using a RS232 to RS485 interface.

I am using User LEDs only to command the start of homing to the drives. You are not allowed to change standard LED's state at will so User LEDs were the way to go.

Dan
139  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 07:28:53 AM
You can only access consecutive addresses in the PLC from what I see. In the above screenshot (taken from Scott's manual, by the way) you can see that different addresses in the slave are being accessed: 2000, 1000, 5000, etc.

Also can have several slaves at the same time (PLC, two servo drives and a VFD).

Please correct me if I am wrong with any of the above

Dan
140  Mach Discussion / General Mach Discussion / Re: CAUTION! User LED's Turn on with opening wizards on: February 20, 2013, 06:43:09 AM
LOL... got distracted and forgot the attachment.

Still this one has the addresses spread on a wider range than I could do with the non-plugin Modbus. Or, I hope, I am wrong.

Dan
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!