FB_CXSetTextDisplay

The functionblock FB_CXSetTextDisplay can be used to send text messages to the two line display of the CX1100.
Inputs
VAR_INPUT
bExecute : BOOL;
nDevID : UDINT;
nMode : E_CX1100_DisplayModes;
stLine : STRING(20);
nCursorPos : DWORD;
END_VAR
Name | Type | Description |
---|---|---|
bExecute | BOOL | The command is executed with a rising edge. |
nDevID | UDINT | Device ID of the CX1100 device. |
nMode | E_CX1100_DisplayModes | Mode switching |
stLine | STRING | String with 20 characters. This string is shown in the display with the corresponding command. |
nCursorPos | DWORD | Cursor position. The string is written from this position in the display. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bErr : BOOL;
nErrorID : UDINT;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | The command is in the process of being transmitted by ADS. No new command will be accepted as long as |
bErr | BOOL | Becomes TRUE, as soon as an error occurs. |
nErrorID | UDINT | Supplies the error number when the |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | CX (x86) | Tc2_SystemCX |