Auditing in mapp CodeBox

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Auditing in mapp CodeBox

mapp Services V5.16

Events for these components can be recorded using MpAudit. For more information about how to create an entry, see section Defining the event text.

The following events can occur for these mapp components:

Codebox event

This event type is used to record events in mapp Codebox. Only events that occur when using Ladder Diagram programs are recorded.

Event ID

112

Components

MpCodeBoxCore, MpCodeBoxManager, MpCodeBoxProgramControl

Events

idx

Returns the index of the currently generated event. The value is incremented on each new event. The first generated event in the event list thus has value 1; the 50th event has index 50 and the 100th has index 100.

desc

Description of the event

op

Name of the user who was logged in when the event occurred

ev

Event ID

map

Name of the mapp component to which the event is assigned via MpLink

prog

Name of the program

type

Specifies how the program was modified. Can assume states "ProgCreated", "ProgDeleted", "ProgChanged" and "ProgImport".

ityp

Action that was executed in a mapp CodeBox. The ID for the action is returned (e.g. 1 for "Program was deleted").

For additional information, see the following table:

Event

Identification number returned (via %cb)

The program was created.

0

The program was deleted.

1

The program was changed.

2

The program was imported.

3

For information about how to specify the event text, see section Using the new format.

Example of the new format:

"CodeBox event: Program: {&prog}, Action: {&typ}" evaluated: "CodeBox event: Program: MyProgram, Action: ProgCreated", which means that program "MyProgram" was newly created.

Example of the old format:

"CodeBox event: Program: [%prog], Action: [%typ]" evaluated: "CodeBox event: Program: MyProgram, Action: ProgCreated", which means that program "MyProgram" was newly created.