Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Emil

  1. The easiest way is to define in FB Protocol variable "Numeric" and to get the number from bar code direct a number. Other option - if you already have the ASCIII string, you can use ASCII to NUM function (Strings menu) to convert the number with one function. Both these ways seem to me very elegant.
  2. 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; ...
  3. It seems you have broken connection between the expansion adapter and the controller. As first step check the expansion cable connection and its grounding. On which side is the ground wire of this cable - PLC or expansion adapter? Wow it's connected?
  4. Remote operator can hold only one session at a time. But Remote Operator can handle many sessions! It's newer tool - more modern and powerful. And - of course is free of charge! Can be downloaded from our site www.unitronics.com > Support page > Downloads.
  5. What means 0<1>? It means, that the input/output is forced - via VisiLogic or Info mode. The first digit - "0" shows the state according ot the logic (the "native" state) and the second - "<1>" - the forced state.
  6. 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!
  7. 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.
  8. I'll set the output direct, but will set low derivative action. This in most of the cases prevents the valve to go "crazy". If this will not help, let me know and I'll give you advices how to set "dead band".
  9. It's fixed long, long time ago... Use VisiLogic V9.3.1 and OS V3.4 (25) - Update from the web.
  10. Hi, Can you send me more details about the problem you face with Remote Operator? In Remote access - are yo uusing *.ura files?
  11. Hi Jared, It seems you deed it right. I don't understand what the problem is? What do you mean by "the linear output is still very high"? Whagt is the range of your sensor? Let's say it's 0-10 bar. In this case you need ot set: X1=0 Y1=0; X2=512 (5V) Y2=100 (10.0 bar)
  12. 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"...
  13. 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.
  14. Hi, Attached is a zsip file, which includes help doc, VisiLogic and VB examples. I hope it will help. DT VB example.zip
  15. In general, you can connect both A & B signals of the encoder and perform the logic in Ladder. But I'mm in deep doubts if this will work with frequency more than 5 Hz. If this is the case, we can discuss the logic.
  16. 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?
  17. Hi Fabio, The Master is polling the Slaves one by one, command by command. You cannot start next command before the previous command is fully executed. That's why the right way ot activate command is with N.C. contact of Function in progress. This is how Modbus as protocol works. It's not related specific to Unitronics.
  18. Hi Dave, Good question! Please take a look on FAQ (Frequency Asked Questions) - on www.unitronics.com > Support page > FAQ. I'll be glad to know if the answer there really answers...
  19. Hi Bob, I'm sure you made the most beautiful displays for V350. Now - do you think if you just increase them by 4 they will remain still beauty?
  20. 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...
  21. 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!
  22. 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!
  23. Can you define what do you mean by "with different flag"?
  24. Can you send the string you want to send or receive? I'll prefer to send e-mail to support@unitronics.com. We will check the string in Vision before you will take the final decision.
×
×
  • Create New...