Siemens 1215 cpu- ob122

Nepiter

Member
Join Date
Apr 2010
Location
At job
Posts
79
Has anyone come across this kind of problem:

I have 1215FC cpu with profinet and profibus devices.

Because of one device, I would have to have an ob122 or similar block that prevents the CPU from going to stop when profibus node drops off from profibus..

But.. there is no such an OB at cpu1200.

How could I solve this problem without OB122 and he's friends, OB121 and OB86?
 
The Ob's are not resident in the PLC you have to create one, long time since I touched siemens but I think if you program an OB as an empty block it stops it from shutting down cannot remember but remember certain OB's it is dangerous to make it stay in run mode but on coms failure it should be ok.

Have a look at this on the siemens website

https://support.industry.siemens.com/forum/gb/en/posts/how-to-configurate-ob-122/238740
 
Thank You Parky!

Too bad, 1215 cpu does not let me add ob122 manually.
First ob, which is possible to add to this CPU, is ob124.

I'm deploying hardware to the plant, so I'd need the CPU to run temporarily, without some nodes.
 
Solved:

At 1200 CPU parameters -> Startup -> Comparison preset to actual configuration-> DEFAULT:Startup CPU only if compatible.

Change to: Startup CPU even if mismatch.

Now the CPU is running without certain profibus node.
 
Diagnostig buffer should say which OB block is tryed to call before stop. At least that was situation on 300 and 400 series.


Error -> OB call -> NO OB -> Stop



Error -> OB call -> OB finded -> OB Error block does something (programmed alarms etc. or Only empty OB which also prevents CPU stop -> OB1 call -> Error -> OB error call -> etc..


Usually only loaded all OB blocks which were available.


1200 and 1500 errors are not so much stooping anymore and diagnostic can done on normal code easier so OB blocks isn't so much needed than earlier.


p.s There can be several errors on same OB program call.
 
Solved:

At 1200 CPU parameters -> Startup -> Comparison preset to actual configuration-> DEFAULT:Startup CPU only if compatible.

Change to: Startup CPU even if mismatch.

Now the CPU is running without certain profibus node.




Is this preventing also stop if CPU is started whithout IO errors and profibus error is after CPU start?


OB40 maybe keeps CPU allways running.
 
It is not possible to add ob40 to 1200 series cpu.

So far I have no idea, if CPU stays at RUN state, if IO error occurs while running.
I will test that, when we've got that profibus- node up and running.
 
Sorry, my bad!

I just tried to manually add OB40, and that is not allowed in Tia.
But there it is on block selection, OB40 Hardware interrupt.
Too bad, that does not prevent CPU to stop, if I/O access error occurs.

I did test to drop one profibus node from network, while CPU was running.
And CPU did stay at run, when node dropped from profibus, when this selection was selected: "Startup CPU even if mismatch"
 
Sorry, my bad!

I just tried to manually add OB40, and that is not allowed in Tia.
But there it is on block selection, OB40 Hardware interrupt.
Too bad, that does not prevent CPU to stop, if I/O access error occurs.

I did test to drop one profibus node from network, while CPU was running.
And CPU did stay at run, when node dropped from profibus, when this selection was selected: "Startup CPU even if mismatch"

TIA Portal OB40 is for hardware interrupt for (example) High speed Counter.

For Rack/station failure try OB86

Hardware.PNG Rack Error.PNG
 

Similar Topics

Hello, I have a CPU 317-2DP Firmware Version V2.1.8. In TIA Portal only V2.6 is available, and there is no option to upgrade FW. Then I open it...
Replies
2
Views
57
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
7
Views
203
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
89
Hello everyone, I've had this issue for the last 2 days where I try to assign the profisafe address to an IO block (6ES7 146-6FF00-0AB0) but when...
Replies
5
Views
157
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
192
Back
Top Bottom