Access Senquip Application Notes — detailed documents explaining configuration, integration, and data setup for each supported system.
MODBUS TCP in a Script
APN0024 | Revision 1.0 | April 18, 2024
This note details how to communicate with Modbus TCP servers directly from a Senquip device script. It explains establishing TCP sockets, sending Modbus function‑code frames, and parsing responses using mJS utilities. Example code demonstrates reading and writing multiple registers, handling timeouts, and verifying CRCs. The guide also compares Modbus RTU over RS485 to Modbus TCP over Ethernet, describing the advantages of each. Step‑by‑step examples include polling a smart sensor through a USR‑TCP232‑304 converter. This technique allows users to bridge older serial systems to Ethernet‑based SCADA networks using only a Senquip device.
Access Application Note
Fill out the form below to access the full application note.
