Technical Forum

Communication / Networks

Modbus Slave configuration with ET 200S 1SI Module

Thread Starter: Pravin Patil India   Started: 12/27/2007 6:39 AM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  12/27/2007, 6:39 AM
Joined 8/30/2007
Last visit: 6/7/2010
Posts: 22
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Dear All,
I am using ET200S 1SI Modbus CP MLFB No. 6ES7-138-4DF11-0AB0

I want configure it for modbus Slave.
In my application I need to transfer my data to a third patry which is  Modbus RTU master (PORT RS485)
So I need to configure myself as slave
Can you please help in doing this?

Thankx & regards
Praveen Patil
Top
  12/27/2007, 7:33 AM
Joined 9/27/2006
Last visit: 4/20/2014
Posts: 4574
Rating:
Rated: Excellent [4.2 out of 5 / rated 752 time(s)]. (752) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello Pravin;

Here is what the manual has to say about configring Modbus slave status on a 1SI module:

From the ET200S_1SI_e.pdf manual

Modbus slave connection

The Modbus slave connection for the module consists of two parts:

Modbus slave driver

Modbus communication function block for the SIMATIC S7 CPU

Modbus slave communication FB

In addition to the Modbus slave driver, the Modbus slave connection requires a

special communication FB in the S7 CPU.

The Modbus communication FB processes all the functions required for the

connection.

FB 81(S_MODB) receives the Modbus protocol and converts the Modbus

addresses into SIMATIC memory areas.

FB 81(S_MODB) must be called in the cyclic program of the user program. The

Modbus communication FB uses an instance block as the work area.

There is much more information in this manual; if you don't have it, download it from Siemens' support website.

Hope this helps,
Daniel Chartier

Top
  12/27/2007, 2:33 PM
Joined 1/7/2006
Last visit: 4/14/2014
Posts: 2674
Rating:
Rated: Excellent [4.07 out of 5 / rated 257 time(s)]. (257) 
Users with special expertise supervising conferences
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Pravin Patil India wrote:
I am using ET200S 1SI Modbus CP MLFB No. 6ES7138-4DF11-0AB0

I want configure it for modbus Slave.

In my application I need to transfer my data to a third patry which is  Modbus RTU master (PORT RS485)

So I need to configure myself as slave


Dear Praveen Patil,

You have the right module, connect it as a RS485 module to the master, please look very well if the wiring is ok.. togue More data is on page 3-61 and 3-14 for the wiring of the module.

In the handbook Serial Interface Module ET 200S 1SI you will find how to program the MODBUS Slave in chapter 3.6 as of page 3-55,

The Function Codes 01, 02, 03, 04, 05, 06, 07, 08, 11, 12, 15 and 16 may used.

There is like FB80 for the CP341 also a FB81 "S_MODB" that have to be used for the best programming, see Function Blocks, Examples and User Manuals for the ET200S 1SI Serial Interface for the blocks and a example.

I hope that the answer will help, if you have still questions, don't hesitate to ask me.

All the best, Late
Never say never, think in solutions, not in trouble......
Top
Thank you for this post from:
Page 1 of 1 (3 items)
Actions