<< Click to Display Table of Contents >> Navigation: »No topics above this level« Description |
mapp Services V5.16
The MpLink of an MpCodeBoxCore configuration is used for this function block.
To use this function block, MpCodeBoxCore must be active since it is the only function block that can execute programs cyclically!
This function block manages a single Ladder Diagram program without affecting the other running programs. This Ladder Diagram program can be started, stopped or paused.
Input parameter "Name" defines which Ladder Diagram program should be managed. The desired program must be located on the storage medium specified in the MpCodeBox configuration when starting up the target system.
If the Ladder Diagram program is not on the storage medium yet, it must be imported using MpCodeBoxManager.
Various commands can then be executed for the Ladder Diagram program:
•Start: Command "Start" reloads the specified program. If the program was stopped by setting command "Stop" to TRUE, it can be restarted by setting "Start" to TRUE. If changes were made to the program in the meantime and the program is saved, then these changes will be applied and executed.
•Suspend: Suspends the currently running program. It can be restarted with command "Resume".
•Reload: Reloads the program. Reserved for future use
•Resume: Resumes the program suspended previously with "Suspend". Changes to the program that were made previously are not applied. For this, the program would have to be reloaded, i.e. the program must be stopped (command "Stop") and then restarted (command "Start").
•Stop: Stops the program currently being executed. The program is uninstalled and can only be reloaded and executed with command "Start".