Lakee911
Member
I'd like to change the IP of a MSG instruction on the fly. I've identified the bits that change in the control block when I change the IP in the setup dialogue.
I'm cycling through a bunch of message block transfers that go through a DH+/Ethernet bridge. In the event that it goes down, I'd like all communication to continue using another bridge (which is identical, except for the IP).
Does anyone see any problems in doing this?
As an example, one of my MSG blocks looks like this:
I've identified N11:74 as 13619 when my IP (setup via Multihop) is 10.102.1.235 and as 13875 when my IP is 10.102.1.236. In otherwords, when the 235 changes to the 236 N11:74/8 & N11:74/9 go from 10b to 01b. Can someone confirm this is correct?
I have 7 message block transfers, so I thought this would be easier than creating 7 more. I'll just alernate the bits after each cycle of the blocks. If one bridge goes down, the communication will just be half as fast (which is okay).
Jason
I'm cycling through a bunch of message block transfers that go through a DH+/Ethernet bridge. In the event that it goes down, I'd like all communication to continue using another bridge (which is identical, except for the IP).
Does anyone see any problems in doing this?
As an example, one of my MSG blocks looks like this:
Code:
MSG
Read/Write Message
Type Peer-to-Peer
Read/Write Read
Target Device PLC5
Local/Remote Local
Control Block N11:55
Control Block Length 51
I've identified N11:74 as 13619 when my IP (setup via Multihop) is 10.102.1.235 and as 13875 when my IP is 10.102.1.236. In otherwords, when the 235 changes to the 236 N11:74/8 & N11:74/9 go from 10b to 01b. Can someone confirm this is correct?
I have 7 message block transfers, so I thought this would be easier than creating 7 more. I'll just alernate the bits after each cycle of the blocks. If one bridge goes down, the communication will just be half as fast (which is okay).
Jason