$plan-reads
Plan Reads
Group the points in a checked map into small, read-only Modbus requests for function codes 01–04 before building Node-RED, Modpoll (BETA), or ModScan (BETA) files.
GROUP 03Plan and run one readGitHub source ↗
WHAT YOU GET
A clear result you can inspect
It writes `read-plan.json`. Each bounded request has a unit ID, register area, start offset, quantity, interval, and the points returned by that block. Every active point must appear in exactly one request.
HOW IT RUNS
Groups adjacent points and checks each limit
SKILL.mdprocess + safetyscripts/run.pybundled local PythonGroups adjacent points and checks each limit. The planner uses zero unused addresses between points unless you set a different maximum gap. It checks register quantities, target limits, point slices, and the exact map version. Any map change makes the old plan invalid and requires a new plan.
WHERE IT FITS
Used in these workflows
EXAMPLE REQUEST
Ask for the result in your own words.
Use this example as a starting point. Replace the file names and details with your own.
$plan-reads Create a read plan from `reviewed-map.json`. Keep separate points in separate blocks unless they are directly adjacent, and show which points are in each Modbus request.