Hi all, i want to write and read USB memory by MOTOPLUS. I was troubled with two problems:
1. I plug a USB memory in DX200, and restart the DX200. However DX200 can not start.
2. I used another USB and DX200 started finally. However when i use mpCreate() to create a file in USB, the function's return value is always "-3", which means specified drive name is invalid.
Is there any body used USB with MOTOPLUS?
Your help is very appreciated.
How to use USB in DX200?
-
mftang -
March 22, 2015 at 1:43 PM -
Thread is marked as Resolved.
-
-
Hi,
Did you used the sample to create a file?
If you look at the manual "MotoPlusForVisualStudio" there is in chapter 5, "User defined files".
CodeWith MotoPlus, user defined files can be created, read, written, deleted, etc. from an application by using the file control. These files saved/loaded into the robot CMOS by using an external memory card (CF or USB) in the programming pendant.
And then in a box with a Note mark:
CodeMotoPlus File API's do not have direct access to the CF/USB drives connected to the pendant. The file API's can only access (or create) files stored in the robot CMOS memory.
Are you referring to the CMOS? or to the CF/USB drive?
-
Thanks.
I do not have the "MotoPlusForVisualStudio".
I only got the "DX200_MotoPlus_Reference(HW1481951)_E02","DX200_MotoPlus_Users(HW1481949)_E02" and "DX200_MotoPlus_Programmers(HW1482095)_E02".
In "DX200_MotoPlus_Reference(HW1481951)_E02", the API function mpCreate() is described, and MP_USB0_DEV_POS and MP_USB1_DEV_DOS can be used as the parameters of this function. So, I think USB can be read and wrote by MOTOPLUS definitely.
Maybe, YASKAWA has an access to use the USB and we do not have it.