Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,855
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Never let the PLC's 24V directly interface with the machine's 5V system - magic smoke will come out of things and your games won't work anymore. You will need to put some isolation circuitry between the game's power supplies and the PLC I/O. Joe T.
  2. Most people don't realize that the USB port on their computer is connected to the motherboard ground. On a laptop this is also connected to the common of the battery circuit. As soon as you connect your computer via USB to the PLC you have provided a current path for what is usually an difference in ground potential. If you're using a laptop unplug the AC adapter and the problem magically vanishes. I have solved this problem by using an optically isolated USB to serial adapter. A Google search reveals several sources and the average cost is about $100.00. Joe T.
  3. From time to time I upgrade a machine built in the 80's or 90's that was all 120V AC inputs. This is clearly a United States issue, but it's kind of a pain to stack a whole bunch of IO-DI8ACH modules. It makes me add an EX-RC1 module which complicates a normally simple program conversion. It also occupies a whole lot of real estate. Also - are there any plans in the works to allow the use of the new UniStream I/O with the Vision series - a UniStream version of the EX-RC1? Joe T.
  4. Click the "More Reply Options" button - there's an image icon in the toolbar. Joe T.
  5. If you're feeling really brave, look up the Taylor series for an exponential calculation, write a long program calculating sums and squares, and work with virtual decimal points. There is one 32 bit register you can use with special functions. I did this years ago to calculate cosines in an M90 before the V120 existed. As Alex points out, you are limited by the valued a 16 bit signed integer can hold. You'll have to run some sample calculations to see if it's even possible. The Jazz wall strikes again. The easiest thing to do is buy a V130. Joe T.
  6. Create a Data Table 10 columns wide and use a pointer to move one row at a time into your drive setpoint registers. Joe T.
  7. I think the software Aus recommends probably addresses the invisible 800 pound gorilla on many computers - multiple installations of the same USB device assigned to different COM ports. Troubleshooting this can be maddening. Do a Google search for the environment variable "show non-present devices" - you can set this from a command line and then "view hidden devices" in the Device Manager and you may see many installations of the same thing. Delete them all, then install a fresh copy. Joe T.
  8. It would also be helpful if you posted your code. Joe T.
  9. I have better luck with with creating .csv files on the SD card for large data sets, one line at a time. Make sure you change the delimiter to "0D" (carriage return) in the definition block. Look at the Examples - V570_SD_Card_demo.vlp subroutine 4 for logging and Main:Net 2 for how to create a time and date string. Joe T.
  10. +1 on Alexander's "Run As Administrator" instructions. It won't work if you don't do this in Win 7 or 8. This is not an official Unitronics recommendation, but I usually get my -CS35 USB to serial converter PL2303 driver from the source: http://www.prolific.com.tw You have to login as a guest - GUEST:GUEST. They do a good job of keeping up with the windows updates. Joe T.
  11. The KEP website will not show your specific application. You have to write the application in the PLC first, and then use the KEP software to make screens to show the PLC data. You will retrieve the data from the PLC to the KEP via Modbus. KEP is not unique in the HMI world. There are many others that work the same way. Have you written the PLC program yet? Joe T.
  12. I've had a lot of local requests for help on getting email working. There are a lot of pieces needed to make it work right and it has to be done in the right order. A PLC was never invented to send emails, and the fact the Unitronics can do this is a pretty awesome feature. I'm posting a sample program we wrote to hopefully show everything needed and some tricks to make it cool. Joe T. Sample Email Program V570 5-6-15.vlp
  13. Unitronics has always shown the live power rail even on logic that's dead. It is what it is, and I agree it is very confusing. I, too, have many PLC brands under my belt. Maybe a comment from the Creators? Joe T.
  14. Look for a third party converter to get DeviceNet into something common like Modbus TCP. I don't think Ethernet TCP is a protocol - do you have more information on the server program? Joe T.
  15. Is this your entire program? You don't have anything to monitor the SD card's status in the logic. Also, you probably want to allocate more than 6 characters for a DW on the last line. The delimiter for the last line should be 0D (carriage return), not 2C (comma). You're just writing one huge line, not a line for each entry. Joe T.
  16. Yes, you can drive SI 33 - 38. You can also be really brave and tell him how to set the time via Info mode. Joe T.
  17. Are you using individual function blocks or the formula block? Can you post a screenshot of your actual code that produced the described results? Joe T.
  18. As you've seen, Autotune doesn't always work so well. It will get your parameters kind of close, but it sounds like you'll have to finish tuning manually. If the output temperature is fairly steady (not oscillating), then the P value is OK. Increasing P will make the system more stable but slower, decreasing P will speed things up but it may go out of control. Once it's stable, try setting your D value to zero and then cut the I value in half and see what happens. If it doesn't go down enough then reduce the I value some more. Joe T.
  19. You didn't say what kind of PLC you have, so I don't know how many COM ports you have available. Any one of the HMI's out there can display what you want via Modbus. Set the PLC up as a Modbus slave and then get the data you want. We are a KEP dealer - I've done this. Yes, you could use a V570 by programming it as a Modbus master. Joe T.
  20. This is a much easier application with a V130 and an add-in COM port. M91s are a pain in the butt to do serial communications. Joe T.
  21. The M91 does not have a place to put the PPR specification. You have to deal with the raw counts and scale them with the math functions if needed. You can stop a DC drive by putting a relay in series with the speed pot. Attach your code if you need a bit of help. I've worked with a Fusion, and they are cool but way too expensive for what you get. Joe T.
×
×
  • Create New...