Siemens - How to diagnose the ports of my Scalance XR324-12M switch (Profinet)?

benxi

Member
Join Date
Jan 2011
Location
tournai
Posts
2
Hello,

I would like to be able to read useful information in S7 v5.5 about the status of the different ports on my Scalance switch; such as which port is connected, which one is not connected,...

I am actually able to know if my switch is connected or not to my PLC (and generate an alarm), but I can't get more diagnostic information. I use the SFC51 block in order to read datas in my switch. SFC51 sends me back datas in a word "eastat". I have found in Simatic manager help :
BIT 0 =1 => "I/O Status" Could somebody explain me what does it mean?
BIT 1=1 => module failure
BIT 2=1 => module is present. Here I guess it is a communication information (PLC S7300 <->Switch)
BIT3 = 1 =>unavailable module. I guess than if bit 2 = 1 then bit 3 =0. Am I right?
BIT4=1=> disabled module
and so on...
===> no very useful information as regards the management of my switch

I know there is a possibility using SNMP, but I need an OPC server + OPC client for this. I don't have it for my project.

Does somebody have some experience about it?

Thanks in advance

Benoît
 
I have experience with other Scalance model for fiber ring who includes web-server for parametering and monitoring.
For each port was parameter, as 'must be in use'.
If not, it is in faulty state and activates alarm contact who was connect to plc's input.
With browser can see port animation, are they in use or not or faulty.
In Scalance was 4 RJ-ports, 2 fiber pairs for fiber ring, reduntant 24V= supply and not ok. (=alarm) contact.
 
Thank you for your reply

...But I was seeking for a "coding" solution, over the network.
The most easy way is definitely to use SNMProtocol but I need to set up a Simatic OPC server, and I don't know how the OPC client of my HMI software will react (as it is a very specific software; guy who sells the software said me than the OPC feature is not working!).
Anyway, I plan to fly to your country, Finland next week for commissioning! My switches are already installed on site, so I can't test the web functionalities.

Thanks again for your help
 
Wellcome!
Here is half meter snow everywere. In Helsinki sunrise at 9.00 and sunset 16.00. In Utsjoki sunrise at 11.00 and sunset 13.36.
 

Similar Topics

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
4
Views
82
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
126
Hello to all, I'm just starting with using CodeSys. Immediately, I have noticed that Codesys doesn't use data blocks like for example S7 does...
Replies
11
Views
164
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
111
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
330
Back
Top Bottom