s5 help

catalin78

Member
Join Date
Feb 2005
Location
Constanta
Posts
115
hello i posted a problem with power failure and s5 not working after power came back ... so i made an overall reset , from the switches of the plc after this the stop led start flashing.
i borrowed from someone a pg720p with step 5v70 and i conect to the plc and delete all internal memory (plc uses an eprom)
after that the stop led is lit and plc wont go in run mode
in step 7 i have istack to debug the program but i don`t understand what that flags mean

i have an x at the following flags or whatever they are : erab traf
reman stozus stoanz batpuf aspnep
i see these flags in istack debug ,
in ob001
i see this instruction :c db 200 what it means?
problem that i can't find db200 in db's downloaded from eprom


heeeeeeelp
 
Last edited:
C DB 200 --> open the data block DB 200.
TRAF --> Transfer error

The CPU try to open a block wich doesn't exist.

May be your program needs a DB200 in RAM for variable data. You can create a DB in RAM by PG on-line:

Editor -> Data block -> in the PLC ->
Block DB200
input KH then 00000000... until the row 255. Then F7 Enter
Restart the CPU.
 
CPU can't write into Eprom area, it can write in the RAM area only.
No CPU instruction delete the Eprom.
You only can delete all the eprom by an U.V. lamp.

This "TRAF" trouble was very frequent in the S5 systems.
 
C DB 200 is the instruction wich caused the TRAF error, because Eprom hasn't this DB.
 
s5

i created the db but stil traf maybe i made something wrong
istack is giving following info :
opreg 3200
blk-stpeb0b
sac 4c0c
fb-no 200
rel-sac 000e
db-add 0000
db no .

condition code : erab marked

cause of inter : traf marked
 
I think this is another trouble.

BLK-STP (stack pointer of the block)
SAC (Step address counter)
REL-SAC (relative step address counter)
DB-ADD (data block address)
FB no 200 ?? FB200 ??

ERAB (first scan)

I can't understand. Does the program has an FB200?, can you display It?
 
s5

plc in run mode :)

the software was created in 95 by other's hands , it was a power failure and when i put the eprom inside i got these errors i'm telling you about rgua how can i test to see if it works? in step 5 v7 is there some feture to watch execution ...?
 
list the OB1; should be the blocks directory.
Test block by block in online mode: TEST --> Block status. Good luck
 

Similar Topics

HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
2
Views
21
I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
103
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
463
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
174
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
67
Back
Top Bottom