Programming Error

mhans

Member
Join Date
Jan 2006
Location
Konya
Posts
48
Hello all

I have an internal error on S7-416 PLC. You can see the diagnostic in the attached file. Can someone explain me the module number in the picture ?

Thanks in advice.

ERROR.jpg
 
Open the errant FB and use edit->goto->blockaddress and enter the address from the diagnostic buffer - it will take you to the line of code causing the diagnostic entry.

fb6.JPG
 
L D[AR2,P#0.0]


this block FB6 is analog measurement block of CEMAT V4.0 system of SIEMENS.

// Some codes //

L P##MW // Baugruppen Adresse
LAR1 AR2
+AR1
L 0
L DIW [AR1,P#0.0] // DB-NR im Pointer
<>I
JC FEH // DB projektiert Fehler
L DID [AR1,P#2.0]
LAR1
L DW#16#FFFFFFFF
L W [AR1,P#0.0] // Wert <-- PROBLEM
==D // Adresse fehlerhaft QVZ
S #t_ulz
T #ROHWERT // Rohwert


any idea ? :confused:
 
Create a new library and insert an s7 program into it. Copy the blocks from your project to the library blocks folder, archive the library and post as an attachment.
 

Similar Topics

I have a customer who had a faulty Siemens OP7. They sourced a replacement. They have the original program. I downloaded the program to the...
Replies
10
Views
2,532
Hello. I first off I wanna say that I am completely new to PLCs and am trying to help fix my Uncles hydraulic press machine that uses a Mitsubishi...
Replies
2
Views
2,785
This problem is a little easy for this board but it is driving me mad so i can use the help. I'm using a PID FB from the TwinCAT PLC Library...
Replies
2
Views
2,333
I want to use register 8107 of a Sy/Max 400 to point to an error register stack but not sure how to program the rung to reserve this 16 register...
Replies
0
Views
1,551
Hi All, I am trying to figure out where my programing error is in the program. The Diagnostics Buffer says Event ID 16#2522. The help tells me...
Replies
3
Views
10,638
Back
Top Bottom