Jump to content

kratmel

MVP 2023
  • Posts

    1,146
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by kratmel

  1. I think that the user did not select correct option in the HW configuration. Unfortunately, user did not specify which settings he selected. By selecting the quadrature (A/B) encoder option, we automatically select (maybe) that this is a reversible counting device, which also takes into account the direction of rotation of the encoder during the processing of two quadrature signals A and B. Unfortunately, I do not have such IO on my desk to experimentally confirm or refute my guesses. Although I may be wrong in my guesses - only the project sent by the user can show what is wrong with the encoder configuration or signal processing from it.
  2. Please send this quastion to support@unitronics.com
  3. For furnaces, I created interfaces with various PLCs. Considering the small size of the built-in keyboards in small PLCs V350 and V700, I use separate large buttons + and - connected to the discrete inputs of the PLC to set the temperature, time, and step number. As practice has shown, operators (who do not like to constantly change numbers on a small touch keyboard) like this solution. The "Step in range" function for the ladder perfectly operates with the right numbers without allowing you to exceed the specified limits. For example - 4 buttons only for temperature and time selection on Samba display.
  4. Please find sample code in U90 ladder program menu Help>>>>Sample U90 projects ......\Unitronics\Unitronics U90 Ladder\Examples\Motion control\Motor speed.U90 You must also read about hardware (HW) configuration and HSI - high speed input configuration for incremental encoder.
  5. From my experience, the use of the Samba controller is appropriate for economical one- and two-zone control. There are only two possible PID loops. Increasing the number of sensors requires more inputs to control and more outputs to send a PWM signal. Accordingly, in the Vision series, 24 PID loops are available and all the capabilities you need for recording and programming heating profiles. For the first attempts, you should definitely take a Vision series controller. Ask your distributor about expansion options and you can easily expand the number of control channels. Again, from experience, working with recipes and profiles is easier with a larger screen. Your task is to find a balance between the money spent and the result obtained.
  6. Mayby you not select Encoder Quadrature (A/B)
  7. Please try to find and read documents https://www.asme.org/codes-standards/find-codes-standards/a18-1-safety-standard-platform-lifts-stairway-chairlifts Even a brief description of this document makes the reader think about what he wants to do. This especially applies to moving drives and handling situations where the drive fails when it is loaded by a person. I had the opportunity to examine the electric patient lift. In addition to the technically complex drive, there are brakes and a centrifugal emergency descent system at low speed. Certification of all this, especially software, is a separate problem. Otherwise, it is impossible to use such devices for transporting people.
  8. As a control option without tampering with the crane circuit, I would consider installing electromagnetic or pneumatic retractable pins in the crane sensor path to create the desired stop point. Also possible the installation addon sensors (20pcs) that the crane is in the right position, but I think that this is not the worst option - because it will tell the user exactly where the crane stopped. Well, if you completely simplify the task - install 5 sensors on the crane and read the absolute position of the crane encoded in a binary code (32 possible for 5 sensors) mechanically or optically with special stop position plates with slots. However, a method with retractable pins would probably be a good solution from the point of view of not interfering with the electric diagrams of the crane. I would not use the endstop points from the crane manufacturer, and that is the main thing. The most important in your system is the mandatory control of the absence of people in the area of automatic operation of the crane. There are appropriate safety standards for this, fences with an access control system should be installed, similar to robots.
  9. In general, the main problem in your case is to calculate the position of the crane. I'm afraid that it is almost impossible to do this clearly with the help of one sensor. Therefore, I recommend reading the information about the quadrature signal and using two sensors on the crane to distinguish the direction of movement and count the positions as a number. Accordingly, you will avoid vibrations and false readings of the position counter. In the PLC, it is possible to use two high-speed inputs as an encoder input and automatically count the positions of the crane, which must be marked by the corresponding mechanical fixed parts from which the two sensors can read the signal. Another problem is to set the zero position after switching on. But in general, the main thing is to calculate the positions correctly - and with the help of only one sensor, it can be unstable.
  10. I think this crane is the same task as elevator PLC control. Please read this info about ladder logic idea https://instrumentationtools.com/elevator-plc-ladder-logic/ https://www.theseus.fi/bitstream/handle/10024/338304/PLC Controlling Program of an Elevator_Thai_Nguyen.pdf?sequence=5 https://www.ijser.org/researchpaper/Implementation-of-a-Four-Floor-Programmable-Logic-Controlled-Elevator-System.pdf You can find different control strategy for elevator ("vertical crane") and try to build your own code.
  11. Analyzing what you said and that piece of code, I came to the conclusion that the set from the scan time of the code, the setting of the timer and the way of handling the rising edge from the timer make it so that the variable that should toggle on the display screen does so just after the screen refresh is complete. That is, the process of changing the variable took place, but the OS did not receive the command to update the display with the variable. After some time, analyzing the state of the variables on the screen and seeing that there is a problem, OS starts a full refresh. I think that the solution to the problem lies in moving the location of the subprogram where the display is updated in the main program. That is, it should be before the subroutine where your MB 3141 is set. But this is just my hypothesis.
  12. I encountered similar problems on the V1040 panel. After contacting the Unitronics support, I received information that i can use SI246 for improvement. I increased the number written there (4) to 10 - it helped. I do not know whether this parameter affects the V700. However, it is worth trying.
  13. Then you probably need to experiment with the size of the file with firmware and without firmware in the SD file. It may turn out that the files are the same and the firmware is still stored in the file, but its download is not activated if the firmware is equal to the needs of the program. But these are only guesses. As I said above, the developers probably could not provide a version check in the firmware when updating the software from the SD.
  14. I think that only the creators of the controller's firmware can provide a reliable answer. However, analyzing the SD function you mentioned, it can be assumed that when creating such a controller, the creators could not imagine how long the platform would be updated. I mean both the software environment and the firmware of the PLC itself. I can only be surprised that some other companies (I won't mention the names ) during the year for the same controller model, there were 4 incompatible firmware updates in sequentially provided PLCs that cannot be changed. That is, I converted the program 4 times to load it into the next PLC during the year. PS.... I remember the time when I installed WIN 3.1 on a 286 machine. It was a joke to prove that everything will work even on such slow machine. I just increased the memory to 4MB and I succeeded. One problem that was insurmountable was that almost 15 seconds passed from pressing the keyboard to the appearance of the symbol on the screen. Therefore, I think that the performance reserve built into the design of the Vision series will allow us to improve the capabilities of this PLC several times in future.
  15. Hi, please connect to support@unitronics.com. If the problem is not hardware related, support can help via remote connection.
  16. You must connect power to Jazz PLC power connector. If powered PLC do not connect - please check USB cable also. Some cable have only two conductor for USB device charging. If no connect with tested cable - please go to Info mode (via "i" button long press and 1111 pasword) - search for communication settings and try to switch PLC to STOP mode.
  17. I have experimented with different ways of controlling synchronous motors. The use of hard switching and PWM modulation requires a specialized controller. The simplest PWM from a PLC requires quite a large number of components to implement frequency control. This is due to the fact that you have high-voltage motor circuits and need to isolate the control circuits (upper and lower transistors in the H-bridge). In my opinion, the cheapest way to implement your task is to use a specialized IC - a set for implementing frequency control. Below are two manuals about a IC and a ready-made board for implementing a sine wave with an adjustable frequency for your motor. 5-389_EGS002_manual_en.pdfeg8010_datasheet_en.pdf I installed such a circuit board in a UPS with burned-out MCU and got a good inverter with the ability to adjust the frequency and voltage, similar to a frequency converter, but in a single-phase version.
  18. I think for one panel cutout this type of button is the best solution Led present and NC, NO contacts with increased resistance to vibrations are available.
  19. Moved... I don't believe that ChatGPT according to this description can write on the PLC screen - Hello World
  20. After reading the need described in the author's post, I can state that the proposed solution has an 1 contact SS button that, through the PLC, simulates the operation of the original switch. The main problem of this decision is non-compliance with safety requirements. The switch that you once used had a clearly defined state. In the event of an accident, the User has the skills and understanding that pressing the button will stop the machine. In your SS button case, it is impossible to predict whether the user will press the button only 1 time and not allow the machine to continue working in a dangerous situation. At the same time, modern equipment safety requirements require that the production device must have separate on-off buttons and a separate emergency stop button. Simplification is allowed only in household appliances. I don't know where your solution applies. However, I advise you to familiarize yourself with the safety requirements for this type of equipment. A possible solution through the PLC is to turn on the system by pressing the button for a longer time - for example, 2s and turn it off immediately when the button is pressed in the working state of the machine. But it still does not meet the safety requirements.
  21. Yes, it will refresh, this number only indicates with which period the average frequency will be determined. The frequency will be determined by the number of pulses received per time unit selected by you. The only remark is that if you have chosen encoder x2 or encoder x4 as a source, the frequency will be 2 and 4 times higher, respectively. And it will have to be divided by 2 and 4 to get the correct value.
  22. Maybe this topic can be useful also read some info in slave section for vision PLC http://support.elmark.com.pl/unitronics/materialy/dodatkowe/MODBUS.pdf
  23. https://support.unitronics.com/index.php?/selfhelp/view-article/vision-and-modbus-communication Please use Vision enhanced Slave addressing (hexadecimal) table. Now you try to use Standard Vision table.
  24. You must use standard Modbus PC software and USB to RS485 converter for connect to GPS tracker. In this case you can find working combination of command and address. After you can implement this settings to PLC.
×
×
  • Create New...