I am running a Codesys 2.3 program on a WAGO PLC ethernet controller. After I upload the program and click 'Run', the communication with the controller freezes (as it appears). I can't communicate with the controller until I physicall reset the device and reload all the network settings.
Does someone have advice for this situation?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
first make a simple blinker program,check for correct working and communication.
be sure the program is not activating watchdog, and does not change the internet settings.
if still problems zip program and put it here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2015-06-21
Originally created by: scott_cunningham
This typically happens when you write to a memory location you shouldn't and the PLC crashes.
Many possibilities:
Defining an array[1..9] and then forgetting vars init to 0:
I am running a Codesys 2.3 program on a WAGO PLC ethernet controller. After I upload the program and click 'Run', the communication with the controller freezes (as it appears). I can't communicate with the controller until I physicall reset the device and reload all the network settings.
Does someone have advice for this situation?
Thanks!
first make a simple blinker program,check for correct working and communication.
be sure the program is not activating watchdog, and does not change the internet settings.
if still problems zip program and put it here.
Originally created by: scott_cunningham
This typically happens when you write to a memory location you shouldn't and the PLC crashes.
Many possibilities:
Defining an array[1..9] and then forgetting vars init to 0:
This will compile but crash or act weird when run..
Using a pointer that points to a wrong location.
Etc
Thanks for your help! It apparently was an infinite loop.