Handling of Structures, Enumerate Data Types and Bitfields
Bit access is available for integer data types up to 64 bit.
This includes:
- TESTBIT() and SETBIT() functions
- Bit Fields usage
- using bitnumbers (syntax: variablename.bitnumber e.g. myint.3)
Hint: Enumeration-Types must be declared in the Types section in the Workspace and can then be assigned as type to needed variables.
Deletion
Via multiple selection it is possible to delete content from a Type in one shot.
The deletion option can be used for the following Types:
- Structures
- Enumerate types
- Bitfields: The deletion will be done without a confirmation dialog.
Hint: The deletion is only available in case of a homogeneous selection.
Proceeding:
- Click on the Toolbar of the main window on the entry Open Types.
The Types view will be opened. - Press the CTRL button and select the desired content with clicks of the left mouse button.
- Click on the DEL button.
A safety dialog will be opened. Do you want to delete this structure: - Yes: The structure will be deleted, but the dialog will be opened again for the next structure which should be deleted.
- Yes All: All selected structures will be deleted.
- No: The structure will not be deleted, but the dialog will be opened again for the next structure which should be deleted.
- No All: None of the selected structures will be deleted.
- Cancel: Aborts the dialog. No structure will be deleted.
Undo/Redo
In the Enumerate Data Types section and the Bitfields section you can use the Undo/Redo command.
Hint: The Undo/Redo command works only for one itemtype at a time.
Handling of Structures, Enumerate Data Types and Bitfields |
IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Handling of Structures, Enumerate Data Types and Bitfields |
Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator