Jump to content

kratmel

MVP 2023
  • Posts

    1,150
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by kratmel

  1. It is one more testing method for your USB-to-serial adapter. Please download terminal program (like hercules ect...). Plug USB-to-serial adapter to USB port and temporary connect 2 to 3 pin together. If you send some characters from terminal you will recieve it back if this adapter is operational. Then you can test wires that go to Jazz PRG at the same way. (connect RX + TX line together by wire without Jazz PRG).
  2. Please read this https://unitronicsplc.com/Download/SoftwareHelp/U90LadderKnowledgebase/Communications/Direct_Communications-_PC_to_PLC.htm You can see that jazz PRG use pin 1 and 6 for PWR. Maybe USB-to-serial adapter do not offer correct power supply to Jazz PRG. The connection may start and disappear due to insufficient power to the adapter. USB-to-serial adapter usually uses a low power converter based on the capacitors to generate output signals, so it may not be able to power the Jazz PRG programmer. Please see this and use more pin connected to PWR line https://unitronicsplc.com/Download/SoftwareHelp/U90LadderKnowledgebase/Communications/Modems/PLC_to_Modem_Connections_and_Pin-outs.htm or try to power Jazz PRG by separate power (please read Jazz PRG manual). Try to use +5V separate power supply connected to - to GND and + to PWR. P.S. You can test Jazz PRG on puter with hardware RS232 port.
  3. kratmel

    Oddity

    20.20.20 20/ 02/20 ???? It's a pity, we have only 12 months on Earth Maybe we lost 20.20.20 02/02/02 or 20.02.20 20/02/20
  4. Thank you Joe! :) is used for isolate board and fit board to Jazz PRG dimention. You won't believe it, but a broken arduino + chip for correct galvanic isolation works as a programmer or PC232 port. The main task was to create a CNC machine based on Jazz and the free Arduino GRBL CNC conrtoller based on a stepper motor. It installed to Jazz like JazzPRG. It had to perform only two standard movements but with a complex 2D trajectory. Everything works ... Jazz 10 replace original old puter and ISA CNC card in it!
  5. I tried to research this port and the original programming adapter for my own needs. Making your own is probably possible (and I even managed to do it with the USB interface- on foto), but there are two major problems - there is a 3.3 volt communication port in the PLC that requires a mandatory galvanic isolation that is in the original adapter. Therefore, I recommend listening to the above. You should use the standard devices listed in the topic for programming this PLC.
  6. This is string library and String from library in object text proprties. Please read visilogic help. But you must use HMI---Font handler if you need specific language in string text (like cyrilic).
  7. Good advice! But... Generally operand export must be performed when setup and fine tuning for all parameters is done. It is the last step in my PLC programming job. That is the main problem : sometimes you can not know correct value for all operand when project is downloaded to PLC. And i think - PLC operand export is not useful integration option (p.1 ) . But in Properties--Messages for ask or not ask user to import operand values from the files after download project is good idea. P.S. Operand description and operand value is exported separatly. Maybe it is useful option to export both into csv? User can easly check what parameter or operand is wrong in current configuration and change it (Like CNC machine parameter file).
  8. It is good if you can change CANopen status of drive. In my first CANopen project i try to read or write only one parameter. The real problem - understand how to calculate correct mapping for all data. This problem present for drive side and PLC side. Better way is to use default drive side mapping and adapt PLC mapping in the same way. After this model is operational - you can change driver side CANopen register configuration and test nonstandard mapping. Another topic with my first steps project. You can see how to use struct for send TPDO and RPDO You must understand - in this topic not present my non standard drive configuration.
  9. Please read this topic and try to download my small example for CANopen. You must read Yaskawa CAN module and drive documents, modify settings and setup communication. After that configure PDO mapping in drive and PLC.
  10. I always check all the settings used, and if it goes beyond the range, the default is loaded. Yes that's cumbersome, but as a result, it saves me time in future. After all settings is done, I use Export PLC operand to the file and use Import PLC operand if user does something wrong. When a recipes present in project - user can use #1 to #N table row #0 row used as default value that is possible to correct only with password entered.
  11. I try to correct your code, please check MI4,MI5.......vector in simulation mode It is working part of my project on pic. 232Test_KR.vlp
  12. Please go to the V700 info mode, then choose SERIAL and MONITORING. Select PORT2 You can see what is sended from the computer to the panel RX buffer. If you see in panel RX correct message - you have wrong checksum calculated. Try another one from list.
  13. One quastion: Is it in V700 installed card for port2? Note: V700 has only Port1 onboard and if USB is connected port 1 is disabled.
  14. I use this solution for correct display distance MF4 (mm) in 0.1mm on display (ML4). You can modify this for 0.01 MF1 = distance ( mm) in FLOAT
  15. One of possible way - assign some ON touch hidden key (or keys) on screen (small, flat and the same color as the display) - this key or many key's (named "SET touch prop flag" for one touch). Control Room operator must touch it before use some touch element. If touch element activated - "SET touch prop flag" RESET. local operator can only watch the PLC screen - it cannot see the mouse cursor. If one hidden combination password entered ( more than 3 different hidden touch - like temporary password) - Control Room operator give to the local some time (by timer)
  16. Thanks for the good tips Joe, Aus . I did some testing on the above problem. The main thing that I understood - in fact, I can not get a new coordinate faster than completing the read data from the servo. I laid this principle as a basis and I managed to determine the direction of travel without interrupt. Given that the direction is 1 bit, changing it to 1 or 0 is the extreme point of movement up or down, respectively. This method gives a stop error for the time of the drive deceleration. However, it does not actually affect the process. I tried to refuse automatic up-and-down motion control from the servo. However, PLC control over the network was unstable. Reaching a predetermined stopping point, the servo via the network announced that the target coordinate had been reached. After that PLC send command for the new movement. This method gives a good result in stopping and managing the process. However I couldn't figure out why but the normal cyclic up-down movement controlled by PLC via CANopen didn't last long and must to be restarted again. Now I'm trying to apply the Aus idea with a stop command ahead of time for an exact stop. I will report on the results later
  17. OPLC V1040 is used for control Lenze 8400 Highline servo drive. Position of vertically moved linear axis is measured by servo drive encoder and translated to the panel via CANopen. Drive use his own logic for continuous UP - DOWN move changeover. Now only START and STOP command sended to the drive via CANopen. AXIS is connected with 500kBps speed and moved with 0.8m/s max speed. I need to build programmed limit switch (PLS) for control machine valves depending of axis position. It must be switched separately. PLS in UP and DOWN move is different. Now i have 32bit absolute axis position copied to the ML. Problems: 1) how to calculate the axis moving direction by data manipulation with ML; 2) how to STOP axis as much as posible close to the UP or DOWN end position using only ML data and sended via CANopen "stop" command. Any ideas?
  18. Maybe use images for animation is as large as can be for SAMBA 7 But you must make some ladder for image manipulation.
  19. You should also mention the different types of USB to RS232 adapters, choosing the right driver for them, and applying the "unnatural" power for some interfaces (like Jazz PRG) from the transmission lines. Galvanic isolation for the adapters, the quality and length of the cables. So still on the shelf I have from DOS3.0, DOS 5.0, DOS 6.22, Win95, Win98 computers with hardware RS232 and the correct Standard. Big Box with different connection cables and adapters also present. And it is not museum :).
  20. We have an oven with two heating zones 45+45kW. The zones are not isolated from each other. Accordingly, in both zones, we must obtain the same 200 + -3 degrees C temperature. The project was implemented on the SAMBA PLC which supports two PID loop. Question: Is it possible to auto-tune both PID at the same time (on Sambа)? Maybe someone has experience - simultaneous start autotuning two or more PID loop. I can start both channels separately (but I'm not sure - is it settings will be correct if one heating channel is used for the entire volume of the oven). However, the heating time of the oven with two groups of heaters (two channel) is more than 3 hours and the full cooling reaches 24 hours.
  21. I use USB to RS485 isolated, work fine. https://www.ebay.com/itm/Industrial-USB-to-RS485-Converter-Magnetically-Isolated-FT232-ADM2587/163780212831?hash=item26220fb85f:g:T8cAAOSw9N1VlBRx
  22. Hi, SB58 system bit disable remote access. (J20 only). Please check this bit. Try to remove battery for some time. Maybe it is not usefull. But i found the same problem in vision - SB314 bit block plc access.
  23. V200-18-E6B offer isolated analog outputs but you must use separated power supply for this output or use VFD +24V power. Maybe this is useful for you. Plase find my link to pdf.
  24. Is it n/p input on jazz setup corectly? Please see in installation manual.
×
×
  • Create New...