Function that allows writing to a display.
Depending on the control used, writing occurs on different displays. With an RP-2 control this function writes to the 4x20 display built into the control. With other control models, writing takes place on the dispan module, if one is connected to the control.
Syntax |
i32 write_dis (string str [, i32 len=40] [, i32 offset=0]) |
||||||
---|---|---|---|---|---|---|---|
str |
String to be displayed |
||||||
len |
Number of characters to display. (optional, default 40) |
||||||
offset |
Start of buffer. (optional, default 0) |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
The last two lines of the display are handled by RTE via appropriate menus. Act on the predefined variable dis_display to limit/reduce these managements |
Example of use:
|