Jump to content

kratmel

MVP 2023
  • Posts

    1,139
  • Joined

  • Last visited

  • Days Won

    50

Posts posted by kratmel

  1. I will try to simplify your task.

    Imagine that  the table row number zero does not exist (you do not use it) .

    Use only the required numbered lines...

    Your main task is to limit the range of the index change from 1 to the desired maximum. You can easily do this for input from the virtual keyboard - there is  a definition of the allowed min and maximum for keyboard input. 

    For buttons, just put a comparison block in the laddet net that will block decrements less than 1 and increments above the maximum.

  2. https://www.roboteq.com/docman-list/motor-controllers-documents-and-files/documentation/user-manual/1047-roboteq-controllers-user-manual-v2-1a/file

    p.183

    For applications demanding the highest operating safety, the controller should be config-
    ured to automatically switch to another command mode or to stop the motor (but other-
    wise remain fully active) if it fails to receive a valid command on its RS232, RS485, TCP,
    USB or CAN ports, or from a MicroBasic Script for more than a predefined period.
    By default, the watchdog is enabled with a timeout period of 1 second. Timeout period
    can be changed or the watchdog can be disabled by the user. When the watchdog is en-
    abled and timeout expires, then the controller will go to a safety stop (force the motor to
    stop based on Fault Deceleration configuration command). After that the controller will
    accept commands from the next source in the priority list. See “Command Priorities” on
    page 181

    Please try to disable watchdog for test.

    Then try to activate Heartbeat with enabled Watchdog.

    USC1.jpg.9d4d3cff0667ff079aabbaa1796c4209.jpg

     

  3. So far, no one on the forum has linked the OS change with the loss of expansions connected through the module EX-A2X.

    Considering the inadequate actions of the client in replacing the battery, other things are also possible, which I will try to list below:

    1) the extension cable is connected to the Ethernet port instead of the Expansion port;

    2) The cable is installed the other way  - the PLC side is changed with the extension side;

    3) The cable is not original at all - a simple standard Ethernet cable is used;

    4) The expansion module does not receive power (EX-A2X powered) test +24V on both up and down side and reconect green connector;

    5) Corrosion of the motherboard or connector in the PLC - PLC must bereplaced;

    6)EX-A2X damaged (must be replaced for test);

    7) One of IO-TO16 damaged - try to connect only one of two present to system;

    😎 V1210    is damaged (test by replacing PLC to another vision PLC).

    Considering the fact that you have an old project - you can easily download the required older version of Visilogic and download the old version of the OS.

    As said on the forum, it is impossible to kill a working PLC Vision at the software level.

     

    P.S. Forum replace 8 ) to 😎 ...... :)

  4. I use the following methods:

    1) direct input through the virtual keyboard;

    2) variable step change of the parameter with two buttons + - (Step In Range function can be used);

    3) several buttons with fixed sizes, pressing which directly downloads the number written on the button as a task (Store Direct functions controlled by buttons on screen);

    4) several programmable buttons whose values can be changed in the settings menu (On screen Variable Numeric with touch bit programmed and Store Direct function controlled by this touch bit).

    The use of the first and second method is probably the most flexible solution.

    If the programmed value needs to be changed very often, I use the second method, but control it on external convenient large buttons. For a limited number of choices, it is also convenient to have external buttons. But I use backlit buttons. The operator sees what he has chosen from afar.

  5. Please post robotec model # and used unistream hardware.

    I think that such behavior is possible only if the robotec works out the emergency algorithm during the loss of communication.

    This algorithm (or parameter) should be configurable. That is, if there is a timeout in the connection, the system must do something to protect the user. In your case, it can be a programmed transition to an open loop when communication is lost.

  6. For a PLC, it doesn't matter how many times you read from the data table and write information to the memory cells.

    As far as I understood, these are constants that should alternate depending on the index. If this is so, and your code solves your task, then everything is fine.

    However, you must put the comparison elements before the increment and decrement commands so that your index does not exceed the number of available rows in the table and does not become negative.

    P.S. I also recommend placing each command in a separate line (see rung 2 - two function in one rung).

    • Like 1
  7. I definitely did not understand why you need to read this data from the CVS file.

    It is probably easiest to use the built-in Data Tables. You can read about them in the help. The embedded mechanism of writing and reading from Data Tables is quite flexible, and by choosing the appropriate line number, you can easily change (load) up to 32 variables of different types in one ladder rung.

    One of the columns of the table can even be a text description of the program or recipe that is being used at the moment.

    • Like 1
  8. You should understand that the number calculated in sdw59 is not the remaining volume, but the volume expressed in elementary particles of 512 bytes.

    Therefore, first put the number of sdw59 with a huge (maximum number of digits) length on the PLC screen.

    Then, after seeing what you got - multiply it by 512 bytes (start with a simple calculator) - you will have a number that corresponds to the free space in bytes.

    It is number that you must convert into megabytes and then gigabytes and display on the screen.

    By doing all the listed actions hidden in the program, you should get what you want in gigabytes. However, there is a problem - whether the numbers with which you will work will overflow.

  9. I am a bit surprised by your question.

    If I have a PLC for testing, the tester is default user. Why the separate role of the tester - to limit access to the PLC to everyone else except the tester?

    If so, then the task is solved simply - the first password that the system asks for is entering the tester mode (working mode). Only after entering this mode - we have the opportunity to enter administrator mode by selecting the settings button and entering the administrator password while in tester mode.

    That is, two buttons are available to the tester - TEST and SETTINGS - but he gets there only after entering the administrator's password.

    P.S. Hide option is present is button properties.

    • Like 1
  10. Hi, if panel is new - you can replace it under warranty.

    If it is used - please try to download new firmware (9.8.65 for test).

    Then please check mother board on both side for corrosion. Something like that - is not good.

    touch_damage2.thumb.jpg.bbffb96e17fcc18534309e298b788563.jpg

    If no corrosion present on both side  -= you must check touch screen for scratch inside front panel (you must remove display for check).

    touch_damage1.thumb.jpg.40917ca44128b1e6faeadf61349015ce.jpg

    You can see on pic damaged border of touch screen inside. Then touch panel must be replaced.

    If you have another PLC V1210 or V1040 - you can swap moterboard for test - touchscreen or motherboard problem appear.

×
×
  • Create New...