Jump to content

kratmel

MVP 2023
  • Posts

    1,150
  • Joined

  • Last visited

  • Days Won

    52

Posts posted by kratmel

  1. It is strange.

    For me, in this case, it is important to determine whether it is a hardware or software problem.

    According to you - you saw in the buffer RX from PC and panel to PC TX.

    Question: Did the answer reach from the panel to the computer? I think not, so the TX panel line is either dirty or damaged.

    So the test is to measure the voltage of the logic "1" at the TX output of the RS232  PLC port.

    There should be a level close to -10V relative to GND. If it is not there - then ADM202EA - failed.

     

     

  2. I do not know how Unilogic do with point 2 and 3  in 1st line (or 2nd). 

    Can you try to:

    - place line 3 before 1 and 2

    - play with 1-2  or 2-1 variant chagover

    - try to count Idebug for 1st an 2nd machine separately

    I think you must do something like State machine for send 1st and 2nd step by step.

    Signal from 1st. or  2nd -- activate  State machine.

    Sate machine try send only first (if not active skip 1st step). After 1st send timer is OFF (or skip step) - activate 2nd send (if active).

    if timer for second one is off (or skip step) - then RESET State machine.

  3. 2 hours ago, viscoelastic said:

    Can I use an aftermarket remote I/O such as the stride analog module?

    Please point to pdf for this module ot type name plate model #.

    Remote I/O from different manufacturer has different configuration methods (sometimes non standard or ( and) configured with  expensive software).

    Othewise if you find than this module is standard Modbus TCP - it is only Visilogic com configuration and correct read/write command needed.

    Best way - use some software on PC for emulate master PLC and play with read/write option and registers.

    Please try hercules  zip from

         

  4. I do not know why this happend, but i think - this module used only two hardware high speed channel - pwm, pto output or  counter, encoder input can be selected.

    Then only one of function  can be used for one channel. You test it on hardware. Two channel=two PWM.

    Your topic about Stepper - Encoder input has the same issue.

     

     

  5. I always try to use time-tested solutions.

    In your case, the use of PLC is a bit illogical.

    A conventional diaphragm mechanical pressure switch with adjustable hysteresis and pressure gauge is cheap and reliable.

    The sensor installed on water pipe and remote PLC connected to sensor can show the pressure well and even transmit its value to the network.

    The only advantage of the PLC is the ability to remotely control and change the operating pressure limits.

  6. Some tips...

    1.Please place ladder net to separate rung. (Do not place many ladder net to one place -- please see start of your program).

    2. You did not post you pump setup.  If your pump do not have some water pump pressure tank - it is problem with pump start behavior.

    3. Please see this topic for select idea of deadband control.

     

    4. Your idea with timer for start condition maybe ok. But what happend when pump do not off for 2s at pressure over 6Bar?

  7. Mogę pomóc znaleźć błędy w twoim programie.

    Ale musisz uważnie przeczytać pomoc do Visilogic i spróbować zbudować swój własny program.

    Przykłady różnych programów znajdują się w pomocy Visilogic i załącznikach do tematów z forum.

    Spróbuj zbudować schemat systemu sterowania i zaprogramuj projekt Visilogica. Następnie opublikuj schemat i projekt w tym temacie.

    Pozdrawiam

     

    I can help to find bugs in your program.
    But you must read carefully help to Visilogic and try to build your own program. Samples of different programs is present in visilogic help and forum topics attachments.
    Please try to build your control system diagram and program you project.
    Then post diagram and project  in this topic.

  8. wskazówki.... :)

     

    Steps for setup sensor:

    1. Check hardware configuration using this document

    https://www.unitronicsplc.com/wp-content/uploads/2015/12/Vxxx_J_T2_INSTAL_GUIDE_01-15.pdf

    on page 6 (JP3=B, JP5=B for analog input AN0) or (JP4=B, JP6=B for analog input AN1).

    2. Then connect sensor to selected analog input according page 7.

    3. Setup connection to powered PLC via Visilogic and Select 4..20mA analog input  (AN0 or AN1) in Hardware configuration. And select MI for Analog input variable (MI0- for example).

    4. Place in ladder diagram linearisation block Math/Linearization/Linearisation and type

    X1=204

    Y1=0

    X2=1023

    Y2=100

    X=MI0

    Y=MI1

    5. Goto HMI display section of project and place Numeric/Number on screen. In configuration select MI1 and use 2 before  and 1number after dot.

    6. You can type Bar after number.

    7. Load project to PLC via Communication/Download/Stop -Download - Reset and do RUN.

    See what happend on screen....   

     

  9. Thank you for researching Aus.

    For some reason it happens that the solution of the technical problem in the shortest possible time requires a non-standard approach.

    I can order another controller and replace the TR20, but I probably won't have to do that.

    Everything that is installed temporarily will work forever :)

    I was just upset that I couldn't find an explanation for the 705"The defined hardware configuration does not support immediate output error"

    and I couldn't find the document where solid state output possible working mode is  explained.

    1 hour ago, Ausman said:

    over 2.3 billion switch actions and is still going strong.

    Regarding the durability of the relay - I have two identical V130-33-TR20 controllers that have different relays used at the outputs.

    Accordingly, I am sure about OMRON relay in one of them, but for noname HF33 relays in another one, i found some cases of equipment failures.

    Therefore, a solid state relay fully meets the needs of the customer and machine is already working and performing tasks.

  10. 1 hour ago, Ausman said:

    what happens if you use the HSO PWM or Step Control further along the tab row, and control them slightly differently? 

    Tested, but i need Immediate output and if i use this ladder block for O6 or O7  error 705 happend.

    I find solution for this application - desolder standard relay and solder solid state relay in V130 PLC.

    But in future for this type application (approx 20000 output on/of in time of 8 hour) standard solid state (npn or pnp) needed with Immediate output future.

     

  11. One of my customer need to replace old clutch controller.

    I try to use V130-33-TR20.

    START and BRAKE clutch + motor hardware with encoder (300 ppr) and home sensor present in my lab.

    Then i try to program ladder for stop rotating shaft in zero position. O0 (RUN) relay output - for START, O2(STOP) relay output - for BRAKE. 

    Result:

    1. When only START clutch (RUN output) is used - overshoot is 110-120 pulse (1200 pulse per one shaft rotation present).

    2. When use  START clutch and BRAKE clutch (RUN and STOP output) - overshoot is 17-20 pulse.

    3. When use START clutch and BRAKE clutch,  2.5ms interrupt and immediate input and output -overshoot is 10-12 pulse.

    4. When use START clutch and BRAKE clutch,  1.25ms interrupt and immediate input and output -overshoot is 7-10 pulse.

    Relay outputs for clutch control do not have sufficient durability.

    Then i use two solid state relay and try to use npn outputs O6 and O7 for control START and BRAKE.

    V130_1.JPG.3492cbb57efffcd912823244abee088f.JPG

    And result

    V130_2.JPG.4de3aaddcd9b46799a8db96cdc61482b.JPG

    So the question is: how to recognize which of the PLC transistor outputs support the immediate output?

    As i see HS output in V130-33-TR20 is not immediate output, however, is this the rule for all Vision PLCs integrated output and SNAP-IN output?

    Yes i can write program for different PLC and compile for test ... but maybe some document present with transistor output possible modes.

  12. One of my favorite tasks during lockdown ...

    Explain remotely how to connect the following correctly:

    tr20_foto.thumb.JPG.4e79c7f22cf5dc8e8f0a1f744a2d8fcb.JPG

    All connectors count from 1 to 15. And inputs I0 to I11 (we have 12). But the count order is opposite than on the connector.

    Outputs O0 to O7 (we have 8), but 6 of them have two contacts ... and the last two O6 and O7 - one for each. And do not forget 0V for output on connector pin 15.

    It's a bit of a puzzle and check remotely are the contacts properly connected  - headache for me.

    I don't even mention the numbering of conductors that need to be connected.

     

  13.  

    42 minutes ago, Ausman said:

    Here's a possible hacking project for @kratmel  !!

    If Swervomotor explane used Unistream model and  what it need on second screen i can run solution on my lab.

    Two 7' Unistream modular present and i can run VNC on one of screen.

    Good idea is to ask support about possible setup.

     

    43 minutes ago, Ausman said:

    Kratmel....that might make you some $s!!

    I investigate Unistream hardware  but maybe it is  not possible to use internal LVDS (display interface) for run on two screen.

     

    P.S.

    One of this 7' Unistream with old firmware i accidentally sw. to VNC screen mode and do not find the way how to go back.

    Only support online connection help to correct this issue.

    Then if you need to run Unistream modular as VNC panel  - please check firmware version before and install current version if it possible.

×
×
  • Create New...