Jump to content

kratmel

MVP 2023
  • Posts

    1,139
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by kratmel

  1. Unfortunately, I don't have such a module on my desk, so if possible, post a photo of its board from both sides. My recommendations: 1) check whether the valve coil is not shorted. It is worth doing this by comparing the resistance with neighboring similar ones in a cold state. If the coil had a short circuit - the transistor in the module is 100% destroyed. 2) If the check according to point 1 is successful. Check the operation of the coil by applying voltage directly to it. It is good if you can compare (measure) the current of the suspected coil with the current of the working one. 3) If the check according to points 1 and 2 is successful. Reassemble the circuit as it was and try to see if the signal is coming to the desired output using the PLC Information Mode. 4) If the signal comes and you see the change of state of the desired output in the Information Mode, and the valve does not work, check the power supply at the input V1 provides the power supply for Outputs #9, 10, 11, 12, 13, 14, 15, and 16. 5) if the steps listed above have been carried out and there is no success - repair the unit or replace it with a new one. Regarding the repair - if there are photos - I will try to provide recommendations. The main thing in your situation is to perform points 1 and 2. This will protect the new or repaired module from repeated destruction. Consider Ausman's question. Diodes are important for solid-state outputs to coils.
  2. Similar to your task, I set up a PLC to detect problems with the turret encoder. It should be noted that your code is slightly offset from the standard Gray code. Therefore, standard conversion methods need "improvement".
  3. I played with a data table (4 columns of bits) in which I wrote down possible codes for the position of the turret. With one command (Data Table Find (Extended), I searched for the line number in which the required combination was found. The task was to automatically find the position number as a decimal number. In my case it was the row numbe r of the data table.
  4. Please read about possible Ethernet connection for Vision PLC in Visilogic Help. Example project is helpful also.
  5. Please send this quastion to support@unitronics.com
  6. Hi, Is it possible that your network switch has POE option and POE powered from PLC power supply? I found bad cable that disable network with POE option.
  7. This is the creation of Italian engineers who tried to "overclock" the frequency converter in the machine by increasing the base motor frequency (87Hz) and switching the standard 3x380V motor to the 3x220V mode. They almost succeeded... But over time, the bearings in the motor went bad and the 300s time of a possible overload (250%) of the frequency converter installed by the Italian manufacturer did its job. The most interesting thing is the fact that no one believed that the frequency converter IGBTs was faulty. All standard tests said that the module shown in the photo is in working condithion. Only complete disassembly revealed this unsurpassed "beauty".
  8. The art of burning a transistor. The frequency converter does not understand art at all - but this time it exceeded expectations.
  9. One of my latest applications was to create a two-axis stepper motor machine with freely programmable position, sequence and speed parameters for each movement. In addition, in some phases of movement, it was necessary to implement the procedure of turning on and off additional devices participating in the process, according to the current coordinate. The main task was to provide the user with the ability to select a sequence of movements and save the selected sequence as a separate program in the list of programs. V350, as a two-axis stepper motor controller, received tasks through unican from V1210, on which the sequence programming system was implemented. In this way, it was possible to implement the increase in the number of programmable positions similar to your desire. At the same time, it does not require me as the author of the program to change parameters and sequences of movements. Actually, this is one of the directions for improving your program. P.S. Two PLCs are used only because V1210 does not support PTO control of two stepper motors, and it is difficult to implement a user interface for convenient program change on a small screen size.
  10. If the example given by you works and fulfills the task, then in this case it is not worth changing it. Solving a similar problem for uniaxial movement, I used the State Machine. After starting, the PLC solves the task of finding the zero coordinate. The State Machine is made in such a way that it constantly compares whether the given coordinate is equal to the desired one with a predetermined +- precision. In the first state where we get to after setting the zero position, three conditions are used: 1) the specified coordinate lies within the required +- accuracy - we are not going anywhere Motion state = stop 2) the specified coordinate is greater than required - we move in the direction of decrease Movement state = back. 3) the specified coordinate is smaller than required - we move in the direction of increasing the coordinate. Using this principle, I can set the coordinate in an arbitrary order with another state machine or by going through the rows of the Data Table. I don't need to repeatedly check if the counter is in the right coordinate. This is done automatically by the state machine. The output of the constructed algorithm is discrete signals for the frequency converter to move - forward - stop or backward. To speed up the process, I constantly check whether the distance to be traveled is long. If so, then I turn on the high-speed movements with an additional discrete output. Unfortunately, this algorithm is implemented in Visilogic, but I think you can come up with a similar one for Unilogic
  11. Please check outputs wire and all device connected to outputs for short cirquit. It looks like some output on and it overloaded. At this time all modules power voltage is go to low value and it looks like turn on and off rapidly. You can test (activate) all output separately and find one that is shorted or overloaded.
  12. Please specify what your configuration is. Is this a new configuration with new modules that failed to start? Are these used modules? Is it power supply in working condition and all needed power wires connected? If the configuration is new, then you should read this document regarding the changes required in the PLC firmware in order for the new modules to work (Uni-IO: Firmware Update). https://downloads.unitronicsplc.com/Sites/plc/Unilogic/UniLogic 1.33.373 June 2023.pdf If this does not help, please contact support@unitronics.com
  13. After seeing the first rung of your code, I came to the conclusion that perhaps your configuration is in a routine. If this is the case, read the help recommendation for this. Maybe that's why your Modbus goes to sleep.
  14. From help... Having analyzed the research outlined in this post https://stackoverflow.com/questions/2651907/is-there-a-limit-for-the-number-of-files-in-a-directory-on-an-sd-card I concluded that the limitation in the number of files in the folder occurs due to the maximum length of the file name reserved in the PLC. That is, since the PLC is not a PC, it is probably impossible to implement a full mode of interaction with the SD card. Therefore, in advance, the developers limited the number of files so as not to exceed the capabilities of the file system when writing the appropriate file names.
  15. Please clarify whether we are talking about the Visilogic itself or the program loaded in the PLC. I had a problem displaying various image properties and complex elements for the V1040. Reached out to support with this. It was advised to use the increased value of the variable SI246. It helped. In the case of transparency, I had a problem only with program loaded to PLC V350 in which the interrupt routine is used. I didn't understand the connection between the interrupt and the graphics transparency, but I had to redesign the screen so that the problem on the main window does not annoy the user. P.S. Most recently, during the process of loading the program, I noticed that small changes in the program are not recorded in the environment, and when I try to download, a message pops up that the program in the PLC is the same as in Visilogic. However, changes have definitely occurred, although they are minor. Perhaps the transparency properties are similarly not entered somewhere in the database and are lost when the project is saved.
  16. Please post V570 Ethernet configuration for all 4 socket. Is it SB168=1?
  17. You can compare the original and the replacement and try to change the direction of the wires. It is difficult, but possible. It is necessary to solder thin wires to the sensor and to the board near the connector. I've done this many times, but in your case you need some soldering skills and if you don't have them, contact a professional. If you manage to get the replacement sensor to work, tell us about it on the forum. I and other users will be interested to know the brand (link to the place where you bought the replacement) and the changed wiring diagram for connecting the non-original sensor. A photo of the markings and diagrams for changing the direction of the wires would also be useful. P.S. Everything you do with your PLC is a risk, so you should be aware of the consequences of using non-original equipment.
  18. Quastions: 1) Is it replacement sensor with original marking? 2) Is it calibration in Info mode go with no problem? 3) Is it possible that touch sensor work as up side down? 4) Do you tryed to install original sensor from working PLC? Result?
  19. As standard for all high-speed inputs of most PLCs, the counter value (Hardware provided) is directly related to the value that the PLC processor "sees". Therefore, it is usually stable and the HSC does not lose pulses in the entire range of the permissible frequency of pulses. The main problem is the processing of this value. Without interrupting the PLC program, you cannot accurately track the desired value if the counting rate is greater than the PLC program execution time. Therefore, if you set the condition = following the increasing value - there is a risk of missing the necessary one. Accordingly, set the condition >= for increasing and <= for decreasing value that needs to be processed in the PLC program. Both in the case of normal execution of the program and in the case of using an interrupt.
  20. Moved to Visilogic HMI... As the author of this post rightly noted, it is difficult to develop a beautiful and convenient interface for Vision PLC. The idea of using a main background image to build an interface is not new. It is already described in posts on the forum. I have no experience using this particular software to create background art or graphics. I think that there are many such products and everyone can choose the right one. However, I want to remind users that one of the ways to create a complex interface is to draw the desired set of static images in Visilogic itself, export the resulting drawing to a bmp picture. The resulting image can be edited in any editor and then used as a background to continue creating the necessary active parts of the interface. As an option for large V1040 and V1210 panels, it is worth trying to build a model of the interface background in the UniLogic environment for 10' Unistream panel. It has wider graphics capabilities and image layers that can be disabled. An image exported from UniLogic can be used as a background in VisiLogic. P.S. The main thing in creating an interface is to pre-plan on paper what and where will be placed and how each window should look and interact. A beautiful interface is not always convenient, and convenient is usually not distinguished by beauty.
  21. You can try to use Message composer. Please see link to example in this topic
  22. I think you have seen this topic Maybe changing the protocol is more effective than disconnection - connection. But this is again just a hypothesis.
×
×
  • Create New...