Jump to content

kratmel

MVP 2023
  • Posts

    1,138
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by kratmel

  1. 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.
  2. 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.
  3. 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.
  4. 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
  5. 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.
  6. 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.
  7. Pease read AlexUT tips about screen variable. Maybe some modification of screen variable evaluation needed.
  8. 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.
  9. Please find PTO example for EXF-RC15 module in Visilogic Hepl menu.
  10. 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.
  11. also read https://support.unitronics.com/index.php?/selfhelp/view-article/Catastrophic-Failure---Visilogic
  12. 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.
  13. No, for PNP output two diodes are required for matching and one diode in parallel to the relay coil to avoid self-induction.
  14. 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.
  15. If we use Modbus over RS485 - slave ID must be different. In Modbus via Ethernet - different IP used for different slave (ID=255).
  16. Do you change the jumper settings inside as required, in accordance with the tables shown on the manual page #8. https://www.i4automation.co.uk/unitronicspdf/IO-ATC8.pdf P.S. Voltage input wires must be connected to the AN and COM
  17. You can check via software system bit SB8. If SB8 =1 you lost battery inside and lost some data or program. If no program - no output active. Do you have a project for this PLC? If yes - try to test (replace) battery and reload project to PLC. If no project present and SB8=0 try to Upload project to PC, You can replace PLC to another one if project succesfully uploaded from old PLC.
  18. Hi, * Messages 6, 7, and 11mean that the master has found incompatible elements in the data sent between master and slave. Slave ID in modbus IP Configuration must be 255 Please use V280 Ethernet TCP Modbus IP sample code as Flex727 recommend.
  19. In this setup (Samba+rotation gearmotor) present another one solution for positioning with absolute readout WDD35D-1 -4 precision conductive plastic potentiometer angle sensor 10K Product name: precision conductive plastic potentiometer Resistance: 1K2K5K10K Shaft length: short shaft 19mm long shaft 33mm Linearity: ±0.1%~0.5% Mechanical rotation angle: 360° continuous) Theoretical electrical angle: 345 plus or minus 2 degrees This potentiometer angle sensor can be installed on the main shaft and connected to Samba analog input (some 24 to 10V DC/DC converter neded). No homing needed. Position is present directly after power ON. 0-10V signal can be converted to 0-360deg. Another simple solution... Use 10k multiturn potentiometer - no DC/DC needed - only one time calibrate 0 position and use Linearization function. Note - output voltage must be in range 0-10V. This solution can be programmed via ladder and some fixed position can be implemented without problems.
  20. Is it VFD or other source of EMI present in application? You can find on forum recomendation about proper grounding and solution for EMI problems.
  21. You must post VFD model # and (or) VFD communication manual. All of VFD must be configured before connect to any communication (network ID, comm speed, start command source and speed command source must be defined). After that you must use PC Modbus software (and USB-RS485 dongle) for test communication and VFD operation. Only after success with this step you can try to set VFD - PLC communication.
  22. All off Unitronics forum user start from the first project. It is OK to make mistakes. Like you, I once tried to build a reversible pulse counter with one sensor. Due to the imperfection of the mechanics and the inaccuracy of the sensor installation, pulses were lost and the calculation was not stable. That is why I asked if you will reverse your engine. P.S. In Visilogic Help Example projects present Function example V120 Step in Range function. It can be used for pulse count in both direction with defined range. Maybe it can be useful for your application
×
×
  • Create New...