-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Type of issue
Typo
Description
Usage: dotnet opcplc.dll []
OPC UA PLC for different data simulation scenarios.
To exit the application, press CTRL-C while it's running.
Use the following format to specify a list of strings:
"<string 1>,<string 2>,...,"
or if one string contains commas:
""<string 1>","<string 2>",...,"""
Options:
--lf, --logfile=VALUE the filename of the logfile to use.
Default: './hostname-port-plc.log'
--lt, --logflushtimespan=VALUE
the timespan in seconds when the logfile should be
flushed.
Default: 00:00:30 sec
--ll, --loglevel=VALUE the loglevel to use (allowed: critical, error,
warn, info, debug, trace).
Default: info
--sc, --simulationcyclecount=VALUE
count of cycles in one simulation phase.
Default: 50 cycles
--ct, --cycletime=VALUE
length of one cycle time in milliseconds.
Default: 100 msec
--ei, --eventinstances=VALUE
number of event instances.
Default: 0
--er, --eventrate=VALUE
rate in milliseconds to send events.
Default: 1000
--pn, --portnum=VALUE the server port of the OPC server endpoint.
Default: 50000
--op, --path=VALUE the endpoint URL path part of the OPC server
endpoint.
Default: ''
--ph, --plchostname=VALUE
the fully-qualified hostname of the PLC.
Default: hostname
--ol, --opcmaxstringlen=VALUE
the max length of a string OPC can transmit/
receive.
Default: 4194304
--otlpee, --otlpendpoint=VALUE
the endpoint URI to which the OTLP exporter is
going to send information.
Default: ''
--otlpei, --otlpexportinterval=VALUE
the interval for exporting OTLP information in
seconds.
Default: 60
--otlpep, --otlpexportprotocol=VALUE
the protocol for exporting OTLP information.
(allowed values: grpc, protobuf).
Default: grpc
--otlpub, --otlpublishmetrics=VALUE
how to handle metrics for publish requests.
(allowed values: disable=Always disabled, enable=
Always enabled, auto=Auto-disable when sessions >
40 or monitored items > 500).
Default: auto
--lr, --ldsreginterval=VALUE
the LDS(-ME) registration interval in ms. If 0,
then the registration is disabled.
Default: 0
--aa, --autoaccept all certs are trusted when a connection is
established.
Default: False
--drurs, --dontrejectunknownrevocationstatus
Don't reject chain validation with CA certs with
unknown revocation status, e.g. when the CRL is
not available or the OCSP provider is offline.
Default: False
--ut, --unsecuretransport
enables the unsecured transport.
Default: False
--to, --trustowncert the own certificate is put into the trusted
certificate store automatically.
Default: False
--msec, --maxsessioncount=VALUE
maximum number of parallel sessions.
Default: 100
--mset, --maxsessiontimeout=VALUE
maximum time that a session can remain open
without communication in milliseconds.
Default: 3600000
--msuc, --maxsubscriptioncount=VALUE
maximum number of subscriptions.
Default: 100
--mqrc, --maxqueuedrequestcount=VALUE
maximum number of requests that will be queued
waiting for a thread.
Default: 2000
--at, --appcertstoretype=VALUE
the own application cert store type.
(allowed values: Directory, X509Store,
FlatDirectory)
Default: 'Directory'
--ap, --appcertstorepath=VALUE
the path where the own application cert should be
stored.
Default (depends on store type):
X509Store: 'CurrentUser\UA_MachineDefault'
Directory: 'pki\own'
FlatDirectory: 'pki\own'
--tp, --trustedcertstorepath=VALUE
the path of the trusted cert store.
Default 'pki\trusted'
--rp, --rejectedcertstorepath=VALUE
the path of the rejected cert store.
Default 'pki\rejected'
--ip, --issuercertstorepath=VALUE
the path of the trusted issuer cert store.
Default 'pki\issuer'
--tup, --trustedusercertstorepath=VALUE
the path of the trusted user cert store.
Default 'pki\trusted-user'
--uip, --userissuercertstorepath=VALUE
the path of the user issuer cert store.
Default 'pki\issuer-user'
--csr show data to create a certificate signing request.
Default 'False'
--ab, --applicationcertbase64=VALUE
update/set this application's certificate with the
certificate passed in as base64 string.
--af, --applicationcertfile=VALUE
update/set this application's certificate with the
specified file.
--pb, --privatekeybase64=VALUE
initial provisioning of the application
certificate (with a PEM or PFX format) requires
a private key passed in as base64 string.
--pk, --privatekeyfile=VALUE
initial provisioning of the application
certificate (with a PEM or PFX format) requires
a private key passed in as file.
--cp, --certpassword=VALUE
the optional password for the PEM or PFX or the
installed application certificate.
--tb, --addtrustedcertbase64=VALUE
adds the certificate to the application's trusted
cert store passed in as base64 string (comma
separated values).
--tf, --addtrustedcertfile=VALUE
adds the certificate file(s) to the application's
trusted cert store passed in as base64 string (
multiple comma separated filenames supported).
--ib, --addissuercertbase64=VALUE
adds the specified issuer certificate to the
application's trusted issuer cert store passed
in as base64 string (comma separated values).
--if, --addissuercertfile=VALUE
adds the specified issuer certificate file(s) to
the application's trusted issuer cert store (
multiple comma separated filenames supported).
--tub, --addtrustedusercertbase64=VALUE
adds the certificate to the application's trusted
user cert store passed in as base64 string (
comma separated values).
--tuf, --addtrustedusercertfile=VALUE
adds the certificate file(s) to the application's
trusted user cert store (multiple comma
separated filenames supported).
--uib, --adduserissuercertbase64=VALUE
adds the specified issuer certificate to the
application's user issuer cert store passed in
as base64 string (comma separated values).
--uif, --adduserissuercertfile=VALUE
adds the specified issuer certificate file(s) to
the application's user issuer cert store (
multiple comma separated filenames supported).
--rb, --updatecrlbase64=VALUE
update the CRL passed in as base64 string to the
corresponding cert store (trusted or trusted
issuer).
--uc, --updatecrlfile=VALUE
update the CRL passed in as file to the
corresponding cert store (trusted or trusted
issuer).
--rc, --removecert=VALUE
remove cert(s) with the given thumbprint(s) (comma
separated values).
--daa, --disableanonymousauth
flag to disable anonymous authentication.
Default: False
--dua, --disableusernamepasswordauth
flag to disable username/password authentication.
Default: False
--dca, --disablecertauth
flag to disable certificate authentication.
Default: False
--au, --adminuser=VALUE
the username of the admin user.
Default: sysadmin
--ac, --adminpassword=VALUE
the password of the administrator.
Default: demo
--du, --defaultuser=VALUE
the username of the default user.
Default: user1
--dc, --defaultpassword=VALUE
the password of the default user.
Default: password
--alm, --alarms add alarm simulation to address space.
Default: False
--ses, --simpleevents add simple events simulation to address space.
Default: False
--dalm, --deterministicalarms=VALUE
add deterministic alarm simulation to address
space.
Provide a script file for controlling
deterministic alarms.
--sp, --showpnjson show OPC Publisher configuration file using IP
address as EndpointUrl.
Default: False
--sph, --showpnjsonph show OPC Publisher configuration file using
plchostname as EndpointUrl.
Default: False
--spf, --showpnfname=VALUE
filename of the OPC Publisher configuration file
to write when using options sp/sph.
Default: pn.json
--wp, --webport=VALUE web server port for hosting OPC Publisher
configuration file.
Default: 8080
--cdn, --certdnsnames=VALUE
add additional DNS names or IP addresses to this
application's certificate (comma separated
values; no spaces allowed).
Default: DNS hostname
--chaos run the server in Chaos mode. Randomly injects
errors, closes sessions and subscriptions etc.
Default: False
-h, --help show this message and exit
--b2ts, --boiler2tempspeed=VALUE
Boiler #2 temperature change speed in degrees per
second.
Default: 1
--b2bt, --boiler2basetemp=VALUE
Boiler #2 base temperature to reach when not
heating.
Default: 10
--b2tt, --boiler2targettemp=VALUE
Boiler #2 target temperature to reach when heating.
Default: 80
--b2mi, --boiler2maintinterval=VALUE
Boiler #2 required maintenance interval in seconds.
Default: 300
--b2oi, --boiler2overheatinterval=VALUE
Boiler #2 overheat interval in seconds.
Default: 120
--nv, --nodatavalues do not generate data values.
Default: False
--gn, --guidnodes=VALUE
number of nodes with deterministic GUID IDs.
Default: 1
--nd, --nodips do not generate dip data.
Default: False
--fn, --fastnodes=VALUE
number of fast nodes.
Default: 1
--fr, --fastrate=VALUE rate in seconds to change fast nodes.
Default: 1
--ft, --fasttype=VALUE data type of fast nodes (UInt|Double|Bool|
UIntArray).
Default: UInt
--ftl, --fasttypelowerbound=VALUE
lower bound of data type of fast nodes.
Default: min value of node type.
--ftu, --fasttypeupperbound=VALUE
upper bound of data type of fast nodes.
Default: max value of node type.
--ftr, --fasttyperandomization=VALUE
randomization of fast nodes value.
Default: False
--fts, --fasttypestepsize=VALUE
step or increment size of fast nodes value.
Default: 1
--fsi, --fastnodesamplinginterval=VALUE
rate in milliseconds for pn.json client to sample
fast nodes.
Default: 0
--vfr, --veryfastrate=VALUE
rate in milliseconds to change fast nodes.
Default: 1000
--nn, --nonegtrend do not generate negative trend data.
Default: False
--ns2, --nodeset2file=VALUE
the *.NodeSet2.xml file that contains the nodes to
be created in the OPC UA address space (multiple
comma separated filenames supported).
--np, --nopostrend do not generate positive trend data.
Default: False
--sn, --slownodes=VALUE
number of slow nodes.
Default: 1
--sr, --slowrate=VALUE rate in seconds to change slow nodes.
Default: 10
--st, --slowtype=VALUE data type of slow nodes (UInt|Double|Bool|
UIntArray).
Default: UInt
--stl, --slowtypelowerbound=VALUE
lower bound of data type of slow nodes.
Default: min value of node type.
--stu, --slowtypeupperbound=VALUE
upper bound of data type of slow nodes.
Default: max value of node type.
--str, --slowtyperandomization=VALUE
randomization of slow nodes value.
Default: False
--sts, --slowtypestepsize=VALUE
step or increment size of slow nodes value.
Default: 1
--ssi, --slownodesamplinginterval=VALUE
rate in milliseconds for pn.json client to sample
slow nodes.
Default: 0
--ns, --nospikes do not generate spike data.
Default: False
--unf, --uanodesfile=VALUE
the binary *.PredefinedNodes.uanodes file that
contains the nodes to be created in the OPC UA
address space (multiple comma separated
filenames supported), use ModelCompiler.cmd <
ModelDesign> to compile.
--nf, --nodesfile=VALUE
the filename that contains the list of nodes to be
created in the OPC UA address space.
--vfbs, --veryfastbsnodes=VALUE
number of very fast ByteString nodes.
Default: 1
--vfbss, --veryfastbssize=VALUE
size in bytes to change very fast ByteString nodes
(min. 1).
Default: 1024
--vfbsr, --veryfastbsrate=VALUE
rate in ms to change very fast ByteString nodes.
Default: 1000Usage: dotnet opcplc.dll [<options>]
OPC UA PLC for different data simulation scenarios.
To exit the application, press CTRL-C while it's running.
Use the following format to specify a list of strings:
"<string 1>,<string 2>,...,"
or if one string contains commas:
""<string 1>","<string 2>",...,"""
Options:
--lf, --logfile=VALUE the filename of the logfile to use.
Default: './hostname-port-plc.log'
--lt, --logflushtimespan=VALUE
the timespan in seconds when the logfile should be
flushed.
Default: 00:00:30 sec
--ll, --loglevel=VALUE the loglevel to use (allowed: critical, error,
warn, info, debug, trace).
Default: info
--sc, --simulationcyclecount=VALUE
count of cycles in one simulation phase.
Default: 50 cycles
--ct, --cycletime=VALUE
length of one cycle time in milliseconds.
Default: 100 msec
--ei, --eventinstances=VALUE
number of event instances.
Default: 0
--er, --eventrate=VALUE
rate in milliseconds to send events.
Default: 1000
--pn, --portnum=VALUE the server port of the OPC server endpoint.
Default: 50000
--op, --path=VALUE the endpoint URL path part of the OPC server
endpoint.
Default: ''
--ph, --plchostname=VALUE
the fully-qualified hostname of the PLC.
Default: hostname
--ol, --opcmaxstringlen=VALUE
the max length of a string OPC can transmit/
receive.
Default: 4194304
--otlpee, --otlpendpoint=VALUE
the endpoint URI to which the OTLP exporter is
going to send information.
Default: ''
--otlpei, --otlpexportinterval=VALUE
the interval for exporting OTLP information in
seconds.
Default: 60
--otlpep, --otlpexportprotocol=VALUE
the protocol for exporting OTLP information.
(allowed values: grpc, protobuf).
Default: grpc
--otlpub, --otlpublishmetrics=VALUE
how to handle metrics for publish requests.
(allowed values: disable=Always disabled, enable=
Always enabled, auto=Auto-disable when sessions >
40 or monitored items > 500).
Default: auto
--lr, --ldsreginterval=VALUE
the LDS(-ME) registration interval in ms. If 0,
then the registration is disabled.
Default: 0
--aa, --autoaccept all certs are trusted when a connection is
established.
Default: False
--drurs, --dontrejectunknownrevocationstatus
Don't reject chain validation with CA certs with
unknown revocation status, e.g. when the CRL is
not available or the OCSP provider is offline.
Default: False
--ut, --unsecuretransport
enables the unsecured transport.
Default: False
--to, --trustowncert the own certificate is put into the trusted
certificate store automatically.
Default: False
--msec, --maxsessioncount=VALUE
maximum number of parallel sessions.
Default: 100
--mset, --maxsessiontimeout=VALUE
maximum time that a session can remain open
without communication in milliseconds.
Default: 3600000
--msuc, --maxsubscriptioncount=VALUE
maximum number of subscriptions.
Default: 100
--mqrc, --maxqueuedrequestcount=VALUE
maximum number of requests that will be queued
waiting for a thread.
Default: 2000
--at, --appcertstoretype=VALUE
the own application cert store type.
(allowed values: Directory, X509Store,
FlatDirectory)
Default: 'Directory'
--ap, --appcertstorepath=VALUE
the path where the own application cert should be
stored.
Default (depends on store type):
X509Store: 'CurrentUser\UA_MachineDefault'
Directory: 'pki\own'
FlatDirectory: 'pki\own'
--tp, --trustedcertstorepath=VALUE
the path of the trusted cert store.
Default 'pki\trusted'
--rp, --rejectedcertstorepath=VALUE
the path of the rejected cert store.
Default 'pki\rejected'
--ip, --issuercertstorepath=VALUE
the path of the trusted issuer cert store.
Default 'pki\issuer'
--tup, --trustedusercertstorepath=VALUE
the path of the trusted user cert store.
Default 'pki\trusted-user'
--uip, --userissuercertstorepath=VALUE
the path of the user issuer cert store.
Default 'pki\issuer-user'
--csr show data to create a certificate signing request.
Default 'False'
--ab, --applicationcertbase64=VALUE
update/set this application's certificate with the
certificate passed in as base64 string.
--af, --applicationcertfile=VALUE
update/set this application's certificate with the
specified file.
--pb, --privatekeybase64=VALUE
initial provisioning of the application
certificate (with a PEM or PFX format) requires
a private key passed in as base64 string.
--pk, --privatekeyfile=VALUE
initial provisioning of the application
certificate (with a PEM or PFX format) requires
a private key passed in as file.
--cp, --certpassword=VALUE
the optional password for the PEM or PFX or the
installed application certificate.
--tb, --addtrustedcertbase64=VALUE
adds the certificate to the application's trusted
cert store passed in as base64 string (comma
separated values).
--tf, --addtrustedcertfile=VALUE
adds the certificate file(s) to the application's
trusted cert store passed in as base64 string (
multiple comma separated filenames supported).
--ib, --addissuercertbase64=VALUE
adds the specified issuer certificate to the
application's trusted issuer cert store passed
in as base64 string (comma separated values).
--if, --addissuercertfile=VALUE
adds the specified issuer certificate file(s) to
the application's trusted issuer cert store (
multiple comma separated filenames supported).
--tub, --addtrustedusercertbase64=VALUE
adds the certificate to the application's trusted
user cert store passed in as base64 string (
comma separated values).
--tuf, --addtrustedusercertfile=VALUE
adds the certificate file(s) to the application's
trusted user cert store (multiple comma
separated filenames supported).
--uib, --adduserissuercertbase64=VALUE
adds the specified issuer certificate to the
application's user issuer cert store passed in
as base64 string (comma separated values).
--uif, --adduserissuercertfile=VALUE
adds the specified issuer certificate file(s) to
the application's user issuer cert store (
multiple comma separated filenames supported).
--rb, --updatecrlbase64=VALUE
update the CRL passed in as base64 string to the
corresponding cert store (trusted or trusted
issuer).
--uc, --updatecrlfile=VALUE
update the CRL passed in as file to the
corresponding cert store (trusted or trusted
issuer).
--rc, --removecert=VALUE
remove cert(s) with the given thumbprint(s) (comma
separated values).
--daa, --disableanonymousauth
flag to disable anonymous authentication.
Default: False
--dua, --disableusernamepasswordauth
flag to disable username/password authentication.
Default: False
--dca, --disablecertauth
flag to disable certificate authentication.
Default: False
--au, --adminuser=VALUE
the username of the admin user.
Default: sysadmin
--ac, --adminpassword=VALUE
the password of the administrator.
Default: demo
--du, --defaultuser=VALUE
the username of the default user.
Default: user1
--dc, --defaultpassword=VALUE
the password of the default user.
Default: password
--alm, --alarms add alarm simulation to address space.
Default: False
--ses, --simpleevents add simple events simulation to address space.
Default: False
--dalm, --deterministicalarms=VALUE
add deterministic alarm simulation to address
space.
Provide a script file for controlling
deterministic alarms.
--sp, --showpnjson show OPC Publisher configuration file using IP
address as EndpointUrl.
Default: False
--sph, --showpnjsonph show OPC Publisher configuration file using
plchostname as EndpointUrl.
Default: False
--spf, --showpnfname=VALUE
filename of the OPC Publisher configuration file
to write when using options sp/sph.
Default: pn.json
--wp, --webport=VALUE web server port for hosting OPC Publisher
configuration file.
Default: 8080
--cdn, --certdnsnames=VALUE
add additional DNS names or IP addresses to this
application's certificate (comma separated
values; no spaces allowed).
Default: DNS hostname
--chaos run the server in Chaos mode. Randomly injects
errors, closes sessions and subscriptions etc.
Default: False
-h, --help show this message and exit
--b2ts, --boiler2tempspeed=VALUE
Boiler #2 temperature change speed in degrees per
second.
Default: 1
--b2bt, --boiler2basetemp=VALUE
Boiler #2 base temperature to reach when not
heating.
Default: 10
--b2tt, --boiler2targettemp=VALUE
Boiler #2 target temperature to reach when heating.
Default: 80
--b2mi, --boiler2maintinterval=VALUE
Boiler #2 required maintenance interval in seconds.
Default: 300
--b2oi, --boiler2overheatinterval=VALUE
Boiler #2 overheat interval in seconds.
Default: 120
--nv, --nodatavalues do not generate data values.
Default: False
--gn, --guidnodes=VALUE
number of nodes with deterministic GUID IDs.
Default: 1
--nd, --nodips do not generate dip data.
Default: False
--fn, --fastnodes=VALUE
number of fast nodes.
Default: 1
--fr, --fastrate=VALUE rate in seconds to change fast nodes.
Default: 1
--ft, --fasttype=VALUE data type of fast nodes (UInt|Double|Bool|
UIntArray).
Default: UInt
--ftl, --fasttypelowerbound=VALUE
lower bound of data type of fast nodes.
Default: min value of node type.
--ftu, --fasttypeupperbound=VALUE
upper bound of data type of fast nodes.
Default: max value of node type.
--ftr, --fasttyperandomization=VALUE
randomization of fast nodes value.
Default: False
--fts, --fasttypestepsize=VALUE
step or increment size of fast nodes value.
Default: 1
--fsi, --fastnodesamplinginterval=VALUE
rate in milliseconds for pn.json client to sample
fast nodes.
Default: 0
--vfr, --veryfastrate=VALUE
rate in milliseconds to change fast nodes.
Default: 1000
--nn, --nonegtrend do not generate negative trend data.
Default: False
--ns2, --nodeset2file=VALUE
the *.NodeSet2.xml file that contains the nodes to
be created in the OPC UA address space (multiple
comma separated filenames supported).
--np, --nopostrend do not generate positive trend data.
Default: False
--sn, --slownodes=VALUE
number of slow nodes.
Default: 1
--sr, --slowrate=VALUE rate in seconds to change slow nodes.
Default: 10
--st, --slowtype=VALUE data type of slow nodes (UInt|Double|Bool|
UIntArray).
Default: UInt
--stl, --slowtypelowerbound=VALUE
lower bound of data type of slow nodes.
Default: min value of node type.
--stu, --slowtypeupperbound=VALUE
upper bound of data type of slow nodes.
Default: max value of node type.
--str, --slowtyperandomization=VALUE
randomization of slow nodes value.
Default: False
--sts, --slowtypestepsize=VALUE
step or increment size of slow nodes value.
Default: 1
--ssi, --slownodesamplinginterval=VALUE
rate in milliseconds for pn.json client to sample
slow nodes.
Default: 0
--ns, --nospikes do not generate spike data.
Default: False
--unf, --uanodesfile=VALUE
the binary *.PredefinedNodes.uanodes file that
contains the nodes to be created in the OPC UA
address space (multiple comma separated
filenames supported), use ModelCompiler.cmd <
ModelDesign> to compile.
--nf, --nodesfile=VALUE
the filename that contains the list of nodes to be
created in the OPC UA address space.
--vfbs, --veryfastbsnodes=VALUE
number of very fast ByteString nodes.
Default: 1
--vfbss, --veryfastbssize=VALUE
size in bytes to change very fast ByteString nodes
(min. 1).
Default: 1024
--vfbsr, --veryfastbsrate=VALUE
rate in ms to change very fast ByteString nodes.
Default: 1000
[Sem zadajte pripomienky]
Page URL
https://learn.microsoft.com/sk-sk/dotnet/core/compatibility/sdk/9.0/netstandard-warning
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/compatibility/sdk/9.0/netstandard-warning.md
Document Version Independent Id
27dcef39-12a3-a59f-3831-379fc0d2f7db
Platform Id
c71bf4af-b39e-2561-48cf-9499558684a5
Article author
Metadata
- ID: 47693e8f-67e8-6627-64f5-e9e48e68ef52
- PlatformId: c71bf4af-b39e-2561-48cf-9499558684a5
- Service: dotnet-fundamentals