Add-on blocks for Modbus/TCP communication
-
Entry
-
Associated product(s)
This involves the following products.
Name | Article number |
---|---|
Modbus/TCP CP | 2XV9450-1MB00 6AV6676-6MB00-6AX0 6AV6676-6MB00-6AD0 |
Modbus/TCP CP RED | 6AV6676-6MB30-3AX0 6AV6676-6MB30-3AD0 6AV6676-6MB30-4AX0 6AV6676-6MB30-4AD0 |
Modbus/TCP RED V2 | 2XV9450-1MB11 |
Modbus/TCP PN CPU | 2XV9450-1MB02 6AV6676-6MB20-3AX0 6AV6676-6MB20-3AD0 |
Modbus/TCP PN RED | 6AV6676-6MB10-0AX0 |
Table 1
Frequently, adaptations are required when implementing Modbus/TCP communication in a larger plant or system, for example:
- For communication with Modbus/TCP blocks, more data should be sent to a partner than is possible using a single telegram.
- The Modbus data to be sent or read is saved in global data blocks. However, when using CFC, global data blocks are often not wanted.
- In some plants and systems, it is specified that all the machine data - independent of the data type - is saved in a single data block.
Solution
These adaptations can be implemented in a user-friendly and convenient fashion by using the blocks provided in the "Additional Modbus Blocks" library.
- The "Job List" block allows several different Modbus telegrams to be cyclically processed.
- "Data Collectors" blocks can be inserted in a CFC chart by dragging & dropping them. There, they are directly interconnected with the Modbus block to process Modbus data.
- Using the "Marshalling Blocks" data that has been received or is to be sent with various data types (Holding Register, Input Register, Coils, Inputs) can be marshalled in a single data block.
"Additional Modbus Blocks" library for STEP 7 V5
Fig. 01
Documentation and library Documentation (1,7 MB)
Library for STEP 7 V5 (67,9 KB)
The "Job List" library for STEP 7 V14 SP1 or higher
The "Job List" block is available as global library, also for STEP V14 SP1 or higher . Unzip the library to a directory of your choice. Open STEP 7. You can integrate the unzipped library under "Library > Global libraries > Open global library". The block is available in the SCL and STL programming languages.
Documentation and library Documentation (101,6 KB)
Library for STEP 7 V14 SP1 (502,8 KB)
Additional information
http://www.siemens.de/s7modbus
Register for our product-specific Newsletter so that you are always informed about product updates.
https://support.industry.siemens.com
Last change
Update of the documentation of the "Additional Modbus Block" library for STEP 7 V5
- German
- Spanish
- French
- Italian
- Chinese
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry