1.Description
Entry of text via a visualisation page (see sample project). A text (Input 1) can be edited as desired. A single character can be attached (Input 2) and the last character (Input 3) or the whole text (Input 4) can be deleted.
Note
Input 2: Invalid ASCII codes are ignored by the module.
2.Inputs
No. | Name | Initialisation | Description |
---|---|---|---|
1 | E1 Text | "" | Text (Text) - Text to be edited. |
2 | E2 ASCII | 0 | ASCII (numeric) - ASCII code of the character that should be attached to the text. The module ChrToASCII (17783) can be used for determining ASCII codes. |
3 | E3 BS | 0 | Backspace (numeric) - A value > 0 deletes (if present) the last character in the current text. |
4 | E4 Clear | 0 | Clear (numeric) - A value > 0 deletes the entire text. |
5 | E5 Cancel | 0 | Cancel (numeric) - A value > 0 undoes all the entries regarding the text that were made beforehand. The module is blocked until a new text (Input 1) is present. |
6 | E6 OK | 0 | OK (numeric) - For a value > 0, the edited text is output at Output 2. The module is blocked until a new text (Input 1) is present. |
7 | E7 Shift key | 0 | Shift key (numeric) - As long as a value <> 0 is present, all lower case letters entered through Input 2 are converted into upper case. |
3.Outputs
No. | Name | Initialisation | SBC | Description |
---|---|---|---|---|
1 | A1 Display | "" | s | Display (text) - Always the currently edited text. |
2 | A2 Result | "" | s | Result (text) - This output sends the text of the display if OK (Input 6) <> 0. |
3 | A3 Done | 0 | s | Done (numeric) - Displays with the value 1 that an OK (Input 5) or a cancellation (Input 6) was triggered. The module does not react now to any entries until a new text (Input 1) is present. |
s = send, sbc = send by change
4.Other
Recalculation during start: | No |
---|---|
Module is retentive: | No |
Internal designation: | 17777 |
Category: | Text functions |