Options
All
  • Public
  • Public/Protected
  • All
Menu

Options that only affect the server (timeouts, etc.) should go here, options that affect the commands being emitted should be added to ModbusCommandFactoryOptions

Hierarchy

Index

Properties

Properties

Optional simpleAddressing

simpleAddressing: undefined | false | true
default:

true If this option is set, the server will use 0 based coil, input status, and register addresses. For instance, register 40001 will be 0, 40002 will be 1, etc.

|                  | simple | modbus |
|------------------|--------|--------|
| Coil             |   0    | 1      |
| Coil             |   1    | 2      |
| Input            |   0    | 10001  |
| Input            |   1    | 10002  |
| Holding Register |   0    | 30001  |
| Holding Register |   1    | 30002  |
| Input Register   |   0    | 40001  |
| Input Register   |   1    | 40002  |

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc