Skip to Content
|12/27/2007 6:39 AM|
Last visit: 6/7/2010
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
|12/27/2007 7:33 AM|
Last visit: 2/26/2015
Here is what the manual has to say about configring Modbusslave 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
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.
|12/27/2007 2:33 PM|
Last visit: 2/20/2015
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.. More data is on page 3-61 and 3-14 for the wiring of the module.
In the handbook Serial Interface Module ET 200S 1SIyou 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, seeFunction 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.
This contribution was helpful to: