Add Modbus RTU link to the EA3-T4CL touchscreen - #12
Open
mllewellyn wants to merge 1 commit into
Open
mllewellyn wants to merge 1 commit into
mllewellyn wants to merge 1 commit into
Conversation
Wires a second UART (Serial1, through an external RS-232 transceiver) to run this board as a Modbus RTU slave, so the touchscreen can show the same status lines the debug console gets and drive start/cancel cook the same way the physical buttons do. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hmimodule that runs this board as a Modbus RTU slave onSerial1, wired through an external RS-232 transceiver to the EA3-T4CL's serial port (no P1000 base module involved).arduino-libraries/ArduinoModbusandarduino-libraries/ArduinoRS485(added to thep1am_200env only).Register map (see
include/Config.h)0..15: 32-char ASCII status line, 2 bytes/register.0: start (momentary write, self-clears on read).1: cancel cook (same).The C-more Micro project needs a matching Modbus RTU master config at slave ID 1 / 19200 baud, a string tag over those registers, and two momentary-write buttons for the coils — that side is configured in AutomationDirect's EA-MG-PGMSW software, outside this repo.
Wiring
Serial1(pins 13/14 on the P1AM-200's MKR header) through your RS-232 transceiver to the EA3-T4CL's RS-232 port (RJ12 or the DB15 RS-232/422/485 port set to RS-232 mode).Test plan
pio run -e p1am_200builds cleanpio test -e nativestill passes (16/16)🤖 Generated with Claude Code