Jump to content

kratmel

MVP 2023
  • Posts

    1,148
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by kratmel

  1. I'm servicing some mecanical preses with incremental encoder and PLC based CAM controller. Only one problem with this type of machine - need to be hand operated to place in to "0" position when power off in no "0" position. Some machine with VFD make this homing with no problem in auto mode. Maybe this solution is the cheapest with Unitronics OPLC. By the way CANopen absolute encoder is the fastest solution with simple programming in Unitronics software.
  2. Hi MalSnaize As i see in help SB24 must be cleared by user. Maybe in project accidentally this bit is ON. Otherwise Ethernet card has the RTC sinchronizing future. Is it Ethernet card installed to panel?
  3. Maybe installation of another (com2) port is a solution V100-17-RS4 or V100-17-RS4X
  4. In this configuration, you can only make linear moves. That is, it is impossible to ensure the simultaneous movement of two axes. Today, such modernization is not acceptable. As for me, it is better to put separate drives (stepper motor or servo with Step Dir) on the axle and manage them with one of the available CNC controllers. If there is a desire to use Unitronics then the simplest solution is the Arduino-GRBL controller. It's easy to create a transmitter of commands based on the Vision panel. I created simple positioners for two axes with this principle - everything works. You just need to send to controller G-code commands correctly. And GRBL can control stepper motors in 3D and transfer position to the panel for display. Using of linear encoders for coordinate reference requires a "real" CNC controller with high-frequency inputs (500kHz or more) or modern "Two positioning loop" servo drive. They are quite expensive and require significant skills for mounting and programming. If you only need linear motion without replacing the engine to another one, use the Lenze 8400 high line+encoder or other CAN-open drive and operate it using the Vision panel via CAN.
  5. Thanks Joe. This is literally what I used during the upgrade. However, with transistor solid-state outputs, everything is not smooth. Usually they are not stable in case of short circuit, although manufacturers write that there is protection. Usually when one of the outputs fails, the multichannel circuit failure and the consequences for the PLC are worse than in the case of a relay, which can usually be replaced even in field conditions. Therefore, in slow processes - I apply relay outputs with additional intermediate relays (+ an additional diode in parallel). And the outputs I try to offer more than necessary for the process (it is possible to rearrange the program to another output) or in the extreme case, solder the relay from the free channel .. For high speeds there is no alternative to solid-state outputs. However, regarding the discrete inputs, I really like the solutions that by definition are more stable - have a wide range of voltages and galvanic isolation. During problems with cables, they can withstand high voltage (220-400V) and are not damaged. The relay input in this case is definitely burning. I draw the circuit and collect as works of art in the design of electronics.?
  6. You are right Joe. Develop and implement some kind of new device is difficult. However, in my opinion, some manufacturers have universal discrete inputs with a large range of voltages. Others hold only the standard + 24V. Jazz - in my opinion - is the best in old systems that are being upgraded. In some systems there is a problem with different standards of control voltage. I met American steam washers!!!! with voltage in control circuits 120V. It was strange for me. It is difficult to upgrade this washer with PLC - we have a standard 220(380)V or + 24V. At the same time, almost new (2014) crank press for some reason uses 24 VAC and does not have a PLC. I had a problem - how to automate the stamps on it using a standard 24 VDC PLC.
  7. I found some soft starters with universal isolated input. It has wide range of input signals approx 24-250VDC or 24-440VAC. Inside for all input - installed high voltage (800V) MOSFET, zenner, 1smd transistor and 6 smd resistors for driving optocoupler. I tryed to use different signals - it works. It was good solution - build isolated "HV board" or module for Jazz or another OPLC. But it is question to unitronics team.
  8. Thanks Flex727, I must wait for Ethernet card. Then I will try this solution. I think that there is another advantage of such a connection. The user may be in a different laboratory at all. Through the online connection it is possible to see what is happening on the screen and then the student can test some pieces of the code even when he can not be in the laboratory, it is enough to turn on the panel and connect to the corresponding network.
  9. @Ausman, Is it possible to work with 6 panel with differnt IP connected to switch? Change IP in visilogic make possible to use point to point connection with one of them. Now we have local network with 12 PC and only 6 V1040 panel for education with USB connection. Reconecting USB port V1040 to PC in different position is problem. Maybe network connection is best way to offer users posibility to use one of unused at that time panel without problem? So installation Ethernet card to all V1040 and connect panel to local network is a possible solution? I mean the question: Will students be able to work in this case using the same switch (local network) for many point-to-point connections.
  10. Data structure is ladder configured (Like in M91). Data from project once loaded to database is present like 1000 hidden MI. If i load different project (like 10x10 structure) - data present but it was in different places. after load 10x100 project - data present in right place. Only software download-upload function for Jazz2 is not active (not supported). Please see on picture. But all PLC related database function works like on M91 PLC. Now my project is tested. I use database sample from help and add some ladder for machine control. Now i use only 10x3 database. If user need more program only some ladder (database size) is need to be changed. I will try to install Jazz2 on machine and test it in real process on Monday.
  11. 10х100=1000 database memory integers tested. It's works!! I try to enter 0...32767 in different positions of database. Power off is tested - all numbers stay on his position. Load blank project -->> power off --->> load 10x100 project again -- database still present. But only ladder make possible to see this database. U90Ladder not support it for Jazz2 :(
  12. Thank you Ausman I tried to implement database and found the hidden features of Jazz2 That is, if the employee does not know about the saved settings, he enters 4 settings manually in the main menu ... I try to create the program in such a way that the Database is only a way to restore the parameters for the worker who forgot them or do not know where to read them. That is, if the parameters go beyond the limits when the system is turned on - the system writes the standard values to the main menu and says that the standard values are loaded. If the employee needs to find some of the saved programs - he can look at them and choose. That is, if data in the database is lost then this is a small problem. I solve it with a sticker on the machine cabinet where I print all the tuned constants. I agree that using a feature that is not officially announced by the manufacturer may cause the data storage or another problem. It would be nice if this feature becomes standard for Jazz2 (+1024MI bonus) Therefore, we will assume that I use it at my own risk.
  13. Yes, I try to do some check, U90Ladder do not offer database future for Jazz (See pic.) But sample code Programmer 10x10.U90 works fine. Programmed in database numbers stored and restored into MI0-MI9 correctly (See sample project code form help). In online monitor SB40 SB41 is changed when i try to change program number or settings for different parameter. I try to check approx 10х100=1000 database memory integers and post result in topic.
  14. Hi everyone I retrofited old high power UV lamp control system. Jazz PLC installed and programmed. User need only 3 timer for change on display. Now user need up to 20 different program with 3 edited parameters (timers). I found sample code file Programmer 10x10.U90 for M91 OPLC. And try to download it to Jazz JZ20-J-R16-Y (Changed M91 to Jazz in hardware configuration). Looks like sample code work fine (all parameters in all programs is present after power off). After that i found in U90 ladder help: "Jazz controllers do not offer a Database".????? What i must do now: - Make database in ladder; - Try to use "not offered Database"? Maybe Jazz 2 has some M91 "hidden" function... Any ideas?
  15. Can you provide more information about gas flow meter and amplifier. User manual, or a link? 8VDC Prox switch is very strange ? !
  16. Sometimes it is necessary to do repairs when there are no original spare parts or they arrive for a long time. You reminded me about the Enter key. Machine Amada - Enter completely destroyed. Temporary solution - the external button is soldered to the corresponding matrix keypad conductors. This may be a solution when it's impossible to fix the program However, definitely
  17. I send for you blank project. I import to this project two librarys in different language (eng and ukr-cyrilic). This 1 and 2 lib files is exported from this project to CSV files - import seperator is ( , ). Please try to open blank project and import this two files into 1-st and 2-nd librarys. If import is OK - make your own CSV file with the same structure as my CSV file. Please install to visilogic cyrilic font before import files and choose this font in import process. 2_lib.csv 1_lib.csv LENGUAGE.vlp
  18. In Vision OPLC panel single touch sensor used. It is not possible to switch on both HMI button at the same time. But logic needed (see Joe T. ladder) for prevent to fast (pseudo simultaneously) output switching. By the way is the best solution. In fast AC motors reversing by PLC (like old CNC turret) is used 3 power contactor. Two for reversing phase on AC motor and one for turn power on when one of reversing contactor is energised.
  19. I try to use this code in "main" but in result it go as "subroutine" that is called once in main program. For parameter window where machine definatly stopped for setup i use separate large SDO subroutine.
  20. My experiment with SDO via CAN on V700 show that some times SDO is "lost" when i use only "SDO in progress" NC contact. Maybe it is due drive side behavior. Then i use posted ladder for transmit SDO. As i see PDO via CAN work faster on drive side and not need spetial sequance.
  21. First of all - try to create two little librarys in different language. Than export it to two excel files and two CSV files. Please open this files by excel and see the structure. You must try to create new little file with te same sructure of data and import it to library. Please remember that system font do not provide cyrilic letter. You must install cyrilic font to visilogic to use it in menu and export - import cyrilic file.
  22. Hi, Sven As i see you use SDO for motor control. I use SDO for transmit motion profile parameter for 2 lenze drive. I also lose instructions when try writing to the motor by the timer. For implement SDO transmition without timer i used SDO numbering like compare counter in you code. Please see attachment. I must send comand to change speed and position for two station. If i send 1-st command - all another sdo sended one by one with no problem and sdo transmition stopped. Rewriting the same information by SDO in my system is no problem. And it will be avoided by the additional code. If i send #8 command only one sdo sended and transmision stopped. This sample code posted only like idea for sequental SDO transmission. Only one SDO sended at the same time and no command lost present in my system. Maybe code not optimised, but it work fine in real control system. SDO_test_lenze.vlp
  23. SMC75 and other JVL driver with CAN offer commisioning software for making application setting. As i see in pdf's from JVL freeconfigurable by software 32bit PDO register present. I don't know your positioning configuration. Is it PDO used for transfer target position? Why step counter is used, when CANopen positioning in different mode present? If it possible post image of project connection (wiring). In my application only isolated CANopen connection OPLC to drive used. Limit switches, home sensor, and jog function switch conected to the motor driver and it's activity sended to OPLC via CANopen. But signals must be preconfigured by driver software and linked to RPDO and TPDO. On the OPLC side struct is used to conect MB array and ML or MI with the CANopen RPDO and TPDO. About SB in ladder. I use it like NO only in CAN transmission rung. In attach i post my CANopen "first steps" realased for samba but without driver side of configuration. CANopen test lenze 8400.vlp
  24. In my last project, I used Lenze 8400 with embedded CANopen . The capabilities of this driver make possible to prepare "hardware" PDO signal "IN position", "0-position is known", "ACC", "DCC", ect... I did not use timers in the program, but only use system bits SB288, 284, 242, 292 to avoid network collisions . What motor driver used? Maybe it is ready to transfer needed bits or they can be re-assigned manually inside the drive.
  25. If it is not to late... I use for two axis sun tracking Zelio Logic smart relay with embedded FBD suntrack function. It work fine due to RTC present onboard. Daylight saving is also present. Maybe it will be helpful to add "suntrack" option (function) into visilogic or other unitronics software. But this is question to unitronics team. Sunrise-Sunset-Suntrack.pdf
×
×
  • Create New...