39 lines
2.7 KiB
Markdown
39 lines
2.7 KiB
Markdown
---
|
||
name: data-access
|
||
description: >-
|
||
CI Server R1.03 ACCESS Service: OPC UA, OPC DA, OPC A&E and ODBC. Use when the user wants to
|
||
connect CI Server to an OPC UA server (OPC UA client line, station, subscription, points,
|
||
certificates, node IDs, browse), let another application read CI Server data over OPC UA, OPC
|
||
DA or OPC A&E (CI Server as OPC server, OPC visible / read / write, port 34493, endpoints,
|
||
security policy, trusting client certificates, UaExpert), check why an OPC connection fails
|
||
(BadCertificateUntrusted, BadSecurityChecksFailed, item stays NOT INIT), configure DCOM or DCOM
|
||
tunnelling for OPC Classic, use ODBC / SimbaClient / SQL on datasets, or check the ODBC server
|
||
(odbsrv, port 1583, SSL certificate). Sources IM 36K10L45-01EN, IM 36K10E20-01EN.
|
||
---
|
||
|
||
# Data access: OPC and ODBC (R1.03)
|
||
|
||
Background: `knowledge/manuals/IM36K10L45-01EN.md` (ODBC, OPC DA/A&E/UA client and server,
|
||
setup files), `IM36K10E20-01EN.md` (Engineering Module forms, certificates, PubSub). Equipment
|
||
lines/stations/points in general: skill `equipment`.
|
||
|
||
Rules:
|
||
- Run `system-check` first; follow the user's chosen way of working.
|
||
- **Trusting certificates is the user's decision.** Show the certificate (folder, file name,
|
||
common name) and let the user trust it (Engineering Module or moving the file); do not move
|
||
certificate files yourself.
|
||
- Making items OPC visible / writable exposes them to every OPC client on the network: only
|
||
with the user's approval, and prefer read-only.
|
||
- Never connect a CI Server OPC **DA or A&E** client to the same node's (or a DURM-connected
|
||
node's) DA/A&E server: deadlock (manual §5.3). The OPC **UA** loopback is fine.
|
||
- Changing `opxsys.sup`, `opxuas.sup`, `odbsrv.sup` or `ServerConfig.xml` needs admin rights and
|
||
a restart: hand it to the user (skill `portal-setup`, task `change-setup-file.md`).
|
||
|
||
| Task | File | Status |
|
||
|---|---|---|
|
||
| OPC UA client to an OPC UA server (sample: loopback to CI Server's own server): line, station, subscription, points, certificate exchange, node IDs, browse via dataset | `tasks/opcua-client.md` | verified |
|
||
| Make CI Server data available to OPC clients (OPC visible / Read / Write); CI Server OPC UA server endpoints, node IDs, certificates | `tasks/opcua-client.md` §1, §5 | verified (UA); DA/A&E from docs |
|
||
| Read-only checks: ACCESS processes, ports, OPC UA server config and PKI, ODBC server state | `tasks/access-checks.md` | verified |
|
||
| OPC DA / A&E client and server, DCOM, DCOM tunnelling | L45 summary §3–§5 | from docs (DA loopback not allowed) |
|
||
| ODBC with SimbaClient | L45 summary §1 | from docs; ODBC server not running on the test system (ISS-008) |
|
||
| OPC UA alarms (external alarms), methods, PubSub | L45 §6, E20 §2–§4 | from docs |
|