Cybus::Connection
Last updated
Last updated
© Copyright 2024, Cybus GmbH
A connection provides connectivity to some other things over some protocol (see also Industry Protocol Details) and implements connect and disconnect functionality.
Property | Type | Required |
---|---|---|
Identifies the protocol for which a connection should be established
is required
type: enum
The value of this property must be equal to one of the below
Ads
Bacnet
EthernetIp
Focas
GenericVrpc
Hbmdaq
Heidenhain
Http
InfluxDB
Kafka
Modbus
Mqtt
Mssql
Opcda
Opcua
Profinet
S7
Shdr
Sinumerik
Sopas
Sql
Systemstate
Werma
The state this resource should be in, after start-up.
is optional
type: enum
, must be one of connected
, disconnected
default: connected
Only set this property if your protocol-mapper runs as in a distributed mode, i.e. on an agent instance separated from the Connectware. If this is the case, specify the corresponding agent name here.
is optional
type: string
default: protocol-mapper
is required
type: object
Depending on the protocol type the connection provides the following properties:
Bacnet
Connection Properties
EthernetIp
Connection Properties
GenericVrpc
Connection Properties
Focas
Connection Properties
Hbmdaq
Connection Properties
Heidenhain
Connection Properties
InfluxDB
Connection Properties
Kafka
Connection Properties
Modbus
Connection Properties
Mssql
Connection Properties
Opcda
Connection Properties
Opcua
Connection Properties
Profinet
Connection Properties
Sinumerik
Connection Properties
Sopas
Connection Properties
Systemstate
Connection Properties
Werma
Connection PropertiesMost protocols expose a property
connectionStrategy
which allows configuring the incremental delays between re-connection attempts. Each protocol provides defaults for this configuration which is documented on each of them. In general aninitialDelay
property determines how many milliseconds to wait before the first attempt to re-connect is executed and then this value is multiplied by the configuredincrementFactor
, replacing the originalinitialDelay
, up to a maximum configuredmaxDelay
that once reached causes all subsequent re-connection attempts to occur after that many milliseconds. Once the connection is restablished theinitialDelay
is reset to its original value. The procotols Mqtt, Opcua, S7 and Sinumerik use their own strategy described in each of them.
enum
Required
enum
Optional
string
Optional
object
Required