8/10/2011 3:05 PM | |
Joined: 9/23/2005 Last visit: 9/11/2024 Posts: 4347 Rating:
|
Hi, Here there are a sample project and some tips for implementation of MODBUS TCP with S7-1200: 1 - Pre requisites: STEP 7 >= V11 SP1 and S7-1200 FW >=2.1 2 – Documentation: the help on line of the blocksMB_SERVER and MB_CLIENTare the best way to get information about these blocks. 3 – Programming: 3.1 – On MODBUS TCP server Ports: as default you can use 502, however it is possible to use any ELSE ports already used by S7-1200 (20, 21, 25, 80, 102, 123, 5001, 34962, 34963 and 34964). Each connection needs a block call (with different instance DB, ID and port)
NOTE: As from CPU FW4.0 / STEP 7 V13 SP1, the blocks MB_CLIENT / MB_SERVER was changed.
I attached now two examples at one zip file: one for FW>4, other for FW<=3 (as original) In the post of 28/04/2018 I place a V15 project version + cast showing the project steps. AttachmentModbus TCP.zip (15709 Downloads) |
Last edited by: Denilson Pegaia at: 4/22/2015 8:47:44 PMLast edited by: Denilson Pegaia at: 4/28/2018 3:41:18 PMDenilson Pegaia |
|
This contribution was helpful to
49 thankful Users
|
11/9/2011 10:46 AM | |
Joined: 11/7/2011 Last visit: 5/6/2024 Posts: 7 Rating:
|
Hi I have installed the upd 2 for V11. The error message i get is in the picture attached |
11/9/2011 2:09 PM | |
Joined: 9/23/2005 Last visit: 9/11/2024 Posts: 4347 Rating:
|
Hi, please instal de SP1: http://support.automation.siemens.com/BR/view/en/51696778 |
Denilson Pegaia |
|
This contribution was helpful to
1 thankful Users |
11/9/2011 2:54 PM | |
Joined: 11/7/2011 Last visit: 5/6/2024 Posts: 7 Rating:
|
Hi, Works much better now Thank you for the help Regards Jacob |
Follow us on