NAME
opcua_dump - dump data from an OPC UA server
SYNOPSIS
opcua_dump [-C configfile] [URL]
DESCRIPTION
opcua_dump connects to an OPC UA server and recursively browses the OPC UA address space starting from the root folder (i=84). Read requests are made for the nodes for each attribute depending on the nodeclass.
The attributes and references are printed to STDOUT.
The output format is YAML if YAML::XS can be loaded. Otherwise the data will be formattted with Data::Dumper.
URL has to be a OPC UA endpoint URL. If none is specified opc.tcp://127.0.0.1:4840/ will be used.
The options are as follows:
- -C configfile
-
Read a config file from the specified path. If no config file was specified and a readable .opcua_dump file is found in the current directory, that will be used.
CONFIGFILE
The config file should be a YAML hash. The following options are available:
- client_timeout
-
Specify the inactivity timeout in milliseconds.
The default value is 5000ms.
- limit_namespaces_exclude
-
List of namespace indexes that are not dumped. Mutually exclusive with "limit_namespaces_include"
The default is [0].
- limit_namespaces_include
-
List of namespace indexes that are exclusively dumped. Mutually exclusive with "limit_namespaces_exclude"
The default is [].
SEE ALSO
OPCUA::Open62541
OPC UA library, https://open62541.org/
AUTHORS
Alexander Bluhm <bluhm@genua.de>, Anton Borowka
COPYRIGHT AND LICENSE
Copyright (c) 2025 Alexander Bluhm
Copyright (c) 2025 Anton Borowka
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Thanks to genua GmbH, https://www.genua.de/ for sponsoring this work.