Jump to content
OMRON Forums

Making DownloadFile(...) / Download(...) under Windows 10 actually download a .56K file into a Turbo Clipper


Recommended Posts

Posted

I am still working with PMAC controllers (UMAC, PMAC2-PC104, Turbo Clipper) with our in-house specific software developed under PewinPro.  We have some 250 machines in the field.

To help customers diagnose occasional problems and installing upgraded versions of our motion software, we have created a small Windows application (Borland C++ Builder 5) that allows sending commands (GetResponseEx), select a controller, and download our precompiled motion software (i.e., a .56K file).  For those systems using Windows 7 (64 as well as 32) or older (back to Windows 98 SE) all works well.

For the latest machines that use Windows 10, we use the drivers that come with PewinPro2, and we essentially duplicated the small Windows app (MinGW, wxWidgets) on the basis of the corresponding PcommServer instead of going through pcomm32.dll.  The single commands work, the controller selection works, but the file download does not.

For the file download, I tried calling
     g_idevice->DownloadFile(device, file)
as well as
     g_idevice->Download(device, file, bmacro, bmap, blog, bdnld, pbsuccess)
The program compiles, links and executes without complaint but no trace of the .56K file shows up in the controller.  The .56K file is still the one created with Pewin32Pro, not Pewin32Pro2.  For now, I take a Windows XP laptop with our original utility app to do the download when readying a machine for shipment.  Although updates to our motion program in the controller are very rare, I don't want to rely on our customers being able to also bring in an old PC for just the update exercise.

What a I missing to get DownloadFile(...) or Download(...) to do their job?

Hans-Jochen Trost

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Thanks for pointing me in the right direction.  An apparent disadvantage is that this requires shipping the original source files (.pmc) for field updates rather than the single .56K.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...