Hello Guest it is April 28, 2024, 06:46:53 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dan13

261
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

262
Hood,

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

Dan

263
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

264
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

265
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

266
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

267
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

268
This sounds good! Still not sure how to work with it. See the screenshot. How do you do the same in the non plugin version? Accessing numerous different addresses in the slave?

Is it a screenshot of your actual machine settings? You're using 8-1-N, while Scott strongly suggests 8-2-N.

Dan

269
Honestly, I don't know. Was just reading some posts by Scott (poppabear) where he strongly recommends using the plugin. Thought he must know something. Think without the plugin it's not stable or reliable...

What are the commands you're using in the VB? SetModOutput and GetInput? Also not sure how to work with the non plugin Modbus. Information seems to be lacking. Can you use Brains too with the non plugin version?

Dan

270
Using LED's for that since I don't know of another way. Talking to the PLC over Modbus with Plugin Enabled and as such it doesn't allow sending outputs from VB and reading inputs. Unless I am doing something wrong of course.

Dan