Jump to content

kratmel

MVP 2023
  • Posts

    1,141
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by kratmel

  1. You can use "Find Operand" option from Visilogic Menu for find any location where MI697 is used in project. Click on Find list you can navigate in ladder and HMI to find possible owerwrite with dedband value. In HMI section of project you can find numeric variable and click on it. Please check value in MIN MAX keypad entry position
  2. Samba offer only 12 inputs and 8 outputs. No direct I/O expansion module connection possible. Possible solution - Samba CAN module + EX-RC1 modue + 8 I/O module.
  3. What PLC and software you use. Topic is created in UnilogicSoftware.
  4. I think it is not CANopen tool. It may be usable on the Unitronics Unican network. You can use one of the PLC as CAN Gateway and connect Visilogic to any PLC in CAN network. Maybe this window can be used for find ID of all PLC present in Unican nenwork.
  5. Please find how to check NMT status via Visilogic Example project V570_CANOPEN_Encoder.vlp - Check_Communication subroutine
  6. About direction You can use my code idea for try to evaluate Stop, Up, Down direction state via encoder readout. Please note - i use this code for positive numbers (not reloaded DW used) but maybe with reload point some experiment needed.
  7. Then I have a question. Why do you need a quadrature encoder if you only need speed in two directions? Use a simple HSC counter. It does not take into account the direction. And hardware frequency meter will probably count correctly. If you need position and speed, then it is better to take a controller with three encoder inputs and use one of them for the encoder and the second one in parallel for speed measurement.
  8. As far as I know, for the x2 encoder, hardware frequency will be twice as high. For encoder x4 is four times higher. I measured the speed of the wheel with an encoder and checked the results by measuring the resulting meters of material per minute. Then in the program I divided the measurements by 4 (encoder x4). Maybe I'm wrong, please correct me if someone has a different experience. Regarding signal frequency measurements, there are principles: - count the number of exact time pulses placed between encoder pulses (use interrupts) - the disadvantage is that it is difficult to determine the zero frequency for slow processes. - count encoder pulses over a period of time for fast processes. When building a program to analyze the speed of a conveyor, I had to use both methods and switch between the calculation results when the speed changes a lot.
  9. Please send mail to support@unitronics.com
  10. In general, I imagined the process of moving to the home position as follows. 1. Configure the axis as in the PTO example for jog mode - that is, slow movement from an external signal (Go home bit) for a distance greater than the length of the linear axis. 2. Check whether the home position sensor is activated. 3. If so, move in the opposite direction until the sensor is turned off and then move in the this direction for some time (or distance) - "Retract from home sensor" mode 4. If the sensor is not activated (or the movement described in point 3 is performed) - set the intermediate variable - Go home bit movement to the home position ( slow Jog move to home sensor used). 5. With the help of this bit, we activate the jog movement towards the home position. This bit is deactivated by the home sensor signal. At the same time, a quick stop of movement to the home position is activated. 6. After a complete stop (velocity =0 or after some time) - the intermediate home position is established by the PTO command for define HOME. 7. Next, the position movement (absolute or increment again configured) is carried out by some value defined by the parameter in the opposite direction from the home sensor in order to move away from it. 8. After stopping this movement, the PTO command for setting the zero position is activated again and only then I can say that the mechanism is in the home position. (Home sensor now can be used as End Sw). P.S. Maybe someone use different sequense - than please post used solution to this topic
  11. This link to Help center maybe useful https://support.unitronics.com/index.php?/selfhelp/view-article/VisiLogic-Gmail-to-Gmail In Unitronics invitation to webinar i found this Cybersecurity: Vision & Samba Controllers - Unitronics enables Cybersecurity throughout its product range. Join us to learn how you can best protect your system from external threats with Vision and Samba Controllers. July 12th at 10:00 ET | 14:00 GMT Register Here
  12. Please post software - hardware versions of this Panel and Unilogic version used for connection. I think that you have an old version of the firmware and you should first try to update it to a previous, not the latest version via previos Unilogic. As far as I understand (I may be wrong), the crypto-protection has been improved in the latest versions and this may cause incompatibility.
  13. Please send this quastion to support@unitronics.com. You can also send project to support for test. You do not post Display model #.... I think that this is either a problem with the program you wrote or a problem with reading the internal flash card that is built into the panel (if it is Unistream modular).
  14. Hi you must know that Jazz 10pin is not RS232 compatible. Jazz PRG module must be used for programming. Jazz PRG offer all needed option: -level shift from RS232 to ttl (max 3221 used); -galvanic isolation via two optocoupler ; -RX and TX signal conditioning via logic buffer (NC7SZ58 chip) with 3.3V logic level; -some add-on elements connected to Jazz connector pins (i do not know about how it managed by Jazz plc); -power cirquit for max3221 power from RS232 port. P.S. - on 10pin connector present logic level 3.3V signals. 3.3V power pin and 24VDC from PLC power input. If you connect any 3.3V pin to 24VDC - PLC can be damaged! P.P.S - I build my own "Jazz PRG with USB port" and galvanic isolation. But i have standard Jazz PRG and Jazz PLC on table for experiments.
  15. You can read about my experimental result in quoted topic --- .... if we sw ON any of TC input in SI15 appear temperature readings from internal TC cold junction sensor. I try different combination - if any onboard TC sensor is activated - SI15 show temperature in 0.1C (I tried to serve hot and cold air - the reaction is adequate). If no TC is active - SI15=0.... Then now you can try to activate any TC input ( without sensor) and use SI15 for internal temperature readout. It is undocumented but i test it on real V130-33-RA22. I think that in Samba there is the same scheme of compensation for TC. If in future you need to use TC - no changes needed. It is simple solution. But you ask about
  16. Samba 43 is a simplified version of V430. You do not post samba model. If model # end with TA RA or TRA - you can configure analog input as termocouple and short temperature input via wire (no sensor needed) - PLC in configured MI show temperature from embedded compensation temprature sensor. You can also read this useful topic
  17. One of possible solution for many valves and one pump control
  18. In this doc on p.106 you can find why your V350 stop UNICAN https://www.mikrocontroller.net/attachment/157952/VisiLogic_-_Communications.pdf Please send quastion to support@unitronics.com about possible solution and post answer to topic. I think Unit ID collision for RS485 communication appear.
  19. Please post your Visilogic projects with normal and "corrupted" CAN configuraion with RS485
×
×
  • Create New...