First connection: reach your SB1000 and choose its operating mode

Before you connect

Record the SB1000 serial number and firmware version, the field-device models, and the system they will connect to. Have the field-device wiring and register documentation available. Arrange any interruption to an existing bus before changing modes or starting a scan.

1. Establish local access

  1. Connect the specified power supply and check that the device starts. SB1000 accepts 9–24 V AC/DC; follow its product label and the installation's wiring requirements.
  2. Prefer Ethernet for the first connection when it is available. Check the physical link, then obtain the actual IP configuration from the device or the installation records. Do not assume a DHCP address or copy an example IP from a guide.
  3. Put the computer on a network that can reach that address. Check subnet, routing, and duplicate static addresses. Open the device's configured HTTP or HTTPS address and port.
  4. If the device cannot be reached over the network, the Varibits app can read supported settings over NFC on compatible hardware when the device's NFC policy permits it. Use the current snapshot to check the network configuration.
  5. If using the commissioning hotspot, join the network shown by the device's instructions. A phone's “no internet” warning does not itself mean local access failed. Use the local address supplied for that hotspot if the captive page does not open.

Wi-Fi uses 2.4 GHz. A metal cabinet can substantially reduce reception. Ethernet access is a useful comparison when diagnosing a radio problem.

The Wi-Fi password, web login, MQTT credentials, and NFC write permission serve different purposes. Changing one does not change the others.

2. Choose who starts the communication

  • A BMS/PLC sends Modbus TCP requests to RTU equipment: select TCP → RTU for the connected serial port. The default gateway ports are 4001 for Port 1 and 4002 for Port 2.
  • An existing RTU controller sends requests to a TCP server: select RTU → TCP and configure the remote server and its listening port. This is the opposite request direction.
  • SB1000 reads field points and publishes MQTT messages: select the MQTT mapping mode and configure the broker, devices, and points.
  • A BACnet/IP system needs objects representing Modbus points: select the BACnet mapping mode and configure the BACnet identity and point definitions.
  • A serial application expects a virtual COM port: use the matching RFC2217 client and mode.
  • Equipment needs unmodified serial frames over a TCP connection: use the raw bridge mode and its client/server and frame-timing settings.
  • A serial controller must communicate across two serial segments: use the supported RTU bridge arrangement and define the controller and device sides.

Selecting a protocol mode does not configure the external system's point definitions. A Modbus TCP client still needs the field device's register map. A raw TCP bridge or virtual COM port is not a Modbus TCP server.

The optional management interface on default TCP port 502 exposes SB1000 settings. It is separate from the serial gateway ports. Use the actual saved ports, not just these defaults.

3. Verify one result

  1. Save the selected mode and matching serial settings. Note any service restart or reconnect.
  2. If you used commissioning, finish the tests and exit commissioning so normal port operation resumes.
  3. Choose one documented read-only point. Verify its raw response and engineering value in the destination system before adding a larger point list.
  4. Record the working IP, port, bus, Unit ID, protocol, and versions.

When settings change access

Before changing an IP address, Wi-Fi network, web port, or HTTPS setting, record how you will reconnect. Reopen the new address after the change and any restart. A disappearing page can be an expected result of changing the connection you are using.

Keep a recoverable configuration before major changes. The native app's reusable template contains only supported settings and is different from a device configuration backup.

Commission an RS485 installation

Scope and preparation

Use the affected SB1000's web interface. Commissioning mode is available in firmware 6 and later; listen-before-transmitting behavior was added in firmware 7 and Register scan in firmware 8. Check the installed version and its visible tools.

Commissioning takes over both serial ports and suspends their normal operation. Arrange the interruption before entering it. Identify the existing bus master and the expected field devices, addresses, and serial settings. Save a configuration backup when appropriate.

1. Prepare the bus

  1. Check power, data-pair wiring, signal reference, topology, end termination, and bias against the equipment documentation.
  2. Confirm one deliberate master arrangement. Do not connect SB1000 as another independent transmitting master on an active RTU bus.
  3. Enter commissioning and inspect the line settings for each port.
  4. Keep listen-before-transmitting enabled when available. If it reports a busy bus, identify the traffic and isolate the segment appropriately before proceeding.

2. Search a deliberate range

Start with the known baud/parity and expected address range. Broad searches take longer and may find ambiguous responses. Choose a probe function/register documented for the device when a generic probe produces no answer.

A Modbus exception still shows that a device answered. An empty result is not proof that no equipment is present: the probe, address range, serial settings, or wiring may be wrong.

The optional “Also try swapped A/B polarity” pass is experimental and does not work with all equipment. If an address responds only that way, check and correct its data-line wiring, then repeat a normal scan. The temporary inversion is not a permanent repair.

3. Interpret the result

  • OK: a response was detected under the tested conditions. Verify actual points before accepting the installation.
  • Wrong parity: the UART observed parity/framing errors. Use the documented settings and verify a clean read.
  • Conflict: repeated corrupted replies can indicate duplicate addresses, but wrong settings and other faults can look similar. Isolate suspected devices and retest.
  • Garbled: a corrupted response was heard but did not repeat consistently. Check settings, noise, late replies, and competing traffic.
  • A/B swapped: the optional inverted test found a response. Correct the physical data wiring and verify with normal polarity.
  • Multiple stop-bit matches: the reply does not reliably reveal the stop-bit setting. Use the manufacturer's value.

4. Verify the points

Add the intended devices to the list and select the correct library solution or custom definition for the exact model. A library entry is a starting definition, not proof that the connected equipment matches it.

Read a documented point and compare with the field display. Check table/function, zero-based offset, width, signedness, order, scale, units, and invalid-value codes. A register scan offers alternative interpretations; several plausible numbers do not tell you automatically which one is correct.

On firmware with Register scan, restrict the range and use paired reads when required by devices that expose only complete 32-bit values. Export the results if they help document an unresolved map issue.

Perform writes only as a planned, reversible test. Read feedback and restore or release overrides afterward. A write acknowledgement alone does not prove physical movement.

5. Return to normal service

  1. Save or print the commissioning report and note unresolved findings.
  2. Apply the required normal serial settings. A scan can temporarily use other settings and restore the configured values when it ends.
  3. Finish test overrides, then exit commissioning.
  4. Reconnect through the production network if the commissioning hotspot closes.
  5. Verify the intended port modes, TCP ports or MQTT/BACnet configuration, and one correct live value in the external system.

Keep the report together with the firmware version, wiring/address list, and point definitions. A successful scan becomes a completed integration only after normal operation has also been verified.

Publish Modbus points to MQTT

Prepare one field point

Have the field device's register map and working serial settings. Select one documented read-only point with a known value. You also need the broker address, transport/port, required credentials, and permission to publish/subscribe to the intended topics.

Use the SB1000 web interface for the device and point editor and live diagnostics. The native app configures only the settings supported by its NFC schema.

1. Connect the broker

  1. Select MQTT operation for the appropriate serial port and configure its line settings.
  2. Enter the broker URI using the intended scheme: mqtt://, mqtts://, ws://, or wss:// where supported by the installed firmware. Match the broker's actual port and transport.
  3. Check network routing and DNS when using a hostname. A reachable web interface does not establish access from SB1000 to the broker.
  4. Enter the broker credentials and check its publish/subscribe access rules.
  5. Save and verify that SB1000 reports the broker as connected.

Encryption and broker identity verification are separate properties. The firmware documented by this guide supports encrypted MQTT transports but disables CA/common-name certificate validation. Do not assume mqtts:// or wss:// authenticates the broker in that firmware; follow the security requirements of the installation and check the release's documented behavior.

While the MQTT broker is disconnected, the MQTT mapping driver's Modbus polling pauses. Restore broker connectivity before concluding that missing polling traffic means an RS485 fault.

2. Define the device and point

  1. Add the field device on the correct port with its actual Modbus address.
  2. Choose the library solution for the exact model/firmware, or create a definition from its register map. A similar product name does not guarantee the same map.
  3. Verify the point's table/function, zero-based address, width, signedness, byte/word order, scale, offset, unit, and access.
  4. Set a sensible polling interval and inter-message delay. Start with a small point set; absent devices and retries consume bus time.
  5. Save the profile. Saving changes restarts the protocol services so the new definitions can load.

A Modbus exception means the device answered but rejected that request. In firmware 8, exception replies no longer count as a nonresponding device for “Max fails until down”. Check the exact status and firmware before diagnosing an offline device.

3. Verify the subscriber's result

Value topics use the configured structure Prefix/DeviceName/PointName/value. The corresponding status topic ends in /status, and the command topic for a writable point ends in /set. Use the actual configured names and case.

Subscribe to the expected value and status topics. Compare a fresh value against the field device and check the status. A retained value from an earlier session is not evidence of a fresh measurement. Per-device statistics are available under Prefix/DeviceName/Statistics on firmware exposing that feature.

If the broker is connected but values are missing, check the profile and point list, exact topic prefix, source status, and publishing/polling policy. A write-only point does not provide a newly polled measurement; its displayed value may be the last value written.

4. Test commands separately

Confirm the point is writable and use the payload defined by its numeric or state configuration. Perform a planned reversible test on the point's /set topic, inspect the resulting status, and read the documented field feedback. Check any heartbeat/repeated-write setting so a one-off test does not become a recurring command.

A successful command status does not prove physical movement. Local overrides, operating modes, and equipment interlocks still apply. Restore or release the test action afterward.

Complete the integration

Record the broker transport/port without passwords, exact topic names, point definitions, firmware version, and a successful live value/status pair. Verify reconnect behavior and how the receiving system marks stale data. Keep credentials out of screenshots and support exports.

Expose Modbus points through BACnet/IP

Prepare the integration

Identify the BACnet/IP network, its configured UDP port, the required unique device instance, and the Modbus equipment and point map. Use the SB1000 web interface. Confirm the receiving BACnet system supports the object types and properties you plan to use.

1. Establish the BACnet side

  1. Select BACnet operation for the relevant serial port and configure matching Modbus line settings.
  2. Set the intended BACnet device identity, names, network interface, and UDP port using the controls provided by the installed firmware. Avoid duplicate device instances on the BACnet internetwork.
  3. Ensure the BACnet client reaches that interface and port. A working HTTP connection does not prove that BACnet UDP traffic is allowed.
  4. Begin discovery on the same IP subnet when practical. If the system spans subnets, use the BACnet network design's supported router/BBMD/foreign-device arrangement. Do not assume ordinary IP routing forwards BACnet discovery broadcasts, or that every such role is implemented by SB1000.
  5. Confirm the discovered device identity belongs to the intended SB1000.

2. Define a small object set

Add the correct Modbus device address and choose a matching library solution or custom point definition. Check the register table, raw offset, type/width, order, scaling, units, and access against the manufacturer's map.

Start with a known read-only value. Save the profile and allow the protocol services to restart. Object names follow the configured prefix, separator, device name, and point name. Discover or refresh the object list in the BACnet client after changes.

A valid BACnet object definition is not proof that the Modbus source can be read. Use the SB1000 diagnostics to confirm the source transaction.

3. Verify value, reliability, and age

Read the object's value and quality/reliability information. Compare the value and unit with a known field reading. Timeout, CRC, bad-response, and rejected-write conditions can affect the object's reliability/state.

On firmware exposing it, proprietary property 1306 reports time since the last successful poll. Use supported freshness/status information to distinguish a current value from an old one.

For Change of Value (COV), verify that the subscription was accepted and remains active. Under resource pressure a subscription can be denied. Configure suitable polling as a fallback where the BACnet client supports it. Also check thresholds and the field device's own update rate before diagnosing a frozen value.

4. Choose writable-point behavior deliberately

The SB1000 controls distinguish “Hold” from “Follow the bus” on firmware offering this choice.

  • Hold: the priority array determines Present_Value. A command remains visible until it is relinquished, even if another master changes the underlying register.
  • Follow the bus: a command is written once to the device, then Present_Value follows what the field device reports. This is intended for arrangements where another controller may also write through the supported bus architecture.

Check which behavior the installation requires. A retained BACnet command and actual actuator feedback are not necessarily the same point. Confirm the client's write priority, relinquish method, and the field device's access and interlocks.

Test only a documented, reversible command. Read the actual feedback and release/restore the test afterward. Do not infer physical movement from a successful BACnet write alone.

Complete the integration

Verify discovery, a correct live value with units, reliability/freshness, the chosen COV/polling arrangement, and any required command/relinquish behavior. Record the device instance, interface/UDP port, object names, source point map, and versions.

If discovery fails, provide both network locations and the exact discovery/error result. If only a value fails, provide the BACnet object details and the corresponding Modbus request/status. This separates an IP/BACnet issue from a field-bus or decoding issue.

Configure SB1000 with the iOS or Android app

What the app provides

The Varibits app reads and changes supported SB1000 settings over NFC and stores product information and help for offline use. A compatible NFC reader is needed for device scans; an app installed on a tablet without NFC can still provide help and templates.

Live RS485 scans, register scans, point editors, and the loopback self-test run in the affected SB1000's web interface. New firmware settings may be web-only until the app's NFC schema supports them.

1. Read the intended device

  1. Open the app and start its scan action. On Android, enable NFC if the device provides that switch.
  2. Place the phone's NFC antenna at the SB1000 NFC area and hold it steady until the read finishes. Antenna position varies by phone; a thick or metallic case can interfere.
  3. Confirm product identity and firmware version in the returned snapshot before editing.
  4. If reading is disabled by the device's NFC policy, use the installation's permitted configuration interface. Do not interpret a locked response as a wiring problem.

2. Review and write the changes

Edit the required settings and review the difference from the snapshot. The app sends changed settings, so leaving an unrelated setting untouched is different from explicitly clearing it.

Record a reconnect plan before changing network settings. Observe any restart indication. Keep the phone in place until the NFC write completes.

The app can show the write as saved before it has read a device apply receipt. An optional verification rescan checks the transaction result. To establish that the device applied the intended change, rescan and inspect the readable setting and successful receipt where supported.

3. Handle a rejected or uncertain result

  • Stale revision: read a fresh snapshot, compare again, and reapply only the intended changes. Another interface may have changed the device.
  • Writes disabled or locked: check the NFC write policy through an authorized configuration route.
  • Unsupported: check the device/app/protocol compatibility rather than repeatedly retrying the same setting.
  • Invalid payload or storage error: record the exact status, app and firmware versions, and setting name for support.
  • Interrupted scan/write: obtain a fresh snapshot before deciding whether another write is necessary.

Passwords are write-only. A blank password display after a read is not evidence that the password was erased. Enter a new secret only when you intend to change it.

4. Reuse a template

Create a reusable template from the scanned device's supported settings and give it a descriptive name. Device-specific values should be requested when applying it rather than copied blindly to every unit.

Portable templates use the .varibitsconfig format. Import a file through the app's document/share workflow, then review it against a freshly scanned target before writing. The app checks product, schema, protocol, field definitions, and value limits.

Templates omit secret values or ask for them at application time. They are not complete backups of point maps, certificates, firmware, and every device setting. An incompatible/newer template must not be made to “fit” by editing its format identifiers.

Completion check

Rescan the correct device when verification is required, confirm the intended readable settings, and test the affected function. Keep templates and support evidence free of passwords. Note the app/platform and firmware versions if behavior differs between devices.

The help library is bundled with the app. Updating an article on the website does not update an already-installed app until a release includes the newer content.

Back up, update, restore, and hand over SB1000

Before a change

Record the current firmware, serial number, network access method, port modes, and one known-good integration test. Arrange a maintenance window for changes that restart services or the unit. Keep a copy of the point definitions and installation wiring/address list.

1. Save the appropriate configuration

Use “Back up configuration” in the SB1000 web interface's Device Settings. Complete any authentication/unlock step and confirm that the .sbb file was downloaded. Label it with the installation, serial number, firmware, and date.

Store a configuration backup as sensitive installation data: it can contain network and credential settings. Do not attach it to a public issue or send it as an ordinary unreviewed diagnostic export.

An NFC .varibitsconfig template is a reusable selection of supported settings. It omits secrets or asks for them and does not replace the device's configuration backup.

2. Update firmware

  1. Use the update workflow offered by the device and the firmware intended for SB1000. Check the target version and release notes.
  2. Maintain reliable power and a stable local connection during upload. Close unnecessary sessions and avoid simultaneous configuration changes.
  3. Start the update and allow the device to complete it and restart. A temporary disconnected page can be expected during reboot.
  4. Reconnect using the configured address and verify the running firmware version before retrying an upload that appeared to lose its connection.
  5. Recheck the intended operating modes and the known-good integration test.

Do not assume an upload failure message proves the old firmware is still running. If the unit remains unreachable, first check power/link, the current address, and any reported update result. Use the documented recovery procedure for that release or contact support instead of improvising a factory reset.

3. Restore deliberately

Restoring a .sbb configuration replaces current settings and point/device maps and then reboots the unit. The web interface describes the scope before confirming. Factory-locked identity values such as the serial number are preserved; copied network or integration settings can still be inappropriate for the destination installation.

  1. Confirm the backup belongs to the intended product and installation and is compatible with the target firmware.
  2. Save the current configuration first if you may need to return to it.
  3. Check the IP address and network details that will take effect, including duplicate-address risks when restoring to a replacement unit.
  4. Choose the restore file, review the warning, and restore only the intended configuration.
  5. Reconnect after reboot and verify both identity and integration behavior.

A restore is not a merge of just the settings you were viewing. A failed restore must be investigated from its reported error; do not repeatedly try unrelated backups.

4. Verify and hand over

Check one correct point in each active integration, source quality/freshness, the intended polling/cache settings, and required write/release behavior. Confirm commissioning has ended and test overrides have been removed.

Record firmware/app/client versions, actual IP/service ports, bus settings and Unit IDs, point-map revision, and the location of protected backups. Provide the operator with a clear way to regain local access.

When contacting support

Include the serial number, running/target firmware versions, exact error, time of the change, access method, and what still works. Share redacted screenshots and a minimal failed transaction first. Send a backup containing secrets only through an explicitly agreed support route.

Connect a Modbus TCP system through SB1000

What this guide helps you do

Use this guide when a BMS, PLC, SCADA system, or another Modbus TCP client needs to read or write a Modbus RTU device connected to an SB1000 RS485 port. First establish one correct read. Then add more points, choose suitable polling, and test any required writes.

The communication path is: your Modbus TCP client → SB1000 IP address and TCP port → selected RS485 bus → field device.

Your client starts the requests. SB1000 forwards them between TCP and RTU. The field device defines which registers exist and what their contents mean. In this forwarding mode, SB1000 does not automatically convert the returned bytes into temperatures, energy totals, signed values, or floating-point values for your client.

Use separate guides for an RTU controller accessing a TCP server, MQTT, BACnet, or a virtual COM/raw TCP connection. They use different roles or protocols even when the same physical connectors are involved.

1. Collect the information for one point

Have the field device's register map for its exact model and firmware. Choose a documented read-only value that you can compare with a display or another reliable measurement. There is no universal test register that all downstream devices support.

Record these settings:

  • SB1000 firmware version and the client software/driver version.
  • SB1000 IP address and the network interface you will use.
  • RS485 Port 1 or Port 2, its operating mode, and its configured TCP port.
  • Field device's Modbus address, also called Unit ID, unit address, server ID, or slave address.
  • Baud rate, parity, data bits, and stop bits used by the field device.
  • Register table: coil, discrete input, holding register, or input register.
  • Register number exactly as printed in the manual, and the manual's numbering convention.
  • Actual zero-based address sent in the request, and the quantity of bits or 16-bit registers to read.
  • Value type, signedness, width, byte/word order, scaling, offset, and engineering unit.
  • Any special value that means unavailable, invalid, over-range, or not fitted.

Keeping these together prevents confusion between an IP address, a TCP port, a Unit ID, and a register address. They identify different parts of the same request.

2. Choose the correct SB1000 service

Open the affected SB1000's web interface and inspect the settings for the physical RS485 port connected to your equipment. Select TCP → RTU operation for this workflow and save the required settings. The exact visible mode label can differ between firmware versions.

The defaults in the standard SB1000 configuration are:

  • RS485 Port 1 gateway: TCP port 4001.
  • RS485 Port 2 gateway: TCP port 4002.
  • SB1000 Modbus Management Interface: TCP port 502, when enabled. This is a separate interface for the SB1000's own settings.

Always use the currently configured port. These numbers can be changed. The factory configuration disables the serial-port modes and the management interface, so a default port number is not proof that a listener is running.

Do not use the management register table when you intend to read a meter or actuator connected to RS485. Use that field device's register map through its gateway port.

If your external client only supports port 502, first check which SB1000 service currently uses it. Configure the required gateway to use an available port accepted by your client and move or disable a conflicting management listener. Two listeners cannot occupy the same address and TCP port. Record the change for other users of the installation.

Port 1 and Port 2 are separate buses. Two devices can use the same Unit ID on different buses; the TCP endpoint distinguishes them. Two devices on the same bus must not share a normal unicast address.

The standard TCP service number is 502, and the Modbus TCP Unit Identifier is used to reach devices behind a gateway. SB1000's configured endpoint determines which service and bus you actually reach.

3. Establish network access from the actual client

Confirm that the BMS/PLC computer can reach the SB1000 on the intended network. A successful connection from your phone or laptop does not establish the same route from a controller on another VLAN.

Check the destination IP, subnet/routing, and any firewall rule for the actual TCP port. With a static IP, check for duplicate addresses. With DHCP, arrange a stable address appropriate to the installation and use the address the device currently reports.

Opening the web page proves that the web service is reachable from that browser. A Modbus connection is a separate connection and can still be disabled, blocked, or directed at the wrong port. Conversely, a failed ping alone does not prove that TCP is unavailable.

If a TCP connection is refused, check the listener's mode/port and client capacity. If it times out before connecting, also check the network path and filtering. Neither result tells you whether the field device's register address is correct yet.

4. Verify the RS485 side

Match the serial settings to the field device's documented configuration. Check that the field device is powered and that its address matches the Unit ID you will request.

Check the bus wiring against both manufacturers' documentation. A/B labels are not used consistently by all equipment vendors. Keep the differential pair together, use the intended bus topology with short branches, and follow the equipment's signal-reference and shield/grounding instructions. Review end termination and biasing as separate functions; do not enable termination at every device or add bias indiscriminately.

There must be a deliberate bus-owner arrangement. An existing RTU master and SB1000 must not independently transmit on the same bus without a supported architecture. If the commissioning scanner reports another active master, investigate that traffic before scanning.

On firmware with the relevant tools, use the SB1000 web interface to establish whether the field device responds and whether the chosen point can be read. Live scanning and the RS485 self-test run on the affected SB1000; reading an article in the native app does not run those tools.

Commissioning mode temporarily takes over the serial ports. After testing, exit commissioning, verify the normal gateway mode and line settings, and reconnect the external client. A successful scan at a different baud/parity does not automatically establish that normal operation uses the discovered settings.

5. Set the Unit ID

For a field device behind this gateway, enter its RTU address in the external client's Unit ID/slave address field. Normal Modbus RTU unicast addresses are 1–247. Use the configured address of your equipment, not a guess based on its physical position.

Do not substitute the SB1000 serial number, its IP address's last octet, the TCP port, or the register number. Do not copy advice about ignoring the Unit ID on a direct TCP device into a TCP-to-RTU gateway configuration.

Address 0 is a broadcast address, not a way to read all devices. Do not use it for a first read or an exploratory write. Broadcast writes can affect multiple devices and do not provide individual replies.

6. Translate the register map into a request

The function and address together identify the data. The same numerical offset can exist independently in several tables.

  • Coils: normally read with FC01.
  • Discrete inputs: normally read with FC02.
  • Holding registers: read with FC03.
  • Input registers: read with FC04.

The address carried in the request is zero-based. A manual or client may instead present a one-based number or a traditional reference that includes the table. For example, when the manual explicitly uses the conventional 4xxxx holding-register scheme, reference 40001 means FC03 at offset 0; 40011 means FC03 at offset 10. A one-based client may ask for register 11 for that same offset 10.

Use this example to check the convention, not to assume that your equipment has the same point:

  • Manual says conventional holding register 40011.
  • Raw zero-based client: choose holding registers and enter 10.
  • One-based register-number client: choose holding registers and enter 11.
  • Traditional-reference client: enter 40011 using the driver's documented method.
  • The request itself must contain start address 10, which is hexadecimal 0x000A.

Do not subtract one or 40001 without knowing the source convention. A manual that already states “protocol address 10” has already supplied the offset. A literal address 40001 can also be a valid raw offset when a manufacturer explicitly defines it that way. Six-digit reference notation must likewise be interpreted according to the driver/manual, not by stripping the first digit mechanically.

Check decimal versus hexadecimal. Decimal 10 is 0x000A; hexadecimal 0x0010 is decimal 16.

The requested quantity is a number of bits for FC01/02 and 16-bit registers for FC03/04. It is not a byte count or a count of engineering values. One float32 occupies two registers; one 64-bit integer occupies four. Start at the first register of the value, and read its complete width together.

7. Prove one read before adding a point list

The following is an illustrative device map, not an SB1000 or universal meter register definition:

  • SB1000 IP: 192.168.10.50, used here only as an example.
  • Gateway: Port 1, configured TCP port 4001.
  • Field device: Unit ID 7.
  • Point: temperature at conventional holding register 40011.
  • Encoding: signed 16-bit integer, scale 0.1, offset 0, unit °C.
  • Expected live value for this example: 21.5 °C.

Configure the client for Modbus TCP, address 192.168.10.50, port 4001, Unit ID 7, FC03, zero-based offset 10, quantity 1. Start with one outstanding read and a modest interval, such as two seconds for this manual test. That interval is a troubleshooting starting point, not a production setting for every device.

The successful data word for the example is hex 0x00D7, decimal 215. Signed decoding gives 215, and 215 × 0.1 gives 21.5 °C.

If your client shows the raw TCP telegram, one example request is “00 01 00 00 00 06 07 03 00 0A 00 01”. A matching example response is “00 01 00 00 00 05 07 03 02 00 D7”. The transaction identifier may differ in a real client. These are Modbus TCP frames with an MBAP header; do not append an RTU CRC or send these bytes to a raw serial bridge as if it were the same service.

Compare the raw word and the engineering value separately. If the word is correct but the displayed temperature is wrong, investigate the client's decoding and scaling. If the request is rejected or no data returns, establish the communication problem first.

Validate at more than one operating value. A coincidentally plausible value at one moment is weak evidence that the address or encoding is correct.

8. Choose the correct value type

A register contains bits. Its label or the presence of a decimal point on the equipment display does not identify its encoding.

  • uint16: one register, 0 to 65,535.
  • int16: one register, −32,768 to 32,767.
  • uint32 or int32: two registers. The signed form interprets the upper bit as part of a signed two's-complement value.
  • float32: two registers containing an IEEE 754 floating-point encoding. Interpreting those bits as an integer gives a different number.
  • uint64 or int64: four registers; confirm the receiving system preserves enough precision.
  • A status/enum/bitfield: interpret the specified bits or states using the device's map. A nonzero status word is not necessarily a simple ON value.

For example, raw 0xFF9C is 65,436 as uint16 but −100 as int16. With scale 0.1, the intended signed value is −10.0; unsigned decoding would show 6,543.6. Changing the wiring or polling interval cannot fix this decoding error.

Do not automatically treat 0xFFFF, 0x8000, a negative number, or NaN as a sensor fault. The manufacturer may define a sentinel, an ordinary value, or a special state. Apply that definition before scaling and before reporting the point as good quality.

Some products use BCD, strings, dates, separate exponent registers, or modulo-10,000 encodings. Those require their documented interpretation. Choosing the nearest-looking standard integer type is insufficient.

Large counters deserve an additional check. A receiving system that converts all numbers to binary64 floating point cannot represent every integer above 2^53 exactly. Re-reading the same raw words will not restore precision lost during conversion. Keep an exact integer representation where the application requires it.

9. Check byte order and word order

For a multi-register value, determine how its bytes and words are arranged. Labels such as “big endian”, “little endian”, and “swap” are not consistently descriptive across different clients; match the actual byte sequence.

For a 32-bit example, call the most-significant byte A, then B, C, and the least-significant byte D. The possible arrangements commonly presented by tools are ABCD, CDAB, BADC, and DCBA. These correspond to no swap, exchanging the two 16-bit words, exchanging the two bytes in each word, and reversing all four bytes.

In the SB1000 point-decoding tools, the 32-bit labels map as follows:

  • 3210: interpret wire bytes as ABCD.
  • 1032: interpret wire bytes as CDAB.
  • 2301: interpret wire bytes as BADC.
  • 0123: interpret wire bytes as DCBA.

This mapping is specific to those SB1000 labels. Do not copy the digits into another application unless it defines them identically. The SB1000 helpers do not apply this 32-bit byte mapping to 16-bit values, and their 64-bit handling rearranges whole registers. A separate 64-bit example is needed for a particular field device.

For a worked float32 example, 23.5 is encoded as 0x41BC0000. A high-word-first device returns registers 0x41BC and 0x0000. A word-swapped device returns 0x0000 and 0x41BC. Both can represent 23.5 with the matching decoder.

Changing SB1000's commissioning display order changes how that tool interprets a reply. It does not change the raw gateway data or configure your external client. Set the external client's decoder separately.

10. Apply scale, offset, and units once

For a linear definition, engineering value = decoded raw value × scale + offset. Decode the data type and order before applying the scale.

Example: raw 215 with scale 0.1 and offset 0 is 21.5. Another point with raw 200, scale 0.1, and offset −10 is 10.0.

Confirm whether the documentation says “multiply by 0.1”, “divide by 10”, or supplies a separate exponent. Also check the engineering unit: 1,500 W is 1.5 kW, and power is not the same quantity as accumulated energy.

Apply each conversion once. A scaled value produced by a mapping or client driver may already be in engineering units. The transparent TCP → RTU path still carries the field device's register data; it does not apply your MQTT/BACnet point definition to that traffic.

For a linear writable point, the inverse is raw = (engineering value − offset) / scale. Use only the documented writable range and representable increments. Confirm the client's write API expects raw data or engineering units before entering a value.

11. Add points without overwhelming the bus

Add a few points at a time after the first verified read. Compare the request/response error counts and update timing before adding more load.

Group only compatible contiguous registers supported by the device. A larger read can fail when it crosses an unimplemented gap or a device-specific block boundary. Some devices require complete 32-bit pairs. The protocol's maximum FC03/04 read is 125 registers, but the attached device may accept fewer. A compliant maximum is not a promise about that device.

SB1000 serializes communication on a bus. Several clients, retries, and absent devices all consume time. Ethernet speed does not make the RS485 devices respond faster. As a simple planning example, 20 sequential requests averaging 50 ms each already occupy one second before extra delays or failed-device timeouts.

Use conservative polling and one outstanding request while troubleshooting. Set the external client's timeout to allow for serial response time, SB1000's configured timeout, and queueing under the intended load. A client that retries before SB1000 finishes a previous request can worsen congestion. An extremely long timeout will not fix a wrong address or disconnected bus.

Keep only the clients needed for the test. Firmware with this feature shares a small Modbus TCP client pool across its listeners, and other networking services also consume resources. Check the capacity guidance for the installed release before designing a multi-client system.

12. Understand cached and stale values

If register caching is enabled, repeated reads can receive a recent cached response without another request on the wire. Firmware with this feature defaults to cache off; when enabled, its default lifetime is 5 seconds, configurable from 1 to 60 seconds in the supported modes.

Use the register-cache diagnostics, where available, to examine age, hits, and misses. For a deliberate fresh test, the Diagnostics one-shot Modbus request bypasses the cache on firmware with this feature. Confirm a meaningful field change and compare the raw reply with the BMS display.

A successful TCP response does not prove a new field measurement was taken at that instant. The field device also has its own measurement update rate. Choose an acceptable age for each use and configure data-quality/staleness handling in the receiving system.

Do not assume every frozen value is a cache issue. Check whether the client is still polling, the bus is healthy, a device is being retried, or a displayed value is simply the last successful value.

13. Follow the observed failure

If TCP cannot connect, work on the IP path, destination port, enabled mode, and client capacity. Register decoding is not involved yet.

If TCP connects but no reply arrives, use Diagnostics to see whether a request was transmitted on the expected bus. No request suggests the wrong listener/mode, commissioning state, request framing, or a cached read. A transmitted request with no valid response points toward Unit ID, device power, line settings, wiring, another master, or device-specific timing.

If a Modbus exception returns, record the complete code and request. Exception 01 means the operation is unsupported; 02 points to the requested address/range; 03 points to invalid request data. Check the device's map and constraints. A CRC error is a different event from a valid Modbus exception.

For exception 04 or 06, also inspect SB1000's configured timeout/CRC action and its bus diagnostics. The gateway can synthesize those responses when a downstream transaction fails. A client timeout can also be intentional when the policy is to send no exception. Do not infer the original fault from the client message alone.

If a valid reply arrives with the wrong value, compare raw bytes first, then check start address, width, type, order, scaling, units, sentinel values, and freshness. Do not start by rewiring a bus that is delivering the expected raw value.

If a scan reports A/B swapped, correct the data-line wiring identified by the test and scan again with normal polarity. The optional inverted scan is experimental and cannot detect all crossed-wire cases. No warning is not proof that polarity is correct, and its temporary inversion is not a saved repair.

14. Test writes separately

Begin writes only after the read path is proven and the intended equipment action is understood. Use a documented, reversible test with the installation in a suitable state. Record the previous value and how to restore it.

Confirm the point is writable, the required function, the complete value width, any unlock/remote-control requirement, and the permissible value range. FC05 writes one coil, FC06 writes one holding register, and FC16 writes multiple holding registers; the field device decides which are supported. Holding-register placement alone does not guarantee writable access.

For a multi-register value, use the manufacturer's complete-value write method rather than two unrelated single-register writes. Apply the correct encoding and any inverse scaling.

After the write, read back the documented feedback or setpoint and check the actual device behavior. A protocol acknowledgement does not prove an actuator moved. A local override, another controller, an interlock, or an operating-mode requirement can prevent or replace the intended action. Some devices require a separate apply/save step; follow their documentation.

Do not use broadcast writes, random register probing, or repeated permanent-setting writes to discover what a point does.

15. Complete the handover

Verify the normal operating mode after commissioning and record one successful request and response. Confirm at least one negative or boundary value when signedness matters, and more than one live value when validating order/scaling.

Record the actual IP/service port, bus, Unit ID, map revision, function, raw start address, width, type/order, scale/unit, polling interval, timeout, and cache setting. Include the firmware and client/driver versions. Preserve an appropriate configuration backup and the point list; an NFC template is a different artifact with a narrower set of supported settings.

If help is still needed, provide the exact failed request, raw reply or error, time of failure, topology, serial settings, and the result of a single-point test through the SB1000 tools and the external client. Include the field-device model/map and SB1000 version. Remove credentials from screenshots, connection strings, and exported evidence.