diff --git a/.gitignore b/.gitignore index 58a0b78..0924731 100644 --- a/.gitignore +++ b/.gitignore @@ -25,5 +25,3 @@ packages/ *.pfx *.pem -# OPC sample server (large external repo) -tools/opcsampleserver/ diff --git a/CLAUDE.md b/CLAUDE.md index 83a0623..f02601f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -110,15 +110,3 @@ dotnet run --project src/ZB.MOM.WW.LmxOpcUa.Client.CLI -- browse -u opc.tcp://lo dotnet run --project src/ZB.MOM.WW.LmxOpcUa.Client.CLI -- read -u opc.tcp://localhost:4840 -n "ns=2;s=SomeNode" dotnet run --project src/ZB.MOM.WW.LmxOpcUa.Client.CLI -- subscribe -u opc.tcp://localhost:4840 -n "ns=2;s=SomeNode" -i 500 ``` - -### OPC PLC Sample Server - -A test OPC UA server is available at `tools/opcsampleserver/` (Azure IoT OPC PLC). It generates simulated data nodes (slow, fast, anomaly, GUID) on `opc.tcp://localhost:50000`. Must run from the `publish` directory or use the provided batch scripts. Requires `--unsecuretransport` flag for the CLI tool to connect. See `tools/opcsampleserver/README.md` for full details. - -```bash -# Start the test server -cd tools/opcsampleserver/publish && dotnet opcplc.dll --pn=50000 --autoaccept --unsecuretransport --sn=5 --sr=10 --st=uint --fn=5 --fr=1 --ft=uint - -# Or use the batch script -tools/opcsampleserver/start-server.bat -```