Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Somethine else I do in these types of cases is make very simple test programs. For example you say that certain binary images appear as if both images are bing displayed. Create a very simple program that just has the binary image object and enough logic for you to control the change of state for the linked variable. Anothing point to note, are you doing anything with manual screen jumps or screen refresh/re-load? That can also create some weird effects. For example, a screen jump or screen refresh is linked to a direct contact, when the contact turns on, it tried to refresh the screen every scan.
  3. Dumb question time. Have you made sure that all firmware versions etc on the new plc is identical to the old? Programming the new in the same Visi version as the old? (Even though that shouldn't make a difference, but who knows!) If that isn't the trick, run two instances of Visi side by side and then do right click Find on your different elements. The subsequent list might show up an error or number of instances difference between the two. If you have used the Replace operand facility, make sure that you have not overwritten something crucial in your new destination. Visi will just plonk any vector you specify over the top of existing stuff. Because of this, I only use Replace very carefully, and do multiple saves under a FIFO naming system so that I can go back even just a few minutes ago. cheers, Aus
  4. I've had similar problems during program development. After re-downloading the project to the PLC several hundred times, the image memory can get corrupted somehow. It's easily fixed (as Simon says), by downloading a BLANK project then re-downloading your program. This only occurs during program development when the project gets downloaded too many times - it no longer occurs once the program is in service and is no longer being downloaded from VisiLogic.
  5. I have a system currently running that has MODBUS TCP communications between 2 Unitronics PLCs that does a MODBUS read and write on EVERY PLC cycle (about every 7ms). If you have to build in delays, it's due to the device you're communicating with, not the Unitronics PLC.
  6. I've also been reminded (by another member of the forum) of the value of performing a full Initialise and Reset. The general idea here is to wipe everything out in the PLC and re-load a clean project from scratch.
  7. Yesterday
  8. I presume you have been developing this program and downloading changes as you go. I would suggest you download a completely blank project to the PLC, then re-open the project above, do a "Build All" and download the full project again.
  9. Getting frustrated with this. I have a machine (for years) with 15 displays for different length operations. They all have a light blue background with a bunch of buttons on them. I also have a rotating fan as a display of machine on rotation (list of images by pointer. Setting up another machine with the same PLC (v1210 with v200-18-e3xb). I've made another 15 screens with the same system. Duplicated all the MBs as the first logic, but instead of example mb33 the same button for machine 2 is mb1033. They also have a different Screen background light green so the operator can see easily which machine screen he is looking at from far. Here is the problem. The rotating image will not show of the green screens no matter what I do. Transparent background checked or not, draw on back color or not. Even if I delete it and try to set up a new image or if I try list of images by range they will not show. Also the binary images show on and off at the same time (valve closed blue and open red popped up) but only on the second machine screens. What am I missing. It is a fairly good size program with 60 screens and well over 1000 rungs in 16 subroutine. Thanks in advance!
  10. mb 30 stays on once the remote IO is online. Since this a remote IO device I want to continuouly read the inputs and write the outputs as fast as possible with out missing packets and with predictable behaviour. I have this currently working with a 20ms timer for read and write making for a 45 ms round trip. I am just trying to improve the performance to maybe a 10 ms (which in my application is about 8 PLC scans which I thought was easily doable) maybe not tho. Im sure it would work with 100ms delay, as I currently have it working with 2oms delay Attached is a capture of the logic I built to get the read right to continuoulsy execute. I started with a high number and reduced until the behaviour of the read writes became erratic and landed at 20ms. My whole reason for posting is to see If I can do better than 20ms. As you can see, once socket 2 is online, there is a 1 second delay, then "rx tx start" is latched. Then there is what I intended to be a standard PLC flasher logic (maybe this is where I went wrong?). This flasher sequence controls "IO read write". "IO read write" is then feeding the read write bit via a direct contact to the read, and an inverted contact to the write. These just turn on the "request to read" and "request to write coils" and the rising edge of each is what kicks off the respective modbus FB's. This works well IF 20 ms is the fastest I can go. If there is something fundamentally wrong with this preventing me from going faster, I would like to hear.
  11. Good afternoon, We need to communicate a Unistream 7"built-in with a driver for motion (Parker brand). The model of the driver is the SLVD-N... It has CanOpen protocol and we have the .eds... So anyone here has expirience link this device with any Unistream model? (or even vision..) Even if is not with CanOpen.... Thank you and best regards...
  12. 1, How can I restrict access to the Disable button on the alarm status viewer - I do not want operators to disable alarms permanently 2, How can the duration minutes (on the alarm status viewer) have the maximum 12 hours instead of 43,200 minutes - I want the operators to able to shelve a alarm for the maximum shift (12 hours)(ie nuisance alarms) but I want to them to respond if the alarm is 12 hours old
  13. When I want to download my program I get the error: HMI - Localization configuration file - The Default Language is set to a language which is already defined in the project I added an extra language which is the same as the default, because I can't change the default language. How do I delete this error?
  14. Let me see now. What does this ON button thingamijigger do? !!!!!!! ­čśÇ cheers, Aus
  15. I can say that the solution to this ended up being straightforward and not related to iOS or app compatibility issues.
  16. Last week
  17. Do MB 21 and MB 30 stay on? If so, you may be trying to communicate too fast. Use something like this, but replace MB 21 & MB 30 with what you REALLY want to initiate the comm (or just delete them entirely if you want to continuously run the data transfer). You can change TD 20 preset to whatever works for you, but 100ms should be plenty slow to avoid dropped packets.
  18. By this I mean that the inductive doesn't necessarily need to actually be on the arm. Most of the time you can find a convenient bolt head or similar within the drive train that can be used very easily by adjusting the sensor's mounting point to be in exactly the correct location. If the bolt etc is mechanically connected to the arm then it isn't going to vary! Although not applicable to this, in some instances where all else was not possible, I have even machined slots in motor shafts at the fan end to enable a definite read that the motor is actually turning correctly, an inductive picks this up very easily. Or put a leg on the arm that will prevent the scatter. Busy at present....just a quick drop in during morning start.....wait! cheers, Aus
  19. I changed both the read and write to how you show above and the erratic behavior cam back which is why I think i ended up going to the one shots. I didnt even try reducing my read write timer and the behavior returned. By erratic, I mean when i look at the total sessions, the modbus read is outpacing the modbus write by a factor of three. All I changed is what you list above but did it to both the read and write. When I change it back to the one shot contacts it works again and the total sessions stay equal to each other (well technically they are not equal because the read is always 1 higher)
  20. I2C is not a native protocol for the UniStream. Typically it's used for 2 wire communications between EEPROMs, A/D and D/A converters, I/O interfaces. It's synchronous, so there's a shared clock which is controlled by the Master. If the master is the UniStream I suppose you could use I?O to do it using a clock pulse from an output and an input that feeds to an array of bits that you shift every clock pulse. You'd have to code it all though so could be very time consuming, your probably better off looking for a third party device that can convert to serial or other.
  21. 8GB kingston, I will try unitronics support, thanks
  22. 1. Start by looking at the Modbus programs in the Examples. Then read about the Modbus protocol - http://modbus.org/docs/PI_MBUS_300.pdf - so you know what it is you are trying to accomplish. 2. Post a link to the modbus information for the VFD you're trying to talk to. 3. Determine what the physical connection to the drive is - RS485, RS232, or Ethernet. Then figure out how to wire it. 4. Try writing a program yourself based on all the above. 5. Post your code and ask specific questions. Do NOT ask for an example specific to your application. We're here to help, but it's up to you to figure it out. Joe T.
  23. HI; How are you going to communicate with the VFD? ( Modbus RTU (Serial) or Modbus TCP (Ethernet) ) ???? Do you have a communications card in the V430? Which one ? The USB Programming Port in the V430 is for Programming ONLY, not for communicating to other devices. In VisiLogic under Help, there are Example programs Look for the Communications and Modbus. Open and understand them and read the Modbus Help in the Help data. Learn how MODBUS works. In the Manual for the VFD Review how to communicate with the VFD over Modbus Locate and understand the registers you need to work with. Get the communications setup working. Write a simple program to communicate with the VFD. Post your issues and program. People can guide you. DanT
  24. That is an option as well.....though I did try it. The arm is made of round stock, and the reflection from it was throwing an error in an extremely wide and random range. But always up...which is why I landed on taking the minimum element of an array. Now, if you wanted to share the averaging example I am ALLL eyes and ears.
  25. @DanT will do, thanks for your help. Louis
  26. Hi Louis; Contact Unitronics Support directly -- or call them - get their number from your local distributor. Their Asian and European support is from Israel North American support is out of Boston support@unitronicsplc.com DanT
  27. Hi; Nearest USB Stick -- How big was it? Better be > 4GB !!!! Contact Unitronics Support to help you out -- Support@unitronicsplc.com or call them. DanT
  1. Load more activity
├Ś
├Ś
  • Create New...