Beruflich Dokumente
Kultur Dokumente
& GE PLC
Contents
Project Details ............................................................................................................................................... 2
Getting Started.............................................................................................................................................. 3
Commissioning .............................................................................................................................................. 4
Parameterization of Modbus Communication ............................................................................................. 6
Testing ......................................................................................................................................................... 11
Project Details
Hardware
GE PLC
http://w3.siemens.com/mcms/human-machine-interface/en/customized-
products/customized-
software/Pages/default.aspx?tabcardname=simatic%20modbus/tcp.
Software
The usage of the FB MODBUSPN is possible with STEP7 Version 5.4 SP4 or
higher.
1. The FB MODBUSPN requires 6048 byte work memory and 7294 byte
load memory.
2. The FB MOD_CLI requires 11184 byte work memory and 12054 byte
load memory.
3. The FB MOD_SERV requires 10660 byte work memory and 11452
byte load memory.
4. The FB TCP_COMM requires 1880 byte work memory and 2224 byte
load memory.
Getting Started
Procedure
1. Install “OpenModbusTCP PN CPU“ and insert the Modbus function
blocks into your SIMATIC project.
2. Parameterize the connection parameters regarding your
requirements (IP-address, port number, etc.).
3. Parameterize the Parameter-DBs MODBUS_PARAM regarding your
requirements (client/server, connect at start-up, register numbers,
DB numbers, etc.).
4. Call the Modbus block FB102 in the required OBs.
5. Parameterize the Modbus block for initialization and runtime.
6. Load the user program into the PLC and license the Modbus block for
this CPU.
For Step 2 and 3 used Run Modbus TCP Wizard and set all
parameter
Commissioning
Installing Library
Or
1. Create S7 project.
2. Copy and Paste OB, FB’s, FC’s and DB’s from Tested sample project.
S7 PLC: 192.168.2.105
GE PLC: 192.168.2.110
3. Run Modbus TCP Wizard
1.
2.
3.
4.
5.
For More information on Modbus Parameterization . Kindly read
following pdf file from Page 15 to 17.
S7 - OPEN MODBUS /
TCP Communication via the integrated PN interface of the PLC
After Parameterization steps follow following checks procedure before
download.
1. Open DB 2 and check following parameter as per your requirement.
2. Data type in sample project we used holding register (3) .
3. Once done above checking, Download hardware and software in PLC.
Testing
Installed Modbus Poll (Modbus Simulator) software for Modbus Server (GE
PLC) data flow testing and give connection details in Connection >>
Connection Setup
If Hardware of Server PLC and Connection settings are ok, it reads value
from Server. It shows everything is ok from Server (GE side)
In Siemens PLC , After download Software and Hardware . Open VAT table
“Client_read_from_server” and check connection established bit status and
error code. If Connection Established bit is “True” and Connection Status is
“Zero” then connection is established and we are able to receive data from
server (GE PLC).
For Licensing Error, Please refer PDF from Page 23 to 26 , But we can
established and able to send and receive data without License.
S7 - OPEN MODBUS /
TCP Communication via the integrated PN interface of the PLC