Pilz Pnoz X2p

3 views
Skip to first unread message

Jennifer Curtis

unread,
Aug 3, 2024, 11:22:12 AM8/3/24
to soilalimoon

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.

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.

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.

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.

Right now the profinet communication between the pilz and the s7-1500 is working fine, but I want to remove the s7-1500 because it's not doing anything else right now other then communicating with the pilz module.

The problem is that the code that's used to communicate over profinet to the Pilz is written in STL, with s7-1200 you can't program in STL apperantly, so I want to convert it to SCL. I have no previous experience with STL and was hoping someone could first of all clarify if what I want to do is even possible. I doubt it's possible because the STL code from the 1500 uses pointers and I'm not sure this is even possible with a 1200

I have uploaded the code that's used in the 1500, and added some comments to what I think each line means, feel free to correct me if I'm wrong there, because as mentioned before I've never seen STL code before

The code does simple thing. It reads 4 bytes of input and SCATTER them into 32 booleans which are outputs from the function. Then it takes 32 booleans which are inputs of the function and GATHER them into 4 bytes of output.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages