PCCC protocol causing problems

This works really well for me. I just stuck it in a 30 second gateway script.

import java.lang.String
x = system.dataset.toPyDataSet(system.device.listDevices())
for row in x:
if java.lang.String(row[2]).contains(‘PCCC’):
system.device.setDeviceEnabled(row[0], 0)
system.device.setDeviceEnabled(row[0], 1)

1 Like

That’s a great idea!

I know this is an old post by now, but for anybody stopping by, what you need to do is go to Device Connections under OPC UA, find the PLC in the list, press edit, and then on the properties screen, write "1,0" (no quotes) in the Connection Path text field. Save it, then your connection problems should be solved. Worked for me.

1 Like