Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,860
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Call the A. TUNE CONFIG block with a normally open SB2 powerup bit. The config block is stomping all over your other PID blocks because it's always "configging". Joe T.
  2. Read all the Help on Data Tables to create something to show your log. Joe T.
  3. I'd pack the bits into an MI or ML in the PLC first. What model of PLC are you using? Does WinCC have a method to convert an integer to a bit array inside itself? Joe T.
  4. An M90 is not a communication powerhouse and it's obsolete. The PCOM protocol (available elsewhere on this site) is the only way to talk to it. It sounds like you are comfortable making web pages. True? Options: 1. You could theoretically roll your own interface in a C program with the protocol and hooks to your html front end. A LOT of work. 2. You could upgrade the M90-T to an M91-2-T1, which can talk Modbus. Then you could find a free SCADA software package like VTScadaLIGHT and make your screens using their tools and talk to the PLC. This is the easiest solution, but you don't get to run html in Chrome this way. 3. Convert the whole thing to UniStream and host the web pages on the PLC itself. Joe T.
  5. Thanks for the follow-up. I was looking at compatibility mode for a different program and it works by running a virtual machine inside Windows. What you've proven here is that it slows things down considerably, which is good to know. Joe T.
  6. Are you getting the COM error on the PC side? Can you post a screenshot of your device manager? Joe T.
  7. You will have a hard time getting a 0.1 second update serially - most of the overhead affecting communication time has to do with putting the data frames together. I'd put an Ethernet card in the V280 and reconfigure your LabView driver to do Modbus TCP. Joe T.
  8. Try to contact Jason Hartley. He works for Festo and used to be a Unitronics tech support guy. Joe T.
  9. I have that problem all the time. It's not gremlins, it's this- When I go into that mode, my friends and employees look at me and go "SQUIRREL!" @PHONG - Did you get your problem solved? You never did post a schematic but you did mention you have diodes on the solenoids. I noticed in your pictures that you have all the output wires bundled with the analog input wires - this is generally bad wiring practice. I would separate the analog signal wiring out and provide a bit of space between the bundles. Joe T.
  10. Choose a font that contains all the characters you may want - in this case Arial 14 Bold- If the character is highlighted in blue you get to use it. I your case, the "è" character must be accessed using the Alt code Alt-0232. You can determine the code by hovering your mouse on the Font Handler window over the character you want and it will display a tool-tip box with the code. In your text object, hold Alt whilst entering the number from your numeric keypad and then release Alt. Note the the numbers at the top of the keyboard won't work - you must have Num-Lock on and use the keypad. If you're using a laptop, use the blue numbers on the keyboard. I had to hold Alt-Fn-blue numbers 0 2 3 2 then release Alt to do this. Voilà! Joe T.
  11. Sounds like the memory in the unit now has gremlins living in it. If it ran for six years and started having issues it's probably toast. Joe T.
  12. You've not given us a lot to go on. I'm guessing you want to control the VFD via RS485. What protocol will you be using? Drive manufacturer and model? Link to the drive manual? Joe T.
  13. Look in the Visilogic Examples for Modbus on the PLC side. This forum isn't about programming PC applications, but someone may speak up and help. Your best bet for figuring out Modbus in python is your friend Dr. Google. The PC will most probably be the Master, and the PLC will most probably be the Slave (or Server in today's politically correct IT-speak). Like this- https://stackoverflow.com/questions/17081442/python-modbus-library Joe T.
  14. The V260 is a Standard controller and the V700 is an Enhanced controller, so there will be some conversion that has to be done on the program operation before you start dealing with the socket differences. Search in the Help for "convert" and choose "The V120 and V130" topic to get an idea of what you may have to change. Unless you've already done that part. The next thing to do is analyze the actual register transfers required by each master. Are they all the same or is each Master asking for different data? How fast is the polling? The slave can only answer one master at a time and in the V260 applications it may have been erroring out. Do you know if this was working well by looking at the original applications online? Joe T.
  15. UniLogic does not have a drop-down list object. The other list tools are static - you can only load fixed texts and display them. Unfortunately, this isn't like VB where you can operate on visual elements from within the code. So you'll have to go old school on this one and populate the text box you've drawn with an external pointer referring to a row in the data table containing the description and some up and down arrows to move the pointer. Joe T.
  16. This is for a V570 - moved to the correct forum. Understand we are volunteer users here. Not Unitronics employees. As for your problem with familiarization, find out where they bought the PLC and see if there is a friendly distributor that can help teach you the basics. At the engineering school in Missouri (M S&T) they actually have a PLC programming class in the EE department - do you have that there and do you have a EE friend that can help? If you have none of these resources, search this forum for my posts on "State Machine", which will help you define the process so a PLC can be easily implemented. There are other students who have come looking for help, and help is given if they put in the effort to write a program. Here is your assignment: 1. Do a more thorough job of defining the all the electrical pieces parts. A detailed schematic would be an excellent thing to post. 2. Define the exact sequence they need to operate in. 3. Read my State Machine stuff and look at the example I posted. 4. Do your best and write a crappy program with some displays. Post it here. Then we will help. Joe T.
  17. The JZ20 series has a built-in USB port that uses the SiLabs CP210x driver. Did you try plugging a USB mini cable into that port? It will show up as a different COM port on your device manager. Joe T.
  18. Actually..... https://en.wikipedia.org/wiki/Apollo_Guidance_Computer The V130 has more horsepower than this. I listened to this book about the space program on audio- http://www.craignelson.us/books/rocket-men/ The actual landing of the lunar module on the moon was done by the astronauts. The landing site initially selected wasn't what NASA thought it was - it was full of boulders and Neil Armstrong had to manually fly the lander sideways for quite a distance to clear them. There are just some circumstances with too many unknown variables that a computer can't handle. J
  19. Are you continually calling the configuration block? It should be called only once but always scanned - the Help says both Config and Scan should be in the Main routine. Post your code so we can see what's going on. Joe T.
  20. Post as much information as you can on your external keypad - manufacturer, model, data sheet, schematic, and anything else we'll need to help. Joe T.
  21. Understand that this is a volunteer forum. You can always send your questions to support@unitronics.com. When you ask for help, you'll get a quicker response if you post a link for the manual of the device you're trying to talk to. This is professional courtesy; otherwise we have to go digging to try to help you with something you bought from another vendor. If we have time. So this is what you should have put in your post- http://files.danfoss.com/download/Drives/Vacon-100-Modbus-User-Manual-DPD00156D-UK.pdf I do appreciate the photo of your com cable - it is made correctly for RS485. Did you enable Modbus protocol in the drive? (pg 23) Unitronics Modbus is zero based, while a lot of devices are 1-based - try reading address 2102. When you activate your test bit, does status MI 2 go to 5 or 0? Did you try swapping the A & B wires on the RS 485 port on the drive? Joe T.
  22. If you don't get a response on the forum you can send your request to support@unitronics.com. The forum is mostly manned by volunteers. You need to be more clear in your problem considering you are mixing a Visilogic program for the RC15 and UniStream program to control it. Where exactly is the status 5 occuring - in the RC15 or the UniStream? Attaching your programs is also very helpful. Joe T.
  23. I don't think the JZ-RS4 is isolated. You're probably connecting your 0V terminal to their ground via the communication cable. Connect 0V from your system to the common on the DC power supply in their system with a wire and see what happens. Joe T.
  24. You can't access the object's coordinates from logic. You'll have to use a list of images in kind of a cartoon animation. Joe T.
×
×
  • Create New...