EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
<== Date ==> <== Thread ==>

Subject: Modbus-TCP "authorization"
From: Виталий Балакин via Tech-talk <[email protected]>
To: [email protected]
Date: Tue, 18 Nov 2025 10:33:07 +0700
Hi!

I have a Modbus-TCP device which requires a so called "authorization" to
be performed BEFORE any actual I/O can take place; without such an
authorization all register writes and even reads result in exception 2
("illegal data address").

The "authorization" consists of several register reads and writes, in
specific order:

   1. Write INT32_LE:0x89ABCDEF to holding registers 0x2100,0x2101
   2. Write INT32_LE:0x01234567 to holding registers 0x2102,0x2103
   3. Write 0 to holding register 0x2104
   4. Read discrete input 0x2200

Is there some mechanism to perform this sequence immediately upon connect?
Looking at "modbus" module documentation, I see nothing relevant.

Thanks in advance!
Vitalii


Replies:
RE: Modbus-TCP "authorization" Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: aiopvxs Python library available Mike Smith via Tech-talk
Next: RE: Modbus-TCP "authorization" Abdalla Ahmad via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
Navigate by Thread:
Prev: aiopvxs Python library available Mike Smith via Tech-talk
Next: RE: Modbus-TCP "authorization" Abdalla Ahmad via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·