Daniel_EWW Posted February 11, 2019 Report Share Posted February 11, 2019 Hello Unitronics Team, I tried to connect the pilz PNOZ safety PLC to the Unistream USB Host to exchange data. Unfortunately, this was not succsessful. Windows is using the "usbser.sys" driver to communicate with the pilz PLC (see enclosed picture). I do not know how complex it is to implement this driver in the Unistream PLC. Maybe you can look into it. The communication between the PC and the Unistream with a USB rs232 adapter with the prolific chip is working wonderful :). Best regrads, Daniel Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted February 11, 2019 MVP 2022 Report Share Posted February 11, 2019 As i see in manual http://www.eltron.pl/uploads/manufacturer_catalogs/16/10342/INSTRUKCJA_OBSLUGI_PNOZmulti_mini.pdf pilz PNOZ mm0p - used USB port only for download project via commisioning software. I think it is impossible to conect this typ of pilz safety module to Unistream. This pilz PNOZ safety PLC is standalone device with dual processor operation working with downloaded via card or usb project. No networking option is offered by manufacturer for this device, or you choosed wrong pilz model. Quote Link to comment Share on other sites More sharing options...
Daniel_EWW Posted February 12, 2019 Author Report Share Posted February 12, 2019 Hi kratmel, this is not correct. You can exchange data (virtuell I/O's, LED Status and so on) over the integrated USB interface even with the standalone device mm0p (As you can see in the picture of my first post). And this is really graet to exchange information with the main PLC. http://downloads.pilz.nl/downloads/PNOZMulti/PNOZmulti_Com_Interface_Op_Man_1001154-EN-10.pdf See chapter 5.3. Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted February 12, 2019 MVP 2022 Report Share Posted February 12, 2019 1 hour ago, Daniel_EWW said: See chapter 5.3. In this chapter is present only RS232 and Ethernet connection. Please describe you configuration. As i see in your manual mm0p must have communication addon module for RS232 and Ethernet connection. The RS232/Ethernet interfaces on the configurable control system PNOZmulti are used to -Download the project -Read the diagnostic data -Set virtual inputs for standard functions -Read virtual outputs for standard functions. The interfaces are integrated into the PNOZmulti base units. ThePNOZmulti Mini base units do not have an integrated interface, but a communication module with interface can be connected. Either a serial interface RS232 or an Ethernet interface is integrated, depending on the base unit type or communication module. Serial interface RS232 – Base units PNOZ mXp – Base units PNOZ mmXp + PNOZ mmc2p 2 Ethernet interfaces – Base units PNOZ mXp ETH – Base units PNOZ mmXp + PNOZ mmc1p Communication via the integrated interface (protocol, requirements), as described in this document, is supported from the following versions of the base units. -Base unit PNOZ m0p: From Version 3.1 -Base unit PNOZ m1p: From Version 6.1 -Base unit PNOZ m1p ETH: From Version 2.1 -Base unit PNOZ m2p: From Version 3.1 -Base unit PNOZ m3p: From Version 2.1 -Base units that are not listed support the described communication via the integrated interface from Version 1. But you say USB... No USB option is present in manual. USB is used only by commisioning software. Do you whant to use undocumented connection via USB port? This is two option - USB is integrated in pilz main processor (no information about :( ) , or it is separate USB to RS232chip inside used (you must know what chip). In this case maybe only creators can offer driver integration for pilz USB to use it via Unistream USB host. If you use standard pilz connection option module (RS232) - USB to rs232 adapter with the prolific chip maybe work. Or better use much faster Ethernet. Quote Link to comment Share on other sites More sharing options...
Daniel_EWW Posted February 12, 2019 Author Report Share Posted February 12, 2019 You are right that USB is not mentioned in this chapter. But as you can see in the picture of the PNOZmulti Configuration tool you can add virtuel I/O's. And it is working perfectly :). To the test configuration: I connected the PNOZ mm0p via a USB cable to my PC (PC is USB Host). Now it is possible to communicate with the mm0p via a termial program (e.g Hterm) as described in the manual. No additional HW needed. The "only" thing missing is the implementation of the "usbser.sys" driver in the unistram operating system ;). Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted February 12, 2019 MVP 2022 Report Share Posted February 12, 2019 Maybe it is problem with driver :( Only prolific supported. https://support.unitronics.com/index.php?/selfhelp/view-article/unistream-and-usb-serial-device https://support.unitronics.com/index.php?/selfhelp/view-article/what-type-of-usb-device-can-be-connected-to-the-usb-host-port-of-the-unistream https://support.unitronics.com/index.php?/selfhelp/view-article/UniStream-and-communication-with-3rd-party-devices Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.