Siemens PLCs, Step 7, and Different Programming Styles?

Tharon

Member
Join Date
Jan 2007
Location
Other
Posts
1,430
I was working with a person from Europe and they used Siemens PLCs. I had never used Siemens before, and he mentioned that Siemens had different types of programming you could use. Ladder, Block Diagram, and he called the last type "Binary" (Boolean?). I assumed by Binary, he meant something like an Assembly code.

He mentioned that Ladder could be turned into Binary, but Binary couldn't always be turned into Ladder, due to some commands not being avialable in ladder.

I was wondering what type of commands these would be?
 
Actually he refered to STL (Statement lists), you should check on www4.ad.siemens.de and search for more informations. You can find tons of infos there.
STL is something like PLC's assembler language. You can write program as ladder diagram and convert it to STL with just one mouse click, but the other way is not always possible because Ladder diagram produce NOP (no operation) lines when converted to STL, these are primary used for converting to graphical symbols I belive.
There are also other possiblities such as SCL which is very similar to Pascal programming language. You can easily write complex program's structures such as loops and branches.
 
Last edited:
These come quickly to mind: LAR, TAR, SET, CLR.

It will be worth your while to get very familiar with STL. A programmer can still write most of the code in Ladder, while using STL for most of the indirect and math functions.
 
Besides STL and LAD , there is also FBD ( function block diagram) where you put your logic together using and gates , or gates etc .This is my my favorite and again you can turn it into STL but STL to FBD is not always possible.

Greetings

Eric
 

Similar Topics

Security searchers have found a security flaw with an hardcoded private key. Basically it affects every S7-1200 and S7-1500 CPU version before...
Replies
0
Views
764
Hi, I have S7 Profinet PLCs with local IP addresses in my plant. Can I use the 1783-NATR to configure a 1:1 NAT to get to the plant network...
Replies
7
Views
4,898
Hello to the Knowledgeable Masses, Our company is looking to dabble in the world of Siemens PLCs and HMIs. I am going to order a starter kit to...
Replies
30
Views
8,752
Dear Friends; We have following Siemens PLCs at machines; CPU224 6ES7 214-1AD23-0XB0 CPU226 6ES7 216-2AD22-0XB0 CPU 319-3 PN/DP MODULE CENTRAL...
Replies
4
Views
1,704
Hi, I am working on a project in Digi Module ConnectME9210 and sending data to Allen Bradley PLC (CompactLogix 5370 family). I am not sure which...
Replies
2
Views
3,935
Back
Top Bottom