Welcome to My Studio
Welcome to My Studio
Abstract and inherit
“We have a range of control platforms in our Logix family,” he continues, “but our development environment is designed to look the same to the user regardless of what application they are trying to control. The same programming tools and the same instruction set is used.” Abstraction, a concept imported from personal computer (PC) programming, comes into play here. It’s the process of simplifying programming by masking some details in order to allow the user to concentrate on others.
“We provide users with a tool that they need to organize their control execution while not tying that development to the limitations of a particular hardware platform,” says Bliss. “They are abstracted from the hardware in the sense that the limitations of the hardware don’t manifest themselves in the programming environment. Then, once they’ve developed their application, the system compiles and builds source code appropriate to the targeted control platform.” Not only does this help reduce initial development time, but it also facilitates the reuse of programs despite changes in the scale of the target application or the hardware used.
The studio approach has been aided by another concept borrowed from the PC world: inheritance, or the ability to create new objects by using existing, previously validated objects. This allows the creation of standardized libraries whose components can be modified via add-on instructions. Along with reducing development time and ensuring consistency, this impacts an organization in other ways as well.
“Say, for example, you’re an end-user and you hand your code off to one of your systems integrators, who then discovers a problem with some aspect of it,” explains Bliss. “The necessary changes can be made, and then through a simple import operation, you can replace the existing code and inherit the changes throughout the system without having to go in and manually edit each instance where that particular problem occurred.”
Language flexibility
Standardized programming languages, such as those contained in IEC 61131-3, are central to the studio approach, as Mark DeCramer, product manager for automation vendor Wago Corp., Germantown, Wis., makes clear. Referencing his company’s CoDeSys integrated programming environment, he notes that its use of IEC 61131-3 allows users to develop their applications or routines in whichever of the standard’s four languages is most efficient for the purpose at hand.
“Languages such as Ladder Diagram and Sequential Function Chart are prevalent in our industry,” he observes, “but it can be cumbersome to write sorting, file-access and numerous other routines using these languages. These routines can be written as function blocks and stored in libraries, where they can be easily re-used and shared among users, reducing software development time.”
DeCramer goes on to note other advantages of this multi-language capability. “The Structured Text Programming language permits constructs such as IF-THEN-ELSE, DO WHILE, FOR-NEXT and CASE statements, which allows writing well-formatted software. The same software can be written in ladder logic, but the resulting code will be rife with JUMP statements and disjointed logic, making it difficult to read, re-use and especially troubleshoot. Logic written in Structured Text is also easily commented, resulting in more readable software.”
“Easy to troubleshoot” brings up another selling point of the integrated, ...










Comments(0)
Add new comment