Editing of DBs

Top  Previous  Next

 

Editing a DB you have to distinguish whether it is a freely created DB or a DB that is created as instance-DB to a function block. As well the DB can be created by the model of an UDT.

 

1 Editing of a free created DB

If you have opened a DB you will be able to choose between the declaration view and the data view in the menu View. Only in the data view you can see the currently saved values in the PLC and you are able to change them. In the declaration view on the other hand you can change the name, data type, default value and comment of separate lines. To delete separate lines put the cursor on the first column and press the space bar then. The line is marked. You can delete it with the ‘Del’-key or shift it in the temporary storage with ‘Shift’-‘Del’ or insert it on another position with ‘Shift’-‘Ins’. Unfortunately the marking of several lines is not possible yet.

 

2 Editing of instance DBs and DBs which are created by the model of an UDT.

In these DBs the structure is already specified irrevocably at the creating, so they are opened automatically in the data view and the only thing that you can edit are the data in the PLC:

 

If you monitor a data block at simulation runtime in the data view you will be able to activate the monitoring mode in the menu View, now the view is updated about every second with the values out of the PLC. If you need the current values just sometimes in the PLC you will be able to select View|Update, then the data are only read once out of the PLC.

 

See also:

Editing of OBs and FBs

PLC-Editor