lostcontrol

MrPLC Member
  • Content count

    487
  • Joined

  • Last visited

Community Reputation

13 Good

About lostcontrol

  • Rank
    Sparky

Profile Information

  • Country New Zealand

Recent Profile Visitors

5730 profile views
  1. Plants with many PLCs OMRON

    so it does, wonder how that works considering sysmac doesn't have the same windoze file access? Maybe it launches sysmac itself?
  2. Plants with many PLCs OMRON

    That probably wouldn’t work easily with SYSMAC ?
  3. My comment was Rockwell to Danfoss FC302, not Omron to Rockwell PF525..   Are you trying to connect a Rockwell PF525 to an Omron Sysmac controller?  
  4. NX1P2 to Indusoft communication

    Old thread alert...   But, Only port #2 supports FINS...  However, Port #1 supports OPC-UA which can work with Indusoft/Aveva Edge      
  5. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    Is your requirement to keep the connection open & continuously send/receive? I suspect this code here is your problem. 42: RecArray2 := RcvSocketDat; Stage :=INT#43; Stage == 43 is close socket.  If your intent is to send/receive continuously, then there is no need to close the socket once the data is received.   Without doing all the leg work for you, I would consider the following: 1.Moving Stages 40-41-42 to be always running if 'DoTCP' is True & socket.IsConnected 2. Either alternating 500-510 or running them both at the same time, depending on the server requirements. (applications I have done worked this way..)  
  6. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    Have you created that 'DoTCP' function block yourself, or got it from somewhere? I haven't gone through it completely yet, but why is it wrapped up in a FB? Is there multiple instances, or just done for re-useability?
  7. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    you will need to post what you have done so far, so that it can be viewed & commented on.
  8. I am sure you would of checked, but is there anything writing/resetting the system clock using the 'SetTime' instruction?
  9. DWord to Data Types

    Union is the way to go.! whilst it an extra step/tag perhaps, it does give a lot of options
  10. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    I have done both, simple change on the block type only 
  11. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    The intent of TCP is to keep the connection open, so you should not need to close it unless there is an error with the connection. What do you mean 'dusty' ? Is that the command you have sent? Are you sending the correct data, including start/end/byte count?  
  12. Ethernet Reset

    that was it!!!!    
  13. Ethernet Reset

    YES!! Doh, the reason I did not try this as port #1 on this NX was dodgy from memory 
  14. Ethernet Reset

    ahh, so I just copied the same code to a NJ101 that I have & get the desired result. (kicked off) I have a counter on '_EIP_EtnOnlineSta', that is incrementing each reset. The only difference from the NX102 is the path NX102: '01#01\02\192.168.251.1' NJ101: '02\192.168.17.179'
  15. Ethernet Reset

    to  port #1? Have you tried port #2?