Jump to content

kratmel

MVP 2023
  • Posts

    1,148
  • Joined

  • Last visited

  • Days Won

    52

Posts posted by kratmel

  1. I recently made a program for a plastic extruder. The user makes settings in 5 windows that will adjust to one recipe. Within each screen, I used the comparison method for a single part of the recipe (part of data table line of the recipe), not for the whole line. So there was a way that shows the user that the data on the screen is different from that specified in the recipe. I did this by hiding the SAVE button when the data is the same within the window. When at least one of the data is different, it changes color and the SAVE button appears, which disappears if the user has already saved the data in the recipe and they are the same as on the screen. There is a separate window for viewing the whole recipe - but as practice has shown - users like to display individual parameters within the window. The main task of employees is to use only permitted recipes. Therefore, after some time, managers have a wish that the SAVE key not only saves the changed data in the recipe, but also asks for a password before saving. So the manager sees the data changed by the operator in the process - if they are correct in his opinion, he saves them to the current or new recipe. As for scrolling the entire line of the recipe, this is possible only if all the data is visible on the screen at the same time. If there is more than one screen then scrolling recipes requires switching windows and leads to errors.

  2. You are not alone..... :)

    In engine START-STOP automatic  algorithm present battery voltage comparator, time from engine start and even driver seatbelt switch.

    In fact, I keep asking myself about the logic of everything that contains a program in the controller.

    However, I am surprised when instead of a simple and clear algorithm they use something strange and a very excessively advanced controller that does not cope with the task.

    In my opinion, the main thing for the driver is that the brake algorithm does not start to be updated remotely when the driver needs to brake ... ... :(

     It's good that they still haven't mechanically disconnected the driver's steering wheel from the wheels ... Although they are constantly trying to put this task on algorithms and electronics.

  3. Thanks to AlexUT for the screenshot hint.

    I want to say that the main task in the testing process is to link the tested object with the report.

    I solved this problem with the help of a sticker printed by a thermal printer.

    Because the serial number is not usually assigned until the device is packed, it is very difficult to distinguish between tested and untested units.

    Attaching a camera that will photograph a tag with a unique number on the product and take a screenshot is a good way.

    Screenshot of only a set of parameters, even with the test time - an unreliable solution.

    Therefore, the author of the topic must determine the sufficient reliability of the received report.

     

    I had a problem with wire testing when an employee didn't check every wire, but only checked one quality sample several times

    and printed many correct results - but not all wires were checked.

    This is the main problem to be solved by the developer of the testing program.

  4. I  build machine with direct print resullt on termal printer. PLC generate report via printer standard lenguage. Work fine.

    In your case separate csv to PDF PC based application needed.

    In some standard testing station (automotive wire production) only text string go to server and server generated result (pdf) printed on network printer near machine.

    All testing result is fixed on server with time stamp.

     

  5. 2 hours ago, Fernando Castro said:

    best way is: go online, export the operands, then download the project then import the operands again?

    Yes! It is my standard process of upgrade.

     

    2 hours ago, Fernando Castro said:

    One of my professors used to say that a good design needs fewer adjustments 

    I newer change current version of PLC program. First of all i  "Save as" current version to the new one #+1 and then make changes.

    After implement changes - type on paper what is changed and what new settings appear.

    Than last machine project go to user with #15 software realase.  One more increment needed after onsite testing.

    After all is OK - operand is exported to file and saved with last used project version #.

     

    2 hours ago, Fernando Castro said:

    Anyway, the data table seems to be a tempting option

    But data in table  is not owerwriten when new project update is downloaded.

    Separate data table synchro needed.

  6. 17 hours ago, Fernando Castro said:

    It's crazy how I can do multiple downloads on the same device and same computer after some tests and have some settings now to be different

    For a long time i try to solve this problem.

    Then my solution - use little different style of programming.

    Then all my current application has default settings option (copy from datatable to user settings).

    I use datatable - that it can be downloaded separately - used for change something default in process of project modification (save user settings to datatable as default option present on PLC  via password).

    If user need to change something  (not recipie) - it have printed table with default and user changed settings. Then if something goes wrong - user can load default option -and change only small amount of parameter to start machines.

    Maybe this idea need more time for programming but it help to restore and modify project whithout problems.

    17 hours ago, Fernando Castro said:

    I haven't found a proper way to do a "backup"  "update" and "restore" the old values for some settings, and also change others on each download. 

     

    User settings for working application (all operand) - can be exported to txt file (Visilogic menu option) and saved in current downloaded project directory  named as PLC serial# and time of modification.

    I can compare the same format files with different operand settings. And load specific operands backup to PLC.

     

     

    • Like 1
  7. In real field installation - RS232 with shielded cable can work at full speed for approx 20-50m.

    Best way - use isolated RS485 (port 2) card inside V130 and use isolated PC USB to RS485 converter.

    In this case on the lower speed (9600) and  even with unshielded cable - distance can be approx 1200m.

    At high speed - shielded twisted wire (only two twisted  conductor inside) cable recommended but distance approx 500m is possible or even more.

    Ideal solution - use optical RS232 extender but it is not cheap solution.

  8. As i see, after last forum changes i have sometimes the same

    11 minutes ago, Ausman said:

    Gilligan's Island

      on my PC.

    I logged on the forum but i can't  see myself on forum current user.

    Before update i can see what topic active registered members read. Now it is present only on next step "See full list" with all Guests.

    And this Rank roket... like Ilon Musk Starship on all members icons in topics....  

  9.  

    2 minutes ago, Ausman said:

    Welcome to intermittent issue problem solving!

    Great invitation Aus!

    By the way...

    Is it possible that some VFD is installed near the Unistream installation?

    I found some problem with communication and panel start if some  motor with VFD is operated in the same power net.

    In my case GND wire of 24V power supply (-) connecting to machine GROUND solve problem.

  10. I pulled a V700 out of my cave and tried to experiment with this strange case of linearization block behavior.

    My goal was to determine if the problem was dynamic or static. That is, whether the sequence of actions affects the result. The answer is no.

    The result of research for the data submitted by the author:

    the first transition to the wrong result 1402485 to 1402484

    then return to the correct one 1402318 to 1402317

    again going abroad 1402152 to 1402151

    The result is repeated in both directions of calculation.

    The problem changes if you change the number 6000 to a smaller side. But as I understand it does not disappear but moves to another range of values.

    Replacing 600 and 6000 gives the same result only on the contrary - we fall into the negative values of the result. So my conclusion is: the problem is the result of a combination of values.

    In the case of microcontrollers with a limited calculation data bus and a problem with negative values, it is this combination of data that goes beyond the calculations.

    Therefore, for practice we have the solutions defined above, and from the point of view of the linearization block, working with large values gives the probability of exceeding the capabilities of our PLC.

    Working with the formula, we can predict overflow and bypass it, taking into account the order of calculations.

    It is impossible to do this for a closed standard block.

    Therefore, if you saw a problem in the operation of the standard linearization and solved the problem via formula - PLC generally corresponds to your task.

     

    • Like 1
  11. I'll try to fantasize a little on this topic. You have an AC fan. There are two points in such devices.

    The first - the fan is guaranteed to start only after reaching a certain supply voltage.

    Second - by slowing down the fan you can go to a voltage lower than the starting voltage and the fan will still rotate.

    Therefore, I recommend determining the PWM at which the fan will start if you gradually add voltage. Conversely, determine the PWM when it stops when the voltage drops. I think that's all you need to know.

    By setting the adjustment within (minimum starting voltage + some margin) up to 100% PWM - you will have everything your fan can.

    However, in general, it is said that it is illogical to apply a voltage below 40% of the nominal voltage to the fan - because the fan no longer creates an air flow.

  12. If you use Jazz PRG adapter - please check all pins inside PLC connector. Sometimes one of them bended.

    Best way compare pins in working and not working Jazz.  Pleaese note - power pins is longer than IO pins inside PLC.

    Sometimes someone insert something inside PRG slot.... but not PRG adapter....

  13. Hi,

    maybe i know what is wrong.

    Your application works in real time. Then sometimes linearization maybe do not end at the time when ML must be reloaded.

    In ladder code you send timer to ML and after that do linearization.

    Please try to change ladder net - first linearization - then copy timer to ML.

     

    P.S.   This problem appear only in this two times at every working cycle or bug happend in different time point at every new cycle?

  14. We have also made some progress in this direction -  made new legs for the controller that resemble goose paws (3D printer used). Unfortunately, I do not have a photo of the present invention now, but they are distinguished only by the presence of one clamp that easily secures the leg in the right place.

    5 hours ago, Joe Tauser said:

    If you want me to make you one I'll assign a JTA part number to it - I'm thinking $9.99 ea.  Cigar ashes included at no extra charge.  6-8 week delivery

    Joe's invention needs to be patented! 🤣

  15. Hi,

    i try to post some tips about standard  VFD, Encoder and PLC:

    1) It is not possible to build closed loop control (servo control) on standard VFD+encoder + standard PLC;

    2) Standard PLC with HSC connected to encoder can offer positioning machine driven via VFD.

    3) For positioning two speed - FAST and SLOW setpoint  must be proggrammed  on VFD (or provided by PLC). Then user must program ladder net with FAST to SLOW changeover based on distance to setpoint.

    4) If positioning used for CUT to LENGTH application - simple encoder register reset is used for -0- setting.

    5) If you need to set position of standard linear axis - home position evaluation is the main problem.

    6) It is hard to build (or not possible )positioning based on Modbus RTU command (to slow for send stop command). VFD logic input and analog setpoint input must be used.

     

    Then please post your machine setup and application type.

    Some type of VFD+encoder+PLC based application posted in forum topics.

    You must define what you need to do with this VFD+Encoder+PLC.

     

  16. In this type or application i use PC with terminal program for send message to non standard device and recieve answer.

    This terminal program can be used for test - what PLC is send and device answer in result.

     

    Main idea - save answer as string and operate with data convertion "offline".

    Joe Touser post many tips about non standard Protocol  on forum. Please use Search.....

     

×
×
  • Create New...