Jump to content

kratmel

MVP 2023
  • Posts

    1,144
  • Joined

  • Last visited

  • Days Won

    52

Posts posted by kratmel

  1. 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).

    C200.jpg.ed26dfae224b531f0a493f5c6c989cad.jpg

    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.

  2. 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.

  3. 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.

  4. 6 hours ago, roghenr said:

    I need to program in modbus, what steps are necessary?
    Will this happen again since I need to program and test with a yaskawa inverter at the same time with the same port?

    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.

     

  5. 44 minutes ago, Action22 said:

    Is it possible to have a PID only output at 0% or 100% and nothing in between? 

    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)) .

  6. 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) .

    • Like 1
  7. 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.

  8. 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).

  9. 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).

    rs4x.thumb.png.c9b08b35a59b513dc0ff06f09beca384.png

    You can also find 6pin RJ 11 (6P6C) connector for modbus DIY cable.

    03-b-1000x1000.thumb.jpg.37b3ae917ee86003b2f4cae9a840007e.jpg

     

  10. 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.

     

  11. 40 minutes ago, Flex727 said:

    Perhaps the Help file needs updating?

    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

     

  12. 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.

×
×
  • Create New...