Re: [foxboro] FBM231 modbus with siemens

  • From: "Wilson, Brad" <brad.wilson@xxxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 19 Oct 2007 10:03:00 -0400

In trying to set up a FBM231 with a Siemens S7, I discovered that the
FBM231 tries to establish a comm link with the PLC before sending a
request. In the absence of a heartbeat, it sends a read request to
address 40001 (the first entry of the holding register. If the Siemsns
receives a request to an undefined address, it shuts down the comm port.
So, if 40001 is undefined then the PLC immediately goes off-line and can
only be restored by cycling power. There may be other "odd" behaviour
associated with Siemens too. Be sure that heartbeat (FC8) is turned on.
It would seem that standard modbus is not always so "standard".

Brad Wilson
brad.wilson@xxxxxxxxxxxxxxxx
Invensys Systems, Inc
1090 King Georges Post Rd, Suite 204
Edison, NJ  08837
732-874-0087

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Gonzalo Diaz
Sent: Friday, October 19, 2007 8:53 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] FBM231 modbus with siemens

Try the following things:

- to use another modbus slave (such as an analyzer) and see if the =3D
problem
persists.
- use a modbus simulator to read and write coils and registers to the
siemens plc...as said in another post, the siemens plc uses custom =3D
blocks
and functios installed on the cp's to perform modbus comunications. =3D
Since it
is not a standar for siemens, there might be some limitations regarding
modbus functios
- to read and write only one register at a time. If this works, then
increase the data being requested by little increments.
- take a look on how many bytes are you sending and requesting, try to =3D
limit
the byte quantity to no more than 100 bytes
- try to establish a poll frequency for no less than a second, i guess =3D
500
msec is to high (it depends on the physicall link, indeed)

if you dont have a modbus simulator i can send you one.

good luck


Gonzalo Diaz
Mantenimiento Planta LPG
Servicios Buproneu S.A. (Capex S.A.)
Yacimiento "Agua del Caj=3DF3n"

-----Mensaje original-----
De: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] =3D
En
nombre de FoxPat
Enviado el: Jueves, 18 de Octubre de 2007 14:14
Para: foxboro@xxxxxxxxxxxxx
Asunto: [foxboro] FBM231 modbus with siemens

Dear list,
=3D20

We're having some problems with a new modbus link.

=3D20

FBM231, modbus driver version 1.1, scan-rate 0.5 seconds.

=3D20

Reading coils and registers is no problem.

=3D20

Writing coils works but after a certain amount of writes (just toggle of
=3D
1
BOUT) the complete link starts to fail intermittently (works for a few
seconds and then all smurfed for a few seconds, works again for a few
seconds, smurfs .. Etc).

=3D20

Only a reset of the Siemens communication card (pull-push, there's no =3D
reset
button) solves the problem, but after several write attempts fails =3D
again.

=3D20

=3D20

Installed all the DCI IIN blocks for FBM port and device counters (as
described in the manual) but these don't help me much other then =3D
indicate
there are no CRC or framing errors. Scan time is only about 100 mSec.=3D20

=3D20

I hope to install a modbus analyser tomorrow to see what is actually
happening.

=3D20

Anybody had similar problems?

Any suggestions ?

=3D20

=3D20

Kind regards,

=3D20

Patrick Martens

Total Refinery Nederlands. N.V.

=3D20



=3D20
=3D20
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
=3D
your
own risks. Read http://www.thecassandraproject.org/disclaimer.html
=3D20
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Djoin
to unsubscribe:      =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Dleave
=3D20




 =

 =

_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 =

foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
 =



Confidentiality Notice:
This e-mail and any associated files are intended solely for the individual=
 or entity to whom they are addressed. Please do not copy it or use it for =
any purposes, or disclose its contents to any other person. Further, this e=
-mail and any associated files may be confidential and further may be legal=
ly privileged. This email is from the Invensys Process Systems business uni=
t of Invensys plc which is a company registered in England and Wales with i=
ts registered office at Portland House, Bressenden Place, London, SW1E 5BF =
(Registered number 166023).  For a list of European legal entities within t=
he Invensys Process Systems business group, please click here http://www.in=
vensys.com/legal/default.asp?top_nav_id=3D77&nav_id=3D80&prev_id=3D77.

If you have received this e-mail in error, you are on notice of its status.=
 Please notify us immediately by reply e-mail and then delete this message =
from your system. Thank you for your co-operation. You may contact our Help=
desk on +44 (0)20 7821 3859 / 2105 or email inet.hqhelpdesk@xxxxxxxxxxxxx T=
his e-mail and any attachments thereto may be subject to the terms of any a=
greements between Invensys (and/or its subsidiaries and affiliates) and the=
 recipient (and/or its subsidiaries and affiliates).


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: