Dear DAVID Community,

In 2016, DAVID and this forum have been integrated into HP Inc.
This forum has been read-only since then, and will be switched off by the end of 2019.

To everyone who has contributed here, we thank you for all your work and for the constructive, helpful and friendly atmosphere you have created!
Please continue to discuss on the HP Support Forums.

Planelss Autoscan Signal Start

Planelss Autoscan Signal Start

Postby creativeconcepts » Sat May 15, 2010 12:30 am

What type of signal does David output to initiate an autoscan? What type of signal does David need to receive in order to initiate the software with the start of the motor sequence?

Can someone please help me sync DLS software and the motor controller to inititate an autoscan? What type of signals are others using? I'm not an electronics wiz.

The controller connects to the computer via an RS232 to 9 pin serial cable. It's an Applied Motion controller and stepper motor for rotating the laser. It comes with it's one programming language that was a piece of cake to program - all windows and graphic based (easy for anyone).
- 8 user programmable inputs
- 3 optically isolated 5/24 VDC outputs
- Communication via RS232 or optional encoder/RS485 daughter board
- Screw terminal connector blocks for power, motor and I/O. RJ11 for RS232 port
Inputs can be 5 - 24V, optically isolated. 2200 ohms internal resistance. Can be configured for sinking (NPN) or sourcing (PNP) signals.
Outputs can be optically isolated. 24V, 100 mA max.

Thanks,

Rob
creativeconcepts
 
Posts: 3
Joined: Tue May 04, 2010 7:10 pm

Re: Planelss Autoscan Signal Start

Postby Francois » Sat May 15, 2010 6:53 am

creativeconcepts wrote:What type of signal does David output to initiate an autoscan? What type of signal does David need to receive in order to initiate the software with the start of the motor sequence?

Can someone please help me sync DLS software and the motor controller to inititate an autoscan? What type of signals are others using? I'm not an electronics wiz.

The controller connects to the computer via an RS232 to 9 pin serial cable. It's an Applied Motion controller and stepper motor for rotating the laser. It comes with it's one programming language that was a piece of cake to program - all windows and graphic based (easy for anyone).
- 8 user programmable inputs
- 3 optically isolated 5/24 VDC outputs
- Communication via RS232 or optional encoder/RS485 daughter board
- Screw terminal connector blocks for power, motor and I/O. RJ11 for RS232 port
Inputs can be 5 - 24V, optically isolated. 2200 ohms internal resistance. Can be configured for sinking (NPN) or sourcing (PNP) signals.
Outputs can be optically isolated. 24V, 100 mA max.

Thanks,

Rob


Hi Rob,

Maybe you already did, but I recommend that you look at these pages :
- http://www.david-laserscanner.com/wiki/ ... re_project
- viewtopic.php?f=7&t=1118 (there are several posts regarding your needs)
These should give you some good understanding of the basics things to do.

From what I can understand (what is the product number of your controler ?) your controler is kind of similar to the Arduino board (see the open hardware project or do a search "Arduino" on this forum and Google). So, once the controler has been downloaded with your software, the serial link to the computer is not used anymore and the controler is in a standalone mode to move the stepper/laser ? If that is the case, I think you can :
- modify your software so that when it is running, to listen/accept commands from DLS through his serial port. DLS use ASCII caracters to send commands (see the Advanced settings in DLS window - COM section ) to a physical COM port.
- add switches to your controler ( 4 ? Start/Stop/Reset/Record Start Position ) and modify your software to read them and send required ASCII caracters to David
Now, if the computer still needs to run a program to send commands to your controler to move the stepper/laser, then you will likely have to use the comocom program (search on the forum) to establish a "virtual" connection between DLS and your software. Other than that the process can be the same as above.

I hope that helps

Kind regards
Francois
 
Posts: 60
Joined: Sun Feb 14, 2010 6:09 pm

Re: Planelss Autoscan Signal Start

Postby Bongobat » Sat May 15, 2010 8:15 pm

DealExtreme red line laser, Microsoft Lifecam HD-5000
User avatar
Bongobat
Moderator
 
Posts: 1002
Joined: Mon Apr 02, 2007 10:02 am
Location: Ohio, USA

Re: Planelss Autoscan Signal Start

Postby creativeconcepts » Sat May 15, 2010 9:40 pm

Thanks for the replies Francois and Greg.

Francois, the controller is the 3540i. I read through a lot of the posts and I'm still unsure. Your post "COM port handshake and David" sounds almost the same minus the second computer and electronics knowledge. Do you think I can make it work? Do I need com0com? I hoped a packaged system would be easier to get started versus wiring my own circuits and recycling motors.

Greg, it looks like there are 3 ways to sync DLS and controllers. Which one is the most reliable or user friendly?

If I can get DLS and the controller to activate, do I need VB?

Maybe it would have been easier to copy others designs!?!?!?!

Thanks,

Rob
creativeconcepts
 
Posts: 3
Joined: Tue May 04, 2010 7:10 pm

Re: Planelss Autoscan Signal Start

Postby Francois » Sat May 15, 2010 10:41 pm

Rob,

creativeconcepts wrote:Francois, the controller is the 3540i. I read through a lot of the posts and I'm still unsure. Your post "COM port handshake and David" sounds almost the same minus the second computer and electronics knowledge. Do you think I can make it work? Do I need com0com? I hoped a packaged system would be easier to get started versus wiring my own circuits and recycling motors.


I will have a look at it tomorrow and we will see. Maybe I can help. Maybe not. But I will try ... :wink:

Kind regards
Francois
 
Posts: 60
Joined: Sun Feb 14, 2010 6:09 pm

Re: Planelss Autoscan Signal Start

Postby Francois » Sun May 16, 2010 10:19 am

Hi Rob,

creativeconcepts wrote:Francois, the controller is the 3540i. I read through a lot of the posts and I'm still unsure. Your post "COM port handshake and David" sounds almost the same minus the second computer and electronics knowledge. Do you think I can make it work? Do I need com0com? I hoped a packaged system would be easier to get started versus wiring my own circuits and recycling motors.

Greg, it looks like there are 3 ways to sync DLS and controllers. Which one is the most reliable or user friendly?

If I can get DLS and the controller to activate, do I need VB?

Maybe it would have been easier to copy others designs!?!?!?!


I looked at both hardware and software manuals (both the SCL and the SI). Nice little unit. Maybe a little overkilled (in terms of amps) to drive the stepper and at the same time lacking software functions. Let me explain :

- I hope by the way that you have the MMI but that's not mandatory. That would make things easier in standalone mode.

- The 3540i is what I thought :
1) you can use a computer to drive it and your SCL (VB) software is running in the computer to drive the 3540i, read inputs (switches), turn on/off outputs (laser, lights for texture/calibration). Everything could be done from the 3540i hardware box to send commands to the' computer (eg: an old 386 or laptop) and then through a serial link to David's computer. But the SCL-VB program needs to be able to send/receive codes through a second serial port and I don't know if this possible within a SCL program with basic VB functions. If yes, comOcom is not necessary.That would be necessary if you decide to use the same computer for DLS and your SCL-VB program. I also need to say that, of course, you could decide that the DLS computer would be the master and therefore DLS sends commands to the 386/laptop (or comOcom) to your SCL program to control the 3540i
2) the 3540i, once programmed, can run in standalone mode and that's great. Unfortunatly the memory is limited to 100 lines of program and there doesn't seem to be a way to read/write the serial port from within a program running in standalone.
- 100 lines : this is not much but I think it's possible if correctly planned
- no access to the RS232 port : that should be ok too by using the input/output lines as indicated in the wiki com section (... Furthermore, if you set the value ScanWhenDcdIsHigh to True, DAVID will start scanning when it receives a positive signal on the DCD pin, and stop when the signal gets negative ...). So, with a little circuit, the DCD line of the David computer RS232 port could be coupled to one of the 3540i input. Then the internal SI program can test that input to start/stop the stepper.

- So, I think it's possible and you can make it work. Looks to me like a fun project to do in standalone mode. I hope that helps but let's see what others think about this.

Kind regards
Francois
 
Posts: 60
Joined: Sun Feb 14, 2010 6:09 pm

Re: Planelss Autoscan Signal Start

Postby creativeconcepts » Wed May 19, 2010 8:27 pm

Hi Francois,

The opportunity has already come and gone.

I think I'll go the Arduino route for now and work on another approach on the side lines. The Applied Motion system would have been neat, clean and self contained. Arduino is not as clean.

I have a 4th axis mini CNC that I would love to drop DLS into and do 360-360 auto scanning with auto fusion, etc. I know I can send GCode commands for on/off procedures (coolant, spindle, etc.). These will be substituted for lasser, scan motion and rotation on/off. I'll post something when I get there.

My issue is that not everyone out there has a CNC, software and hardware like this at their disposal.

Thanks for your input.

Rob
creativeconcepts
 
Posts: 3
Joined: Tue May 04, 2010 7:10 pm

Re: Planelss Autoscan Signal Start

Postby Francois » Wed May 19, 2010 8:49 pm

Hi Rob,

creativeconcepts wrote:The opportunity has already come and gone.

I think I'll go the Arduino route for now and work on another approach on the side lines. The Applied Motion system would have been neat, clean and self contained. Arduino is not as clean.

I have a 4th axis mini CNC that I would love to drop DLS into and do 360-360 auto scanning with auto fusion, etc. I know I can send GCode commands for on/off procedures (coolant, spindle, etc.). These will be substituted for lasser, scan motion and rotation on/off. I'll post something when I get there.

My issue is that not everyone out there has a CNC, software and hardware like this at their disposal.


FWIW and FYI, I also have a 4 axis DIY CNC driven by a HobbyPro CNC board and Mach3. I'm currently driving the DLS laser with a spare HobbyPro board and Mach3 (macros with GCode) running on a computer and "talking" to the DLS computer through a serial link. If you think I can help, don't hesitate to ask.

The above configuration is just to test and get used to the DLS software and capabilities since I already had the hardware & software. Final goal is to setup a scan system based on the Arduino board too.

Kind regards
Francois
 
Posts: 60
Joined: Sun Feb 14, 2010 6:09 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest