Overview of Modbus nodes in v5
masterThe node-red-contrib-modbus package (v5) provides a comprehensive suite of nodes for Modbus TCP and Serial communication.
Client Nodes:
Modbus-Client: Core configuration for TCP or Serial, featuring an XState FSM for queueing and reconnection.Modbus-Read: Performs periodic polling using Function Codes (FC) 1–4.Modbus-Getter: Performs on-demand reads using FC 1–4.Modbus-Flex-Getter: Performs FC 1–4 reads driven by the incoming payload.Modbus-Write: Performs writes using FC 5, 6, 15, or 16.Modbus-Flex-Write: Performs writes driven by the incoming payload.Modbus-Flex-Sequencer: Handles ordered multi-range reads.Modbus-Flex-FC: Allows custom FC maps usingextras/argumentMaps.Modbus-Flex-Connector: Enables runtime endpoint switching and reconnection.Modbus-Queue-Info: Provides client queue depth information and reset capabilities.
Utility & Server Nodes:
Modbus-Response: Displays status for responses.Modbus-IO-Config: Provides named IO JSON mapping.Modbus-Response-Filter: Filters IO payloads by name.Modbus-Server: A buffer-backed TCP slave (usingjsmodbus) intended for demos and tests.