Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Hoping to goodness is not theologically sound. - Peanuts


tech / sci.electronics.design / Re: Modbus

SubjectAuthor
* ModbusDavid Lesher
+- Re: ModbusLasse Langwadt Christensen
`* Re: ModbusTauno Voipio
 `* Re: ModbusDavid Lesher
  `* Re: ModbusTauno Voipio
   `- Re: ModbusPhil Hobbs

1
Modbus

<s9oiii$juo$1@reader1.panix.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64850&group=sci.electronics.design#64850

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!wb8foz
From: wb8...@panix.com (David Lesher)
Newsgroups: sci.electronics.design
Subject: Modbus
Date: Tue, 8 Jun 2021 20:05:38 +0000 (UTC)
Organization: NRK Clinic for habitual NetNews Abusers - Beltway Annex
Lines: 17
Message-ID: <s9oiii$juo$1@reader1.panix.com>
NNTP-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1623182738 20440 166.84.1.5 (8 Jun 2021 20:05:38 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 8 Jun 2021 20:05:38 +0000 (UTC)
User-Agent: nn/6.7.3
 by: David Lesher - Tue, 8 Jun 2021 20:05 UTC

We have an issue with Modbus over RS-485 where the controlled
pump seems to be insisting on us padding each command with
leading/trailing filler bits.

Anyone experienced with such err features?

I am looking at
<http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf>
and nearby. Is there a more definitive document defining
ModBus over RS-485?
--
A host is a host from coast to coast.................wb8foz@nrk.com
& no one will talk to a host that's close..........................
Unless the host (that isn't close).........................pob 1433
is busy, hung or dead....................................20915-1433

Re: Modbus

<03563f65-3838-4178-b2e6-70eb76fdeb4cn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64851&group=sci.electronics.design#64851

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a37:a38d:: with SMTP id m135mr22888220qke.36.1623184106043;
Tue, 08 Jun 2021 13:28:26 -0700 (PDT)
X-Received: by 2002:a37:a2d6:: with SMTP id l205mr23530851qke.326.1623184105890;
Tue, 08 Jun 2021 13:28:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 8 Jun 2021 13:28:25 -0700 (PDT)
In-Reply-To: <s9oiii$juo$1@reader1.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=85.83.70.155; posting-account=mW5JKwkAAAAMyuWOVeLp8yffyAkVx0g7
NNTP-Posting-Host: 85.83.70.155
References: <s9oiii$juo$1@reader1.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <03563f65-3838-4178-b2e6-70eb76fdeb4cn@googlegroups.com>
Subject: Re: Modbus
From: langw...@fonz.dk (Lasse Langwadt Christensen)
Injection-Date: Tue, 08 Jun 2021 20:28:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Lasse Langwadt Chris - Tue, 8 Jun 2021 20:28 UTC

tirsdag den 8. juni 2021 kl. 22.05.43 UTC+2 skrev David Lesher:
> We have an issue with Modbus over RS-485 where the controlled
> pump seems to be insisting on us padding each command with
> leading/trailing filler bits.
>
> Anyone experienced with such err features?

does the bus have fail safe bias resistors?

Re: Modbus

<s9q0ug$u9t$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64898&group=sci.electronics.design#64898

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tauno.vo...@notused.fi.invalid (Tauno Voipio)
Newsgroups: sci.electronics.design
Subject: Re: Modbus
Date: Wed, 9 Jun 2021 12:17:01 +0300
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <s9q0ug$u9t$1@dont-email.me>
References: <s9oiii$juo$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 9 Jun 2021 09:17:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3eea5c81ce37bfa0256b99a5d1cef5f0";
logging-data="31037"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PbNP+8yyO91oV9vU1CJSw+rYRlV+1i7Y="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.11.0
Cancel-Lock: sha1:IfkHffc0zlxbQJGz2cvJq66lx5k=
In-Reply-To: <s9oiii$juo$1@reader1.panix.com>
Content-Language: en-GB
 by: Tauno Voipio - Wed, 9 Jun 2021 09:17 UTC

On 8.6.21 23.05, David Lesher wrote:
> We have an issue with Modbus over RS-485 where the controlled
> pump seems to be insisting on us padding each command with
> leading/trailing filler bits.
>
> Anyone experienced with such err features?
>
>
> I am looking at
> <http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf>
> and nearby. Is there a more definitive document defining
> ModBus over RS-485?

The Modbus/RTU framing is a good candidate for the sickest way
of defining packet boundaries.

In addition to the pull up/down resistors mentioned by Lasse,
are you sure that the interframe timings are met?

A serial interface chip with internal FIFOs will quickly mask
the timing of the octets on the line, so the software has
very limited control.

--

-TV

Re: Modbus

<s9rfp6$bp6$3@reader1.panix.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64936&group=sci.electronics.design#64936

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!wb8foz
From: wb8...@panix.com (David Lesher)
Newsgroups: sci.electronics.design
Subject: Re: Modbus
Date: Wed, 9 Jun 2021 22:36:22 +0000 (UTC)
Organization: NRK Clinic for habitual NetNews Abusers - Beltway Annex
Lines: 20
Message-ID: <s9rfp6$bp6$3@reader1.panix.com>
References: <s9oiii$juo$1@reader1.panix.com> <s9q0ug$u9t$1@dont-email.me>
NNTP-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1623278182 12070 166.84.1.5 (9 Jun 2021 22:36:22 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 9 Jun 2021 22:36:22 +0000 (UTC)
User-Agent: nn/6.7.3
 by: David Lesher - Wed, 9 Jun 2021 22:36 UTC

Tauno Voipio <tauno.voipio@notused.fi.invalid> writes:

>The Modbus/RTU framing is a good candidate for the sickest way
>of defining packet boundaries.

That's ....encouraging.....

>In addition to the pull up/down resistors mentioned by Lasse,
>are you sure that the interframe timings are met?

>A serial interface chip with internal FIFOs will quickly mask
>the timing of the octets on the line, so the software has
>very limited control.

The bothersome client uses a ADM2486. I can't recall what out end is.

Re: Modbus

<s9sm72$4ap$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64952&group=sci.electronics.design#64952

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tauno.vo...@notused.fi.invalid (Tauno Voipio)
Newsgroups: sci.electronics.design
Subject: Re: Modbus
Date: Thu, 10 Jun 2021 12:32:17 +0300
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <s9sm72$4ap$1@dont-email.me>
References: <s9oiii$juo$1@reader1.panix.com> <s9q0ug$u9t$1@dont-email.me>
<s9rfp6$bp6$3@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 10 Jun 2021 09:32:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="76b1367f75fbfe350ca8f493ab1d2909";
logging-data="4441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tne55nax2vaVOPblN1fsvsLfcA3S32hY="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0)
Gecko/20100101 Thunderbird/78.11.0
Cancel-Lock: sha1:Xdr2wKNaRvM+RypJhUdV4FWrEY8=
In-Reply-To: <s9rfp6$bp6$3@reader1.panix.com>
Content-Language: en-GB
 by: Tauno Voipio - Thu, 10 Jun 2021 09:32 UTC

On 10.6.2021 01:36 AM, David Lesher wrote:
> Tauno Voipio <tauno.voipio@notused.fi.invalid> writes:
>
>
>
>> The Modbus/RTU framing is a good candidate for the sickest way
>> of defining packet boundaries.
>
> That's ....encouraging.....
>
>> In addition to the pull up/down resistors mentioned by Lasse,
>> are you sure that the interframe timings are met?
>
>> A serial interface chip with internal FIFOs will quickly mask
>> the timing of the octets on the line, so the software has
>> very limited control.
>
> The bothersome client uses a ADM2486. I can't recall what out end is.

About a quarter century ago, I had to code a Modbus/RTU master/slave
unit with MC68332 and four 16C550 UART's.

I had to disable the internal FIFO's and harness a pair of 68332
timers per Modbus channel, to get the timings to match the
specification.

The ready unit had enough processing power to handle the increased
interrupt load, in addition of the other things to do. The unit
did obey the spec, we tested it with the customer. In the same
testing session, we noticed that there were no PC Modbus handlers
performing to the timing specifications.

--

-TV

Re: Modbus

<b2892962-22a5-6fb6-7264-e046953ff896@electrooptical.net>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=64955&group=sci.electronics.design#64955

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 10 Jun 2021 07:43:05 -0500
Subject: Re: Modbus
Newsgroups: sci.electronics.design
References: <s9oiii$juo$1@reader1.panix.com> <s9q0ug$u9t$1@dont-email.me> <s9rfp6$bp6$3@reader1.panix.com> <s9sm72$4ap$1@dont-email.me>
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Message-ID: <b2892962-22a5-6fb6-7264-e046953ff896@electrooptical.net>
Date: Thu, 10 Jun 2021 08:43:04 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <s9sm72$4ap$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 51
X-Trace: sv3-ZeKQP4+gQTwydzQzONw3zZm4C+gjsonO6NrOshE1KiaREcmeQel703lvlRqtkHeBVGbCrnHQ7qq/umK!9G+Lmxxm83r7xWwlrU7STNPkqtdGdjt4/clfLGQyB36iU9ysA/PMnnBQ3Z8AeeibqhnFHhQoOyox!VnfAlj7qD0OveBJCAnwclC8=
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2799
 by: Phil Hobbs - Thu, 10 Jun 2021 12:43 UTC

Tauno Voipio wrote:
> On 10.6.2021 01:36 AM, David Lesher wrote:
>> Tauno Voipio <tauno.voipio@notused.fi.invalid> writes:
>>
>>
>>
>>> The Modbus/RTU framing is a good candidate for the sickest way
>>> of defining packet boundaries.
>>
>> That's ....encouraging.....
>>
>>> In addition to the pull up/down resistors mentioned by Lasse,
>>> are you sure that the interframe timings are met?
>>
>>> A serial interface chip with internal FIFOs will quickly mask
>>> the timing of the octets on the line, so the software has
>>> very limited control.
>>
>> The bothersome client uses a ADM2486. I can't recall what out end is.
>
>
> About a quarter century ago, I had to code a Modbus/RTU master/slave
> unit with MC68332 and four 16C550 UART's.
>
> I had to disable the internal FIFO's and harness a pair of 68332
> timers per Modbus channel, to get the timings to match the
> specification.
>
> The ready unit had enough processing power to handle the increased
> interrupt load, in addition of the other things to do. The unit
> did obey the spec, we tested it with the customer. In the same
> testing session, we noticed that there were no PC Modbus handlers
> performing to the timing specifications.
>

The 332 was a very nice chip for its day.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor