Communication error during login. logout!
Hello All
I am new to PLC AC500 and Automation Builder so trying to get my head around few basic problems.
I have set the TCP/IP link from my PC to the PLC PM564-ETH, through CoDeSys I can login and download my first project but the ERR light goes on once I download the project, in the information bar it says program not started because of configuration errors, the code does not work at all, but sometimes when I restart the PLC and download the code again everything starts working even though the ERR light is still shining red.
I then decided to read the Error massage somehow to debug the problem, so I used the "diagshow all" in PLC-Brower and it comes with the following messages:
0251598874: active not acknowledged
Class Comp Dev Mod Ch Err
3 14 255 3 0 26
0251596826: inactive not acknowledged
Class Comp Dev Mod Ch Err
4 14 255 2 0 26
I do not know how to read this or use it! So I googled on how to read error codes and found out you will get more information by login in the PLC using automation Builder software, but now when I try to login using the same configuration I used in CoDeSys it gives me this error:
Communication error during login. logout!
I have checked the communication setting by right clicking on the PLC in project tree and clicking on "set Gateway", IP, Port, gateway, all set right but it doesnot work, what am I doing wrong here?
What is the easiest way to get the error code, understand and solve it?
Voted best answer
Both error are related to the I/O Bus.
Please check the physical I/O module beside the PM564-ETH match the list you configure on your project (currently you don't have any I/O module created).
Besides that, please make sure the supply to the I/O Module are connected.
Error code can be found in the Automation Builder online help.
Automation Builder > PLC >
Answers
Hello Amir
can you send a screen shot when the error occours?
Hello Flavio
Here is when the automation builder does not connect:
here is the error code i get using CoDeSys:
Thank you Chai
That solved my problem, I guess the problem started when I first assembled my PLC, I had an I/O module connected to it but then I removed it and did not find it necessary to add it to the project tree.
I did not add anything to the I/O bus as there were no hardware connected, instead I did the “build>clear all” trick and it fixed the communication problem.
I connected to the PLC through AB and found out I was forcing an IP address after connecting to the PLC which it did not like, so I unticked “Force IP Settings” under ETH1 and now it works.
Thank you for your help.
Add new comment