Jump to content

kratmel

MVP 2023
  • Posts

    1,140
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by kratmel

  1. Your interface looks pretty nice. I claim that the minimum allowable level (ie level 0, respectively) is when the water goes down to the engine. It is clear that the pump motor without water fails due to overheating. Your desire to make the water level from bottom to top is probably illogical. Because the pump must be switched off before the engine is dry. I highlighted this level with a red line.
  2. Hi, i do not know V130 model present on foto. Inside the V130-33-TA24 Unitronics PLC contains an MCP9801 chip for thermal compensation of the thermocouple cold junction. It is located directly next to the TC connector on the PLC I / O board - on the back of the board. Therefore, I think that all those PLCs that support thermocouples have similar compensation. On the pages 3-4 https://www.unitronicsplc.com/wp-content/uploads/2016/08/Vxxx_J_TA24_SPEC_02_16.pdf you can see TC input parameters and info about automatic cold junction compensation.
  3. I use the following technique for this case. In my case, the level was in the center - it is rectangular. Pictures of different colors were precisely divided into four rectangular parts and framed the level. Assigning the same bit of index to the four stacked pictures, he changed the color of the pictures. If there are few pumps (two or three), it is more convenient to simply draw separate windows (background) with different color combinations of the pumps and copy the same active elements to each of the Displays (this is done quickly and does not require much effort). If the condition of the pumps changes, switch the Displays. The rest of the elements work in normal mode (because they are repeated in different Displays, and only one is active). P.S. Please post PLC model used for application.
  4. Creating an interface with normal graphics requires considerable effort. However, usually the main mistake when working on the interface in Visilogic is to try to make the interface composed of existing graphics and active components. My advice - to create the necessary graphics without active components in Visilogic - here overlapping of elements and some other simplifications is allowed. Export the finished image to a BMP file (this is the standard Visilogic tool). Next, crop the black frame and paste the resulting image as the background of your interface. Then you are free to place the active components on top of the background and set them the necessary parameters. Some tips can be read here. It is also useful to watch a video from YouTube on creating Visilogic interfaces. P.S. You can also create an image in any graphic editor with the size of the screen in your PLC. It's probably faster and more convenient. However, you must consider the minimum dimensions for the active components that you want to place on the screen.
  5. PTO is possible for this I/O combination V350/ V130: Although you can implement stepper control in this way, V350/130 models such as the V130/V350-TR34, TRA22, TR20, TR6 and EXF-RC15 offer high-speed outputs that support PTO Functions T38 is not present in PTO Visilogic Help and no Samba present.
  6. I think - it is not possible to run PTO on this Samba PLC. You must ask support@unitronics.com for information. @Flex727 If this I/O option not present in 9.8.95 and file SM70-J-T38.ini not present in folder .......Unitronics VisiLogic_C\Data\HW Cfg in this new Visilogic version - SM70-J-T38 - OEM version of Samba PLC. Needed Visilogic config files for this OEM provided by support. I ask for SM43-J-TRA22-TV OEM PLC config files - support provided needed config and send instruction how to activate this PLC in Visilogic I/O.
  7. The best way to solve your problem is to try to transfer the required packets first using the program on your PC. Only after making sure that you are transmitting the correct data can you try to transmit them using the PLC Protocol function. Here are topics with links to programs and some tips for using Protocol FB
  8. Hi, It is clear that SСADA is a master of the network. Then tell us which Unitronics PLC you want to connect and which communication channel. Possible variants of physical communication channels RS232, RS485, Ethernet, CAN, GPS. Accordingly, the communication protocol is possible MODBUS, MODBUS TCP. Maybe I missed something else. Clarify your task and I think the forum participants will be able to help.
  9. I was trying to understand your task. So I will explain how I understand it. You have 4 independent weighing dosing machines. Each of them has two input signals: - Weight is almost reached (rough dosing is completed); - The weight has already been reached. Two output signals present: The first - PWM output that changes the rate of vibration at three levels: -no vibration - dosing stopped. -vibration is strong for rough dosing. - vibration is moderate for accurate dosing. The second discrete output is to open or close the unloading gate. I realized that you need to make these four dosing machines work independently of each other. To solve this problem of dosing, you need to use the State Machine that has been described on the forum by Joe Tauser. Look for the example provided by Joe here on the forum. The main advantage of the State Machine is that you can run 4 State Machines at the same time and they will work independently of each other. I recommend you build one State Machine for one channel. Then it can be easily copied only by changing the necessary variables. P.S. I find Joe Tauser sample code for State Machine at my PC - plese see att. state machine batching example.vlp
  10. Some quastions: 1) PC to RS485 converter present on table? 2) Modbus evaluation software on PC is installed? I do not know is it Modbus option present in your VFD. You say But if this option is enabled - NORD must declare from what SW version for 530E this option is enabled. I do not find any document about it.... p.s. I can run Anydesk... post me about it in PM.
  11. Hi, USS is not Modbus.... But as i see on p.61 if modbus is present - VFD select needed protocol in auto mode (it is strange USS must be selected). I think you must try to do RS485 modbus connection via PC and standard modbus software (like Qmodbus or another free modbus soft). Then you can see is it communication work and how VFD respond to your command. Then you can try to do all possible mode. The frequency inverter can process 2 versions of the Modbus protocol. 1. Communication via Bus IOs: If the frequency inverter is to be accessed via Bus IO Bits, the functions must be assigned in parameters (P480) and (P481). The source for the control word and the setpoints (P509/P510) must be set to "Control terminals". (For details: see "Coil list") 2. Process data communication: If process data is to be exchanged or parameters changed, the source for the control word and the setpoints (P509/P510) must be set to "USS". The definition of the parameters is made in the parameters (P543) to (P548). (For details: see "Process data")
  12. Hi, it's great that you can run the sensor. You have come a long way in launching this sensor. However, if possible - put here a photo of the configuration that allowed you to start the sensor. I can't ask you to send your project - it's your intellectual property. However, the part of it that configures and reads data with small comments would be very useful for forum visitors.
  13. My experiments and research tasks were complemented by the desire to determine the difference in the project (project file size, performance, PLC download time, graphics speed) saved before and after the "Fix Project" function. Therefore, I would probably save the my work project before using this function as a separate non-optimized project. As Cara remarked And here the question arises whether or not Visilogic does this operation automatically (without notification) when opening an "old" non-optimized (not Fixed) project?
  14. Compiler errors https://www.unitronicsplc.com/Download/SoftwareHelp/VisiLogic_Knowledgebase/Troubleshooting/Compiler_Messages_and_Errors.htm 34 Vector length value must be grater than 1. P.S. Do you try to compile some V570 example project? If error appear on both (example and your proect) - maybe Visilogic installation corrupted.
  15. I started this topic with this sentence. Even putting a power switch on the machine was easier than my previous code sequences
  16. No it is impossible. PLC work fine for all testing time. I tried to change state MB 0 to "1" online - in result PLC go to normal second restart and Toggle MB0 to "0". Therefore, I consider this task solved. P.S. In my other versions with much more code it was the opposite situation - the first cold start+hot start -everything worked - and after power on-off there was a continuous cycle of reboots.
  17. Hi, i do not find full manual, but as i know - you must use correct wiring (four wire half duplex used) for MODBUS communication and set correct communication channel in panel setup menu. I find modbus manual for new type of panels https://mayekawa.com/americas/mna/downloads/pdf/CP Integration/MYPRO Touchplus/DEVICELISTMYPROTOUCHAREA.pdf https://mayekawa.com/americas/mna/downloads/pdf/CP Integration/MYPRO Touch/MYPROTOUCHDeviceListMYPROTouchAreaManual.pdf but you must use appropriate for your panel.
  18. Thanks for the tips. I tried different solutions and eventually found the easiest in my opinion. The only problem that arose was the pause (best tested = 3s) I had to add to ensure that the analog outputs could be restarted. During this pause, I load on the screen text "Program is loading...". P.S. I studied the hardware of a faulty PLC. I found that during the cold start there is no CLK signal coming directly from the PLC processor to the DAC. Only a reboot with some delay causes the desired signal to appear. That is, the PLC must be replaced with a new one.
  19. Translate: The 30 days of the trial version have passed and now I can't register it. Gives an internet connection error or proxy failure. I send a screenshot with the error. Thanks. Please send this quastion to support@unitronics.com
  20. Thanks for manual. I find this info on arduino forums, maybe you can run your sensor by use some data from this two topic. https://forum.arduino.cc/t/measurement-of-nox-can-bus/352960/2 https://forum.arduino.cc/t/controlling-automotive-nox-sensor-with-can-bus/540699 Please scroll programs. You can find J1939 message for start sensor.
  21. I pointed out that after turning on the power PLC does not activate the analog outputs. Second restarting the PLC by turning the power off and on is also a cold start, but it helps to get the PLC back to work. The time works here - if i turn it off and wait 2-5 minutes - the analog output will not start again. Actually, I tried to restart the PLC through the info mode and through Visilogic - it help to activate analog outputs. Therefore, the main question is how to evaluate first cold start and second hot restart. That is, to find a sign by which to limit the number of hot restarts after turning on the power to one.
  22. Hi, In one of metal bending machine V130-33-TA24 PLC used for control backgauge positioning. Machine work without problem 2020-2022. One of two present analog output used for 0-10V vfd speed control. Now I found problem with both analog output after machine cold start. No output = 0V present when machine started and operator try to do homing proces (no speed setpoint present on VFD analog input). All digital input, output and encoder HSI work without problem. After reload firmware, reset&init, blank project download and reload machine aplication project - no succes. Visilogic V9.8.65 and firmware used for progaming application in 2020. Power supply is changed to new one. I was able to investigate that a hot restart of the PLC (power off and on or reset via Visilogic) returns the operation to normal and the machine can work. If PLC (or machine) is disabled for 5min analog output not start, restart needed. I turned to support and received an answer about a hardware problem in the PLC. Unfortunately, in the current situation in Ukraine, I can not replace the PLC with a new one. I had to make a operator power switch for the PLC so that the machine could work. However, I think this is dangerous because the operator may accidentally turn off the PLC while the machine is running. Now I have an idea to implement a software restart of the PLC using SB300. However, after experimenting with different options for software restarts, I usually get either a generator that constantly restarts the PLC or a restart does not occur. I ask users of the forum for tips on how to restart the PLC after turning on the power, but only once without the use of external circuits. I feel that there is a simple solution, but have not yet found it
  23. Hi, Two tips for you about NOx not start. 1. Average current on NOx =1.5A. Peak current can be above 10A (typical 6-10A) for internal PWM in cold condition. Than you must use above 10A PS or battery for sensor power. 2. In ManualNox on the last page present Start Code. Maybe it must be programmed in Request tab of J1939 FB. If it possible, please post all pages of sensor manual.
×
×
  • Create New...