Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW library for Molex SST-DN4-USB DeviceNet master, is it possible?

Solved!
Go to solution

Hi,

 

What's the latest on the SST-DN4-USB? It looks like I would wrap functions the dnscan32.dll, as described in

5136-DN/5136-DNP, DeviceNet Scanner Module / 32-Bit DLL API, Reference Guide, Version 2.21, to create a LabVIEW library for this device.

 

Has anyone done this, does this work? Are there LabVIEW VIs available for this? How many man hours did it take to get it working?

Thanks,

Chris C.

0 Kudos
Message 1 of 5
(461 Views)
Solution
Accepted by topic author DowNow_

Hi,

 

I'll answer and close this in case anyone is looking in the future. Molex tech support gave me the latest manual,

SST DeviceNet Scanner ModuleFirmware/Windows DLL Reference GuideDocument Edition: 4.0

Document #: 717-0001

and some LabVIEW VIs, a .llb and a big example VI. It's all pretty decent.

cc

0 Kudos
Message 2 of 5
(434 Views)

Where can I get it? Can you post it?

0 Kudos
Message 3 of 5
(99 Views)
Highlighted

Hi,

I don't think I should post it. Call Molex tech support, and ask for LabVIEW sample code for DNSCAN32.llb. There might be a webpage to enter your question. There's really just two VIs, but it does show what order to send some commands. The manual that goes with it is 717-0001___SST DeviceNet Scanner Module Firmware DLL Reference Guide.pdf

 

I opened several ticket with them and the engineers were good.

cc

0 Kudos
Message 4 of 5
(87 Views)

I wrote my VI following the example in the manual. Functions without structure data type input(s), i.g. DNS_OpenCard and DNS_CloseCard, work fine. They return TRUE. But, functions with structure inputs return FALSE. They don't generate errors so can't tell what went wrong. I used Adapt Type and Pointers to Handles in the function calls. Another thing that does not sense in dnscan32.dll is in the configuration struct, data type for BaudRate is WORD. For 16-bit integer the max is 65535. How do you set baudrate of 125,000 bps, which is the lowest setting for the device. Understnad you cannot post it. But, maybe you can share how VI example is passing struct parameters and baud rate??? 

0 Kudos
Message 5 of 5
(72 Views)