Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,859
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Definitely the answer is no. I had a conversation with one of the Creators in Israel about this a few months ago. Something to do with the complexity of SSL and the Vision OS memory already being stuffed to the gills. You have to use a UniStream to get SSL. Joe T.
  2. I updated all my Win 8.x boxes to Win 10. There is still a way to do that- https://www.cnet.com/how-to/microsoft-windows-10-free-upgrade-offer-assistive-features/ I'm pretty sure you know this, but did you run the install program as Administrator? Joe T.
  3. Did you actually forward your code and question to support@unitronics.com? The Unitronics home office is closed on Friday and Saturday. Joe T.
  4. If the binary value output from your conversion code is working you can use the Vector - > Bits to Numeric function. Post your code so we can have a look. Joe T.
  5. Need to see the rest of the loadcell config and how your hardware is laid out. Please post your code. Joe T.
  6. Flex - You don't have any provision to remove old data. Your moving average will keep growing. Or if your new data is less than 100 it will be ignored. That's why you filter a lot of values. A couple of big-ish values shouldn't affect your average. Unless they're ridiculously large (bigger than the filter total), in which case you need to filter more values or put in logic to handle them. This has come up before so I chopped some code up from an old project and put it in a stand-alone file. I ran it with a data size of 100 values, but it can go as big as the MI table above 1000 will allow. Joe T.
  7. Are the sensors loop powered or do they have separate power and source the signal to the module. Tell us what you have - manufacturer and model number. Put a meter in series with the analog input and read the actual current. If the sensors are sourcing the signal, you may have a ground potential difference between the module and the sensor. Joe T.
  8. Usually you set up a heartbeat bit. SB 147 does not guarantee that the Master was successful. The Master does a write and sets a bit in the PLC after it does a read. The PLC sees this bit and notes that communication is OK. Then it turns it off. The heartbeat bit is also running a timer. If the timer times out you know there hasn't been communication in a while. Joe T.
  9. As I mentioned in another post, Unitronics is not as fast as you think when it comes to communication functions. It takes a few scans for the Protocol blocks to settle down and re-cock themselves. I added a short delay in the "Echo" command. I didn't test this, so you'll have to tell me if it works. If it does work, try playing with the timer preset to see how fast it can go. Joe T. RS232COMMAND JT.vlp
  10. I didn't remember (my brain plate is slippery sometimes these days) but we found a similar solution switching a port between Modbus Master and Slave using the same socket. The key is to insert timers between Socket commands to let the system catch it's breath. We found 0.5 seconds works OK. Good job! Joe T.
  11. This appears to be a manual for an LG touchscreen. You are correct - there's no details on the protocol. But they do mention something on page 22 about the "CPU Direct" connection, which tells me a proprietary LG protocol exists. Tell us about your hardware - do you have an LG Master PLC and you're trying to come up with an HMI for it? Or are you trying to decipher how it talks? I found this sales information on the Master-K: http://www.westshorecontrols.com/wp/wp-content/uploads/2015/08/master-K-catalogue.pdf I'm not sure what we can do to help here. Joe T.
  12. Thanks for the pictures. That installation reminds me of how I used to do things 20 years ago. I rarely use Snap IO anymore and my enclosures have gotten bigger. System designers (myself included) are notorious for forgetting that you have to leave room for the wire to connect things together. And God forbid you leave a couple of empty inches on the DIN rail in case you need more terminals. I have coined a saying about machine and pump skid builders- "Electricity is the nasty thing required to make our wonderful machine work". So they go to great lengths to put together an awesome machine and then hang the electrical panel in too small of a space underneath or on the side. "That's all the room we have left". I do understand about the cards you're dealt. I keep an old reliable Fluke 123 in my car for the problem you're running into. Joe T.
  13. I looked at the brochure for the Master K 300S and I didn't see Modbus listed as a supported protocol anywhere. Unitronics usually uses Modbus to communicate with other devices. Do you have a link to what documentation you have? Joe T.
  14. According to the manual- http://literature.rockwellautomation.com/idc/groups/literature/documents/um/520-um001_-en-e.pdf This drive only supports Ethernet I/P protocol, which is described here http://literature.rockwellautomation.com/idc/groups/literature/documents/um/520com-um001_-en-e.pdf There are other threads in this forum showing how to connect to other devices. Get the drive configured and then ask specific questions on how to set up the UniLogic tables. Joe T.
  15. Translated- Good day, I have been trying to establish communication using the MODBUS RTU protocol between a JAZZ JZ20-J-R10 plc with MJ20-RS module and the KEEPSERVER and NATIONAL INSTRUMENTS OPC without being able to follow it. Attached the ladder code that I am using, I request your help to know if I am making any errors in the programming and configuration of the port. First off, change to no flow control - SI 144 = 0 in net 1. Don't forget to change the port parameters on the PC as well. SI 64 is not used in a Jazz. You can delete that net. Other than that, your code looks OK. If changing the flow control doesn't fix it start looking at the cable. Joe T.
  16. You're on the right track, but zener diodes are not the answer. You need something to filter out the frequencies the VFD is generating. I did a retrofit project once where the customer pulled all their wires in same conduit - VFD controlled motors and 24V I/O. I put a scope on all the points on the PLC and found large 4KHz noise on all the inputs, which will put the PLC into crazy mode. My solution was to put an external 0.1 uF capacitor on each I/O point to ground. Inputs and outputs. Unitronics does not build filters into their modules. Looked like crap, but it knocked the noise down enough for the system to run. If you have a scope, poke around with it and see what you can find. Joe T.
  17. Make sure your OS is updated. We had a PLC come in with a very odd "couldn't set the RTC from info mode" problem and updating the OS fixed it. Joe T.
  18. Well, does it? Unitronics has never had an SG (signal ground) connection. I'm not saying it's right, but we have to play the cards we're dealt. If a device has an SG terminal, I connect it to 0V. It seems to work. But then again, I usually ground the negative of my DC power supplies. I also do this, connecting to the earth ground of the system. The "GND" terminal on your device is not clear to me, as they may or may not connect the circuitry common point (AKA their own 0V) to metal parts in the device (real and true ground). Joe T.
  19. Using "Legal Entry" as the send trigger wasn't working. If you look at it online you'll find that it gets set ON and stays on. I sized this down to fit on my V570, which is my testing unit. I added a separate button for SEND and it seems to be working. I also added a CR (ODh) as an ETX character to make it easier to work with my terminal program. See if it works for you. Joe T. RS232communication on V570.vlp
  20. I have not done this, but I'd like to look into it. Would you post a link to the the Allen Bradley application note? Joe T.
  21. The MJ10-22-CS25 is a crossover cable, which will work. Post your code so we can see if you've initialized the port properly. Joe T.
  22. Understand that all data (including strings) is stored as an integer. Each character requires 8 bits (one byte), and two characters are stored as hex in a regular 16 bit MI. That doesn't mean you have to decipher MI values into hexadecimal string values. The data table search and string HMI elements will do that for you. Read the Help on how Data Tables work. They are a little daunting but very powerful. You can enter data into the table on your PC, but don't forget to download it. It doesn't go down when you download the program. You may or may not want additional screens to enter data on the PLC. Experiment with your code on a live unit until you understand them. If you have questions, post your code. Troubleshooting ladder logic with words is hard. I've attached an example. Joe T. Data table lookup example.vlp
×
×
  • Create New...