[opc]
Settings for the OPC client
[opc] enableGeneralQuery
- Type
- string
- Default
- Yes
- Range
- Yes|No
[opc] ioReadBack
- Type
- string
- Default
- Yes
- Range
- Yes|No
[opc] mapInvalidAdressToDrvInvalidBit
- Type
- string
- Default
- yes
- Range
- yes|no
[opc]
mapInvalidAdressToDrvInvalidBit = "yes"
is set in the config file, the invalid bit of the driver is set if the address (OPC item)
cannot be found in the server. The bit is reset as soon as the address exists in the server
and the system tried to use the address using_OPCGRoup.retryCorruptItem. If this is
successful, the address is available in the server and the server sends an update. Thus, a
value from the driver is sent to WinCC OA and DRV_INVALID is reset. Thus, the DP is not
invalid anymore. Note that the same OPC group must not be used for two different OPC
drivers. [opc] pollCount
- Type
- unsigned integer
- Default
- 32
- Range
- >0
Defines the number of data points that can be polled at once. If several polling requests are queued they will be processed in the next driver cycle.
[opc] priorityClass
- Type
- int
- Default
- 0
- Range
- Linux: -20-19 Win:-1-2
[opc] server
- Type
- string string
Example:
server = "server1" "www.foo.com/ETM.OPC.Simulation.1"
If a OPC client establishes a connection to several servers, a datapoint has to exist for
each sever (for each server config entry). You can create the datapoint via the OPC
parameterization panel. See chapter Panel OPC server. Assigns the ProgID
ETM.OPC.Simulation.1 to the symbolic name server1. The path is optional. If a path is given,
it must be separated by a "/" from the ProgID. When a path is given, the server is
automatically started as a remote server on the specified computer. All UNC names
("//server" or "server") and all DNS names ("server.com", "www.foo.com", or "135.5.33.19")
can be given as path names. At least one server must be specified, and a maximum of 20
servers can be started at the same time. The symbolic names of these servers must differ.
This is necessary because for each server there has to be a datapoint of type _OPCServer,
whose name includes the symbolic name (see chapter _OPCServer (OPC Client)). [opc] timeStampFromServer
- Type
- string
- Default
- Yes
- Range
- Yes|No