Pages
Input Textarea
Description
Input Textarea allows users to submit free-form, multiline text to a connected logic system.
It works via a Connection String and is compatible only with:
- CODESYS
- Node-RED
- JavaScript Runtime
Whatever the user types will be transmitted directly to the variable. If a corresponding process is pre-programmed, it can trigger an action — like starting a function, triggering a command, or sending a message.
Note: This component only works with the above technologies. Not supported for other systems.
Example CODESYS:
IF ( sText1 <> '' ) THEN
wsText1 := STRING_TO_WSTRING(sText1);
sText1 := '';
CntText := CntText+1;
END_IF
IF ( sText1 <> '' ) THEN
wsText1 := STRING_TO_WSTRING(sText1);
sText1 := '';
CntText := CntText+1;
END_IF
Connection String