diff --git a/bindings/protocols/modbus/index.html b/bindings/protocols/modbus/index.html index d0e50f82..29dbc7e9 100644 --- a/bindings/protocols/modbus/index.html +++ b/bindings/protocols/modbus/index.html @@ -144,35 +144,6 @@

URL terms

- - - modv:address - Specifies the starting address of the Modbus operations - required - integer - - - - - - - modv:unitID - The Unit ID is usually not needed for ModbusTCP, since the IP-address works as unique identifier, but for compability reasons still often included - required - integer - - - - - - - modv:quantity - Specifies the amount of either registers or coils to be read or written to - optional - integer - - - @@ -190,24 +161,6 @@

Form terms

- - modv:pollingTime - Modbus TCP maximum polling rate. The Modbus specification does not define a maximum or minimum allowed polling rate, however specific implementations might introduce such limits. Defined as integer of milliseconds. - optional - integer - - - - - - modv:timeout - Modbus response maximum waiting time. Defines how much time the runtime should wait until it receives a reply from the device. - optional - integer - - - - modv:zeroBasedAddressing Modbus implementations can differ in the way addressing works, as the first coil/register can be either referred to as True or False. diff --git a/bindings/protocols/modbus/ontology.html b/bindings/protocols/modbus/ontology.html index 5a8c07cd..2432cb3e 100644 --- a/bindings/protocols/modbus/ontology.html +++ b/bindings/protocols/modbus/ontology.html @@ -50,13 +50,13 @@

Introduction

Request

IRI: https://www.w3.org/2019/wot/modbus#Request

A Request message is sent by a client device to a server device. The comunication client/server stats only with a request sent by the client.
Sub-class ofA Modbus Message

Response

IRI: https://www.w3.org/2019/wot/modbus#Response

A Response message is sent by a server device to client device in return to a client's query.
Sub-class ofA Modbus Message
Super-class ofException response
Normal response

Exception code

IRI: https://www.w3.org/2019/wot/modbus#ResponseCode

For an Exception Response, the server returns an exception code as data response field. Exception code defines the server condition that caused the exception as well as the reason of the error.
Sub-class ofData Field
Enumeration membersILLEGAL FUNCTION
ILLEGAL DATA ADDRESS
ILLEGAL DATA VALUE
SLAVEDEVICE FAILURE
ACKNOWLEDGE
SLAVEDEVICE BUISY

Object Properties

hasEntity

IRI: https://www.w3.org/2019/wot/modbus#hasEntity

A registry type to let the runtime automatically detect the right function code
DomainRequest
RangeEntity
-

hasFunction

IRI: https://www.w3.org/2019/wot/modbus#hasFunction

Function Code sent by the master in every request. Specifying the desired interaction.
DomainNormal response
Request
RangeFunction

Datatype Properties

hasAddress

IRI: https://www.w3.org/2019/wot/modbus#hasAddress

Specifies the starting address of the Modbus operations
DomainRequest
Rangeinteger
-

hasCodeNumber

IRI: https://www.w3.org/2019/wot/modbus#hasCodeNumber

Specifies the Modbus function/exception code number
DomainException function
Function
Exception code
Rangeinteger
-

hasPollingTime

IRI: https://www.w3.org/2019/wot/modbus#hasPollingTime

Modbus TCP maximum polling rate. The Modbus specification does not define a maximum or minimum allowed polling rate, however specific implementations might introduce such limits. Defined as integer of milliseconds.
DomainRequest
Rangeinteger
-

hasQuantity

IRI: https://www.w3.org/2019/wot/modbus#hasQuantity

Specifies the amount of either registers or coils to be read or written to
DomainRequest
Rangeinteger
-

hasTimeout

IRI: https://www.w3.org/2019/wot/modbus#hasTimeout

Modbus response maximum waiting time. Defines how much time the runtime should wait until it receives a reply from the device.
DomainRequest
Rangeinteger
-

hasUnitID

IRI: https://www.w3.org/2019/wot/modbus#hasUnitID

The Unit ID is usually not needed for ModbusTCP, since the IP-address works as unique identifier, but for compability reasons still often included
DomainRequest
Rangeinteger
-

hasZeroBasedAddressingFlag

IRI: https://www.w3.org/2019/wot/modbus#hasZeroBasedAddressingFlag

Modbus implementations can differ in the way addressing works, as the first coil/register can be either referred to as True or False.
DomainEntity
Rangeboolean

Named Individuals

Coil

IRI: https://www.w3.org/2019/wot/modbus#Coil

Represent a modbus coil register. These entities can be read or written
Instance ofEntity
+

hasFunction

IRI: https://www.w3.org/2019/wot/modbus#hasFunction

Function Code sent by the master in every request. Specifying the desired interaction.
DomainNormal response
Request
RangeFunction

Datatype Properties

address

IRI: https://www.w3.org/2019/wot/modbus#address

Specifies the starting address of the Modbus operations
DomainRequest
Rangeinteger
+

codeNumber

IRI: https://www.w3.org/2019/wot/modbus#codeNumber

Specifies the Modbus function/exception code number
DomainException function
Function
Exception code
Rangeinteger
+

hasZeroBasedAddressingFlag

IRI: https://www.w3.org/2019/wot/modbus#hasZeroBasedAddressingFlag

Modbus implementations can differ in the way addressing works, as the first coil/register can be either referred to as True or False.
DomainEntity
Rangeboolean
+

pollingTime

IRI: https://www.w3.org/2019/wot/modbus#pollingTime

Modbus TCP maximum polling rate. The Modbus specification does not define a maximum or minimum allowed polling rate, however specific implementations might introduce such limits. Defined as integer of milliseconds.
DomainRequest
Rangeinteger
+

quantity

IRI: https://www.w3.org/2019/wot/modbus#quantity

Specifies the amount of either registers or coils to be read or written to
DomainRequest
Rangeinteger
+

timeout

IRI: https://www.w3.org/2019/wot/modbus#timeout

Modbus response maximum waiting time. Defines how much time the runtime should wait until it receives a reply from the device.
DomainRequest
Rangeinteger
+

unitID

IRI: https://www.w3.org/2019/wot/modbus#unitID

The Unit ID is usually not needed for ModbusTCP, since the IP-address works as unique identifier, but for compability reasons still often included
DomainRequest
Rangeinteger

Named Individuals

Coil

IRI: https://www.w3.org/2019/wot/modbus#Coil

Represent a modbus coil register. These entities can be read or written
Instance ofEntity

Discrete Input

IRI: https://www.w3.org/2019/wot/modbus#DiscreteInput

Represent a modbus discrete input. These entities can only be read
Instance ofEntity

Holding Register

IRI: https://www.w3.org/2019/wot/modbus#HoldingRegister

Represent a modbus holding register. These entities can be read or written
Instance ofEntity

Input Register

IRI: https://www.w3.org/2019/wot/modbus#InputRegister

Represent a modbus input register. These entities can only be read
Instance ofEntity
diff --git a/bindings/protocols/modbus/ontology.ttl b/bindings/protocols/modbus/ontology.ttl index 1f5fa300..d5ff6821 100644 --- a/bindings/protocols/modbus/ontology.ttl +++ b/bindings/protocols/modbus/ontology.ttl @@ -129,54 +129,54 @@ binding:assignment rdf:type owl:AnnotationProperty . ################################################################# ### https://www.w3.org/2019/wot/modbus#hasAddress -:hasAddress rdf:type owl:DatatypeProperty ; +:address rdf:type owl:DatatypeProperty ; rdfs:domain :Request ; rdfs:range xsd:integer ; rdfs:comment "Specifies the starting address of the Modbus operations"@en ; - rdfs:label "hasAddress"@en ; + rdfs:label "address"@en ; binding:assignment binding:required . ### https://www.w3.org/2019/wot/modbus#hasCodeNumber -:hasCodeNumber rdf:type owl:DatatypeProperty ; +:codeNumber rdf:type owl:DatatypeProperty ; rdfs:domain :Function , :ResponseCode , :ExceptionFunction ; rdfs:range xsd:integer ; rdfs:comment "Specifies the Modbus function/exception code number"@en ; - rdfs:label "hasCodeNumber"@en . + rdfs:label "codeNumber"@en . ### https://www.w3.org/2019/wot/modbus#hasPollingTime -:hasPollingTime rdf:type owl:DatatypeProperty ; +:pollingTime rdf:type owl:DatatypeProperty ; rdfs:domain :Request ; rdfs:range xsd:integer ; rdfs:comment "Modbus TCP maximum polling rate. The Modbus specification does not define a maximum or minimum allowed polling rate, however specific implementations might introduce such limits. Defined as integer of milliseconds." ; - rdfs:label "hasPollingTime"@en . + rdfs:label "pollingTime"@en . ### https://www.w3.org/2019/wot/modbus#hasQuantity -:hasQuantity rdf:type owl:DatatypeProperty ; +:quantity rdf:type owl:DatatypeProperty ; rdfs:domain :Request ; rdfs:range xsd:integer ; rdfs:comment "Specifies the amount of either registers or coils to be read or written to"@en ; - rdfs:label "hasQuantity"@en . + rdfs:label "quantity"@en . ### https://www.w3.org/2019/wot/modbus#hasTimeout -:hasTimeout rdf:type owl:DatatypeProperty ; +:timeout rdf:type owl:DatatypeProperty ; rdfs:domain :Request ; rdfs:range xsd:integer ; rdfs:comment "Modbus response maximum waiting time. Defines how much time the runtime should wait until it receives a reply from the device." ; - rdfs:label "hasTimeout"@en . + rdfs:label "timeout"@en . ### https://www.w3.org/2019/wot/modbus#hasUnitID -:hasUnitID rdf:type owl:DatatypeProperty ; +:unitID rdf:type owl:DatatypeProperty ; rdfs:domain :Request ; rdfs:range xsd:integer ; rdfs:comment "The Unit ID is usually not needed for ModbusTCP, since the IP-address works as unique identifier, but for compability reasons still often included" ; - rdfs:label "hasUnitID"@en . + rdfs:label "unitID"@en . ### https://www.w3.org/2019/wot/modbus#hasZeroBasedAddressingFlag