Communication.settings.json
In this file, you define the connection between CODESYS 4 and the device where your application should run.
The communication settings of the project are stored in CODESYS 4 in the UTF-8-encoded Communication.settings.json file. For more information, see the following: Getting Started in CODESYS 4.
Location of the file:
In the case of a device project, in the folder:
*.fbsdev
Example 49. Example of a
Communication.settings.json file{
"device": {
"nodeName": "MyDevice"
},
"gateway": {
"type": "CODESYS.GwV3",
"name": "",
"hostName": "localhost",
"port": 1217
}
}Key of Communication.settings.json
Table 20.
Key | Type | Description |
|---|---|---|
| ||
|
| Name of the device where the application should be loaded, for example |
| ||
|
| Type of gateway |
|
| Custom name of the gateway |
|
| Host name/IP of the gateway |
|
| Port of the gateway |