Siemens S7 Profibus

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi
I am looking at a spec for a system where I want to use a Siemens S7-300, MP3xx terminal and 6 ET200 slaves all on profibus.

A colleague is adamant that if a ET200 is powered down the main PLC wont detect when it is repowered, and is telling me he has seen it on a previous job

Any advice is welcome

Cheers
 
Sounds like your colleague is remembering S5 behaviour where the CPU builds its address table on power up.

You can program OB86 to handle these events, otherwise the CPU will go into stop.

Nick
 
Please put the MP panel on ethernet.

In addition to OB86, add OB85 to the project. OB85 triggers when the program tries to access peripherial i/o that is unreachable.
 
Hi
Jesper
I dont know if ethernet is going to be available (looking into costs), but agreed if it is.

MrSlipMat
The ET200 is located in smaller sub panels that may be isolated for mainenance independantly of the main panel

General
OB86 and OB85..... I realise these are called as error OB's to prevent the CPU faulting .What would be the required code inside these to restore comms. Assume the ET200 is nodes 4,5,6,7,8.

I am looking into code to put into OB85 to generate loss of slave alarms /mimic display

I wont have any hardware for a few weeks to play with so not easy to sort out

Cheers
 
Hi

I am looking into code to put into OB85 to generate loss of slave alarms /mimic display

Cheers

There is ready made diagnostics (wincc/wincc flex viz + code for cpu) for profi from siemens, FB126 is current, you can find it on siemens website.

Witch cpu are you going to use?
 
"A colleague is adamant that if a ET200 is powered down the main PLC wont detect when it is repowered, and is telling me he has seen it on a previous job"

I think I'm right in saying if after powering down the slave then you viewed the Hardware Diagnostics, it would be report I/O access errors. When the slave is powered up and the hardware diagnostics updated the message would have cleared. So in answer to your question, the CPU does detect when powered up. (as stated by others the correct OB's would have to be loaded but without any code)
 
Hi
I thanks for all the advice
Regarding FB126 I looked at this before but couldnt find documentation to say what the DB contents were. I saw something Jesper wrote about Siemens new firmware broke FB126

I am probably going to use a 315-2PNDP ... 2 profi net and 2 profibus ports if funds permit
 
Profibus comms are restored automatically when the slave is detected again.
Use OB86 to detect coming and going of slaves and to make the program act accordingly, alarms etc.
OB85 is triggered when trying to access the I/O's on these 'offline' slaves.
The help (F1) on OB86 is quite clear and has all the information you need to detect which slave has come and gone.
 

Similar Topics

I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
547
Kindly, we are trying to go online on an S7-300 plc, with profibus communication, using a CP5711 adapter. But when we open the Ladder and press...
Replies
0
Views
780
I'm trying to figure out how to read the actual speed reference value from the move blocks, writing to a DB that is being sent to the VFD. For...
Replies
5
Views
2,630
I have a piece of equipment with control split between two PLCs. A quantum 434, and a Siemens S7-300, communicating via profibus. I have a prosoft...
Replies
14
Views
5,259
Dose anyone have experience with Beckhoff FC3121 profibus master PCIe card connected to Siemens CP342-5 as a profibus slave? The data retrieved...
Replies
17
Views
4,800
Back
Top Bottom