Great videos indeed. I've seen your all videos of TIA portal and all those gave me clear concept of my confusions. Thanks a lot for sharing your knowledge via great video tutorials.
I like the way that you explained things, simple and easy to understand. Keep going, produce more and more such a topic. I think, one day you will hit a million view, that's something you would afford :-).
This vedio series are very valuable. Thank you for this. Further, please do a vedio for profibus communication between PLC to PLC and field devices such as VFD, encoders.
A nice fact is that only one of the PLCs needs to support and have the possibility to select operation mode - I-device. The other only need to match the area set-up in the other one.
What hapens with the other inputs 1.1 .. 1.7 when qb 100 is received with only 1 bit send in the byte 100, can you sil use input 1.1 .. 1.7 or are the overwriten by the 7 zero bits from qb100?
Can I link 2 CPUS, in the same network address range but in 2 separate TIA PROJECTS, over profinet? Maybe using OPCUA? Thanks for the great videos i look forward to each day's upload.
Of course you can! OPC UA would be a solution, but not my preferred one (the biggest advantage of it is that you can go across different networking types). As both CPU's are using PROFINET I would use "TSEND_C" and "TRCV_C"... with those you can communicate with basically any Ethernet device, as it uses standardized ethernet packages. One of my next videos will be about that!
I'm trying to get two cpu's linked , both on my test bench both connected to each other via profinet ports and both have the same ip address but in device view i can't drag a link between the two it just won't latch
If I use this methode for connect s7 1200 to et200 , can I access to all input and output modules adresses in et200 for 1200? In fact I want to use et200 as remote io
Hi Great Video. One Question. What is advantage of this method of Communication in comparison to TCP or UDP Communication? Thanks for your reply in advance.
Thanks...lots of conflicting info and I'd like to get the software finished and hardware config ready - It seemed that it was necessary to use PUT/GET which didn't seem logical when the config was already carried out at hardware level. I'd guess that whilst not very elegant, there would be no problem in copying Mbits or extracts from DB's with a move to the output area, to be translated again at the coordinating PLC. Once again thanks...
Based on profinet, I think that in the box of tia portal for a controller, this should say I-DEVICE instead of IO-DEVICE. Thanks for sharing your knowledge.
if you're connecting to 2 PLCs with each other does it have to be a redundant system? If yes, then isn't it possible only in S71500 & S7300? Only these PLCs come in redundant protocols.
very useful topic! just want to ask, in remote IOs where I need all the DI signal to be sent to the CPU, do I need to set one by one all the DI addresses in the transfer area options? converting the input to output?
Hi, thanks for this great video. I want to ask, can I try this PLC-PLC communication with simulation mode in TIA Portal? So I was thinking to Start the Simulation of the two CPU simultaneously, is that possible?
Thank you for this I device communication, I have quiry by this method only Input & output will share plc to plc. Can I share data/ DB memory plc to plc?
Hi, I'd like to run two machines simultaneously for redundancy. Each PLC should run independently but in any case of failure, the other one shall take over. So, If a failure occurs I'll transmit one bit from one PLC to the other. This should work in both directions (Bidirectional). Is this the recommended way to do the communication, or would it be better to do it with the put command? Thank you in advance.
can you do the same (the used of the Transfer Area) but having as an IO controller a wago 750-8215 PLC? If not, how would you do it (s7 1511 is the Io device and wago 750-8215 is the IO controller)?
Hi, is it possible to do the same but with both PLCs sending data to each other? I.e. both have i/o that needs to be communicated between the two. I'm using S7 1212FC/DC/DC. Thank you
Good one indeed. Almost exactly what I needed. Did you make one explaining the same communication between PLCs of 2 (or even more) different projects ?
Hi. You good. Tell please, could send in to non-free memory area, the same way. I mean, I will send not in I1.0 address. Example the receive partner have IO modul (SM523). And ti's partner I'm already use memory to I0.0 from I1.7 and to Q0.0 from Q1.7. So Could I receive "pushbutton bit" from first -partner to memory bit I0.3 in inside second - partner?
Hi, ty for the video. can I try this method by using only simulation not a real 2 CPUs ..... cuz i tried it and it didn't work. maybe i make a mistakes or it doesn't work with simulate, only for a real PLSs ....
Hi Phil: how to assign multiple controller from a single IO device (PLC signal from)? seems you can not assign one controller. Assume I need to send one signal to two or more PLCs.
Yes, correct! The area for sending is flexible, but an analog value takes one word/ two byte. Anyhow, it would be better to send TWO WORD rather then two byte, as each analog input uses two word (even though the value is transformed to INT which is one word). I don't know what it uses the 2nd word for, but better be safe than sorry 😅
In this case he had a boolean type for the pushbutton, which block did you use in programming for a doubleword type of the analog sensor to make it an output?
Thank u so much, so it is like master and slave in profibus??? Can u please tell me how To make them communicate without the need of making them master and slave?... Or this is the only way i can make two or More PLCs in same network?
Hi Hegamurl! Very good job indeed! Sorry, as far as I understood the memory space that we need to save in IO Controller is 1 byte? I mean when you press switch I0.0 in IO Device that means a full byte will be true I 1 in IO Controller: An other question would be.. Could I connect more than 2 CPUS, I mean, when press I0.0 in PLC 1, then send a signal to PLC 2 and PLC3? I am confused sorry.. Thanks!
Hello, how do you check that communication is ok? How IO device knows that data is send? How IO controller knows that comm is healthy? For IO controller, he can watch watchdog of IO device I assume.
really thanks alot for your usueful videos, may you please make video for communication between two PLCs type s7_ 1500 through PN/PN coupler with programming for exchange date between ?, i will be gratful to you
You gave the address i0 for the IO controller (receiving PLC) in the operating mode which means when you turn on the button i0.0 should have turned on in the IO controller but rather I1.0 turned on in the simulation of the controller (receiving PLC). I know that you set i1.0 address to physically connect the button to the I-device (sending PLC) but you set i0 for the IO controller but still i1 turned on for the IO controller as well. Why?
I thank you for putting efforts in making these very useful videos. I would like to know, if this communication only works between PLCs ? and how is it different than the one using GSDML file.
Hi versterker33! If you are using "PLCSIM" it won't work, because the simulation does not simulate the "hardware" part of the PLC, which networking belongs to. To simulate such behaviour, you would need "PLCSIM Advanced", which "emulates" the hardware
@@versterker33 Yeah, for most of "hardware stuff" you would need advanced... it is kind of annoying, because it is quite costly and heavy on the PC-CPU load.
I have plcsim advanced v2. The only problem is that I can’t find my virtual plc in tia portal. I being sure that I have the correct IP adress and the correct settings. Do you known how to just the advanced?
Hey @HEGAMURL Thank you very much for your lessons. Really glad to have in your time. PLEASE MAKE A DETAIL VIDEO ON HOW TO CONTROL A MOTOR WITH VFD with configuration and all Please please please 🙏
Yes, you can. It just sends bytes of information and it can be anything. In this video we have only one byte sent, but you can send much more. Ex. define your Address in IO controller " I 1000...1099" and I-device respectively "Q 1000...1099" and you can send 100 bytes in memory area 1000 - 1099.
Hello thanks for the work you are doing. My question to you or anyone who can answer is that can I use a simulator like PLCSim 3.0 or 4.0 to practicalize this task? thanks
Depends on which version of PLCSim you use... if I remember correctly it only works with "PLCSim Advanced" and not the basic version, as it has to simulate the network interface
As every physical PLC has a different PLC address it's impossible to know it without having the real device. If you are connected in a network with the device it's possible to read it through the diagnostics... but that also means you have access (through the network) to the real PLC
Hi! this function is only available for plc with firmware above 4.2. If the two plcs you are using are compatible with this firmware, then you can configure the plc in TIA Portal V13 and export the GSD file and import it into TIA Portal V14.
Of course! The main PLC will run normally but give you feedback that there is an error. The "I-Device" (the subordinate PLC) will continue running depending on the settings (standard is to keep running and try to reconnect)
@@hegamurl7434 okay Thanks! Do i her a Message in the subordinate CPU the the Connection so interrupted? I use this method only if i want to set Inputs/Outputs at the subordinate CPU or? If i Want to Transfer a bigger Database, i have to use Put and Get or? Thank you die your Support👍🏼
hey Hegamurl! I need your help that I have a question about PLC communication and sequential programming. I hope I could describe it clearly here: I have one project with two PLCs(two S7-1200). I follow you to use I-device to set PLC2 as I-device and PLC1 as IO controller. I set two communication areas: Q100 from PLC2 to I100 in PLC1; Q100 from PLC1 to I100 in PLC2. PLC2 has one sequential program in its step 2 and step 4, it gives the task to PLC1 for one assignment (axis1 move absolute). The program should run as automatic cycle. But in reality, it ran several cycles and stopped. The cycle time was random. I am really getting stuck. I know it is difficult to describe the problem and it may confuse you. I just want to have a try to see if I am lucky enough to get some tips. Thank you!
Honestly cant thank you enough for your videos.. literally helped me through my masters!!...
Great videos indeed. I've seen your all videos of TIA portal and all those gave me clear concept of my confusions. Thanks a lot for sharing your knowledge via great video tutorials.
You watched ALL the videos? Not bad, that's more than 30h of watchtime!😄
You are a life saver for new students :) Thanks for the help :)
Good job, I prefer watching your tutorials than Netflix in my free time.
I like the way that you explained things, simple and easy to understand. Keep going, produce more and more such a topic. I think, one day you will hit a million view, that's something you would afford :-).
You are great. Your videos are good, my friend.Happy new year for you and family.
Thank you! You too!
This vedio series are very valuable. Thank you for this. Further, please do a vedio for profibus communication between PLC to PLC and field devices such as VFD, encoders.
A nice fact is that only one of the PLCs needs to support and have the possibility to select operation mode - I-device. The other only need to match the area set-up in the other one.
What hapens with the other inputs 1.1 .. 1.7 when qb 100 is received with only 1 bit send in the byte 100, can you sil use input 1.1 .. 1.7 or are the overwriten by the 7 zero bits from qb100?
My favorite teacher ✌Thanks!
Can I link 2 CPUS, in the same network address range but in 2 separate TIA PROJECTS, over profinet? Maybe using OPCUA? Thanks for the great videos i look forward to each day's upload.
Of course you can! OPC UA would be a solution, but not my preferred one (the biggest advantage of it is that you can go across different networking types). As both CPU's are using PROFINET I would use "TSEND_C" and "TRCV_C"... with those you can communicate with basically any Ethernet device, as it uses standardized ethernet packages. One of my next videos will be about that!
@@hegamurl7434 Great! I look forward to it. Thanks
@@hegamurl7434 Can you upload a Video for explication this communication ? please
Hello, can i use this method to establish communication between two PLC which have different programs?
I'm trying to get two cpu's linked , both on my test bench both connected to each other via profinet ports and both have the same ip address but in device view i can't drag a link between the two it just won't latch
If I use this methode for connect s7 1200 to et200 , can I access to all input and output modules adresses in et200 for 1200? In fact I want to use et200 as remote io
Hi
Great Video.
One Question. What is advantage of this method of Communication in comparison to TCP or UDP Communication?
Thanks for your reply in advance.
Would be nice if someone can clarify this! Been asking the same question over and over again :D
Very well Explained. Thank you for this.
What about Real Values? Levels on the I/O device to the I/O controller.
Can I communicate with three S7-1200 plc with I-Device method?
Hello,
You said, the receiving plc will be the IO controller. What if I need to send and receive data. Which one will be io controller?
Thanks...lots of conflicting info and I'd like to get the software finished and hardware config ready - It seemed that it was necessary to use PUT/GET which didn't seem logical when the config was already carried out at hardware level. I'd guess that whilst not very elegant, there would be no problem in copying Mbits or extracts from DB's with a move to the output area, to be translated again at the coordinating PLC.
Once again thanks...
Based on profinet, I think that in the box of tia portal for a controller, this should say I-DEVICE instead of IO-DEVICE. Thanks for sharing your knowledge.
Thank you for All
if you're connecting to 2 PLCs with each other does it have to be a redundant system? If yes, then isn't it possible only in S71500 & S7300? Only these PLCs come in redundant protocols.
very useful topic! just want to ask, in remote IOs where I need all the DI signal to be sent to the CPU, do I need to set one by one all the DI addresses in the transfer area options? converting the input to output?
nice video, my question is can we use memory bits other than I/Q ??
vielen dank , das war ein praktisches Video
how can i do the same with an analog input? is it possible? cant do it
Its possible, just use 'Real' bit instant of boolean bit, its works for my project
Thanks a lot for such an useful content
Can we do this exercise with a different plc.e.g Schneider plc
Please, Can you Prepare a video about plc_plc communication using i-device option between two different projects s300 step 7 and s1500 Tia portal?
How do you make the connection to two s7-1200 PLC's ?
Hi, thanks for this great video. I want to ask, can I try this PLC-PLC communication with simulation mode in TIA Portal? So I was thinking to Start the Simulation of the two CPU simultaneously, is that possible?
How can I change input and output between SIMOTION DXX with S7-1200 PLC ?
Thank you for this I device communication,
I have quiry by this method only Input & output will share plc to plc.
Can I share data/ DB memory plc to plc?
Thanks a lot for your great videos. Can we transfer data stored in Data blocks using this techique or it's just for inputs?
Can you please do a video on Modbus communication with CP-341/340 or CP440)CP441 in TIA PORTAL
How would you set up communication across 4 CPU317-2 PN/DP processors with 2 on one subnet, and each of the other 2 on their own subnet?
Is possible simulate an I Device and Controller using PLCSIM?
is it possible to send safety inputs/outputs? F-DQ/F-DI ?
Hi, I'd like to run two machines simultaneously for redundancy. Each PLC should run independently but in any case of failure, the other one shall take over. So, If a failure occurs I'll transmit one bit from one PLC to the other.
This should work in both directions (Bidirectional).
Is this the recommended way to do the communication, or would it be better to do it with the put command?
Thank you in advance.
can you do the same (the used of the Transfer Area) but having as an IO controller a wago 750-8215 PLC? If not, how would you do it (s7 1511 is the Io device and wago 750-8215 is the IO controller)?
Hi, is it possible to do the same but with both PLCs sending data to each other? I.e. both have i/o that needs to be communicated between the two. I'm using S7 1212FC/DC/DC. Thank you
Analog value can be also transferred
Ultimate Learning Sir
Thank you that was very good. Can we automate the process by setting the IP addresses in the program and creating a master PLC and slave PLCs?
whats the Maximum range of Zone ( nbr max of bytes) Input/output that we can transfer between 2 PLC withe i/O device?
Hello. How can i use this method for two s7-1500 for in different projects?
Do you happen to know if it works with WinAC RTX?
I have a question please help. Is it possible to do this in with 1 plc in its each project?
Good one indeed. Almost exactly what I needed. Did you make one explaining the same communication between PLCs of 2 (or even more) different projects ?
I need it too, i want to communicate 2 differents projects with io device
Hi. You good. Tell please, could send in to non-free memory area, the same way. I mean, I will send not in I1.0 address. Example the receive partner have IO modul (SM523). And ti's partner I'm already use memory to I0.0 from I1.7 and to Q0.0 from Q1.7. So Could I receive "pushbutton bit" from first -partner to memory bit I0.3 in inside second - partner?
Hi, ty for the video. can I try this method by using only simulation not a real 2 CPUs ..... cuz i tried it and it didn't work. maybe i make a mistakes or it doesn't work with simulate, only for a real PLSs ....
Hi, Thank you for your effort and good sense of humor:). I have a question, is it possible to test PLC-PLC communication using PLCSIM?
You would need PLCSIM Advanced for this.
It MIGHT also work with a tool called "netToPLCSim"... but I have never tested it with this
@@hegamurl7434 Thanks, I will try
Hi Phil: how to assign multiple controller from a single IO device (PLC signal from)? seems you can not assign one controller. Assume I need to send one signal to two or more PLCs.
can profinet IO be done on PLC SIM?
Hi
If we have analog signal i think we should use 2byte for addressing. If im right.
Yes, correct! The area for sending is flexible, but an analog value takes one word/ two byte.
Anyhow, it would be better to send TWO WORD rather then two byte, as each analog input uses two word (even though the value is transformed to INT which is one word). I don't know what it uses the 2nd word for, but better be safe than sorry 😅
In this case he had a boolean type for the pushbutton, which block did you use in programming for a doubleword type of the analog sensor to make it an output?
how do i transfer all my input bytes? what instruction do I use to transfer multiply bytes? thanks!
Thank u so much, so it is like master and slave in profibus??? Can u please tell me how To make them communicate without the need of making them master and slave?... Or this is the only way i can make two or More PLCs in same network?
Hi Hegamurl!
Very good job indeed!
Sorry, as far as I understood the memory space that we need to save in IO Controller is 1 byte? I mean when you press switch I0.0 in IO Device that means a full byte will be true I 1 in IO Controller:
An other question would be.. Could I connect more than 2 CPUS, I mean, when press I0.0 in PLC 1, then send a signal to PLC 2 and PLC3? I am confused sorry..
Thanks!
Hello, how do you check that communication is ok? How IO device knows that data is send? How IO controller knows that comm is healthy? For IO controller, he can watch watchdog of IO device I assume.
really thanks alot for your usueful videos, may you please make video for communication between two PLCs type s7_ 1500 through PN/PN coupler with programming for exchange date between ?, i will be gratful to you
You gave the address i0 for the IO controller (receiving PLC) in the operating mode which means when you turn on the button i0.0 should have turned on in the IO controller but rather I1.0 turned on in the simulation of the controller (receiving PLC). I know that you set i1.0 address to physically connect the button to the I-device (sending PLC) but you set i0 for the IO controller but still i1 turned on for the IO controller as well. Why?
Hello,thank's for training,
Does it work in TIA simulation ?
this is what i am asking for right now... so did it work with u ? using TIA simulation ... cuz for me it didn't work, ty
Please kind to show me. How to link beteween S7 300 and S7 1500 via I -Device , Show me how to configuration.
Can anyone tell me .. What is the difference between
1) using PUT and GET intructions and
2) Prodibus Master slave concept?
hello i want to asking you is that possible if I use io device to change value of word memory ? like mw or iw thankyou
You did such a good job of NOT saying master & slave! Oh... Dammit! :-)
Can you do this communication between s7 1200 ?
The 1200 can not be assigned as "IO Controller", so unfortunately not (at least from my last knowledge)
@@hegamurl7434 Yes it is possible. Same way as with S1500
How to share analog signal between two plc
Thank you for putting many different & detailed videos. Can this work with 2 PLCSIMs?
Yes
why do you have to dedicate an entire byte to a bit function?
How to generate GSD file of 1 controller to use other controller network?
Can analog ip op will also be share with ip device
how about this error shows
plc communication error
Hallo Philipp,
wie kann ich solche Kommunikation aber über Profibus herstellen? Bin noch neu auf diesem Gebiet.
Danke im Voraus
dear thanks
can we use ubiquity nano station
I thank you for putting efforts in making these very useful videos. I would like to know, if this communication only works between PLCs ? and how is it different than the one using GSDML file.
I love your videos Hegamurl. Very informative. Will I-Device work with e.g. a SEW motion controller?
Great videos.. Am very thankful to you ...
Hi there. I would need 4 transfer area, 2 for safety and 2 for IO, but if I put more than 1 I get error. Anche thoghts? thx
#any thoughts?
is this also possible with similation? because I try it but it doesn't work. I did al the steps your told but it's still not working.
Hi versterker33!
If you are using "PLCSIM" it won't work, because the simulation does not simulate the "hardware" part of the PLC, which networking belongs to.
To simulate such behaviour, you would need "PLCSIM Advanced", which "emulates" the hardware
@@hegamurl7434 so if I understand I need plcsim advanced to simulate this tutorial? Thanks for your help.
@@versterker33 Yeah, for most of "hardware stuff" you would need advanced... it is kind of annoying, because it is quite costly and heavy on the PC-CPU load.
I have plcsim advanced v2. The only problem is that I can’t find my virtual plc in tia portal. I being sure that I have the correct IP adress and the correct settings. Do you known how to just the advanced?
Can you do profisafe communication in own project of tia??
I Need to Use IM151-8 (ET200S ) Series controller as I device with 1510SP IO Controller Please help
Dear Sir please make a video for brief explanation on S1,S2,R1 and R2 topologies with hands-on and detail explanation on scalance switches
hello , can i connect two plc with another plc ?
Thanks Mr. Hega.
Hey @HEGAMURL
Thank you very much for your lessons. Really glad to have in your time.
PLEASE MAKE A DETAIL VIDEO ON HOW TO CONTROL A MOTOR WITH VFD with configuration and all
Please please please 🙏
@Hegamural Kindly guide me for analogue input / output using the same way .
@Hegamurl
does it work in simulation mode?
If you are using the standard "PLCSim" it won't. You would need "PLCSim Advanced"
This method only for digital I/Q or we can use it in analog signals
Yes, you can. It just sends bytes of information and it can be anything. In this video we have only one byte sent, but you can send much more. Ex. define your Address in IO controller " I 1000...1099" and I-device respectively "Q 1000...1099" and you can send 100 bytes in memory area 1000 - 1099.
Hello thanks for the work you are doing. My question to you or anyone who can answer is that can I use a simulator like PLCSim 3.0 or 4.0 to practicalize this task? thanks
but how to send word, e.g analog input or output
hello , it does everything step by step as you ,but I use PLCSIM and it does not work properly. Can PLCSIM be a problem?
Depends on which version of PLCSim you use... if I remember correctly it only works with "PLCSim Advanced" and not the basic version, as it has to simulate the network interface
@@hegamurl7434 yes you have rights, i try it on Basic version PLCsim , so its not working.
i need to know if you dont have the PLC physicaly it s possible to see these MAC adress?
As every physical PLC has a different PLC address it's impossible to know it without having the real device.
If you are connected in a network with the device it's possible to read it through the diagnostics... but that also means you have access (through the network) to the real PLC
Hello.
How to do this when first PLC is in TIA V13 and second PLC is in TIA V14?
Hi! this function is only available for plc with firmware above 4.2. If the two plcs you are using are compatible with this firmware, then you can configure the plc in TIA Portal V13 and export the GSD file and import it into TIA Portal V14.
Hello Hegamurl,
Can the 2 CPU’s still work independently once the connection is lost?
Of course! The main PLC will run normally but give you feedback that there is an error. The "I-Device" (the subordinate PLC) will continue running depending on the settings (standard is to keep running and try to reconnect)
@@hegamurl7434 okay Thanks!
Do i her a Message in the subordinate CPU the the Connection so interrupted?
I use this method only if i want to set Inputs/Outputs at the subordinate CPU or?
If i Want to Transfer a bigger Database, i have to use Put and Get or?
Thank you die your Support👍🏼
Thank you for your Videos. It is really helpfull=)
Make a video on s7-1500r/h redundant system with hmi and pc station
hey Hegamurl!
I need your help that I have a question about PLC communication and sequential programming. I hope I could describe it clearly here:
I have one project with two PLCs(two S7-1200). I follow you to use I-device to set PLC2 as I-device and PLC1 as IO controller. I set two communication areas: Q100 from PLC2 to I100 in PLC1; Q100 from PLC1 to I100 in PLC2.
PLC2 has one sequential program in its step 2 and step 4, it gives the task to PLC1 for one assignment (axis1 move absolute). The program should run as automatic cycle. But in reality, it ran several cycles and stopped. The cycle time was random. I am really getting stuck. I know it is difficult to describe the problem and it may confuse you. I just want to have a try to see if I am lucky enough to get some tips.
Thank you!
Great episode. dude