9/15/2014 4:04 PM | |
Posts: 3093 Rating:
|
Hello, do you use a PN-CPU or a CP? Do you want to know when data are transferred to the user program or when they are sent on the line? Regards, Kaulquappe |
12/15/2014 9:46 AM | |
Posts: 457 Rating:
|
Hello, connection of PLC to HMI (WinCC) through a Ethernet channel is like a "black box". Values of DB defined in PLC and connected via "HMI_connection_1" in WinCC will be transmitted withoutuser defined actions. To get a more detailed view on Ethernet communication we must know type of PLC. Years ago, I have developed a program for communication to a PBXlike FTP. You open a channel,send a request, check amount of bits, receive (transmit) data bit by bit, get EOF-mark, close channel. That is the rough rule for Ethernet communication. So,to your question abouttime trigger: when does PLC sends data from DB? To make more detailed statements, we have to know type of PLC and then I have to check communication in system manual. For a S7-1200 (for example) please find system manual here: https://support.automation.siemens.com/WW/llisapi.dll?query=39710145&func=cslib.cssearch&content=adsearch%2Fadsearch.aspx&lang=en&siteid=cseus&objaction=cssearch&searchinprim=0&nodeid0=4000024&redir=false&x=0&y=0 Chapter 7 decribes communication between PLCs, 7.5 is dealing with Ethernet. Please check this. Chapter 7.8 informs about S7-communication, I think this will be the interesting point for you. On the other side, I could not find anything about triggers: I think this is the very secret of S7-systems. Personally, I have no experience in S7-"core"-programming and therefore I would suggest to check manual mentioned above. What is your thought regarding in-depth-programming of connection? Does connection not work, is there a hardware failure? Regards Georg |
Last edited by: Min_Moderator at: 12/15/2014 4:43 PM |
|
Follow us on