Simatic Modbus Training v2
Simatic Modbus Training v2
-Project Modbus v2
-Manuals for drivers and hardware
Preparation..
To enable the Modbus functionality of the CP cards, you must do three things: 1. Install Point to Point software from http://support.automation.siemens.com/WW/view/en/27013524
Preperation
2. Install Modbus Master and Slave drivers from http://support.automation.siemens.com/WW/view/en/27774018 http://support.automation.siemens.com/WW/view/en/27774276 3. Fit the Modbus dongle to the rear of the CP
Industry Automation
Siemens AG 2008 - Subject to modifications
Gould-Modbus
The following FCs can be used to carry out data exchange bit-by-bit: FC 01 Read coil (output) status,
Gould-Modbus
10001 - 19999
Read Only
30001 - 39999
Read Only
40001 - 49999
Read/Write
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
From the drop down box at the top left, select Modbus Slave as the Protocol. Next double click the Protocol icon in the middle of the screen.
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Slave
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
*(All of the structures of data for the various function codes can be found in section 5 of the Modbus master manual). Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
You will need to define a DB that can be used to receive the data into. You call the receive block, and populate its parameters similarly to the send block, telling it the LADDR of the CP341 and the DB to which the data is to be received.
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-300 Master
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-400
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-400
Industry Automation
Siemens AG 2008 - Subject to modifications
S7-400
Industry Automation
Siemens AG 2008 - Subject to modifications
Diagnostics
Sometimes you may have configured the system but devices do not communicate in the manner you expected. Things may appear to be healthy but data is not being successfully transferred. If this is the case then you have a number of options available.
The first place to check would be on the block calls. The blocks will generate status and error information.
Diagnostics
Secondly, you can check the Module Information of the CPU and CP for any diagnostic entries. Error codes generated on the block calls and in Module Information can be found in the manuals included in the Modbus Serial Pack. A further option is to monitor the network using a network analyzer. This will enable you to see the raw data present on the network media and determine if it is present and correct. You should be seeing telegrams with the format matching that described in chapter 5 of the Modbus master manual, depending upon the function code being implemented (byte 1 should contain the slave address, byte 2 should contain the function code etc).
Industry Automation
Siemens AG 2008 - Subject to modifications
RS422 Multipoint
In the RS422 mode CP341 and CP441-2 can only be used as a Master
Industry Automation
Siemens AG 2008 - Subject to modifications
RS485 Multipoint
Industry Automation
Siemens AG 2008 - Subject to modifications
Multipoint
Recommended cable type: LIYCY 3 x 2 x 0,14 R(A)/R(B) and T(A)/T(B) twisted pairs
A wiring with Stub is not allowed
Industry Automation
Siemens AG 2008 - Subject to modifications