<< Click to Display Table of Contents >> Navigation: »No topics above this level« Ladder Diagram |
mapp Services V5.16
Ladder Diagram is a graphical programming language of IEC 61131-3 that has similarities to electrical circuit diagrams. Ladder Diagram displays commands and shortcuts with symbols (contacts and coils) and connecting lines.
For general information about the Ladder Diagram programming language, see here.
For information about how to start a Ladder Diagram program, see "Getting started" tutorial Creating a ladder diagram program at runtime. |
The MpCodeBox configuration is required for creating a Ladder Diagram program. Macros used for programming can be defined with this configuration. The configuration can also be used to define which process variables are permitted to be accessed in the application. For example, the machine builder can limit variable access so that customers can query the state of the application but cannot write to process values.
An MpCodeBoxCore configuration is added to each MpCodeBox instance. A "sandbox variable" can be defined via this configuration. The sandbox variable can be used to perform a secure download. For additional information, see here.
The Ladder Diagram program is executed in the context of function block MpCodeBoxCore. This means that when MpCodeBoxCore is called, the various programs defined via input parameter "Programs" are also executed. The Ladder Diagram programs are executed in the same cycle time as function block MpCodeBoxCore. It must be ensured in the application that changes in the program at runtime do not damage the machine.
Function block MpCodeBoxProgramControl can be used to pause, continue or stop a program at runtime.
Function block MpCodeBoxManager can be used to import or export existing Ladder Diagram programs to a storage medium, for example.
Widget LadderEditor can be used to display or create a Ladder Diagram program. For additional information, see section Binding with mapp View.