Johnny T
Member
Hi,
A couple of questions that I've thought of concerning Siemens S7. Probably a few of them are simple questions that really I should know the answer to, but.. as they say, no-one is born with knowledge. If you could answer any or all of them it would be really appreciated...
1) In the program elements list in Ladder, why do we have a 'coil' version of things like counters and timers, and also a 'full' version, ie. a block that you can fill in all the inputs to? Why not just have the block? What's the advantage of just using the coil version (if any) ?
2) In S7, what percentage roughly of things can be achieved just with Ladder. ie. is it really necessary to use STL or is this just a throw back to S5? Or is it that 95% of things can be achieved in Ladder but we just need STL for things like Pointers? (I'm not sure if you can use pointers in Ladder - although I suppose you could with the Double Word elements)
3) In a Data Block, if an address is assigned as a Data Type of 'array' ie.
How are those words addressed? Are they addressed as DB1.DBW32 up to DB1.DBW98 ?? If so, why use an array?
4) Why in S7 when giving a Timer its time-base do we use S5T#1S for 1 second. S5T in the help file comes up as S5 Time. Is there not an S7 Time? If so, how is that written?
5) In Data Blocks when we declare a Data Type to be an INT why don't we just use Words. I know an INT is any whole number, but declaring an address as a Word allows us to store a whole number in it so why the need to specify INT??
There are probably more questions I have but, as its Monday morning, I'll leave it there for now.
Any answers gratefully received...
Cheers
JT
A couple of questions that I've thought of concerning Siemens S7. Probably a few of them are simple questions that really I should know the answer to, but.. as they say, no-one is born with knowledge. If you could answer any or all of them it would be really appreciated...
1) In the program elements list in Ladder, why do we have a 'coil' version of things like counters and timers, and also a 'full' version, ie. a block that you can fill in all the inputs to? Why not just have the block? What's the advantage of just using the coil version (if any) ?
2) In S7, what percentage roughly of things can be achieved just with Ladder. ie. is it really necessary to use STL or is this just a throw back to S5? Or is it that 95% of things can be achieved in Ladder but we just need STL for things like Pointers? (I'm not sure if you can use pointers in Ladder - although I suppose you could with the Double Word elements)
3) In a Data Block, if an address is assigned as a Data Type of 'array' ie.
DB1
Address +32.0 ARRAY[1..34]
WORD
How are those words addressed? Are they addressed as DB1.DBW32 up to DB1.DBW98 ?? If so, why use an array?
4) Why in S7 when giving a Timer its time-base do we use S5T#1S for 1 second. S5T in the help file comes up as S5 Time. Is there not an S7 Time? If so, how is that written?
5) In Data Blocks when we declare a Data Type to be an INT why don't we just use Words. I know an INT is any whole number, but declaring an address as a Word allows us to store a whole number in it so why the need to specify INT??
There are probably more questions I have but, as its Monday morning, I'll leave it there for now.
Any answers gratefully received...
Cheers
JT