Gx works 2 tutorial
If you are already familiar with high-level programming languages like PHP, Python, and C, Structured Text will seem familiar to you. It’s a great way to learn the how-to program different types of PLC’s. They can be programmed with Structured Text and you can start already now with the Siemens S7-1200 Starter Kit, which is also a great kit to get you introduced to the Siemens PLC environment.ĭon’t forget to check out my reviews of the best PLC programming courses.
Probably the most common PLC (in Europe at least) is the Siemens S7 PLC’s. The fact that this is a standardized programming language also gives us the option to program different PLC brands with Structured Text. You can even have function blocks containing functions written in Structured Text.
#Gx works 2 tutorial code#
You can, for example, scale a PLC analog input or output with just one line of code or set an alarm for your SCADA system solution.Īnother advantage is that you can combine different programming languages. By using a text-based PLC programming language, your program will take up much smaller space, and the flow/logic will be easier to read and understand. But in my opinion, that is only true for smaller PLC programs. The programming language is text-based, compared to the graphics-based ladder diagram or Function Block Diagram.Īt first, it may seem better to use a graphical programming language for PLC programming. Structured Text is PLC programming language defined by PLCOpen in IEC 61131-3.