Siemens S7 313C Simulation problem.

Falconeer

Member
Join Date
Apr 2008
Location
Los Angeles
Posts
4
Hi, I am new here and also to Siemens PLCs.
I was trying to simulate the analog scaing function after taking the value in from IW752 and then moving it to MW752 and then scaling it.
I have configured the input as 4-20 mA. For simulation I am setting the FC105 to 0.0 and 400.0 Deg. C.
The issue is that the simulation runs fine until I activate the FC105 (using I0.2) This is where the PLC goes into SF and stops.

I tried to put a latch rung just to see how far the simulation goes. That works fine and I can also see the IW752 values moving into MW752. But as soon as I hit the I0.2, SF and System Stops.
Even tried to make a new project just to delete everything and start over.

Any ideas?
 
Can you post picture of your program? I'm not really sure what are you doing.

In your software, analog input value is integer number 0 to 27648. You simply use your PIW or IW and connect it to appropriate input of FC105. YOu can find plenty examples if you search the forum...
 
I tried using PIW752, and still the same thing. Let me post a screen dump of the program I wrote. In the S7 training, I made it take the 4-20 froma pot and scale it and then unscale it out to an output measured on an ammeter. Cannot do it now anymore, dunno why!
The moment I hit I0.3, it goes into SF and stops.
Fault.jpg
 
You really mean when you hit I0.2 don't you ?
Are you sure FC105 is actually present in the plc ?
Have you examined the diagnostic buffer after the stop ?
 

Similar Topics

hello Friend There is one old system with S7 300 CPU which is password protected and I dont know the password. Now I want to remove the password...
Replies
6
Views
5,915
Hi every body, i am goning to change cpu313c 2dp instead of cpu 314. Is it possible? What shuld i do? Please help. Regards
Replies
3
Views
2,798
Hello everybody i have a siemens cpu 313c and when i tern power on all leds at front of cpu stay for a sort time on and after all leds go off...
Replies
3
Views
2,657
Hello; I need help downloading a program to a Siemens CPU 313C. The program was uploaded from a 314IFM. I modified the HW Configuration by...
Replies
10
Views
13,653
Hi Peps, Does any one know if the s7-300 CPU313C 6ES7 313-5BE00-0AB0, USES PROFIBUS, Just bought one as a toy, and can't get the comms working at...
Replies
3
Views
1,901
Back
Top Bottom