Jump to content

Patrick

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by Patrick

  1. I did, and decided on TCP/IP because it is faster. Oh the irony ! I could still buy 10 serial ports for the Sambas I suppose, but that would cost me half the price of the Unistream, plus I have already pulled all the Cat6 and I would lose the ethernet port. On the other hand I also have CANbus cards for the Sambas in stock as I was planning on using them for something else, and then changed my mind. Could I use CANbus between the Vision and the Sambas?
  2. Thanks for the advice Flex, much appreciated. One last question, could this have been avoided if I used a different communications protocol and the subsequent choice of an Ethernet network between the Sambas and the Vision/Unistream?
  3. Hmmm. I had not taken into consideration the time to connect and disconnect, although it is quite speedy on the test units I have. The only problem with the relay idea is that if (for example) Samba 2 is switched off for maintenance then the message will not be passed along. I have already purchased all the hardware, but considering the above I will get a quote for a Unistream tomorrow. That seems to be the only way of doing this without a complete rethink unless you have any other ideas?
  4. Hello Flex, thanks for the rapid answer. I will try to be clearer. Each Samba / vehicle pair are stand alone and do not communicate with any other pair. A simple master/slave setup using a single port Occasionally, I want the vision to be able to read or write to one / several / all of the Sambas e.g. send a start or stop signal to all of them at the same time (or in very rapid sequence) If I set up one socket on the Samba as a master, and a second socket slaved to the Vision, I should be able to achieve this. The vision can then be programmed to address messages to each samba in sequence. Or at least that's what I was planning
  5. So let me see if I have understood the above correctly : I can set up master socket and a slave socket that will function in parallel? In effect I will have a master/slave hybrid? I am building a system with 10 Samba SM70-J-R20's each of which have a slaved autonomous vehicle with additional onboard I/O. I am using Modbus TCP/IP for communications over wifi. So far so good. I also have a Vision 1210 which will act as a "god" and can take over and control the vehicle by writing bits directly to the Samba, and the Samba then does its thing. Please see attached one line diagram I have been wondering how I was going to deal with three layers, "Master-Master", Master and Slave, if I have understood correctly then I can set up the Samba as a hybrid and the system should work. I would be grateful for confirmation that this will, or will not, work before I sit down and start playing in Visilogic. Thanks in advance
  6. Is there a way of setting up a goto equivalent? For example using a compare, if a>=b then goto xxxx, leaving out the rungs in between which would be evaluated if a<b I am still having endless problems with the compare. It happens in both main routine and subroutine, and only on one particular thing, stopping a motor, which is kind of important ..... I am using other compares and they are fine
  7. I checked everything, and subroutines are being called. Strangely I did some other work and decided to do a download all and burn, and they work again. I am still trying to track down the reason why the coils show true and the compare is false.
  8. Hi everyone, I am having the same problem as the OP here, however it seems to be intermittent In a subroutine I am using a >= compare (rung 5 in the photo). The output is a direct coil. The contact is in the main routine is a positive transition. When the criteria are met, the online test shows red passing through and sometimes the coil works and sometimes it doesn't. I deleted the coil and the contact, created new ones with a new MB and the problem remains. In the same subroutine I have three compares in three consecutive rungs, the first two work fine, it is only the last one that bugs BTW it is also the last line of the subroutine, could this cause a problem? I am using a Samba SM70-J-R20 and Visilogic 9.8.65 Any thoughts or tips will be greatly appreciated.
  9. That won't work then. I am going to have to rethink the whole setup
  10. Hmm, yes. I should think more before blurting out thoughts ! I also just realised that my opening post was perhaps not clear. Each of the 10 stand alone machines has its own Samba. The V1210 will need to take over any number of them.
  11. Thanks for the fast reply! Since I posted the question I started thinking that perhaps it would be easier to use the V1210 to trigger a reboot sequence that would set the Samba to the slave scenario, and when the V1210 has finished, then trigger a reboot back to stand alone. Effectively have two complete subroutines
  12. Scenario : 10 stand alone machines each being controlled via ModbusRTU by a Samba 7 Sometimes I want to be able to take control of one, several or all of the machines through a single remote master (Vision 12.10), During this time the touchscreen input of the Samba will be disabled and will become a display only, all commands coming from the Vision. I would like to do this over a hard wired Ethernet network. I have looked at the Remote operator option and it is not what I need as the commands options from the Vision will not be the same those from the Samba and must be able to be synchronized across several machines. Effectively the Samba is becoming a slave. I would be grateful if someone could confirm whether or not this is possible. Thanks
×
×
  • Create New...