Monokot Server 1.x
  • What is Monokot Server?
  • Quickstart
  • 🐸Basics
    • Supported OS and Hardware
    • Installation
    • Licensing
    • OPC UA
      • UA TCP Endpoint
      • UA Settings
      • Client Certificates
      • Aliases
      • Access to Object Settings
      • Troubleshooting
    • Security Certififcate
    • Users & Roles
    • Administrator GUI
      • Event Log
      • Users in Monokot Server Administrator
      • Roles in Monokot Server Administrator
    • Startup Parameters
  • 🦊Tags & Devices
    • Devices
      • Diagnostics
      • Devices in the Monokot Server Administrator
    • Tags
      • Parameters
      • Change Trigger
      • Tags in Monokot Server Administrator
        • Go Online
        • Group Action
        • Import & Export
    • Modbus Connectivity
      • Parameters
      • Addressing
      • Diagnostics
    • Siemens Connectivity
      • Parameters
      • Addressing
      • Access to DBs area in S7-1200/S7-1500
    • IEC 60870-5-104 Connectivity
      • Parameters
      • Addressing
      • Time Conversion
      • Diagnostics and Commands
    • OPC UA Connectivity
      • Parameters
      • Addressing
      • Diagnostics
      • How to: Importing OPC UA items
      • How to: Pulling Security Certificate
    • InfluxDB Connectivity (Connector)
      • Parameters
      • Addressing
      • Query Result and Data Mapping
      • Diagnostics
      • How to: Configure for InfluxDB 2.x
    • SNMP Connectivity
      • Parameters
      • Addressing
      • UDP Considerations
  • 🐺Time Series & Stores
    • Stores
      • Backlog
      • Diagnostics
      • Stores in Monokot Server Administrator
    • Time Series
      • Parameters
      • Deadband
      • Sampling
      • Last Sample Repeat
      • Time Series in Monokot Server Administrator
        • Group Action
        • Import & Export
    • InfluxDB Connectivity (Store)
      • Parameters
      • Addressing
      • Data Structure
      • About Metadata
      • Diagnostics
      • How to: Configure for InfluxDB 2.x
    • PostgreSQL Connectivity
      • Parameters
      • Addressing
      • Database Design
      • Data Compression
    • REST Connectivity
      • Parameters
      • Addressing
      • Message Script
      • RestRequestMessage
      • DataContext
      • TimeSeries
  • 🐻Scripts
    • Overview
    • Expression
      • Parameters
      • Import & Export
      • Go Online
    • Programming Examples
      • How to: Calculate Arithmetic Mean
      • How to: DoNothing
      • How to: Writing to Tag
      • How to: Inverting Bits
      • How to: Execute SQL
      • How to: Run Ping
      • How to: Do Simulation
      • How to: String Formatting
      • How to: OPC UA Method
      • How to: Initialize Device Settings from File
    • API
      • Bundle
      • BundlePair
      • Context
      • DataMap
      • DataMapPair
      • DataTriggerInfo
      • Expression
      • MosCrypto
      • MosDirectories
      • MosFiles
      • MosOdbc
      • MosOdbcReader
      • MosProcess
      • MosProcessExecuteResult
      • MosText
      • MosUtils
      • ValueState
Powered by GitBook
On this page
  • Common Parameters
  • General
  • Blocks
  • Data - Functions
  • Data - Encoding
  • Modbus TCP Parameters
  • Modbus Serial Parameters
  1. Tags & Devices
  2. Modbus Connectivity

Parameters

Common Parameters

Listed below are the common parameters for all types of Modbus devices.

General

  • Slave ID: indicates the slave device ID in the Modbus network.

  • Inter-Request Delay: sets the delay for sending a request (in milliseconds) after receiving the response.

  • Writes per Cycle: indicates the number of write requests sent after read request completion.

Blocks

  • Output Coils Block Size and Input Coils Block Size: determines the maximum number of bits that can be read in one request from Output and Input Coils. The value of this parameter must be in the range from 1 to 2000.

  • Internal Registers Block Size and Holding Registers Block Size: determines the maximum number of registers that can be read for one request from the Internal and Holding Registers. The value of this parameter must be in the range from 4 to 120.

Data - Functions

  • Use function 06 for single register writes: indicates which function should be used when writing one register (06 or 16).

  • Use function 05 for single coil writes: indicates which function should be used when writing one bit (05 or 15).

Data - Encoding

  • Use Big-Endian Byte Order: sets the byte order (Big-Endian or Little-Endian) when organizing the word.

  • First word low in 32-bit values: sets the word order (from low to high or high to low) when organizing 32-bit values.

  • First DWord low in 64-bit values: sets the order of double words (from low to high or high to low) when organizing 64-bit values.

  • Reverse Bit Ordering: indicates the order of bits used when working with register bits (0 bit is MSB or 15 bit is MSB).

  • Swap Every Two Bytes in a String: indicates that every two bytes in a string must be swapped.

Modbus TCP Parameters

Listed below are the parameters specific to the Modbus TCP.

  • Host: sets the IP address or hostname of the device.

  • Port: specifies the port number of the device. The standard port number for Modbus protocol is 502.

  • Transport: indicates which transport mode must be used (TCP, RTU over TCP or UDP).

  • Retries: sets the number of attempts after which request is considered failed.

  • Request Timeout: sets the time to wait for the request to be executed (in milliseconds) after which the request execution error occurs. An error occurs after the time specified in Request Timeout parameter multiplied by Retries.

  • Connection Timeout: sets the connection timeout (in milliseconds) after which connection error occurs.

  • Close TCP Socket: specifies whether to close the TCP connection if a timeout occurred while sending a request to the server.

  • Transaction Threshold: specifies the maximum allowed difference between the sent and received transaction ID, after exceeding which the reconnection to the server is performed.

  • Operation Mode: specifies the master or slave operation mode.

  • Max Connection Idle Interval: specifies the maximum silence interval (in milliseconds) for each incoming connection before it is closed.

Modbus Serial Parameters

The following are the settings specific to Modbus Serial.

  • COM ID: indicates the symbol name of the serial port. For example: COM1, COM10, /dev/ttyS0, /dev/ttyUSB0.

  • Mode: sets the mode of serial protocol (RTU or ASCII).

  • Baud Rate: specifies data transfer rate.

  • Parity: defines the method of detecting errors in transmission.

  • Data Bits: indicates the number of used data bits.

  • Stop Bits: indicates the number of stop bits used.

  • Retries: sets the number of attempts after which request is considered failed.

  • Request Timeout: sets the time to wait for the request to be executed (in milliseconds) after which the request execution error occurs. An error occurs after the time specified in Request Timeout parameter multiplied by Retries.

  • Operation Mode: specifies the master or slave operation mode.

PreviousModbus ConnectivityNextAddressing

Last updated 2 years ago

Most of the parameters described above are available as OPC UA items. More information about editing server object properties via OPC UA is described .

🦊
here