Jump to content

Joe Tauser

MVP 2017
  • Content Count

    2,218
  • Joined

  • Last visited

  • Days Won

    207

Everything posted by Joe Tauser

  1. The remote Ethernet I/O is an easier way to go with UniStream and uses more standard connectivity hardware. Joe T.
  2. Contact official Unitronics support at support@unitronics.com. This will be the quickest way to resolve your problem. Joe T.
  3. This is not well documented, but you need a 40 pin F-F IDC cable. You can then use a breakout board like this- https://www.amazon.com/Sysly-Breakout-Terminal-Connector-Mounting/dp/B074THMST3 Joe T.
  4. Post your UniLogic and RC1 programs and we'll have a look. Joe T.
  5. When first looked at this post I couldn't spell "UTF-16". I knew it was a valid string type but never thought more about it. This post woke up the squirrel and I leaned on my friend Dr. Google to at least learn what this data type is. So now I know more than I did this morning about how many different characters can be referenced with this format (1,112,064). I sit at your feet, Anatoly. What are you doing that you need this? Joe T.
  6. Yes. They are battery-backed. If SB 8 is on the internal battery is low. Joe T.
  7. Sounds like we may have a bug. @Ness, @Daniel_EWW Please paste a link to this post in an email to official Unitronics support - support@unitronics.com. Let us know what they have to say. Joe T.
  8. I would contact these guys- The Contact Us button above doesn't do anything because it's a pasted image, but it's from this page: https://unitronicsplc.com/world-wide-network/ Joe T.
  9. That's how I read it. Then for grins I loaded one up with (6) 16 point analog inputs and (6) 16 point analog outputs. That's 192 bytes each way: It compiled with no errors. Try playing with different configurations on your own. You're not going to break the software, and it will certainly tell you when you've screwed up. Just like people. 😁 Joe T.
  10. Yes. Yes, it does. But we're crabbing about this feature being missing from UniLogic. 😄 Joe T.
  11. I've played with the Simply Modbus programs. They are very handy indeed. My personal Modbus tool is from these guys - https://www.calta.com/mdbus.htm. It does everything in one package. It is not free but it's not super-expensive. While you're learning about how Modbus works be sure to check out the original Modicon specification: https://modbus.org/docs/PI_MBUS_300.pdf . It's a bit dry but it's an excellent reference on how the Modbus frames are structured. No, it doesn't matter which RS485 port you use for what you're doing, but if you're using the CPU port for your manual decoder set the config for Tx/Rx so you can access it as COM struct "RS485 CPU COM Port". I was referring to the UniStream being the Master or Slave on the CPU RS485 port only if you are utilizing the built-in Modbus protocol tables- I am curious why it works for a few hours and then locks up. It may help if you clear your buffers out after you use them. Buffer tags are kind of the Wild West of UniStream memory - it's raw data and you can do whatever you want with it. I don't know how old you are, but back in the day Windows NT 3.51 was famous for "memory leaking" and grinding to a crawl. There were little utilities you could get that would periodically purge the RAM. Joe T.
  12. Ahh, one of the Hanna products. I used to sell them and got bit by the same problem you're having. Double sinking signals. You'll need a loop isolator to interface this product. Joe T.
  13. Very, very true. That is why I do my best to at least have a user friendly forum. That's all I have control over. Joe T.
  14. So is the Master going to send a straight ASCII string, like "11,03,6B" or will it be "1103006B"? What about the number of operands requested? I think you need to add that unless it's always 1. Understand the the UniStream is the Master on the RS485 port for these blocks. If you're trying to change the personality of the UniStream as a Modbus Slave device, it can not be done. The Slave ID of the UniStream is fixed in the project. If you want to have the UniStream act as a "Multi-Slave", you will have to continue along the path you show above and roll your own Modbus Decoder / Responder. So this may not be what you're asking about, but I looked into it anyway as I wasn't familiar with these blocks and I'm sure others on the forum will want to know about them. These are dynamically allocated Modbus configurators and will allow Modbus reads and writes to be determined by tag values. The Modbus tables are easy to use, but sometimes you need more power. I dug into the Modbus Advanced blocks to figure out how to use the Read Parser and the Read Builder - these are pretty new features which is why they're not in the examples. They look fairly straightforward - I'll build a project to test them. An initial observation - the Modbus Request Struct for the Builder block is all in decimal. Although I'm not seeing where the IP address is if TCP is specified. I'll have to ask about that. I'm still running UniLogic 1.28.34. I'm not a Unitronics employee, but I've been a distributor in the US since 2000 and also do system integration. In my past life I was an engineer doing PLC programming for the Modicon distributor, so between that and Unitronics I know a bit about how Modbus works. We did Allen Bradley as well, and I still do AB projects if the user wants to pony up the $$. Joe T.
  15. Moved to the correct forum. Project upload may have been disabled, depending on the model. Did you write the program and load this PLC originally? What is the model of the PLC you are uploading from? Joe T.
  16. The Samba "manual" is really a datasheet. You have to dig deep into the Visilogic Help to find useful information. This particular tidbit is under "modems". The Unitronics cable uses a flat telephone-style cable on the PLC side and plugs into an RJ11->DB9F adapter (part number MJ10-22-CS25). They connect RJ11 pins two and five together inside it. The PLC programming cable is a piece of flat four conductor jammed into RJ11 connectors and crossed-over between them. It's easy to make one if you have the parts and the crimper. This picture shows a V120, but all the com ports are the same- To answer your question, 2 and 5 should be tied together on the RJ11 inside the Samba, but I'd verify that with an ohmmeter and an RJ11 pigtail plugged into the Samba. So you should only have to connect one of them to pin 5 on the DB9. The part number for the whole programming cable with a -CS25 adapter is RS232-CB1. Joe T.
  17. My bad. I went back and had a second look at the Samba datasheet. D'oh! Maybe this will help - Joe T.
  18. I did some Googling and could come up with a small DC motor torque control. The application you describe is usually done with a servo in constant torque mode. Anyone else? Joe T.
  19. If you're using an external USB converter, it must have the Prolific PL-2303 chipset. The FTDI chipset doesn't seem to work. The SM35 has a USB port that is much easier to use - get yourself a USB to Mini cable. The driver for the USB port is included as part of the Visilogic software installation - click on the last tab in the Communication dialog with the USB symbol to install it. There's also a handy link to the Device Manager to determine which COM port is assigned (you have to be plugged into the SM35 for this to work). The baud rate is usually 115200. Joe T.
  20. If you haven't already, go to the UniLogic Help tab and click Update Help File. Then search for "Advanced Modbus". Give us a more specific example of what you're trying to do. Joe T.
  21. 😆 I so want to visit Australia, if for no other reason just to tell everyone I'm a seppo and then sit back and listen to the colorful abuse. Joe T.
  22. You're calling the COM INIT 1 continuously, which is stomping on your com port. You only need to call it once when the PLC boots. I added an SB 2 power-up bit on a contact to network 20 in front of the INIT and CONFIG instructions. You'll probably have to put your PLC in stop mode from the INFO mode screen to download this. If you don't know how to get into INFO mode, take a quick look at the Help for instructions and let us know if you have trouble. Joe T. PROGRAM2P0161GSM3 JT.vlp
  23. What are the details of the actual network? What kind of switch are you using and what is the environment in which it's mounted? How long are the cables, and are they store-bought (molded ends) or were they made in the field with the little connectors and a crimp tool? I've had problems that were "my fault" (there's something wrong with your PLC!) that turned out to be RJ45 contacts turning green on a switch mounted in the ceiling. For troubleshooting you may want to add indicators to a screen showing the status of some of the Ethernet system bits SB 140..158. Which ones you care about depends on the socket used for the SCADA system. You'll also want to tweak some values in SI 100 .. SI 110. As Flex asked - post your PLC program if you can for better help. Joe T.
  24. There's a reason we ask for the project file. It's difficult to troubleshoot a more complex object like a Trend without it. This thread has been going since Monday, and I'm sure you're frustrated. Post your Data Sampler information for the Trend. Joe T.
×
×
  • Create New...