Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by kratmel

  1. This is from new  Visilogic CANopren+ Servo help


    But it is about older version of Visilogic

    It is present in 9.8.65 help also.

    Maybe something no documented changes appear in new visilogic. But it is not present in help  :(


    Please try to check  code in

    SDW34 ----CANopen: Abort Code in SDO Abort. Check Help file for codes

    SDW36 ----CANopen: Bus OFF error. Check Help file for codes

    • Like 1
  2. 10 hours ago, phu.vu@ptt.vn said:

    .....replace the damaged HMI PLC.

    If screen damaged or touch sensor and program transfer is not possible (you do not have original project)  and you purchase the same model of V350  maybe one option is present.

    You can reinstall old IO and main board to new V350. 

    Usually I do not recommend doing it without experience, but as experienced engineers say - the eyes are afraid, but the hands can do it. 🛠️

    • Like 1
  3. Interesting remarks Aus ...

    I noticed two features:
    1- sometimes when you get to a new place you feel that you used to be here .. It's strange but in two or three days you don't confuse rooms, streets or buses.
    2- I remember the road only when I ride it myself. But when I'm sitting next to the driver - it's very difficult to get back to the right place.

    And now about the sun ...
    I once found a good example for students that illustrates the correct selection of the signal polling frequency for an ADC.

    If one man is shown the sun every hour, he will be convinced that it is moving from east to west.

    If another person is shown the sun every 23 hours, he will know for sure that the sun is moving from west to east.

    This is probably the difference not only in computers ADC but also in ordinary people.
    If you spent long hours in the sun - then you are different from those who come out of a closed room only for a moment ...

    But I am convinced that everyone has a compass and it works ... The only problem is that the magnetic pole migrates - so we can sometimes get lost.


  4. Hi, now you has two different sensor with npn output. You must setup NPN input type on SAMBA.

    1 -st sensor

    min rate 0.06L/min х 462 imp/L = 27imp/min,   min imp rate 0.45Hz

    max rate 16L/min х 462 imp/L = 7392imp/min,   max imp rate 123Hz


    Normal input speed (Hz)   typical 10ms response  = 1/ 0.01sec = 100Hz

    Then you must use HSC for this sensor.


    2 -nd sensor

    min rate 3L/min х 65 imp/L = 195 imp/min,   min imp rate 3.25Hz

    max rate 30L/min х 65 imp/L = 1950 imp/min,   max imp rate 32.5Hz


    Then you can use one of them - normal or  HSC input  for this sensor.


    Then you can use V570_Frequency-precise meter.vlp  code and HSC configuration in HW configuration of your project from help

    for  test flow meter and see what happend when you try to SET differnt PWM for motor.

    If you see Hz in range calculated abowe for both sensor - maybe your can use part of this code in your application. 

    • Like 1
  5. I wonder what the author aims to get?
    Need to ensure proportion in a continuous mixing process?
    Need to measure two doses of the component and stop?
    Is it possible that the ultimate goal is to get these two goals at the same time?
     What accuracy of maintaining proportions is required?
    Do both components fall into the same line or flow freely separately?


    This is a small part of the questions that the author should answer for himself.
    And I think then it will become clear what should be written in the PLC program.

    From the above data on flow meters, I did not see how many pulses they emit per unit.
    It is difficult for me to advise how to count impulses without knowing the purpose for which the author wants to do it.

  6. If there is a problem of this kind - of course the PLC can be blown up or even given to students to learn how to solder chips.
    You cannot use it for something important - such as an industrial machine.
    However, I would put it on the shelf as a donor with a touchscreen and a working LCD screen.
    And after a while you will be pleasantly surprised by the ability to quickly solve the problem of accidentally broken glass or broken lighting in the panel.

    I already have quite a lot of absolutely working PLCs with broken screens or a damaged case.

    Therefore, you need to destroy the PLC only when you know for sure that it is not Unitronics!  😜

  7. Hi, you must use power on operand for frequency MI1=PWM freq . Now it is 0 and output is ON for all the time.

    PWM freq for this module is different for different type of connection


    PNP = 1-500Hz

    NPN =1-32000Hz

    You must use proper value for IO module hardware PWM Frequency power up value preset.

    If you process is slow - you do not need to run harware PWM.

    You can run slow software PWM SCAN ladder FB and use simple output for control SSR for heater.

  8. 3 hours ago, LeonMötter said:

    ...problems have since been gone.

    It is good news.

    3 hours ago, LeonMötter said:

    The reason i started monitoring fan speeds was because that is a good indication of leak of a broken seal of the oven.

    One of possible solution is to use rotation monitoring sensor on page 92.


    But in critical safety application - safety RPM monitoring sensor, or sensor+relay must be used


    You can send signal from this sensor to the PLC for evaluation or directly to oven control  for alarm purpose.

  9. 54 minutes ago, Ausman said:

    I actually dislike "Tech for Tech's sake".

    I would like to mention another feature of fan performance monitoring.
    From time to time I service an ABB robot in which the computer is blown by two fans and the servos by four fans.
    All fans have a built-in pulse speed sensor.
    The fan stop error occurs only in one case - when the bearing is stuck in the fan and never when the electric motor in the fan has burned out.
    This is because a fan with a burned out motor rotates in the opposite direction, and good fans do not cool the system but spin a broken fan.
    This problem cannot be tracked when the robot control system is running. However, the system overheats.

    I don't know about the settings of the authors' internal fans. But perhaps the different performance from the fun sensor is the result of the interaction of their airflows.

    If you have two or more fans trying to work for one thread - it is possible that a faulty fan will spin and there will be no error.
    However, to control the direction requires two sensors per fan, which is expensive and therefore impractical.

    Therefore I will supplement Ausman ideas.

    It is the sensor which reacts to a plate which is lifted by an air stream from the fan.
    I met this method of fan performance control in welding equipment.
    It has one useful side effect - when the phases in the network are mixed up and the motor rotates in the wrong direction - there is an "error" that prevents the network from connecting incorrectly. ONE sensor - TWO ERROR is checked!

  10. Input Response Time  = 10ms typical, when used as normal digital inputs.

    In your setup

    1 turn Time1(sec) = 1/ Freq (Hz) = 1/40 = 0.025sec=25ms

    1 turn Time2(sec)=1/100(Hz)=0.01sec=10ms

    Your sensor "see" metal only for short  time during the 1 turn.

    If you increase the frequency, the input does not have time to "see" a number of pulses - the sample frequency drops.


    For test fan rotation you can use timer started by sysytem RUN bit.

    Sensor from your setup must reset timer by --|P|-- .

    If no timer reset  present for preset time - you set alarm by timer and clear RUN bit.

    No calculation needed.


    If you use HSI - you can use hardware calculated Frequency on the 100, 500, 1000 msec time base.

    It is symple to convert this to RPM and compare with needed min value.

    • Like 1
  11. Your control parameter is PWM Duty Cycle. 0=stop 1000=max.

    You can run PWM on different frequency and  sound was different. The best solution is use HIGH PWM rate (above 2000Hz), but you SSR do not offer

    above D1D40<=950Hz,    D1D12<=4000Hz.

    Fequency (Hz)= 1/PWM cycle time (sec).   PWM cycle time (sec) = 1/Frequency(Hz).    If Freq=0,  PWM cycle time = infinite...

    0 frequency = motor run on max voltage without PWM and  sound is quite good (you can connect motor direct to the power supply and result is the same).


    As for me you must test motor in load condition.


  12. One of the possible solution - use  MOXA NPort 5650-16 or NPort 5630-16 with 16 RS485 to Ethernet convertor.

    Or use 12 (or 12 minus unitream used port)   separated RS485 to Ethernet convertor. 

    But you must test RS485 to Ethernet convertor setup for sensor used by investor.

    Or use vision based solution from this


  13. 1 hour ago, Ausman said:

    I'd run the pumps at full speed and institute a variable valve flow system with a pressure bypass back to the respective holding tank. 

    Yes, it is maybe one of the best solution, Aus.


    By the way, Up2-oil pump i offered by manufacturer in closed loop preprogrammed pressure variant.


    in another jabsco pump we see 15 max minutes working time limitation due to overheat!


    We do not know that the developers of this design have an end goal.
    What precision should be obtained,what costs of equipment are acceptable and what working time is predetermined?

    However, I believe that the primary purpose of our communication is to help us understand what the Unitronics PLC
    programmer can and cannot do to meet the above objectives.

    SAMBA offer apropriate PWM condition for  MOSFET OUTPUT SSR. 

    But i do not know about future result of motor performance with this control  setup.

    Maybe this PWM must be used for proportional variable valve mentioned by Ausman.

    • Like 1
  14. Hi, in this document


    present information about for D1D40 and D1D12 module with  MOSFET OUTPUT. 

    Recomended max PWM Frequency D1D40<=950Hz,    D1D12<=4000Hz.

    But in this manual present - max frequency supported on Resistive loads only. Please try to use aprox 800Hz and 3000Hz

    Inductive loads must be diode suppresed (see in manual "Wiring manual"). Please ask your electronic workshop about this.

    You can replace motor with 12V automotive LAMP and test you application - You will see LAMP with  PWM 0--1000 changes.

    After that you can try to run motor.

    I found



    manual for motor - in this manuals do not present any restriction about PWM control. Standard RF EMI filter present in all low voltage DC motors.

    Please remember - you build open loop control system - speed of motor can be different in different load condition.

    Sometimes pump cannot start in LOW PWM Duty rate - and some controller do short "start with high PWM"  and RUN with low rate PWM.

    • Like 1
  • Create New...