<< Click to Display Table of Contents >> Navigation: »No topics above this level« MpCodeBoxCore configuration |
mapp Services V5.16
Configuration MpCodeBoxCore is used for Ladder Diagram programs.
For information about how the configuration can be adjusted at runtime, see here in section "Changing the configuration at runtime".
•Show advanced parameter
Name |
||||||
Interpreter |
||||||
Sandbox-Variable |
A MpCodeBoxCore configuration is required for each MpCodeBox instance.
Sandbox variable
A variable/structure that can only be used by one MpCodeBox instance can be specified using a sandbox variable. For additional information, see here.
A MpCodeBoxCore configuration must be inserted for each MpCodeBox instance. If multiple MpCodeBox instances are used, different processes can be triggered in the machine via the sandbox variable, although the same macros and actions are used by the MpCodeBox configuration. As explained in section here, the variables used as sandbox variables are mapped to the local process variables via PV mapping. This method guarantees a secure download. This also allows, for example, another process to be triggered in MpCodeBox instance A as in MpCodeBox instance B.
Example:
A machine manufactures products in two-shift operation. Machine operator A works the morning shift, and machine operator B the afternoon shift. Product A is produced in the morning shift, and heating A must be individually adjusted for this product. Product A is produced in the morning shift, and heating A must be individually adjusted for this product.
To make this possible, action "StartHeater" is present in the MpCodeBox configuration. With the sandbox variable, "StartHeater" triggers a different process, however, depending on which user is currently logged on to the machine. The reason for this is that the sandbox variable is mapped to different local process variables via PV mapping. This allows different heaters to be activated and adjusted.