Sign in to follow this  
Followers 0
Cenzar

Connection between S7-1200 1212 and 1214.

2 posts in this topic

Hello,
I am learning to program PLC at home and I have a small problem with connection between S7-1200 1212C and S7-1200 1214C.
In the first CPU, I can allow using put/get in the settings but in the second CPU I can't do that :(

One of the solution which I find on the internet is sharing data by web server but I don't know how do this by web server.

Okay I know how create web server but how can I share data between CPU ? :)

I am planing create something like smart home with S7-1200 and I need get/put protocol because these CPUs have only two analogue input.... But if I connect 1212 with 1214 I will have four

 

 


Thank you for any advice :) 

 

 

 

 
 


 

Share this post


Link to post
Share on other sites

What is the firmware of your CPU's?

Are you creating a Multiproject, with both CPU's in the same project?

Have you enabled S7 communication to the CPU?

Enable S7 communication to the CPU
With the S7-1200, enable S7 communication to the CPU in the CP. In order to
release the function of S7 communication with the assigned CPU and the S7
routing.
If you configure an S7 connection that runs via the CP of the S7-1200, then you
have to activate this option.
1. In the Device view or Network view of the “Devices & networks” editor you
mark the CP in the S7-1200.
2. In the "General" tab, under "Communication types" you enable the "Enable S7 communication to the CPU.

 

 

Also, in your DB's that you use for communication, make sure you disable "Optimized block access"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0