Jump to content

kratmel

MVP 2023
  • Posts

    1,146
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by kratmel

  1. 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?
  2. 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.
  3. 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.
  4. You can try to use Message composer. Please see link to example in this topic
  5. I think you have seen this topic Maybe changing the protocol is more effective than disconnection - connection. But this is again just a hypothesis.
  6. Unfortunately, I did not have the opportunity to experiment with the sockets in the V570, but I think that the ability to set the address of the slave device not by a constant but by MI in the Socket should allow changing the interlocutor on the fly. That is, an already open Socket should simply change the address without closing it. This is just a hypothesis, but if the IP address was only static here, I would understand the need for a constant switching process. I suspect that the 0.5s delay that Joe once described should be enough for the switching process to complete. Only an experiment can show whether such switching is possible in principle. Because in my opinion, as Fernando says, the idea of an Industrial Network loses its meaning for TCP.
  7. Translate... Yes, I managed to identify all input and output memories via Ethernet IP, but in practice the signals do not work in a standardized way! There are some signals, out from 0 to 10, range from 1 to 3 that are triggered randomly, for each movement there is a combination of these signals! So far so good, just combine these signals to create the target positions! My biggest question is the system for creating the binary drive to call each of the movements! I recommend that you carefully read the manual and learn how to do all the movements using the program from the manufacturer of this controller. The whole point of your problem is to write a sequence of the necessary movements and number them. Next, using the data from page 57, you can design the steps of your controller. The main task is to understand how the controller performs transitions between the positions you need. I recommend encoding the positions in absolute format. Then it will be possible to move from an arbitrary point to an arbitrary point without taking into account the sequence of movements. Note that the axis not selected in the program for this point will not move. Only after performing a full movement cycle manually (via the manufacturer's program or via conventional switches connected to the controller inputs) would I recommend that you start controlling via PLC.
  8. In manual p.48 https://www.smcworld.com/assets/manual/en-jp/files/JXCx-OMU0026.pdf you can see Input - output allocation of memory All needed signal present via Ethernet IP. Or if you have standard IO on PLC - this I/O signal can be wired to JXC92 inputs-outputs directly.
  9. As far as I understand from the manual for this driver - you have pre-programmed positions in the driver itself and you have to go through them in the appropriate sequence using the position number. My thoughts: 1) A binary position number can be represented by a simple decimal number. And if necessary, rewrite in the tag as a binary number. 2) Enter the required sequences in the data table. Line number = step number. Column = program number. In this way, you will be able to edit both programs and steps. 3) Make a State Machine which, after starting, will increment the step number (line) starting from 0 (start position of the system after separate homing process). It will read the specified number from the line number from the column of the desired selected program. It will then send this code to the motion controller. Next, it will send the movement command and wait for confirmation that the movement is complete. And so on until there is no special unique stop code in the table, or, for example, a zero position value. 4) If pauses are necessary at the points of movement, they should also be entered in a table with a similar structure and added to the State Machine. 5) Interactions with other parts of your system can also be used to switch the State Machine.
  10. Google translate... Good afternoon guys I need to control a driver for the SMC servo motor model JXC92, I'm using the Ethernet\ip protocol for communication! There are three axes. I have a 10-bit output TAG and I need to modify the binary combination in each bit according to the movement to be executed! I created an auxiliary function block and a Tag for each movement with the values already defined. In the structure, I place as output the bits that activate the drive and as input each bit of the Tag that I created. But following this logic you will have to create a block and a Tag for each movement! I would like to know if anyone knows a simpler way to perform this action! Thank you for your attention
  11. If you use both direction for only positive count - no quadrature encoder signal needed (Shaft encoder must be changed to High Speed Counter) . You can use High Speed Counter for encoder (run only to positive) without any changes in wiring. Try to test this option and make some correction in math.
  12. Please read about Unitronics Vision Info mode. Tap on screen >5s. Enter password 1111. Find Operand - Inputs (I) and Outputs (O) table can be selected.
  13. Pease read AlexUT tips about screen variable. Maybe some modification of screen variable evaluation needed.
  14. As far as I understand, the result of this test can be reproduced many times. My thoughts: 1) perform this test without connecting the PLC; 2) dial 192.168.62.208 instead of 192.168.062.208; 3) repeat the test by switching the PLC to STOP mode; 4) test another PLC (not V700) with the same settings.
  15. Please find PTO example for EXF-RC15 module in Visilogic Hepl menu.
  16. Any communication involves the interaction of two devices. Looking at the Jazz PLC, you can make it a Modbus TCP Slave and read everything you are interested in according to the table in the help. If you want the PLC to be the Master, you need to know the parameters (addresses) of the device cells where the PLC can write something. Your question about being able to send something over the Ethernet is a bit incomplete. Describe in detail what and where you need to transfer and read about the possible ways of interaction in PLC Jazz20. It is the cheapest of the Unitronics controllers and its networking capabilities are very limited. Therefore, either you use the existing Modbus TCP protocol, or you have to choose another more network-oriented Unistream PLC.
  17. also read https://support.unitronics.com/index.php?/selfhelp/view-article/Catastrophic-Failure---Visilogic
  18. You must read Help topic about possible Ethernet communication via Jazz2 PLC: Ethernet: Jazz 2 only You can run MODBUS master or slave. Please find sample U90 project for JZ20 in help menu MODBUS folder.
  19. No, for PNP output two diodes are required for matching and one diode in parallel to the relay coil to avoid self-induction.
  20. In my applications that use a combination of PID and Samba, autotuning runs once or twice on startup. After that, the system works without problems. In one system I found 100% output on the screen several times, but it is a water-to-air heat exchanger. Heated water from the cooling system of another machine is used. And several times the water from this machine came at a low temperature. Therefore, in PID regulation systems, it is worth carefully studying the behavior of the energy source. Inadequate (lack of sufficient) amount of energy causes the transition of the PID regulator to the saturation state. Carrying out auto-tuning, we suspend the normal operation of the system, and sometimes this is enough to restore the energy balance. Maybe a little too much theory. But you say that auto-tuning helps. Question: Does the result of auto-tuning repeat the result that was before it? I mean the obtained coefficients. On my systems, multiple autotuning repeats the results with reasonably high accuracy.
  21. If we use Modbus over RS485 - slave ID must be different. In Modbus via Ethernet - different IP used for different slave (ID=255).
×
×
  • Create New...