Connections
CODESYS Username & Password
These fields are used to authenticate the WebSocket connection once it is established with the PLC.
Purpose
The CODESYS Username and Password must match the credentials expected by the CODESYS WebSocket server.
Default Credentials
Provided by the CODESYS backend library:
- Username:
Administrator - Password:
Administrator
If authentication fails:
- The HMI will not be able to access PLC variables
- No data updates will be received
Important
To enable WebSocket communication on the PLC, you must instantiate the WebSocket server interface in your CODESYS code.
Add the following line (typically in [code_block_2] or a global initialization block):
[code_block_3]
Administrator
Administrator