Schneider M340 PLC Halt issue

scantime

Member
Join Date
Apr 2014
Location
US
Posts
25
Hi all, been having some trouble with a Schneider M340 PLC halting somewhat seemingly randomly recently. The watchdog timer is being maxed out and getting a "task overrun" message. I've done troubleshooting such as: disabling for loops, disabling sections of logic individually and also checking for divide by zero math. Disabling any one section does not seem to have an effect on PLC halting. Oddly, moving several structured text sections to the FAST (from MAST) task did seem to have a positive effect, but unfortunately I was not able to test on site for a long time, and these changes were removed. This is a setup with several VFDs and a CANopen network. Any insights?

Thank you!
 
Last edited:
What version of unity are you running.
I had serveral m340's hang up. The only way to get them going again was to power down, remove the sd card, power up so the plc memory is empty then plug sd card in again and redownload.
The problem I found on all of them was using unasigned bool variables on coils. So the plc halted everytime that coil switched on
As soon I gave them an address the problem stopped.
If I remember correctly this was on unity v6
 
Thanks Chud, It's Unity Pro S V7.0. I'll take a look through the program to check for the coil issue you described.
 
Just to add. For version 7 there are alot of hotfixes on schneiders website.
If I were you I would also download and install all those hotfixes.Then redownload the program to cpu
 

Similar Topics

so i have an isssue where if the serial port of an M340 plc disconnect from the screen it would retain the values of the variables being sent...
Replies
1
Views
903
I need to establish communication between Schneider M340 and S7-1500 PLC. I am using gateway converter for MODBUS TCP TO PROFINET protocol...
Replies
12
Views
2,955
I have a system installed in my company which have M340 PLC and it has a program which is used toh turn lights on and off. I am attaching program...
Replies
5
Views
3,345
Hello Everyone, I have one task which involves migration of Premium PLC CPU P57104M to M340 PLC. My senior have given me converted program from...
Replies
3
Views
3,901
Hi guys, I am using BMXP341000 processor and a NOC04001 Communication module. I have seen some you tube videos where people configuring the...
Replies
2
Views
2,627
Back
Top Bottom