Jump to content

kratmel

MVP 2023
  • Posts

    1,133
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by kratmel

  1. It looks like all OK with your NMT status chek. You must remember that in rung 23 Mb1112 reset itself... It is not possible to check this via online visilogic mode - it is to fast You must add increment variable FB (for example DW or ML) to end of rung 23. (Only for testing purpose) You can see is it MB1112 manipulate in process of NMT Node Guard. If you disconnect Can wire - you can see 255 in MI1113 Status = communication lost.
  2. Unfortunately, I can't see your code in full - but I have some recommendations from experience with SDO and Lenze: 1) when transferring something through SDO, I had to use the data structure to place the required set of information in the form of an MI vector. (not the ML vector as you have in the pictures). An example of my structures and commands is below 2) When transmitting SDO, it is important to fundamentally prohibit other SDO that may try to be transmitted during the PLC operation. That is, it is necessary to make a counter and transmit the necessary SDOs always in turn (ideally one at a time for 1 cycle of running the PLC program). I made a condition that before each transmitted command there is a SDO counter comparison condition. Only then was I able to pass the long chain of SDO to Lenze. This is caused by a write delay in the drive itself. If the queue of commands is too high, it does not have time to process them and transmission becomes sporadic. For example, out of 8 commands, with the usual method of transmitting everything in a row, 3-4 passed - the rest were ignored or transmitted sporadicaly. The use of the counter made it possible to transfer everything, and by modifying the algorithm to transfer only those that change, I was able to speed up the work even more. This is not the best algorithm (it transfers the SDO queue from the message selected by the number to the last one) - but it works with Lenze 8400 and after the required functions began to be performed stably, I left it as it is. 3) Conclusions - perhaps due to the peculiarities of the processing cycle of the HMI interface, your command is repeated many times in the transfer buffer. Lenze rejects the excess due to slow write (CAN command is fast transmitted but slow applied in Lenze itself) you can see that the transfer is not stable. 4) regarding PDO, you need to check how Lenze parameter C0001 is configured. It should be 3.
  3. No, it is OEM Lenze code. About your problem with setpoint please see to p.4 of this document Difference_list_CAN_8200vec_8400_V10.pdf maybe format of setpoint is wrong... C0127 settings Lenze_8200_Vector_-_Data.pdf p.204
  4. To solve your task, you need to clearly understand what you want to do. Unfortunately, your manual is in German and it is difficult for me to immediately give any recommendations. The first task of the CANopen network is to bring the necessary devices into a state of normal operation by NMT command. However, you should understand that the frequency converter is controlled by signals from the network only when the control source - network is selected in the parameters. The best solution is to have the frequency converter connected to the control program from the manufacturer and observe what happens in the process of sending signals from the PLC. With the help of this program, you can save the current state of the parameters and if something goes wrong - return parameters to the previous working state. Unfortunately, none of the forum members will be able to understand from your message what you sent to the converter and why nothing works. Now regarding the theory of network control - in the standard view, we issue a command and get a response. In the CANopen network, we have an object dictionary that is created virtually. Accordingly, the master records something in a certain place of the dictionary... and the controlled device takes the information that concerns it from this library. In some Lenze electric drives (8400), the address must be calculated as the sum of the parameter number and some offset. Therefore, sometimes there is a problem - that in the process of experiments, we record something in a completely different area of the library (different parameters). Put here on the forum the tables with the addresses of the SDO that you want to use and the tables in which are specified standard variables used in the PDO of your device.
  5. For the experiment, I used a new V700 out of the box. Using the STOP - DOWNLOAD - RESET option, I downloaded an example from Visilogic 9.8.65. After turning off the power - everything is OK, the project remained in memory. I took out the battery and made sure that the project was lost. I uploaded the project with the DOWNLOAD ALL and BURN option. I took out, waited and put back the battery - the project remained in place. I took out the battery and after waiting - turned on the panel - the project is in place. So we can conclude that something is wrong with your panels and you should contact the distributor. P.S. For the test, I recommend using the stable version 9.8.65 and the firmware from this version. It is also interesting how SB8 behaves. However, I suspect that your new panels may have a newer hardware version than mine new and 9.8.65 may not support it (but that's just my guess).
  6. Translated... Something is not going well, where did I go wrong? According to the instructions, bit 10 in the first bytes is responsible for unlocking the disk. So I set the bits and sent them via SDO and it works. I will add that I used the synch channel. In this telegram, by setting bytes 2 and 3, the set speed is set, so I add a struct block and the first bytes work, but there is no set speed. Kratmel, thank you for the helpful files, I have an E82ZAFC communication card. You need to make sure that network is selected as the speed setting source. Also, as far as I remember (several years ago I dealt with such a converter with a 2171 module), 50Hz must be written with the value 500000 in SDO with index 5FD1h (setpoint) and 10000 in SDO 5DF7h (start). That is, the speed setting address is before the start command. I couldn't find any manual quickly. Maybe your module offer a slightly different location of the setpoint. Please post used manual or link for CANopen evaluation via E82ZAFC
  7. Some tips about CAN open in pdf CAN_open_schneider.pdf p.13 - Basics. I'm guessing you have an 8200 with a 2171 module installed EMF2171IB_2172_BA_Fieldbus_module_type_2171_2172_Systembus(CAN)_EN.pdf A few short answers that are in the documents above: 1. PDOs (process data objects) for real-time transmission of process data. SDOs (service data object) for read and write access to the object dictionary 2. Not if the manufacturer does not require it. For example, to start Schneider servo drives, you need to follow the correct procedure for reading the device status record. 3. If the SDO is prepared in a PLC, then you should use a Struct (from Visilogic Vector menu) - in which you can connect different types of data into one sequential array of MI. And then you can send it with one SDO command in which you specify the length of this array. 4. I think the answer is yes. However, this is only true if the inverter does not have communication status monitoring enabled. 5. Maybe no.
  8. ......Translated from Polish Hello and welcome. I have a few questions about CanOpen. Reading the help and looking through the projects helped me understand some of them, but I still have the following: 1. What is the difference between PDO and SDO? 2. Do all send and receive setup steps need to be completed? 3. If I send an SDO that contains 4 bytes of control word and 4 set value, how to connect them? 4. Does the inverter remember the last command sent? Should its input buffer be reset? Learns the secrets of CanOpen on V130-33-B1 with the V100-17-CAN card and the LENZE 8200Vector inverter
  9. Do you test battery voltage? New battery voltage must be approx 3.2V. Please check via Visiologic SB8. If SB8=1 and battery voltage above 3V - PLC must be replaced by distributor. P.S. Please set time in PLC via Visilogic Communication menu. Restart PLC = check RTC for present time. I see may 2022 on image.
  10. If you can read something (identification from PLC) via Visilogic - then RX, TX, and GND used in your cable is OK. You can make custom 6 wire cable and try. But i think that something wrong with PLC board or memory.
  11. I think that part of flash memory is damaged or some chip on board is faulty. Please read this topic, you can see the same problems with my PLC. In your experiment i recommend to try 9.8.65 Visilogic version. My PLC only allowed flashing after cooling the chips with a special freezing spray. After that, the current version of the firmware appeared on the version identification screen instead of incorrect characters. I managed to localize the problem and solve it - read in the thread, but this was my own research on a faulty PLC. However, in your case it is difficult to say that the problem can be solved by updating the firmware.
  12. Unfortunately, the numbering of the outputs and inputs of the PLC expansion modules is set according to the position of the module on the DIN rail. There are two options for solving the problem in the case of using a different set of modules for the same program: 1) simply apply the vector replacement of the outputs that were in the previous configuration to the outputs that were used in the new configuration; 2) always use the rule - copy all input signals into a vector of intermediate variables and apply them in the program. At the same time, process all output signals in the ladder code as intermediate variables, and then, if necessary, copy their values as a vector to the outputs of the required modules.
  13. After looking at your first photo, I can say that your controller is damaged. It is unlikely that you will be able to restore it to working condition. I posted a photo similar to your first one on the forum. In my case, there was a problem with the flash memory - the controller did not start and I failed to flash the operating system in it. There was no image on the screen either. But for checking, you should take a computer with a RS232 hardware port and use the RS232 to RJ11 cable wiring recommended by the manufacturer.
  14. maybe this topic can be useful
  15. Unfortunately, I did not find a complete manual for this device on the quick link, but for practical advice, I would recommend checking the transmission TX and reception RX conductors between the adapter and the router. It very often happens that when trying to connect with the wrong cable, a direct connection is used instead of a crossed one or vice versa (TX-RX, RX-TX connection). It should also be noted that connecting an additional power supply with a voltage higher than that recommended by the manufacturer will damage the adapter MJ20-PRG.
  16. PLC program in memory run after power on. For understand - program running or not without display you must test volage on PLC power terminal +24V, 0V. If power voltage (approx +24V) present - you must test all digital outputs - is it some of them active. If some output active - PLC program in RUN condition. If not - you must send input signal (operate via some switch or sensor conected to PLC inputs) and test is it any outputs active. If no signal on output - you must test PLC power current - if it is zero - some fuse or power supply IC inside PLC is broken. PLC must be repaired.
  17. Hi, If V350 installed on OEM machine - in most case it is not possible to upload project from PLC. Possible solution: 1) Contact with machine manufaturer for project download to new PLC or get new PLC with preinstalled project. 2) Find new PLC with the same model # and install mainboard and I/O board from old PLC to new PLC. 3) Find V350 with working screen and use only screen as replacment. If only screen (not touch) is in bad condition - and machine program is operational - solution 2 and 3 - is reasonable. P/S. You do not specify V350 model #. You can use solutions 2 and 3 only at your own risk. You must understand that solution 1 is correct. However, if it is not possible to implement it, you must involve a specialist with appropriate qualifications to implement solution 2 or 3.
  18. Please try to set PLC to STOP mode via PLC INFO Mode screen. Please post PLC model #, used USB cable and (or if used ) USB to RS232 dongle type.
  19. Hi, you must enable modbus on this sensor before try to read it via PLC. Original software do not use Modbus for talk with sensor. This text from your manual. 1) Under RS-485 serial link mode, enable Modbus protocol: 5A 05 15 01 75 // Enable Modbus protocol 5A 04 11 6F // Save setting
  20. Please use Modbus master software for PC, USB to RS485 dongle and test sensor connection. In your R.H.R config i see strange start address 10. Maybe 0 (or 1) is correct for read sensor distance.
  21. Please post your sensor model # or pdf manual (modbus communication manual). Please post your com port configuration. Please note some sensor provide non standard modbus
  22. Hi, unitronics forum is not official support. Please send message to support@unitronics.com If it is new panel - it covered by the warranty. Please note V700 spec below: Power Supply Input voltage 12 or 24VDC Permissible range 10.2-28.8VDC Max. current consumption 630mA@12V 320mA@24V Exceeding the upper voltage limit can cause critical permanent damage. No fuse and user servisable parts inside. All actions related to examination and diagnosis should be performed only by qualified specialists.
  23. In my opinion, such a connection is possible. After considering the scheme of the input circuits of the VFD, we can come to the conclusion that the output current of the PNP is sufficient to turn on the IF inputs. However, you should understand that the VFD is a source of interference. Therefore, you must pay attention to grounding the VFD and minimizing the length of conductors that can cause interference. If the distance from the PLC to the VFD is significant, then you should use the relay circuit and isolate the PLC from interference that can come through the long cable to the VFD.
×
×
  • Create New...