Jump to content

kratmel

MVP 2023
  • Posts

    1,140
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by kratmel

  1. Please send this quastion to support@unitronics .com. Unitronics Support Team in online mode can check what is wrong.
  2. Your modbus slave code is placed in one rung. SB2 R and S coil is not correct. Please use Visilogic Example file V570_TCP_slave.vlp from Communication/Ethernet folder - it is only two rung needed for run TCP Slave.
  3. Please post meter model name plate or pdf manual. Some models have non modbus protocol on board.
  4. Hi, it looks like you setup two MASTER in modbus network. Your software, as i see offer only master function - read&write. If you configure V700 as SLAVE via Visilogic ladder - you can read/write registers in V700 (You can find Modbus register address in Help). Try to find software Modbus Slave emulator for use V700 as master.
  5. Such a frequency converter does not have a built-in communication port (To control via a digital communication network, the port must be purchased separately). Therefore, the PLC project requires that you connect the PLC to the inverter with wires according to the diagram (minimum wire needed pointed on pic). That is, you need to connect a common wire 0V (51 or 1). Connect the PLC outputs to the discrete inverter inputs (11,12). And also connect the analog output of the PLC to the analog input of the inverter (2). If you already have a scheme - describe it. If not, draw it as you need and post it here on the forum. We will help you with the next steps in programming. Unfortunately, there is no point in creating a project for you without this homework.
  6. I looked at your question and said to myself: I have already seen something similar on the forum! A little search ... Regarding the problem - you must understand that other times in the report are possible under the following conditions: 1) the event really happens at this "wrong" time; 2) the program code has the ability to read time from an inappropriate source - ie not from the RTC, but from another place; 3) time is calculated according to timer readings and RTC is not taken into account; 4) something bad is happening in the process of communication between the Panel and the CPU (where exactly the RTC is located). By the way, you did not specify the type of PLC you use.
  7. In this case, I think the chances of saving the PLC and the programs in it are very small. I repaired such PLCs, but all the problems they had were relay malfunctions and broken buttons on the keyboard. Two PLCs that could not be repaired have a damaged processor which in such a PLC is not isolated from the inputs. Users accidentally applied high voltage to the PLC input and unfortunately it could not withstand such abuse. The CPU power pins in the destroyed in this way PLCs are shorted, and the internal power supply cannot run on a shorted CPU. Therefore, look for an electronics specialist to measure the supply voltage (3.3V) of the STM processor and if it is present - there is a chance to clone the program.
  8. Please read this topic, I recommended to put an additional card for the ability to configure modbus and watching the PLC online through the Visilogic. You can also use additional Ethernet card for Visilogic connection.
  9. If you do not need PID control, Deadband Example.vlp sample code can be used for deadband control.
  10. It is SLOW PWM output for PID. Please use in FB's menu section PWM--> SCAN. You can find in HELP how to operate PWM (0-1000 PID output=0-1000 PWM). Then your 0-100% PID output can operate ON-OFF controlled heater. Duty Cycle for SLOW PWM must be set approx 2-40s ( for example Duty Cycle in steps of 0.25ms (400=1sec)) .
  11. Maybe best idea use Jazz Program Cloner if you do not have PRG module and U90 software https://www.i4automation.co.uk/unitronicspdf/MJ20-MEM1_SPEC_04-06.pdf please contact with support@unitronics.com for info about cloning of your PLC.
  12. Unfortunately, I do not have your version of the V350-35-RA22 on the table. I have two PLCs with indexes B1 and TR20. I disassembled them and found that both have exactly the same adapter board marked V350-L3 to which the display, touchscreen and keyboard are connected. I specifically rearranged the front panel with this board between the two PLCs. It turned out that both work fine and the touch screen does its job quite accurately, even without the calibration. Therefore, I think that TA24 and PA22 also have interchangeable front panels with the same adapter board marked V350-L3 . You can find this adapter board in your PLC. And strangely enough, I found a sensor for the V350-35-RA22 on eBay. https://www.ebay.com/itm/234546481390?hash=item369c0f48ee:g:ipoAAOSwaDtienKu Surprisingly, the seller of this touch screen offers the same for all other PLCs of the V350 series (foto is the same) However at such high price I think that to buy the PLC offered by you it is safer and result of repair will be guaranteed (only front panel with adapter board must to be replaced) .
  13. My experience of trying to replace the touch sensor in Vision Unitronics PLC has always failed. Now I have V350, V570, Samba 7' and V1040 on the shelves with faulty broken sensors. There are several corresponding touch sensors of similar size that could not be forced to work. It is impossible to find a device similar in marking, I think this is an OEM product only for PLC Unitronics. The only time I replaced the touch sensor was a new front PLC panel ordered from the manufacturer for Unistream PLC. I wrote on the forum about it. Therefore, you can ask your Unitronics PLC supplier if it is possible to buy a new PLC front panel, cross your fingers and wait for a positive response. The worst option is to buy a new PLC to remove the front panel with the sensor. Probably the V350 PLC without inputs and outputs (B1) is cheaper and can serve as a donor. Put here a photo of the replacement touch panel marking (numbers on the cable). I will try to compare its characteristics with the factory one that I have in the working V350 PLC.
  14. Please post LoRa devices model #. Some of them cannot be used with PLC.
  15. I supplemented my previous post. AlexUT is right that the same port cannot be used for two tasks at the same time. It should be noted that, as Ausman wrote, physically simultaneous wiring is possible. However, the ports must actually work in turn - or connection via RS232 or RS485. I specifically suggested the author of the topic put an additional port. This helps to avoid problems during debugging - whoever tries to do it with one port knows how inconvenient it is. Also for stable operation of modbus it is desirable to have galvanic isolation (V100-17-RS4x module with isolation, V130 port1 - not isolated).
  16. I think Ausman tip good idea. It is possible that connection parameter losted if battery low. PLC global init needed after battery replace. You can also try to set comm settings to default. Your problem looks like this
  17. Best idea - use V100-17-RS4x isolated communication module for RS-485 connection. 6pin RJ 11 connector with two wire included. You can use modbus and Visilogic connection at the same time for debug (if V100-17-RS4x installed Port 1 -Visilogic connection, Port 2=Modbus communication). You can also find 6pin RJ 11 (6P6C) connector for modbus DIY cable.
  18. Hi, you did a good homework! To further simplify (or possibly complicate) it is to create two (or more) simultaneously operating State machines. The first for movement - the other for loading and unloading. In the second version of your program, everything became much clearer, but the loading and unloading processes should be allocated to a separate State machine. You can run it separately for test, then implement it to main program.
  19. Hi, maybe someone set this in project Properties on the old PC
  20. Probably not. There is no temperature reading in PLC V130 online SI14=0. Although the temperature sensor is exactly on the board, but it is probably used for another purpose - to compensate for the temperature of the TC cold junction during measurement. Experimental result update: There is no PLC temperature SI14 readings in V130. But 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
  21. After reviewing your projects, I came to the conclusion that you were trying to use a State machine. However, I can say that you have a little bit of your own perception of the idea that is embedded in the State machine. In each state, you try to take action immediately, that is, send a control signal. However, the main thing in the State machine is: 1) create a subroutine INPUTS in which to assign the value of physical inputs to logical variables MB or XB. This will help you simulate the operation of the State machine. In the online simulation mode, it is not possible to change the state of the physical input, an intermediate variable is required. 2) capture states, switch them by input variables (timers, outputs, ect) and generate appropriate bit variables indicating that the state is active - that is, each such bit is a unique coil - ( ) MB(N). 3) in a separate place (subrotine OUTPUT) determine which of the above bits activate the movement forward or backward of the motor, which bits of the state include loading or unloading, ect. That is, in this version of the program you must have N steps of the State machine, that activate N unique coils -( ) that control movement or other actions. That is, for example, variables that are activated in steps 4,6,9 - control the movement forward output. Accordingly, others for example 3,5,11 - control the movement backwards output. Such a program is well readable and you can immediately see that at some step something is wrong. And most importantly, in this case you can make absolutely convenient and comfortable manual control of any output signal.
  22. If TC input present in configuration - we can find temperature sensor inside V130 (and other plc type or I/O). Good quastion, i must to do some home work with PLC on my cave Some experiments i try to do in 2019... but only V1040 present on table at that time
  23. I will add some thoughts on your question. You did not specify the version of the Visilogic you are using. If this is the latest version then I recommend repeating your experiments in version 9.8.65 for the test. Another thing to keep in mind is the low speed of data exchange between the Visilogic program and the PLC. It is possible that in the process of movement PLC puts successive steps of movement and performs them. That is, state 5 of motion occurs but you cannot see it because the PLC is constantly generating the next point and moving to it. Try to add to the program immediately after the movement command the trigger that is set forever if state = 5 and you can see if it occurs or not. I also assume we have a bug in the Visilogic program and you found it. And then this question needs to be sent to support@unitronics.com
  24. It looks like V200-18-E3(or4)XB. Two DC/DC converter on the upper side of V200. It is normal temperature for this type of converter. Inside V700 in normal condition approx 7W of heat power is generated. 1.5A ---- 24/5V ---- compact DC/DC installed near power supply inlet. From known manual's if IP67 box is used - internal volume must be 9x bigger then volume of installated equipment inside, or input-output fans must be installed. High temperature is "standard" in modern equipment (This is not good, but there is no other way) . Main problem is not temperature value (no electrolitic capacitors inside V700), but temperature cycling that is destroyed lead free BGA chip installation.
×
×
  • Create New...