Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Emil

  1. Hi Mare, You "disapeared" for quite a long time! Nice to hear from you again! Frankly speaking, I don't understand what is the problem to have more digits during calculations. In my point of view - it just will give you more precision. Anyway... You can use the funciton INV (A + B/n) - VisiLogic > Math menu > Float > Convert. This will give the decimal part of the MF in ML register. Then you can divide this number by, I think 10,000. This will leave you only the first two digits (this divide is Integer). Then, you can use back the function A + B/n to return the converted value to MF register. Please tell me if this tip is helpful.
  2. If you want it for HMI, you can use the function NUM to ASCII (Strings menu). There you can define the number of signs aftger DP.
  3. Hi, I'm not InTouch guru, but our distributor in Ukraine Sergei Batuk already did the connection. Below I want to post his mail to me. I hope he will not be against... "I've tested SCADA InTouch - V570 communication via Modbus carefully. 1. MLxx tags in V570 are seen in SCADA as 6-digit 32-bit register addresses. For example, ML0 is 428673 Modbus address (40000 + 28672 [7000hex] + 1) of 32-bit register. So in InTouch I must use the Modbus address "428673 L" where letter "L" points that InTouch must read 2 16-bit registers. Uswing only 428673 address without "L" is the mistake. 2. I also can use in InTouch so called absolute notration of Modbus addresses. For example, ML0 is "28672 RHL" Modbus address (without +1 to the address; "RH" means 16-bit type of the register; "L" means 2 16-bit registers - 32-bit word or Long Integer type).
  4. Thank you for the feedback! ... That's why I wanted PID server log. It will let me see what you're explaining, but with more details. What I can guess: To prevent strong undershoot in case of changing setpoint (case you describe) the algorythm frces Integral error before reaching below setpoint value. It seems in your case PV drop was too slow and PID with the parameters you describe is quite "agressive". As result, probably PID recalculated the values and returned back to 0. What you can do? Make PID less aggressive?! Maybe there is a set of good PID parameters, which will work very good with your system, but more "calm". Then, there is a great chance you will not see the behavor you describe (again - it's what I'm gessing on blind!). How to make PID more "calm" - increase both PB and Ti and, maybe decrease Td. I hope my tips can be helpful.
  5. Hi, I'll be glad to see log files from PID server with data from the process! Don't forget to add the block "Read Contgrol components with factor 100 and log CVp, CVi and CVd too...
  6. Hi Jumbo, Functional block Protocol needs to do this qute easy! Which issues you have? What is the problem? I can make you example, of course, but if I don't know what is the problem, there is a chance that te example will not be helpful.
  7. The standard says 32 notes. Then: 1. If you're making very good network, maybe you can put more nodes. I know people are doing it. There is no direct technical limitation. In other hand, there is no prove the network wil work properly. 2. You can use repeaters, like in te post below. This is normal, standard solution. 3. You can divide the network and connect the nodes to more than one COM port. This last soluiton has thhe advantage, that the polling time pre node will be shorter, than in the solution No.2. Again, it depends on thhe specific needs of your project. If you are ready to share them, I hope there will be members of this forum, which will be glad to share their experience.
  8. I want to point, that UniCan sends bytes. The buffer is 32 bytes. What will be sent will be in bytes and it will be 13 bytes really.
  9. Hi, Do you have a real project, where you need more than 255 controllers, or this is just a question of curiosity? If you have a real project and 255 COM ports are not enough, please contact Unitronics Tech support team at support@unitronics.com with description of the project and the needs. Despite this is very specific, unusual request, we will see how we can help you.
  10. Currently, we have no such plans. Almost for sure VisiLogic will remain on Ladder.
  11. Please try first to stop the controller from Info mode > System. Then - change the Modbus config command from 600 to 599. This will let you to communicate with U90Ladder even the port is configured as Modbus. Of course - you have only one port. If you switch ot PCOM (Unitronics native protocol), then it will take about one minute to Jazz ot return to predefined Modbus settings.
  12. I just posted complete example on this matter. Please see if it can be helpful for you.
  13. Hi, Attached is a complete example (VisiLogic application, Help PDF and VB code) of how to access Data Tables. I hope it will be useful! DT VB example.zip
  14. How old is your V230? It seems quite old, as you have snap in E1, which was discontinued and replaced with E1B long time ago. When first batches of V230 were issued - about 10 years ago, there was not yet Ethernet card. These first produced units have no second connector and this way, in level of hardware, don't support Ethernet card. Newer produced V230 (from about 8 years ago) already support V200-19-ET1. If you're in doubts about your unit, please send its serial number to support@unitronics.com and I'll try to check in our records...
  15. Please don't thhink about SET and REST of SB82 as ordinary bit operations. In fact, this is the "switch" to activate the function as "Long" after the bit. That's why, in this specific case, SET and RESET of the same bit (SB82) is fully legal. Even more - in some case you can make twice SET of SB82 in the same net - without RESET at all. It looks quite not logical, but - again - SET and RESET of SB82 in fact is a way to give the controller command to execute the function. In any case SB82 remains at "0". I agree this way of handle special functions is not the most intuitive! But the way U90Ladder is written (the first fully Windows based PLC programming software in the world!!!) doesn't let adding more ladder modules, like in VisiLogic. When you convert bitmap to decimal format, the LSB first 4 digits are going to the first MI (range up to 9999) and the second part - MSB to the second MI. There the value is up to 32767. This means, that the bigest number you can get in display with this function is 327,679,999. Please note - this number is sensitivelly lower than the max number the controller can hold as bitmap (+/- 2^31).
  16. Hi, 1. The number of variables per display in enhanced Vision models (V130/350/560/570/1040/1210) is not limited. 2. When controller faces Modbus command, it sends it immediatelly to the Slave. In this case "Function in progress" MB, defined in Modbus config module, rises to 1. During it's in 1 state, no other Modbus command can be executed. It's very good practice to add N.C. contact of "Function in progress" before each Modbus command! When reply from Slave arrives, Function in progress bit returns to 0.Accnolegment register rises by one. In this moment the new information from Slave is updating the defined registers. 3. If Omron Inverter has RS485 port, there is no any doubts that you need to set the jumpers in relevant port of V560 to RS485. Nothing else will work in this case and I hope you undersgtand this very well! Then - according to RS485 standard, at the end of the cable there must be set Termination! In V560, Termination is set via jumpers! It's not only resistor, is more advanced termination. It doesn't matter if the distance is 21.3cm or 847 meters - setting termination at the end of RS485 cable is a must! As I understand your project, you must set termin ation in side of V560 and in side of Omron driver. In V560 - I already mentioned - Termination needs to be set via jumpers. Please refer to the user manual of Omron driver for proper termination on their side! I hope this information will help.
  17. I'm surprised why this topic seems so complicated - even for Joe Touser! There is standard solution: one needs to RESETSB82 and then to store "Long" register (as bitmap) to another "Long" register (two sequental MI). The result will be in decimal format, where the first 4 low significant numbers will be stored in the first MI and the rest - in the second. Please take a look in the standard example (U90Ladder > Help menu > Sample U90 Projects... > Basic Ladder operation > Long Integer... There this way is shown - both in Ladder and in HMI. If something still reminds unclear, please let me know and I'll write a special demo for you!
  18. Hi Otto, As you describe the application, it seems to be quite easy task both for V120 and V130. As Keith mentioned, V130 is newer model and has its advantages. They are described perfect by Keith and I have nothing to add! About programming - both controllers support Time functions, which - as I understand the need, will make programming easy! Let us know if you need some further help.
  19. I just sent direct two examples - for PLC and for RC1 - with addition for analog I/O (IO-AI4-AO2). Later this week I'll try to edit thhem a little and post them here.
  20. Sorry, Currently the palette cannot be changed. I checked this with our R&D.
  21. Hi Peter, In the comming very soon VisiLogic V9.40 you will be able to select between current view/rules or specific String Library.
  22. I think it's out of discussion that such option can be useful. I know there are other products which have it. We already discussed this topic with our R&D, but it's not so easy, as it seems. Currently such project is not scheduled.
  23. I'll pass this request ot our R&D. Do you have specific project behind your question? Which controllers are used there? Do yo mind which area of memory needs to be protected and which - still open?
  24. It's not so simple, as described in initial post. To be able to measure power, you need to follow both voltage and curent waves. They are 50/60 Hz. This means you need much faster analog inputs. If such module will be developped, do you think it will be sensitivelly lower in price than existing power meters the market is full of? When you say that you see potential, are you really ready to sell/use at least 200-300 such modules per year? What is the price which can make such module attractive?
  25. Currently, there is no special protection against writing via Modbus Master to Unitronics OPLC. If the Master is SCADA, the gates are preprogrammed and I don't understand after debug how the address can be wrong?
×
×
  • Create New...