The embedded live changes table (EMBLIVES) consists of a number of contiguous (EMBLIVE) definitions, each of which contains all the information about a specific set of live changes to the ladder file itself: each set is actually an independent live changes file but embedded in the ladder file itself.
The location (relative to the file) and the number of elements in the table are specified by the HEADER.EMBLIVESOFF and HEADER.EMBLIVESCNT fields, respectively.
When loading, the various live change files are applied in the exact order in which they appear. The actual application of the changes is governed by the appropriate flag in EMBLIVE.FLAGS (value 0x0001): only the last live change file may possibly have this flag set to false, indicating live changes not yet applied.
Definition of embedded live changes
An embedded live changes (EMBLIVE) consists of the following information:
Name |
Offset |
Type |
Description |
---|---|---|---|
FILEOFF |
+0 |
U32 |
Offset of the live edit file (offset relative to the ladder file). |
FILESIZE |
+4 |
U32 |
Size of the live modification file. |
FLAGS |
+8 |
U16 |
File settings: 0x0001 = Actual changes to be applied. |
|
+10 |
U8[22] |
(reserved) |