S7 300 Programming

benji

Member
Join Date
Oct 2008
Location
syria , Aleppo
Posts
72
Hello​
first I wanna say that Im new here so hello everybody

Im going to use the S7-300 Modular plc to monitor 8 tempreture sensors so I need 8 Analog inputs
I m not sure what cpu to use and what analog input cards to use as I have never worked with s7 plcs

i do seek advice and thank you in advance
ps​
whats the software to program it​
and I also want to learn about analog inputs programing​
where is the way to go ,,any manuals​
 
Last edited:
step 7

I used these analogue cards to measure temperature in our company:

SM331,8AISIMATIC S7-300, ANALOG INPUT SM 331, OPTICALLY ISOLATED,8 AI, 13 BIT RESOLUTION,U/I/RESISTANCE/PT100,NI100, NI1000, LG-NI1000,

The software = look for simatic step 7

Check out the diffirence between 2wire and 4wire, I used 2wire.

The analogue input is in Siemens PLC's: INTEGER 0 to 27648

If u want to represent it in 30 to 180 degrees for example, then you have to scale, mostly I do it like this:

L PIW256 // ANALOGUE INPUT ADRESSING
ITD
DTR
L 27648.0
/R
L 150.0 // new range
*R
L 30.0 // offset
+R
T RESULT // Result in Real format

Or use FC105 out of the siemens library.






Best thing todo would be buying a book of Hans Berger, Step 7 LAD/FBD would be a good beginning.



benji said:
Hello​


first I wanna say that Im new here so hello everybody

Im going to use the S7-300 Modular plc to monitor 8 tempreture sensors so I need 8 Analog inputs
I m not sure what cpu to use and what analog input cards to use as I have never worked with s7 plcs

i do seek advice and thank you in advance

ps​
whats the software to program it​

and I also want to learn about analog inputs programing​



where is the way to go ,,any manuals​
 
...

CPU: don't know what other things you wanna do in the PLC



But, a 314 is not bad...



Also check VIPA





benji said:
Hello​


first I wanna say that Im new here so hello everybody

Im going to use the S7-300 Modular plc to monitor 8 tempreture sensors so I need 8 Analog inputs
I m not sure what cpu to use and what analog input cards to use as I have never worked with s7 plcs

i do seek advice and thank you in advance

ps​
whats the software to program it​

and I also want to learn about analog inputs programing​



where is the way to go ,,any manuals​
 
thanks u combo

I do program in Ladder logic, can you show me how to read the analog input in ladder logic,, i would appreciate it

and how do you kow whats the cards analog input address?

and about the software i see that there is S7 micro/win
and S7 professional
S7 Lite and S7 mini

which one is the one i need for S7 300 modular?

the thing im goin to do is watch the 8 temp sensors and keep the
temp in the 8 rooms stable at a designated value
so its a matter of turning the heater on/off

plus i want to connect the plc to the computer
i know about the COM port
are there special softwares for that?
i can build the software on the computer side
but again i dont know how the s7 sends/recieves data bytes
 
1.
2_jgfdhkg.jpg

2. open hardware
1_jghdfkg.jpg

3. S7 professional
4. You need PC Adapter for communication between a PC (COM interface) and a SIMATIC S7 (MPI/DP interface) - (order number 6ES7 972-0CA23-0XA0);or the SIMATIC PC Adapter USB connects a PC via a USB interface with the MPI/DP interface of an S7 systems - (order number 6ES7 972-0CB20-0XA0). You don't need any special softwares, except for the drives for second adapter.
 
thank u for the pictures but can you explain a little about the block above, the fc105?
i suppose the PIW256 is the address of the first analog input?

whats the M0.1 at bipolar?

thank u
 
benji said:
yea i know but what does it mean in the drawing that there is the M0.1 at the Bipolar terminal?
The state of the bit will decide if it is Bipolar or Unipolar
M0.1=0, then Unipolar
M0.1=1, then Bipolar
 
can you provide me a ladder logci program of how to read analog signal from 4 to 20 mamps and on output when signal is at 10 mamps

i would appreciate it
 
If you look at post #5 by madman it's already there.
Plug in your values for High and Low and use a comparison so when equal or above 10mA then output is on.
No step7 on this PC right now.
 
...

OB100 = first scan OB.

Write:

SET
S M0.1


It will be true then...


But, I would do it in OB1 network 1 =>


Write:

AN M0.1
S M0.1


Each cycle it will be checked, if it's not 1, then it will be SETTED to 1





benji said:
is it a memory bit? how do i set it to 0 or 1 ?
 

Similar Topics

Hey Guys I am trying to figure out the correct cable to use to connect from my laptop to this Panelview using panelbuilder32. I was sure I had...
Replies
5
Views
2,040
Hi Sir, I am using S7-300/400. I am usually using FC 03 and FC04 to transfer (R/W) bool values by moving them DBs. However i want to R/W bool...
Replies
1
Views
2,058
Hi, I have a 315-2 PN/DP CPU. It was programmed in Step 7 V5.5. Then a colleague programmed it in TIA Portal V13 for a test. Now I want to...
Replies
6
Views
2,273
I'm new in STL programming, today I was checking some example codes and found this: L 1 L QB 4 SLW T QB 4 SET SAVE...
Replies
5
Views
2,558
Hi guys, once more I need your help: Siemens Part Number 6GK1571-0BA00-0AA0, (see the attached image) is this the correct part for...
Replies
4
Views
2,330
Back
Top Bottom