Technical Document Version 2.0 July 30, 2014 www.cermate.com PLC Connection Guide TN532D-E Siemens S7-1200 ◎Revision Record Revision Date Content Owner V2 2014/07/30 Add description to settings of the database with the Portal software ver 13. Irivine V3 2014/12/23 Add description to settings of the protection for the firmware v4. Irivine
18
Embed
PLC Connection Guide _E0.pdfThe Siemens PLC driver timing is related to the CPU characteristic very much. That's why it is not possible to provide one suitable driver for on-line simulation
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Technical Document
Version 2.0
July 30, 2014
www.cermate.com
PLC Connection Guide
TN532D-E
Siemens S7-1200
◎Revision Record
Revision Date Content Owner
V2 2014/07/30 Add description to settings of the database with the
Portal software ver 13.
Irivine
V3 2014/12/23 Add description to settings of the protection for the
firmware v4.
Irivine
TND532-E0
Page 2 of 18 www.cermate.com
Siemens S7-1200
This tech. note introduces how to connect Siemens S7-1200 with PanelMaster HMI. User can set
the communication setup in TCP/IP and it can connect Siemens S7-1200 with PanelMaster HMI
by Hub.
Note:
In Siemens PLC driver could not be used under Windows “On-Line Simulation”. This driver is only
used for PM HMI hardware. The Siemens PLC driver timing is related to the CPU characteristic
very much. That's why it is not possible to provide one suitable driver for on-line simulation on
PC.
TND532-E0
Page 3 of 18 www.cermate.com
PLC setting
A. S7-1200 first time link (PLC is new one no IP address)
1. Set Internet Protocol (TCP/IP) Properties to “Obtain an IP address automatically“.
2. Select the “Accessible devices” to find out the “MAC address”.
Find MAC address,Loading project tree when new product link first time. When
the software find the MAC address, please press “Show project tree” button.
TND532-E0
Page 4 of 18 www.cermate.com
3. Select “Online & diagnostics” and link with PLC by MAC address.
4. When you link with PLC by MAC address, assign the IP Address=192.168.1.100; Sub
Mask=255.255.255.0.
5. Make sure IP address define success.
TND532-E0
Page 5 of 18 www.cermate.com
6. Create a new project.
7. Select the correct PLC model.
TND532-E0
Page 6 of 18 www.cermate.com
8. Key-in the IP=192.168.1.100 and Subnet Mask=255.255.255.0.
9. Download the setting data into PLC.
TND532-E0
Page 7 of 18 www.cermate.com
10. Select correct IP address and download.
TND532-E0
Page 8 of 18 www.cermate.com
11. Go Online.
12. Recheck the linking status.
When you see this, it means the PC linking is correct.
TND532-E0
Page 9 of 18 www.cermate.com
B. If the S7-1200 PLC has IP address inside
1. Select the “Accessible devices” to check the “IP Address”.
2. Create a new project
TND532-E0
Page 10 of 18 www.cermate.com
3. Select the correct PLC model.
4. Download the setting data into PLC.
TND532-E0
Page 11 of 18 www.cermate.com
5. Go Online
6. Check link state is correct or not
When you see this, it means the PC linking is correct.
TND532-E0
Page 12 of 18 www.cermate.com
C. If your software is TIA Portal v13 or higher, please follow the following
settings for communication:
1. Right click mouse in the "Data block" and choose to "Properties".
TND532-E0
Page 13 of 18 www.cermate.com
2. Uncheck the "Optimized block access" option.
3. The software will show a message window ask you, click "OK".
4. Download settings to S7-1200.
TND532-E0
Page 14 of 18 www.cermate.com
D. When the firmware version is v4.0 of the S7-1200, please follow these steps
to set up of the "protection options" for the communication.
Check the option of the "Connection mechanisms", such as the red box of the picture, then
redownload the settings to PLC again.
Regarding the detail setting information, please refer to “SIMATIC STEP 7 User Manual”
TND532-E0
Page 15 of 18 www.cermate.com
HMI Setting
1. Select Siemens S7 PLC and setting the communication parameter.
TND532-E0
Page 16 of 18 www.cermate.com
PLC Device List
Bit Devices:
Word Devices:
TND532-E0
Page 17 of 18 www.cermate.com
Cable Diagram
Normal CAT5 cable(Not crossover)can connect. Suggest using a hub between HMI and Lenze