Settings that are relevant for the OPC server are displayed in the [Server] section of the OPCServer.ini file. Some of the parameters listed here can be configured in the OPCServer.ini using the OPC configuration tool.
However, some parameters are only available for configuration when manually editing the OPCServer.ini file.
Parameter / entry |
Meaning |
---|---|
PLCs=1 |
Number of controllers |
PLCx=[<PLC name>] |
The name of a controller is allocated to this variable. The placeholder x refers to the index from 0 to number of controllers -1. |
Logevents=1 |
Enabling the log mechanism |
Logfilter=15 |
Filter for log file |
Memloginterval=1 |
Specifies the interval (in seconds) for generating log entries indicating memory consumption. Value 1 indicates that a log entry is generated every second. This parameter is used if the log entries for the memory consumption are enabled with the parameter Log filter. |
ReadCyclesAfterWrite=1 |
A callback is executed after each write job of the client for a value to retransfer the present value to the client after 2 update cycles. This setting is required for values that are changing quickly. |
UseColonAsPlcDevider=1 |
If a value greater than 0 is configured, the first dot . (for example, the dot after the controller name) is replaced by a colon. |
Updaterate=200 |
Update rate (in milliseconds) |
GroupUpdateBehaviour=1 |
Data-changed callbacks (callback function for file modifications) are generated for the enabled/disabled item. If the value is 0, callback functions are generated for the items of the group when one (or several) items within the group is/are being enabled or disabled. |
The following table lists the Log filter options. To enable several entries, add them and enter the result under log filter.
Log filter |
Description |
---|---|
15 (16#0000000F) |
Generating default log entries. |
32 (16#00000020) |
Generating additional entries. |
48 (16#00000030) |
Generating debug entries. |
512 (16#00000200) |
Generating log entries on memory consumption. The entry is generated in intervals specified with the memloginterval parameter of the Settings section. |