Yes. I guess it is in some README file, too. Under Windows, you can only use this adapter with original communication drivers and dlls from Siemens. This means you need to have some Siemens product (e.g. Step7) installed. And you must choose the USB/MPI adapter in the dialog where you set up the connection between computer and PLC.
From libnodave test programs use:
testS7online s7online
I must say that the communication using Siemens drivers & dlls is a new feature and not yet as stable as the rest of the library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If yo use a third-party product please tell us.
For example the "MPI-USB Interface cable" from the company "Process-Informatik" has an virtual COM-Port which works together with the libnodave.
sincerly yours
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The kernel module for the Siemens USB/MPI adapter coming with libnodave also establishes a virtual COM port. I do not know how to manipulate (patch?) USB serial drivers under windows, but I can immagine that if you could bring any driver for USB serial devices to accept the combination of vendor ID/product ID of the Siemens device, it might work.
In this case, you would have to use:
testMPI -3 COMx
on it.
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Under Linux, there are these ways:
1. If you have kernel 2.6.13, load the module siemens_mpi. Then, if you have no other serial devices on USB, you will get a /dev/ttyUSB0. Use this with:
testMPI -3 /dev/ttyUSB0
You must use the -3 because this adapter only "understands" that transport protocol.
2. If you have another kernel, try to compile the module for it. Please read the README in the module's subdirectory for hints how to do it.
3. If you cannot do any of this, you may try testUSB.c which handle the adapter from user space using libusb. But beware, I wrote and tested it and then did major changes to the main library and had to adapt it without being able to test it again. See comments in testUSB.c or usbGlue.c
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to use the siemens_mpi.ko under kernel 2.6.12 (compiled it myself according to the makefile). Modules load ok, usb-mpi adaptor is recognized when I plug it in, but there is no /dev/ttyUSB0 or anything ttyUSBx.
System is SLAX 5.0.6, libnodave is 0.8.2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2016-02-17
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can I use a USB/MPI adapter with Libnodave8.1 under Windows to connect to the S7 PLC's?
If yes, how?
Yes. I guess it is in some README file, too. Under Windows, you can only use this adapter with original communication drivers and dlls from Siemens. This means you need to have some Siemens product (e.g. Step7) installed. And you must choose the USB/MPI adapter in the dialog where you set up the connection between computer and PLC.
From libnodave test programs use:
testS7online s7online
I must say that the communication using Siemens drivers & dlls is a new feature and not yet as stable as the rest of the library.
If yo use a third-party product please tell us.
For example the "MPI-USB Interface cable" from the company "Process-Informatik" has an virtual COM-Port which works together with the libnodave.
sincerly yours
The kernel module for the Siemens USB/MPI adapter coming with libnodave also establishes a virtual COM port. I do not know how to manipulate (patch?) USB serial drivers under windows, but I can immagine that if you could bring any driver for USB serial devices to accept the combination of vendor ID/product ID of the Siemens device, it might work.
In this case, you would have to use:
testMPI -3 COMx
on it.
Thomas
Can I use the USB/MPI adapter with Libnodave8.1 under Linux to connect to the S7-300 CPU?
Or must I use the RS232/MPI adapter?
Under Linux, there are these ways:
1. If you have kernel 2.6.13, load the module siemens_mpi. Then, if you have no other serial devices on USB, you will get a /dev/ttyUSB0. Use this with:
testMPI -3 /dev/ttyUSB0
You must use the -3 because this adapter only "understands" that transport protocol.
2. If you have another kernel, try to compile the module for it. Please read the README in the module's subdirectory for hints how to do it.
3. If you cannot do any of this, you may try testUSB.c which handle the adapter from user space using libusb. But beware, I wrote and tested it and then did major changes to the main library and had to adapt it without being able to test it again. See comments in testUSB.c or usbGlue.c
I tried to use the siemens_mpi.ko under kernel 2.6.12 (compiled it myself according to the makefile). Modules load ok, usb-mpi adaptor is recognized when I plug it in, but there is no /dev/ttyUSB0 or anything ttyUSBx.
System is SLAX 5.0.6, libnodave is 0.8.2