Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Emil

  1. Hi,

    First, you cannot put number 569960 in MI for thhe same reasons you cannot put elefant family in a small car. MI is 16 bit signed register. The range there is from -32768 to +32767. Maybe you need ot use ML or DW...?

    Then - why not to use ASCII ot NUM function to convert the whole ASCII string to number in one cut?

    If you still want to work the way you offer:

    Store the fist number in a buffer;

    Multiply the second number by 10 and add it to buffer;

    Multiply the second number by 100 and add it to buffer;

    ...

  2. Positive transition is active one full scan. In your case reorder will not fix the problem.

    Going to subroutine under display is an important step in right direction!

    What you need ot do is:

    If you use normal Vision controller, when you want ot reset the counter in display B, put in the net, after positive transition contact of SB41 N.C. contact of SB33. this system bit is active the first scan when you enter in a display. As result, when you use SB41 to jump to new display, positive transition contact will not work in the first scan. You will need to release the buton and then to press it again to perform Reset. This is exactly what you need.

    If you use enhanced model, in On Load sub of display B, activate a bit (normal coil of MB or XB, connected direct to left rail).

    Use N.C. contact of this bit as additional condition, after positive transition of SB41 to reset the counter.

    At the end of "While displayiying" sub - for sure after the net where you reset the counter (!) you wil RESET this bit.

    Please try and let me know the result!

  3. Just idea - in a moment, you can keep CV in another operand - "buffer". Then, you will calculate the difference Real CV minus buffer. If this difference is within predefined range, don't activate the valve.

    With this logic you wil lprevent very often, short valve movements. But this can affect the precision of your control. You need ot define the "redefined range" in a way to obtain the best compromise between movements and precision.

    I hope this idea can be useful for you.

  4. Remote Access and Remote Operator are two totaly different tools.

    Remote Operator is older one, writen about 8 years ago under VB6. It enables opening one communication session at a time and the diplay is 1 to 1 the dimension of the real one. When using Zoom, this affects more or less the resolution and the quality of the image.

    Remote Operator is much newer tool. It's writen under .NET. It has more modern interface, but in my opinion, the main advantages are, that:

    1. It can open and handle many sessions at a time. Having more powerful PC and bigert display, one can view and operate 4,6...10 controllers in the same time, in the same display and this way to avoid use of SCADA in some small and medium control systems.

    2. Each session is in fact window, which can be changed and arranged in te best way - practically without affecting the quality of the immage.

    Some functions in Remote Operator are not supported yet. They are "under construction"...

  5. Did you check the example "Card read - display ASCII". You can find it in U90Ladder > Help menu Sample... Communication.

    If you receive really text "Ack" and NAK, it can work practically as it is.

    If you receive the special ASCII codes for ACK and NAK, you just can compare in Ladder the received code and drive variable "List of text" on display.

  6. The condition to activate Config module (valid not only for Drum,but for most of FB) is, as follow:

    1. Config module needs to be activated with one scan condition;

    2. Config module needs to be located in routine, which is scanned all the time.

    SB 2and Main routine answer to this condition. Usually we recommend this as a simple soluiton and it works. Anyway, using it is not a must, untill you're following strictly the rule stated above.

    Why you want to activate Drume configuration with different condition?

  7. You can connect GSM modem. We recommend our GSM kit, which includes Enfora modem and all accessories around ot make connection fast and easy. Anyway, we support another few brands of GSM modems.

    Having GSM modem, you can easilly program it both to call preprogrammed numbers and to send SMS.

    Som of our users alreqady did similar alarm systems. They are programmed to call number for few seconds. The person who receives the call sends back SMS, let's say with word "STATUS" (any other mesage can be programmed) and receive SMS with variables, which state the problem. If there is no "Status" SMS for some time, the controller calls next person in charge...

    Just idea...

    • Like 1
  8. At present, this PID we can not be used for commercial activities.

    I strongly disageree with such statesment!

    PID, as it is, is used already with great success on thousends projects all over the world. This includes military and missle defend systems, development and production of advanced microchips, mixing lubricants (Cascade PID) and many other non standard projects!

    All you "suggests" below already exists and can be done easilly!

    About "bumpless" - take a look in PID examples - there is already such!

    About manual contgrol - don't forget you have PLC - PROGRAMMABLE device! You can program your manual control in Ladder, which I prefer, or you can set temporary requested PID parameters - both ways are legal and easy to perform!

    I'll recommend you to take a deeper look at relevant Help topics (!) and examples. Then, if you have some questions, contact me in the Forum or - much better - via Unitronics Support - on support@unitronics.com. I'm sure we can fix more than 99% of your needs before comming to suggestions!

    Now, I want to point very clear - we are fully open for ideas. Many interesting and useful functions were developed following ideas from the field! But I think it worth first to learn the product and to be sure you know it well, before making statesments like the one quoted above!

  9. There are several ways to show/"hide" text:

    - binary text, when one of the texts is empty;

    - List of text, when one of the line is empty;

    - Variable "Display text", with activcating Hide function.

    I guess the first two options are quite clear.

    Hide - the way is different in ordinary and enhanced models.

    In ordinary models, it works only in subroutine, related to specifcic display.

    In enhanced models, there is a bit linked to each variable. It seems you're working with enhanced model.

    To perform delay to hide thhe text, as you describe, you need:

    - first to define a bit "HMI Display Loaded" (VisiLogic > Utils menu > HMI).

    - With N.O. contact of thhis MB or XB, to activate coil of TD with requested time;

    - On different net (!!!), to use positive transition contact of the timer to SET defined Hide bit.

    Please let me know if this logic is working for you!

  10. The easiest way is to set in Hardware configuration I0 as high Speed counter. In the second line, you can define operand (MI) for frequency measurement. See relevant help topic for details.

    In selected MI you will receive the number of pulses per second - Hz. Then, you need to multiply the this result by 60 to receive the number of pulses per minute. Then, you need to divide this result by the number of pulses your plate gives per revoluiton. The final reult will be in RPM (Revolutions per minute).

    What is the expected range of results?

    How many pulses gives your disk per revolution?

    What is the presision needed?

    Just note - Enhanced Vision models (for example V130) support special function Frequency measurements. It gives the frequency with resolution and precision of 0.01Hz.

    • Like 1
    • Upvote 1
×
×
  • Create New...