Skip to content

ioBroker/ioBroker.modbus

Repository files navigation

Logo

iobroker.modbus

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Implementation of ModBus Slave and Master for ioBroker. The following types are supported:

  • Modbus RTU over serial (master)
  • Modbus RTU over TCP (master)
  • Modbus TCP (slave, master)

Settings

Partner IP Address

IP address of modbus partner.

Port

TCP Port of modbus partner if configured as master (client) or own port if configured as slave(server).

Device ID

Modbus Device ID. Important if TCP/Modbus bridge is used.

Type

Slave (Server) or Master (Client).

Use aliases as address

Normally, all registers can have address from 0 to 65535. By using of aliases, you can define virtual address fields for every type of registers. Normally:

  • discrete inputs are from 10001 to 20000
  • coils are from 1 to 1000
  • input registers are from 30001 to 40000
  • holding registers are from 40001 to 60000

Every alias will be mapped internally to address, e.g., 30011 will be mapped to input register 10. and so on.

Direct addresses

Used for binary inputs and coils. Without this flag the bits will be addressed from like: 0 => 15, 1 => 14, 2 => 13, ..., 15 => 0. With this flag activated the bits will be addressed as: 0 => 0, 1 => 1, 2 => 2, ..., 15 => 15.

Do not align addresses to 16 bits (word)

Normally, the coils and the discrete inputs addresses are aligned to 16 bits. Like addresses from 3 to 20 will be aligned to 0 up 32. If this option is active, the addresses will not be aligned.

Do not use multiple registers

If slave does not support "write multiple registers" command, you can activate it to get warnings, when the multiple registers will be written.

Use only multiple write registers

If slave only supports "write multiple registers" command, you can activate so the registers will be written always with FC15/FC16 command.

Round Real to

How many digits after comma for float and doubles.

Data polling interval

Cyclic poll interval (Only relevant for master)

Reconnect delay

Reconnection interval (Only relevant for master)

Read timeout

Timeout for read requests in milliseconds. If no response is received from a slave at this time, the connection will be terminated.

Pulse time

If pulse used for coils, this defines the interval in milliseconds how long is the pulse.

Wait time

Wait time between polling of two different device IDs in milliseconds.

Max read request length

Maximal length of command READ_MULTIPLE_REGISTERS as number of registers to read.

Some systems require first "write request" to deliver the data on "read request". You can force this mode by setting of the "Max read request length" to 1.

Notice: Some USB Modbus solutions (e.g. based on socat) can have trouble to work with serialport npm module.

There is a software Modbus RTU <-> Modbus RTU over TCP gateway to enable using of serial RTU over TCP protocol.

Both solutions RTU over TCP and TCP work well.

Read interval

Delay between two read requests in ms. Default 0.

Write interval

Delay between two write requests in ms. Default 0.

Update unchanged states

Normally, if the value has not changed, it will not be written into ioBroker. This flag allows updating the value's timestamp by every cycle.

Do not include addresses in ID

Do not add address in the generated ioBroker iD. 10_Input10 vs _Input10.

Preserve dots in ID

With this flag the Name will be Inputs.Input10. Without => Inputs_Input10.

Parameters for single address line in config

Address

Modbus address to read.

Slave ID

In case there are multiple slaves, then this is the ID if not the default one that is given in global config.

Name

This is the name for the Parameter.

Description

Parameter description.

Unit

Unit of the Parameter.

Type

Datatype to read from Bus. For details about the possible data types see section Data types.

Length

Length of parameter. For the most parameters, this is determined based on the data type, but for Strings this defines the length in Bytes / characters.

Factor

This factor is used to multiply the read value from Bus for static scaling. So the calculation looks like following val = x * Factor + Offset.

Offset

This offset is added to the read value after above multiplication. So the calculation looks like following val = x * Factor + Offset.

Formula

This field can be used for advanced calculations if Factor and Offset are not enough. If this field is set, then the Factor and Offset fields are ignored. The Formula is executed by the eval() function. Therefore, all common functions are supported. Especially the Math functions. The formula must comply with JavaScript syntax, therefore, also take care about upper and lower cases.

In the formula, "x" has to be used for the read value from Modbus. E.g. x * Math.pow(10, sf['40065'])

Using the "sf" array (see above example), you can access other read modbus values if they are flagged as "Scale Factor" in the config (see below info on "SF" flag).

If the formula cannot be evaluated during runtime, then the Adapter writes a warning message to the log.

Another use case for formulas could also be to prevent implausible data with a formula like x > 2000000 ? null : x

Role

ioBroker role to assign.

Room

ioBroker room to assign.

Poll

If activated, the values are polled in a predefined interval from slave.

WP

Write pulse

CW

Cyclically write

SF

Use value as a scaling factor. This is necessary to be used by dynamic scaling factors which are on some systems provided through values on interface. If a value is marked with this flag, then the value will be stored into a variable with the following naming convention: sf['Modbus_address']. This variable can be then later used in any formula for other parameters. E.g., the following formula can set: (x * sf['40065']) + 50;

Data types

  • uint16be - Unsigned 16 bit (Big Endian): AABB => AABB
  • uint16le - Unsigned 16 bit (Little Endian): AABB => BBAA
  • int16be - Signed 16 bit (Big Endian): AABB => AABB
  • int16le - Signed 16 bit (Little Endian): AABB => BBAA
  • uint32be - Unsigned 32 bit (Big Endian): AABBCCDD => AABBCCDD
  • uint32le - Unsigned 32 bit (Little Endian): AABBCCDD => DDCCBBAA
  • uint32sw - Unsigned 32 bit (Big Endian Word Swap): AABBCCDD => CCDDAABB
  • uint32sb - Unsigned 32 bit (Big Endian Byte Swap): AABBCCDD => DDCCBBAA
  • int32be - Signed 32 bit (Big Endian): AABBCCDD => AABBCCDD
  • int32le - Signed 32 bit (Little Endian): ABBCCDD => DDCCBBAA
  • int32sw - Signed 32 bit (Big Endian Word Swap): AABBCCDD => CCDDAABB
  • int32sb - Signed 32 bit (Big Endian Byte Swap): AABBCCDD => DDCCBBAA
  • uint64be - Unsigned 64 bit (Big Endian): AABBCCDDEEFFGGHH => AABBCCDDEEFFGGHH
  • uint64le - Unsigned 64 bit (Little Endian): AABBCCDDEEFFGGHH => HHGGFFEEDDCCBBAA
  • uint8be - Unsigned 8 bit (Big Endian): AABB => BB
  • uint8le - Unsigned 8 bit (Little Endian): AABB => AA
  • int8be - Signed 8 bit (Big Endian): AABB => BB
  • int8le - Signed 8 bit (Little Endian): AABB => AA
  • floatbe - Float (Big Endian): AABBCCDD => AABBCCDD
  • floatle - Float (Little Endian): AABBCCDD => DDCCBBAA
  • floatsw - Float (Big Endian Word Swap): AABBCCDD => CCDDAABB
  • floatsb - Float (Big Endian Byte Swap): AABBCCDD => DDCCBBAA
  • doublebe - Double (Big Endian): AABBCCDDEEFFGGHH => AABBCCDDEEFFGGHH
  • doublele - Double (Little Endian): AABBCCDDEEFFGGHH => HHGGFFEEDDCCBBAA
  • string - String 8 bit (Zero-end): ABCDEF\0 => ABCDEF\0
  • stringle - String 8 bit (Little Endian, Zero-end): ABCDEF\0 => BADCFE\0
  • string16 - String 16 bit (Zero-end): \0A\0B\0C\0D\0E\0F\0\0 => ABCDEF\0
  • string16le- String 16 bit (Little Endian, Zero-end): A\0B\0C\0D\0E\0F\0\0\0 => ABCDEF\0
  • rawhex - String with value in hex representation AABBCCDD.... => AABBCCDD....

The following description was copied from here

The point-to-point Modbus protocol is a popular choice for RTU communications if for no other reason that its basic convenience. The protocol itself controls the interactions of each device on a Modbus network, how device establishes a known address, how each device recognizes its messages and how basic information is extracted from the data. In essence, the protocol is the foundation of the entire Modbus network.

Such a convenience does not come without any complications, however, and Modbus RTU Message protocol is no exception. The protocol itself was designed based on devices with a 16-bit register length. Consequently, special considerations were required when implementing 32-bit data elements. This implementation settled on using two consecutive 16-bit registers to represent 32 bits of data or essentially 4 bytes of data. It is within these four bytes of data that single-precision floating point data can be encoded into a Modbus RTU message.

The Importance of Byte Order

Modbus itself does not define a floating point data type, but it is widely accepted that it implements 32-bit floating point data using the IEEE-754 standard. However, the IEEE standard has no clear definition of byte order of the data payload. Therefore, the most important consideration when dealing with 32-bit data is that data is addressed in the proper order.

For example, the number 123/456.00 as defined in the IEEE 754 standard for single-precision 32-bit floating point numbers appears as follows:

Image1

The effects of various byte orderings are significant. For example, ordering the 4 bytes of data that represent 123456.00 in a B A D C sequence in known as a “byte swap”. When interpreted as an IEEE 744 floating point data type, the result is quite different:

Image2

Ordering the same bytes in a “C D A B” sequence is known as a “word swap”. Again, the results differ drastically from the original value of 123456.00:

Image3

Furthermore, both a byte swap and a word swap would essentially reverse the sequence of the bytes altogether to produce yet another result:

Image4

Clearly, when using network protocols such as Modbus, strict attention must be paid to how bytes of memory are ordered when they are transmitted, also known as the ‘byte order’.

Determining Byte Order

The Modbus protocol itself is declared as a ‘big-Endian’ protocol, as per the Modbus Application Protocol Specification, V1.1.b:

Modbus uses a “big-Endian” representation for addresses and data items. This means that when a numerical quantity larger than a single byte is transmitted, the most significant byte is sent first.

Big-Endian is the most commonly used format for network protocols – so common, in fact, that it is also referred to as ‘network order’.

Given that the Modbus RTU message protocol is big-Endian, in order to successfully exchange a 32-bit datatype via a Modbus RTU message, the endianness of both the master and the slave must be considered. Many RTU master and slave devices allow specific selection of byte order, particularly in the case of software-simulated units. It only has to be ensured that both units are set to the same byte order.

As a rule of thumb, the family of a device’s microprocessor determines its endianness. Typically, the big-Endian style (the high-order byte is stored first, followed by the low-order byte) is generally found in CPUs designed with a Motorola processor. The little-Endian style (the low-order byte is stored first, followed by the high-order byte) is generally found in CPUs using the Intel architecture. It is a matter of personal perspective as to which style is considered ‘backwards’.

If, however, byte order and endianness are not a configurable option, you will have to determine how to interpret the byte. This can be done requesting a known floating-point value from the slave. If an impossible value is returned, i.e., a number with a double-digit exponent or such, the byte ordering will most likely need modification.

Practical Help

The FieldServer Modbus RTU drivers offer several function moves that handle 32-bit integers and 32-bit float values. More importantly, these function moves consider all different forms of byte sequencing. The following table shows the FieldServer function moves that copy two adjacent 16-bit registers to a 32-bit integer value.

Function Keyword Swap Mode Source Bytes Target Bytes
2.i16-1.i32 N/A [ a b ] [ c d ] [ a b c d ]
2.i16-1.i32-s byte and word swap [ a b ] [ c d ] [ d c b a ]
2.i16-1.i32-sb byte swap [ a b ] [ c d ] [ b a d c ]
2.i16-1.i32-sw word swap [ a b ] [ c d ] [ c d a b ]

The following table shows the FieldServer function moves that copy two adjacent 16-bit registers to a 32-bit floating point value:

Function Keyword Swap Mode Source Bytes Target Bytes
2.i16-1.ifloat N/A [ a b ] [ c d ] [ a b c d ]
2.i16-1.ifloat-s byte and word swap [ a b ] [ c d ] [ d c b a ]
2.i16-1.ifloat-sb byte swap [ a b ] [ c d ] [ b a d c ]
2.i16-1.ifloat-sw word swap [ a b ] [ c d ] [ c d a b ]

The following table shows the FieldServer function moves that copy a single 32-bit floating point value to two adjacent 16-bit registers:

Function Keyword Swap Mode Source Bytes Target Bytes
1.float-2.i16 N/A [ a b ] [ c d ] [ a b ][ c d ]
1.float-2.i16-s byte and word swap [ a b ] [ c d ] [ d c ][ b a ]
1.float-2.i16-sb byte swap [ a b ] [ c d ] [ b a ][ d c ]
1.float-2.i16-sw word swap [ a b ] [ c d ] [ c d ][ a b ]

Given the various FieldServer function moves, the correct handling of 32-bit data is dependent on choosing the proper one. Observe the following behavior of these FieldServer function moves on the known single-precision decimal float value of 123456.00:

16-bit Values Function Move Result Function Move Result
0x2000 0x47F1 2.i16-1.float 123456.00 1.float-2.i16 0x2000 0x47F1
0xF147 0x0020 2.i16-1.float-s 123456.00 1.float-2.i16-s 0xF147 0X0020
0x0020 0xF147 2.i16-1.float-sb 123456.00 1.float-2.i16-sb 0x0020 0xF147
0x47F1 0x2000 2.i16-1.float-sw 123456.00 1.float-2.i16-sw 0x47F1 0x2000

Notice that different byte and word orderings require the use of the appropriate FieldServer function move. Once the proper function move is selected, the data can be converted in both directions.

Of the many hex-to-floating point converters and calculators that are available on the Internet, very few actually allow manipulation of the byte and word orders. One such utility is located at www.61131.com/download.htm where both Linux and Windows versions of the utilities can be downloaded. Once installed, the utility is run as an executable with a single dialog interface. The utility presents the decimal float value of 123456.00 as follows:

Image5

One can then swap bytes and/or words to analyze what potential endianness issues may exist between Modbus RTU master and slave devices.

Export / Import of registers

With export / import functionality, you can convert all register data (only of one type) to a TSV (Tab separated values) file and back to easily copy data from one device to another or to edit register in Excel.

You can share your schemas with other users in modbus-templates or you can find some register schemas there.

Test

There are some programs in folder test to test the TCP communication:

  • Ananas32/64 is a slave simulator (only holding registers and inputs, no coils and digital inputs)
  • RMMS is master simulator
  • mod_RSsim.exe is a slave simulator. It can be that you need Microsoft Visual C++ 2008 SP1 Redistributable Package to start it (because of SideBySide error).

Todo

Changelog

6.4.0 (2024-11-22)

  • (bluefox) Moved GUI compilation to vite
  • (bluefox) Added error message if the response length is invalid

6.3.2 (2024-08-29)

  • (bluefox) Corrected the error with alignment of addresses

6.3.0 (2024-08-28)

  • (Apollon77) Fix Timeout management to prevent leaking memory
  • (bluefox) Added information about connected clients in the server mode
  • (bluefox) Tried to fix error with aligning addresses
  • (bluefox) GUI was migrated to admin 7

6.2.3 (2024-05-25)

  • (Q7Jensen) Fixed error at aligning addresses to word
  • (Apollon77) Added device id to some errors

6.2.2 (2024-04-26)

  • (Apollon77) Downgrade gulp to 4.0.2 to fix build

6.2.1 (2024-04-16)

  • (PLCHome) Warning regarding scale factor due to incorrect check: "Calculation of a scaleFactor which is based on another scaleFactor seems strange."

6.2.0 (2024-04-12)

  • (PLCHome) String based on 16-bit values big endian as well as little endian
  • (PLCHome) Raw data as a hex string
  • (PLCHome) Fix issue stringle was always converted to number for slave
  • (PLCHome) Enable formula for strings and hex strings

6.1.0 (2023-12-14)

  • (nkleber78) Implement the connection keepAlive

6.0.1 (2023-10-30)

  • (bluefox) Better tooltips in settings

6.0.0 (2023-10-27)

  • (bluefox) GUI packages updated
  • (bluefox) Added help for settings
  • (bluefox) Minimal supported node.js version is 16

5.0.11 (2022-12-01)

  • (clausmuus) fixed reconnect of serial communication

5.0.8 (2022-09-27)

  • (bluefox) GUI packages updated

5.0.5 (2022-08-13)

  • (Apollon77) Prevent some crash cases reported by Sentry

5.0.4 (2022-06-15)v

  • (bluefox) Corrected the coils reading in slave mode
  • (bluefox) Corrected type of connection indicator

5.0.3 (2022-05-13)

  • (bluefox) Fixed error with multi-devices

5.0.0 (2022-05-11)

  • BREAKING: All space characters will be replaced with underscores now in the Objects IDs, not only the first one.
  • (Apollon77) Catch error reported by sentry when invalid Master port is entered
  • (bluefox) GUI migrated to mui-v5

4.0.4 (2022-03-25)

  • (Apollon77/UncleSamSwiss) Prevent invalid state log

4.0.3 (2022-03-21)

  • (bluefox) Updated serial port package
  • (bluefox) A minimal node.js version is 12

3.4.17 (2021-11-11)

  • (Apollon77) Catch errors in tasks processing to prevent crashes

3.4.15 (2021-11-09)

  • (Apollon77) Catch errors in tasks processing to prevent crashes
  • (Apollon77) make sure generated IDs do not end with "."

3.4.14 (2021-08-31)

  • (nkleber78) Fixed issue with sorting
  • (bluefox) Corrected the calculations with scaling factor
  • (bluefox) Read times were optimized

3.4.11 (2021-07-31)

  • (bluefox) Corrected import of last line

3.4.10 (2021-07-30)

  • (Apollon77) Make sure that slave reconnections at least wait 1000ms to allow old connectio to close properly
  • (bluefox) Corrected the error with write single registers

3.4.9 (2021-07-06)

  • (bluefox) Changed edit behaviour

3.4.8 (2021-06-24)

  • (Apollon77) Fix crash case on writing floats (Sentry IOBROKER-MODBUS-2D)

3.4.7 (2021-06-22)

  • (bluefox) Corrected addressing with aliases in GUI

3.4.6 (2021-06-21)

  • (bluefox) Corrected addressing with aliases

3.4.5 (2021-06-19)

  • (bluefox) Corrected the "write multiple registers" option

3.4.4 (2021-06-16)

  • (bluefox) GUI bugs were corrected
  • (bluefox) Added output of error codes

3.4.2 (2021-06-15)

  • (nkleber78) Corrected issue with the scale factors
  • (bluefox) New react GUI added
  • (bluefox) Add new option: Use only Write multiple registers, read interval

3.3.1 (2021-05-10)

  • (bluefox) fixed the configuration dialog for "input registers" in slave mode

3.3.0 (2021-04-16)

  • (Apollon77) Allow usage of write-only (no poll) states
  • (Apollon77/TmShaz) F Write multiple registers
  • (prog42) create states of type string with default value of type string

3.2.6 (2021-03-05)

  • (Apollon77) Prevent a crash case (Sentry IOBROKER-MODBUS-20)
  • (Apollon77) Better handle invalid responses

3.2.4 (2021-01-30)

  • (Sierra83) also support ttyXRUSB0 style devices

3.2.3 (2021-01-21)

  • (Apollon77) Catch value encoding error and do not crash adapter (Sentry IOBROKER-MODBUS-1W)
  • (Apollon77) add a meta object as instance object

3.2.2 (2020-12-15)

  • (Apollon77) prevent a rash case (Sentry IOBROKER-MODBUS-1S)

3.2.1 (2020-12-12)

  • (Apollon77) prevent a crash case (Sentry IOBROKER-MODBUS-1R)

3.2.0 (2020-12-09)

  • (nkleber78) Fixed formula where return keyword was missing

3.1.13 (2020-12-07)

  • (nkleber78) Added the possibility to use formulas for values

3.1.12 (2020-12-05)

  • (Apollon77) fix admin serial port selection

3.1.10 (2020-09-25)

  • (nkleber78) Corrected: the exported data cannot be imported without modification

3.1.9 (2020-09-17)

  • (Apollon77) Prevent crash case (Sentry IOBROKER-MODBUS-1C)

3.1.7 (2020-07-23)

  • (Apollon77) Fix some Sentry crash reports (IOBROKER-MODBUS-N)

3.1.6 (2020-07-06)

  • (bluefox) Fix some Sentry crash reports (IOBROKER-MODBUS-J)

3.1.5 (2020-06-29)

  • (Apollon77) Fix some Sentry crash reports (IOBROKER-MODBUS-F)

3.1.4 (2020-06-24)

  • (Apollon77) Fix some Sentry crash reports (IOBROKER-MODBUS-4, IOBROKER-MODBUS-7, IOBROKER-MODBUS-6)
  • (Apollon77) Change the way adapter restarts when reconnections do not help

3.1.3 (2020-06-12)

  • (Apollon77) fix scheduled restart

3.1.2 (2020-06-12)

  • (Apollon77) fix serialport list for Admin

3.1.1 (2020-06-11)

  • (Apollon77) Add Sentry crash reporting when used with js-controller >=3.x

3.1.0 (2020-06-11)

  • (Apollon77) Make sure that regular adapter stops do not terminate the process, so that scheduled restarts still work
  • (Apollon77) update serialport, support nodejs 12/14

3.0.4 (2020-06-05)

  • (bluefox) Added device ID by export/import
  • (bluefox) Added the "write interval" parameter
  • (bluefox) Added the disabling of write multiple registers

3.0.3 (2020-06-05)

  • (bluefox) Corrected error after refactoring

3.0.2 (2020-06-01)

  • (compton-git) Decodes 0xFF00 as coil ON

3.0.1 (2020-01-23)

  • (BlackBird77) Fixes for Serial Timeouts done
  • (bluefox) Refactoring

3.0.0 (2019-05-15)

  • (Apollon77) Support for nodejs 12 added, nodejs 4 is no longer supported!

2.0.9 (2018-10-11)

  • (Bjoern3003) Write registers was corrected

2.0.7 (2018-07-02)

  • (bluefox) The server mode was fixed

2.0.6 (2018-06-26)

  • (bluefox) rtu-tcp master mode was fixed

2.0.3 (2018-06-16)

  • (bluefox) Fixed the rounding of numbers

2.0.2 (2018-06-12)

  • (bluefox) The error with blocks reading was fixed
  • (bluefox) The block reading for discrete values was implemented

2.0.1 (2018-05-06)

  • (bluefox) Added the support of multiple device IDs

1.1.1 (2018-04-15)

  • (Apollon77) Optimize reconnect handling

1.1.0 (2018-01-23)

  • (bluefox) Little endian strings added
  • (Apollon77) Upgrade Serialport Library

1.0.2 (2018-01-20)

  • (bluefox) Fixed read of coils

0.5.4 (2017-09-27)

  • (Apollon77) Several Fixes

0.5.0 (2017-02-11)

  • (bluefox) Create all states each after other

0.4.10 (2017-02-10)

  • (Apollon77) Do not recreate all data points on start of adapter
  • (ykuendig) Multiple optimization and wording fixes

0.4.9 (2016-12-20)

  • (bluefox) fix serial RTU

0.4.8 (2016-12-15)

  • (Apollon77) update serialport library for node 6.x compatibility

0.4.7 (2016-11-27)

  • (bluefox) Use old version of jsmodbus

0.4.6 (2016-11-08)

  • (bluefox) backward compatibility with 0.3.x

0.4.5 (2016-10-25)

  • (bluefox) better buffer handling on tcp and serial

0.4.4 (2016-10-21)

  • (bluefox) Fix write of holding registers

0.4.1 (2016-10-19)

  • (bluefox) Support of ModBus RTU over serial and over TCP (only slave)

0.3.11 (2016-08-18)

  • (Apollon77) Fix wrong byte count in loop

0.3.10 (2016-02-01)

  • (bluefox) fix lost of history settings.

0.3.9 (2015-11-09)

  • (bluefox) Use always write_multiple_registers by write of holding registers.

0.3.7 (2015-11-02)

  • (bluefox) add special read/write mode if "Max read request length" is 1.

0.3.6 (2015-11-01)

  • (bluefox) add cyclic write for holding registers (fix)

0.3.5 (2015-10-31)

  • (bluefox) add cyclic write for holding registers

0.3.4 (2015-10-28)

  • (bluefox) add doubles and fix uint64

0.3.3 (2015-10-27)

  • (bluefox) fix holding registers

0.3.2 (2015-10-27)

  • (bluefox) fix import from text file

0.3.1 (2015-10-26)

  • (bluefox) fix error with length of read block (master)
  • (bluefox) support of read blocks and maximal length of read request (master)
  • (bluefox) can define fields by import

0.3.0 (2015-10-24)

  • (bluefox) add round settings
  • (bluefox) add deviceID
  • (bluefox) slave supports floats, integers and strings

0.2.6 (2015-10-22)

  • (bluefox) add different types for inputRegisters and for holding registers ONLY FOR MASTER

0.2.5 (2015-10-20)

  • (bluefox) fix names of objects if aliases used

0.2.4 (2015-10-19)

  • (bluefox) fix error add new values

0.2.3 (2015-10-15)

  • (bluefox) fix error with master

0.2.2 (2015-10-14)

  • (bluefox) implement slave
  • (bluefox) change addressing model

0.0.1

  • (bluefox) initial commit

License

The MIT License (MIT)

Copyright (c) 2015-2024 Bluefox dogafox@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.