<< Click to Display Table of Contents >> Navigation: »No topics above this level« Editing the MpCodeBox configuration |
mapp Services V5.16
The MpCodeBox configuration must be edited next. A data storage device is specified under "Program device name". This must already be created in the target system configuration.
All ladder diagram programs are stored on the data storage device.
Macros must be created in order to later program in the ladder diagram editor.
A macro can be an action or condition. Actions are shown as coils in the ladder diagram editor; conditions are shown as contacts.
Action "Action_Input" and condition "Condition_Output" are now created.
For information about how to create macros, see section Macros.
If action "Action_Output" is TRUE, then variable "Output" in program "Data" is set to TRUE.
Condition "Condition_Input" becomes TRUE if variable "Input" in program "Data" is set to TRUE.
A program ("Data") is created that contains variables "Output" and "Input" of data type BOOL: