VHMI AB DRIVER

G

Thread Starter

Gary

I was wondering if any of you have used the DF1 driver from vhmiautomation.com. I'm able to download only the first value when running the project. If I set a breakpoint and step through the code then everything works fine. I thought perhaps the cable was the issue so I purchased the 1747-CP3 (Still no such luck). Here is my code....

For i = 4 To 50
If Cells(i, 5).Value = "" Then
MsgBox "Download Successful!"
Exit Sub
End If
ListBox1.AddItem Cells(i, 1) & " -> " & Cells(i, 5)
With abdf1
.Memory_FileAddress = Mid(Cells(4, 4).Value, 2, 1)
.Memory_StartAddress = Mid(Cells(i, 4).Value, 4, Trim(3))
.Memory_LengthInWords = 1
.Memory_Function = WriteMemory_df1
.Memory_Type = N_Integer_df1
.Memory_DataInt(0) = Cells(i, 5)
.Control_Update
End With
Next i
 
Top