Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Patrick

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have already purchased a Vision which will act as controller over an Ethernet network and will allow remote access, but have not yet finished the application. I will add an SD card. I have set up a table in each samba, after 15 minutes inactivity the screen turns off (backlighting off, black screen loads) and i tacked on the save to table after this. It works perfectly and is not chewing up resources. I also suspect a grounding / EMI issue as I sometimes have erratic reading from the encoders.
  2. An installation I did in 2018 had a city wide power outage recently, and 8 out of 10 Sambas had to be reinitialised in order to restart. They got stuck on the splash logo. I have since updated the OS, loaded a newer version of the application and everything is fine. However I want to know how the users are using the system, and I do not want to lose that data through a potential future initialisation. My question was to learn if there is a more elegant method of saving this type of incrementing data without using tables. I make certain assumptions : batteries will go flat, pow
  3. Thanks Kratmel, I shall do exactly that, I was just wondering if there was another way?
  4. Hi all, I want to set up a counter that will record the number of times various buttons are pressed on a Samba 7". In itself not a problem, but I want the result to be safe from initialisation. I thought about doing a data table but it seems a bit long winded. Is there a method I can use where the result from an incrementing counter can be saved permanently? I have had a good browse around the forum, but am probably using the wrong search phrases. Any pointers or advice will be appreciated
  5. I have just learned that I can do a Broadcast in UniCAN to all controllers on the network, brilliant! The only downside is I am going to have to spend a load of time learning how UniCAN works..................
  6. The only built in serial is the mini USB for programming Also in the Samba 7 technical spec : Notes: 6. The user may order and install one or both of the following modules: - A serial RS232/RS485 isolated/non-isolated interface module, or an Ethernet Interface module in port 2. - A CANbus module modules documentation is available on the Unitronics website. So I have Ethernet modules and CANbus modules available for the Sambas, and the Vision is delivered with it built in !
  7. https://unitronicsplc.com/samba-series-samba7/#1449515771593-63d974b6-05ac1451602511853 On the communications tab at the bottom, and also the local salesman told me It is a bit misleading, but it it is 1 Serial OR Ethernet and CANbus
  8. Ethernet and UniCan is OK, I can not do RS485 or 232 and Ethernet at the same time Still reading the UniCAN docs on the Unitronics site at the moment
  9. I have been looking through the online documentation for CANbus and UniCAN. Looks promising
  10. 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?
  11. 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?
  12. 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?
  13. 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 ea
  14. 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 lin
  15. 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
  • Create New...