STL programming

"Automating with Step 7 in STL and SCL" by Hans Berger.
This is Step 7 but the basics are the basics. (S7-300 & S7-400).
Not sure if it's still out there, I'm looking at a 4th edition one on my desk.
They used to come with "examples", project samples.
 
"Automating with Step 7 in STL and SCL" by Hans Berger.
This is Step 7 but the basics are the basics. (S7-300 & S7-400).
Not sure if it's still out there, I'm looking at a 4th edition one on my desk.
They used to come with "examples", project samples.
This.

I have all of Bergers books, very good. The older books come with a 3.5" floppy with examples, you can normally pick these books up used on eBay very cheap.
 
berger is on archive.org also, which I think makes it available to borrow digitally for an hour at a time for a nominal patronage fee.

nope, sorry about that.
 

Attachments

  • 1761912563073.png
    1761912563073.png
    223.5 KB · Views: 4
s400/s1500
FYI, there are some differences in how STL works in the 1500 vs the older 300/400.

The 400 basically thinks in STL, the address registers and status word are real memory areas.

The 1500 is a modern CPU that has an OS and all that jazz. It emulates an S7-300 to create all the address registers and stuff like that (making it slower than LAD/SCL/etc), and there are differences in how things like the OPN instruction works, although I don't know the details.

Best practice is to avoid STL in a 1500, it's mostly only done in migrations when the 1500 is replacing a 300/400 that were already STL heavy.
 
FYI, there are some differences in how STL works in the 1500 vs the older 300/400.

The 400 basically thinks in STL, the address registers and status word are real memory areas.

The 1500 is a modern CPU that has an OS and all that jazz. It emulates an S7-300 to create all the address registers and stuff like that (making it slower than LAD/SCL/etc), and there are differences in how things like the OPN instruction works, although I don't know the details.

Best practice is to avoid STL in a 1500, it's mostly only done in migrations when the 1500 is replacing a 300/400 that were already STL heavy.
This is the exact application i have, a400 that i have migrated into 1500. Got everything up and going just having a hard time recognizing without actual tag inforation what everything is. I managed to get most everything i needed for the new HMI i built (Unified pro panel) but i have access issues when it comes to the marker bits so i am mainly using DB to fill in what i need. I can read marker bits all day long on the HMI but cant access them to do a write command. Sync, makingsure the bits were writable and all the tricks i tried to get around it didnt work. Im at the stage where im wondering if the old HMI still being connected is the possible issue. The system was built in the 90s on S5 and upgraded to s7 in 2014 with an old parker pc hmi powerstation that isnt playing well with the new HMI.
 

Similar Topics

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...
5
Replies
3,566
Views
Dear experts, I m new to the STL programming and I have a problem that I can not solve. I'm working on a program that controls the...
2
Replies
3,419
Views
Hello everyone! I've just stared with programming on STL and I have problem which I can't understand. I'm writing programs on Step 7 and I'm...
2
Replies
2,964
Views
Hello everyone! I've just stared with programming on STL and I have problem which I can't understand. I have this piece of code:
1
Replies
2,432
Views
I have a programming problem. I was originally asked to read and display a flowmeter with a 4-20mA o/p and display a continuous flow reading. The...
4
Replies
3,248
Views
Top