Jump to content

sgull

Members
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by sgull

  1. Hi Grimluck Is this subroutine being called in the main routine. Not sure it will do the calculations if not called but it probably not run any outputs. regards Denis
  2. Hi Juan You should use a positive transition contact instead of using an input directly on the SB 53. With the I0 connected directly as shown SB53 will press multiple times (every scan of the PLC) as ling as the input is on. Regards Denis
  3. Hi Kikep Try putting the reset coil of MB49 after the store direct. You may be resetting the contact before it gets the chance to store the new value. Regards Denis
  4. Would it also be possible to prompt to save the program before downloading. I have made the error many times where I have downloaded a program after making changes. I then save the program with an updated filename before I shut down Visilogic. This results in the PLC having a different file name than the most recent version on the PC even though both are the same. Regards Denis
  5. Hi Henny I have never had many issues with reliability on Unitronics PLC's. In the past 6 years I have had one backlight fail on a V280 PLC, the PLC still operated just a bit difficult to read the display. I consider the reliability of Unitronics to be on par with ant other manufacturer at a fraction of the cost. The issue with "noise" can be applied to any electronic device. This can easily be overcome by fitting diodes on all DC coils and snubbers on all AC loads.# These are cheap components and are good standard practice for any type of PLC located in any type of system. I would not be overly influenced by one post in one forum, you state that you have 20 unitronics PLC's yourself with no problems. Regards Denis
  6. Thanks Alex I will be working on this during the week. I am only reading from the inverter not writing to it. I do not know exactly what the drive sends, but I remember that it was a very large positive or negative number. I know I am reading the correct parameter because when I change the parameter in the drive it changes in the PLC. If I change any other parameter the PLC does not change. When I get back to this I will post exactly what I get when I set the parameter to 50 and 60. Thanks for your suggestions. regards Denis
  7. Hi Alex I already have communication established and I am sure i have the proper address (when I change the value in the Drive it changes in the PLC) the problem I have is that the returned answer does not match the expected value. When I request frequency I should read a value of say 60, what i get is a large positive or negative number. I need to read two MI values in the drive to get the value I need so I suspect the drive is sending 16 or 32 Bit. Is there any way the PLC is reading the returned value in the wrong format. Regards Denis
  8. Hi All Not sure if I am posting this twice but I have a problem Modbus RTU I have successfully set up communication between the drive and a V1040 If I ask for a parameter on the drive, such as maximum frequency, I get a value such as -14582763 instead of the expected 60hz. If I change the value in the inverter the long number changes on the V1040 indicating that I am reading the correct parameter. I have tried to store the value into an MI,ML and DW in case there is an issue with data length. I know I need to read 2 MI to get the required result, could these be returned in the reverse order and if so how do I reverse these. Any help would be appreciated. Below is a Link to the modbus manual. Regards Denis https://www.google.ie/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCEQFjAAahUKEwj1oPeorvjGAhVCjdsKHT3lDqM&url=http%3A%2F%2Fwww.danfoss.com%2FNR%2Frdonlyres%2F844E0F42-AB58-4EAD-A11B-BDAED985391D%2F0%2FModbusRTUOperatingmanual20111117.pdf&ei=DZi0VbXmBcKa7ga9yruYCg&usg=AFQjCNGatXumxxFsBLenfbhFo1XC4MqGjQ&bvm=bv.98717601,d.ZGU&cad=rja
  9. Hi Cantcliff How does the PLC react to the card removal and re-insertion? Does the PLC recognize that the card is in or has been removed from the extender? Regards Denis
  10. Is it possible to add in future updates of Visilogic to have a prompt appear when you try to download asking if you wish to save the project before downloading. I normally save projects with the date in the file name. I also tend to download my project on sites and at the end of the day safe the project. This often leads to the updated program downloaded to the PLC but with the wrong file name. If we were reminded to save the file before download the names would always match. This would also apply to UNILOGIC and U90. Hope this makes sense. Regards Denis
  11. Hi Flex I purchased this about 18 months ago in the hope it would eliminate the need to keep PLC's for testing. Many functions are not implemented and in the 18 months I have not seen any further updates from the original release. Recently the program has stopped working and I have not been able to get a response from their customer support. I don't think you will have any luck with multiple PLC communication as this will definitely not be supported. Many data table functions are not supported along with SD, password, float and webserver functions. Unless your program is relatively basic you may have difficulty in running it, and if this is the case you probably don't need a simulator. I would ask Unitronics to verify if this product is still being supported by the supplier and if not they should remove it from sale on their site. As I said there have been no updates since its release and no response from customer support I would avoid this. This is a pity as the program was the basis of a very useful product had it been completed. Regards Denis
  12. Hi In Visilogic you should look in Help/examples/version900/project examples/events/V120 alarms. You should be able to export the nets and edit the datatables to do exactly what you require. Regards Denis
  13. Hi Keith Thanks for your post, It will definately help us in future troubleshooting. The above post should be PINNED by unitronics as a reference to the improtance of noise suppression. I have also had quite a lot of trouble with a number V1040 units and PLC lock ups. I have used a contact of SB90 to trigger SB300 (PLC reset). This is probably not recommended by Unitronics, but is the only thing at times to get me out of trouble. I also use a closed contact of SB90 on all critical outputs to switch these off in the unit stops. I like the fact that an error occurs if communication is lost to external modules the unit goes into "expansion error" However if the PLC power is then cycled this error is reset and the PLC runs even with no external communication. This is useful for troubleshooting but can be dangerous if the unit is not configured in a safe manner. The ability for the PLC to run without the configured I/O should be an option that needs to be set for testing only. Regards Denis
  14. Hi Arnie RITTAL do a range of of panels for holding HMI's. They are decent looking but not sure if they fit into the affordable category. https://stevenengineering.com/tech_support/PDFs/71HMI.pdf Regards Denis
  15. I had a problem like this before. HMI was telling me that a drive output was at 100% and the drive was at minimum. When checking the linearization block for the output I had put in 4096 instead of 4095 for the max. What I think happened was that the output went to 4096 and off-scale and then defaulted to min. When I corrected this value and downloaded the problem did not come back. Might be worth checking. Regards Denis
  16. Hi Flex I think this happened to me before. If you go to your profile page and then to settings. There should be a tab called "manage attachments" Here you can delete old files that may be taking up space. Regards Denis
  17. Hi Justin You dont use the V on the controller when you have a current input, it is used only for voltage input. You need a 24v supply where the - of the supply is connected to the 0 on the unitronics. The + of the supply is connected to the + of your 4-20ma transmitter. The - of your transmitter is connected to "I" on the unitronics. V is left with no connection. Regards Denis
  18. Hi According to your first post you have set JP12 to "A" which in NPN(sink) digital inputs. According to the Samba specification NOTE 2 "• If the digital inputs function as npn, analog option is not available." Try setting JP12 to "B" and see if this works. Also change your wiring for PNP digital in. Regards Denis
  19. Hi I think you need to use the "linearize" function to get the raw 0-1023 value to display the values you want to see. Try attached file. Regards Denis
  20. Yes ML0. I had originally used MI3 but then thought that this number can get very big as a totaliser so I changed to an ML. Apologies for the error. There is also an example in VISILOGIC for flow and totalising which use a 2.5ms interrupt to measure the time between the pulses to get a rate. This works very well if your pulses are uniform in pulse length. I have tried this on meters with some success. The way mentioned in the other post gets more accurate with an increasing number of pulses and a longer sampling time. If you sample for one hour you will be 100% accurate but you will have only one reading per hour. Regards Denis
  21. Hi Panagiwtis Firstly you should configure your meter to what ever pulse rate works best. I have used something like a rate of 2-3 pulses per second on a standard input. The meter will have settings such a 1 pulse per kwh or 1 pulse per 100 watt hour etc. Choose a setting that when at full output you have 2-5 pulses per second. See attached Regards Denis
  22. Hi Joe The customer will be reading MI values only. Alexander's comment on the wiring prompted me to check the connections again. I had told the electrical contractor to use the two outside pins on the RJ45 connector. Unfortunately he used a plug with only 4 terminals, so I was using pins 2 and 5 instead of pins 1 and 6. Apologies I should have checked before posting. Regards Denis
  23. Thanks again Alexander I have a spare V1040 that I will set up as a modbus master and use the same cable to connect between them as I am using on the Omron. If this works it should rule out the cable and slave configuration. Thanks for your help. Denis
  24. Hi Alexander Thanks for your prompt reply. On the Omron side he says he is getting no information. On the V1040 info mode both the Tx and Rx are showing 0 (at one stage the Rx read 4 but then stopped) The problem is that the PLC programmer is gone off site saying that his end is correct and the problem is with the V1040. I would believe that the slave device is much simpler than the master device. Can you explain one thing. I am using CANBUS for the I/O modules. For this I have set a PLC NET ID block and set the NET ID at 1 In the MODBUS configuration I have set the MODBUS CONFIG NETWORK ID at 2 Am I correct in saying that he must use the modbus and not the PLC net ID. Regards Denis
  25. Hi Folks I have a program installed on a V1040 on a site that has an OMRON PLC connected to a SCADA system. The customer wants to take some information back to the scada via the Omrom PLC. The Omron programmer is very protective of his set up so I cannot see what he has done. He claims to have set up his device properly to read the information through MODBUS using a 485 wiring setup. The communication is not working and I would like to confirm the following. On the V1040 I need to set up a COM INIT block to setup the port to match the settings on the Omron PLC triggered by a power up bit. On the V1040 I need to set up a MODBUS Config block to give the modbus ID again triggered by a power up bit. On the V1040 I need to set up a SCAN EX block which is on when not in power up. I have wired with 2 wire 485 with termination at both ends. Is this all I need to do to make the information available to the PLC. Regards Denis
×
×
  • Create New...