S7-318 not restarting on power up

MartinW

Member
Join Date
Apr 2008
Location
UK
Posts
70
Two problems; first - despite no discernable power outage, diagnostic buffer says "STOP caused by power failure".

Second problem - on restart the PLC goes into STOP mode. The following is from the diagnostic buffer: (remember event 58 occured before event 57)
S7 Diagnostic Buffer said:
Event 57 of 100: Event ID 16# 49A0
STOP caused by parameter assignment error or unpermissible difference between preset and actual configuration: startup disabled
No relevance for user (SDB no.): 1005
Previous operating mode: STOP (internal)
Requested operating mode: STOP (internal)
External error, Incoming event
11:22:29.111 AM 02/24/2009

Event 58 of 100: Event ID 16# 6547
Parameter assignment error assigning parameters to modules (not on P bus, cancel download)
no relevance for user: SDB number: 1005
Operating mode: STOP (internal)
Internal error, Incoming event
11:22:29.026 AM 02/24/2009

I can reproduce this fault by powering the rack off and on again. When I watch the rack power back up, I can see that the CP343-1 appears to have a fault on power up.

So I went to the diag buffer for the CP343-1:-

343-1 diagnostic buffer said:
-----------------------------------------------------------------------
02/03/09 11:25:22
Module type: CP 343-1 IT
Module version: V 2.0.7
Hardware version: 1
Order number: 6GK7 343-1GX11-0XE0
S7 subnet ID of destination network: ---
Address of dest. station
network attachment: 10.96.25.167
Rack: 0
Slot: 4
-----------------------------------------------------------------------
1 ! 01/01/1994 12:00:00.412 AM OMS Event ID: 0xF9C1:0x0301 / 0x00000020
No valid configuration data found.
OMS error code: 0x0020
2 01/01/1994 12:00:00.854 AM Mgt Event ID: 0xF9C1:0x0203 / 0x00000020
Module database invalid.
Internal cause: 0x0020
3 01/01/1984 12:00:00.000 AM Mgt Event ID: 0xF9C1:0x0260 / 0x00000000
The MAC address was fetched from the system SDB. This is the configured address.
4 01/01/1984 12:00:00.000 AM Mgt Event ID: 0xF9C1:0x0254 / 0x00000064
Network interface: Automatic setting, TP/ITP at 100 Mbps full duplex
5 !! 01/01/1984 12:00:00.000 AM Mgt Event ID: 0xF9C1:0x0223 / 0x00020020
Module STOP due to parameter assignment.
6 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x0316 / 0x03EC0000
The CPU containing the SDBs loads an SDB 1004 with assured consistency of type 0x0000; no corresponding SDB of this type was found in the database.
7 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x0319 / 0x03EC0000
The reloaded SDB 1004 was already loaded by the CPU containing the SDBs (SDB type 0x0000); this does not change the consistency of the database.
8 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x0316 / 0x03ED3002
The CPU containing the SDBs loads an SDB 1005 with assured consistency of type 0x3002; no corresponding SDB of this type was found in the database.
9 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x0316 / 0x03EE3100
The CPU containing the SDBs loads an SDB 1006 with assured consistency of type 0x3100; no corresponding SDB of this type was found in the database.
10 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x031C / 0x03EF3118
The SDB 1007 loaded by the CPU containing the SDBs is the consistency assurance SDB (SDB type 0x3118)
11 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x032C / 0x03EF3118
Database now consistent after SDB 1007 was loaded by the CPU containing the SDBs (SDB type 0x3118)
12 01/01/1984 12:00:00.000 AM OMS Event ID: 0xF9C1:0x032D / 0x00000000
The retentive part of the module database will be erased after loading by the CPU module.
13 01/01/1984 12:00:00.000 AM Mgt Event ID: 0xF9C1:0x0260 / 0x00000000
The MAC address was fetched from the system SDB. This is the configured address.
14 01/01/1994 12:00:00.000 AM Time synchronization Event ID: 0xF9C1:0x0619 / 0x00000000
The SIMATIC mode was selected for time-of-day synchronization of the module.
15 01/01/1994 12:08:04.590 AM Mgt Event ID: 0xF9C1:0x0215 / 0x00000000
Downloading the module database causes module restart
16 01/01/1994 12:08:05.666 AM Mgt Event ID: 0xF9C1:0x0254 / 0x00000064
Network interface: Automatic setting, TP/ITP at 100 Mbps full duplex
17 01/01/1994 12:08:08.588 AM Mgt Event ID: 0xF9C1:0x0220 / 0x00000000
I/O enable by S7 CPU

The PLC can be restarted by twice going from RUN-P to STOP to RUN-P. This appears to confirm that the PLC is not missing any code it needs to restart but I don't understand why it's not restarting automatically.

Before anyone says I need to sort the power supply issues out, I KNOW!!:) I need to find out why it won't restart first. (Siemens Tech support, usually excellent IMHO, told me not to investigate further until I sorted out power. So if your car won't start, just don't ever turn the engine off then?):rolleyes:o_O
 
For some reason, I can't get the time sync between the CP343-1 and the CPU318. The time on the 318 is correct.
 
If what happened was a "brown-out" rather than a full power off, then that can cause all kinds of odd problems. Like maybe the 318 was shutdown, but not the CP343-1.

Another possibility is if there is a bad connection on the backplane. It does say that it cannot see the CP343-1 ("not on P-bus").

Was this just an odd occurrence, or does it happen repeatedly ?
 
Hi Jesper,

The symptoms are repeated when I do a full power off, i.e. knock the breaker off.

It's happened three times in the last week. I suspect ultimately a problem with the Siemens PSU which is causing the odd "trips" but the underlying problem is more serious, IMO.

The rack is arranged with I/O cards AFTER the CP343-1 so a bad connection would be unlikely? The I/O powers up properly.
 
The rack is arranged with I/O cards AFTER the CP343-1 so a bad connection would be unlikely? The I/O powers up properly.
It does say "P-bus" which is the regular i/o bus. So yes it sounds odd that the following modules work OK.

You could change the PSU, any regulated 24V will do. But I do find it strange if a full shutdown can cause such a problem.
Next step would be to swap the CP343-1.
 

Similar Topics

Hi - I am unfamiliar with Siemens PLCs but have been given ownership of an S7-300 CPU318-2 with IO and a network interface card at site. The PLC...
Replies
18
Views
4,261
Hi guys, Hoping someone can help me get this working. We are trying to add a CP343-1 Lean card to an existing CPU318-2 setup (Simply to connect...
Replies
21
Views
3,543
Dear all, I encounter a problem on a siemens 318-2 DP, old model, with a backup memory-battery and a memory card (no MMC) This plc is connected...
Replies
20
Views
4,010
hi I have a profibus gateway connected to my plc s7 318...
Replies
1
Views
1,315
Hi all, I'm trying to fit a CP343-1 Lean card (v3.0 6GK7 343-1CX10-0XE0) on to an existing rack that has a CPU318-2 (6ES7 318-2AJ00-0AB0) in...
Replies
2
Views
4,687
Back
Top Bottom