Jump to content

Recommended Posts

Hi. My network comprises of 6 V570 plc's using raw udp to communicate.  IP addresses from 192.168.1.100 / 101 / 102 / 103 / 104 / 105.

 

At this stage all plc's broadcast anytime.  I need a sequencer to make sure they only broadcast one after another acording to ip address. 

 

Lets say we start ip 100 to send, then if 101 receive the data from 100 he must send to all and so on.

I've attached the program recived from unitronics to set up my network.  I've tried various compares and moves but every now and the the network get stuck that way.

 

I will apreciate any help in this regard.

 

Thanks.

 

 

UDP Raw broadcast PLC1_V570.vlp

Link to comment
Share on other sites

HI Rcerva, 

You have already defined a data arrived bit within the logic, You can use a positive transition of that element to drive an incrementer. Also generate another incrementer when it sends to another unit.  These values can them be compared. What you will do is look to see that they are not equal, if not equal trigger or set a send bit or command, this will be used to drive the send operation, it is then incremented when the send is triggered. This will allow the unit to send only after it has received data from the previous unit, a cascading communication per say.  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...