Closed David-Krizak closed 4 months ago
On which line do you get the error about the unsupported login?
If it is when trying to read from plc memory, it is because you need to disable the safe mode of pyLSV2. To do this, add safe_mode=False
as a parameter to the line con = pyLSV2.LSV2("192.168.125.101")
.
The safe mode limits the accepted login type. This is meant to stop you from damaging the machine.
it was my fault, found it. Sorry....
However I try to connect to machine i get unknown or unsupported login could not log in as user PLCDEBUG. Tried it on multiple machines. code:
console:
iTNC530E [] 5 unknown or unsupported login could not log in as user PLCDEBUG unknown or unsupported login could not log in as user DNC
Am I doing something wrong?