Jump to content

Flex727

MVP 2023
  • Posts

    3,257
  • Joined

  • Last visited

  • Days Won

    236

Everything posted by Flex727

  1. I recommend contacting Unitronics Support directly at support@unitronics.com, or you can open a support ticket at http://support.unitronics.com/ . Although this forum is hosted by Unitronics, it is a user forum and is mostly populated by other users like you and me.
  2. Sounds like what you want is a serial to ethernet adapter. They are readily available, though I've never tried to use one. Did you have wifi before?
  3. I strongly recommend that you do not do conditional subroutine calls. Write your logic so that the subroutine will always be called continuously. Coils in an uncalled subroutine are in limbo and can give you unexpected results. Under normal circumstances, a well-written program avoids conditional subroutine calls.
  4. I work with chemical delivery systems every day and we always have a separate relay for the equipment and the PLC. The equipment gets powered down whenever an interlock alarm occurs, but the PLC stays powered on. The EMO on the panel does power down the PLC, as well as the equipment power. This meets strict regulations and you should be able to do what you want to do with no issue. That said, I have to ask, why did you choose an IO-DI16 plus IO-RO16 instead of a single IO-D16A3-RO16, which would be cheaper and use less space on the DIN rail?
  5. +1 & +1 Both of these items are at the top of my wish list, but I've just about given up hope.
  6. Ah, I see what you're saying. Yes, any change to an HMI element affects that one single element only. Similar elements, even copied ones, will be unaffected (as it should be).
  7. This seems confusing. If the same MI is linked to both, then they will both update. You might want to post your project file so we can have a look at what's going on.
  8. This won't work. The V200-18-E1B analog input is 10-bit. Your linearization assumes 14-bit and there is a typo in the X2 value. X1 should be 204, X2 should be 1023 (this is the 4-20mA 10-bit range). Y1 should be the reading on your transmitter at 4mA output and Y2 should be the transmitter reading at 20mA. You are also using an ML for the output from the linearization block. There is no reason for that. The max value will be your max temperature reading (perhaps times 10) and you won't overflow an MI with that. First of all, you need to configure your hardware for the PLC and I/O module(s). When you do that you will assign an MI to the analog input. Assuming your transmitter range is 0 to 100 C, then your ladder should look like this: This will turn on the heater when the temperature is less than 80.0 C. And one more thing, there is no reason to have your compare block in the same ladder rung as the linearization block. Break those up into two rungs like this:
  9. Use 'Store Direct' to assign any value to an integer register, or 'Increment' the MI if your strings are in some kind of process order.
  10. Then, Joe's suggestion is likely the best one for you. Use "List of Texts by Pointer". You can type in the strings you need then assign a value to the MI according to which text you want displayed.
  11. What type of temperature transmitter and what PLC / I-O module? If it's a thermocouple, then you'll get a reading that is in degrees to the tenth of a degree and it's a simple matter to do a compare (>=850). If it's a 4-20mA analog input, then you'll need to do a linearization using the specs of the temperature transmitter before doing the compare.
  12. What is the source of the text? User input? Pre-defined strings? Data Table? The source makes a difference.
  13. Direct coils should be used in one, and only one, place in your program. In your case, you are turning it on in net 1 then turning it off again in net 2. The state doesn't get written to the physical output until after it's turned off in net 2. We have a saying with ladder logic - "the last one wins". Figure out all the conditions you need to turn the coil on and write them into a single net. The exception to this is Set & Reset coils activated by a transition contact. You can have those in multiple places if you choose.
  14. This is what your linearization block should look like for the example I described above: This will linearize the 4-20mA input to 0.0 to 100.0.
  15. In normal mode, your analog inputs for this PLC have 14-bit resolution. That means the MI attached to the analog input should vary between 0 & 16383. For a 4-20mA input, that value will be 3277-16383. You will then use a linearization block to convert that number to the units you wish to work with. If you want precision that includes one or more decimal places, you will need to use "implied" decimals. For instance, say your input is pressure in psi that ranges from 0 to 100 psi, but you want precision to one decimal place. You need to linearize from 0-1000, instead of 0-100. Now you have the pressure to one decimal place with the decimal point implied. In calculations you may need to divide by 10 at the conclusion of the calculations, or if you're going to display the result, no need to divide by 10 as you can set the location of the decimal point in the numeric display element that you place on the HMI screen.
  16. Sadly, I may have to replace my ancient, but faithful Windows 7 laptop, something I'm loathe to do. However, if I should replace it, I want to prioritize the right specs for VisiLogic. One issue is that when there is an HMI screen that is packed with elements, particularly high resolution screens like the V700 or V1210, then any action on that screen in VisiLogic can be unbearably slow. Even just unselecting an element can take a few seconds and moving a whole group of elements can take 5-10 seconds just to move them one pixel. What would speed that up? Do I need a high power graphics card, or is this mostly CPU dependent? Another issue is that in VisiLogic 9.8.65 it can take 5-10 seconds to open up a large project. This is MUCH longer than in previous versions. Since there is no direct copy and paste, it can often be necessary to open and close projects frequently to copy elements over from another project. What would speed up the open file process? Is that CPU intensive, or would an SSD be more helpful? I'm hoping someone with intimate knowledge of how VisiLogic works might be able to provide a definitive answer. Maybe @Saragani? Or maybe someone who has done a recent computer upgrade and found something that made a difference. Thanks.
  17. Sounds like you have the connection correct - not sure why you think it wouldn't be a complete path. For temperature measurement, I believe you need the RA22 model for a thermocouple input, but you should be able to use an RTD with your model.
  18. That clock function utility gives you exactly what you want - not sure what your complaint is. As far as the second time to compare, did you try putting the same value into that MI (Store Direct)? I've never tried that, but if it doesn't work just add 1 to the entered value.
  19. When in Ladder, go to Utils / Clock / Indirect Clock Functions / Time. There's help on this in the Help file under Clock Functions.
  20. Try downloading a blank project first, then try your project again. If you still get a failure, make sure the V700 has the latest firmware.
  21. Typos get us all - and all too frequently. Glad your problem is resolved.
×
×
  • Create New...