[Bug]: s7-1500 NullPointerException
anganing opened this issue · comments
Hello, is your s7-1500 a real device?
Hello,
-
If it is a physical equipment, check the address of the device or the CP.
-
If it is the Advanced PLCSIM, you must assign it an IP address within your subnet.
-
If it's not the advanced, standard PLCSIM, you can try [1].
@hongjinlin
no, I use snap7 server demo.
@glcj
i use snap7 server demo. i repalce it to NetToPLCSim, when i connect to the server:
try my repository. It's NettyPlcConnection bug
@hongjinlin no, I use snap7 server demo.
It seems that the snap7 server is not started successfully. Can you confirm if your 127.0.0.1:102 is listening?
@hongjinlin no, I use snap7 server demo.
It seems that the snap7 server is not started successfully. Can you confirm if your 127.0.0.1:102 is listening?
yes, i sure. that is i use another tool with port 102 cause Permission denied
@hongjinlin no, I use snap7 server demo.
It seems that the snap7 server is not started successfully. Can you confirm if your 127.0.0.1:102 is listening?
yes, i sure. that is i use another tool with port 102 cause Permission denied
Hi, I think you can use the snap7 client to determine whether the data can be read normally. Or if you just want to confirm whether the PLC4X is normally used in your scenario, you can try it with a physical device.
whatever happens a NPE shouldn't occur there. @glcj any idea?
Hello,
I'll take note, but it must be associated with regex processing.
It can be seen that it has erroneous addresses, for security it should pre-process the PlcTags before carrying out the build and discard those that contain errors.
From that point of view it is not so unreasonable to avoid execution with error tags.
Kind regards.
Hello,
I'll take note, but it must be associated with regex processing.
It can be seen that it has erroneous addresses, for security it should pre-process the PlcTags before carrying out the build and discard those that contain errors.
From that point of view it is not so unreasonable to avoid execution with error tags.
Kind regards.
Thank you very much for your help. I hope the documentation can be more detailed (with more usage examples), which can help beginners quickly use it