slave.modbus

Modbus slave

type

object

properties

  • templateId

The id of the template to use for this file

type

string

  • templateVariables

The variables and their values to be replaced from the template

type

object

additionalProperties

  • variablesFiles

The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files.

type

array

items

type

string

  • isTemplateGeneratedByOspComposer

If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation.

type

boolean

  • moduleId

Id of the module

type

string

  • host

The host and port of the modbus slave

type

string

  • readPeriod

Interval between readings on this Slave.

default

value

1

unit

SECONDS

DurationConfigurationEntity

  • timeout

Duration after which a Modbus action will timeout on this Slave

default

value

1

unit

SECONDS

DurationConfigurationEntity

  • bitMaxSize

Maximum size of a read request on this Slave for Coils and Discrete Inputs.

type

integer

maximum

2000

minimum

1

default

2000

  • registerMaxSize

Maximum size of a read request on this Slave for Inputs Registers and Holding Registers.

type

integer

maximum

125

minimum

1

default

125

  • interRequestDelay

Minimum time to wait between request on this Slave (must be << read_period).

default

value

0

unit

MILLISECONDS

DurationConfigurationEntity

  • slaveAddress

The address of the slave

type

integer

maximum

255

minimum

0

default

1

  • concurrentConnections

Number of simultaneous connections allowed on this Slave.

type

integer

maximum

20

minimum

1

default

1

additionalProperties

False

DurationConfigurationEntity

type

object

properties

  • value

The amount of time expressed with the unit

type

integer

  • unit

The unit of time expressed with the value

type

string

enum

NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS

additionalProperties

False