Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,855
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Moved to the correct forum. For a 4-20 mA signal, do you have the jumpers set properly inside the module? If so, remove the input signal and measure the resistance between the input terminal and the COM terminal. It should be 500 ohms. I've been known to connect 24VDC directly to a 4/20 analog input and frying the resistor. Joe T.
  2. Yes, the EX-RC1 does require it's own program. It's basically another PLC with limited capability. Reach out to support@unitronics.com to get older versions of Visilogic. Does this mean you can still get the program out of the original RC1? Joe T.
  3. Upload your program so we can have a look. Joe T.
  4. These links don't work. Shall I delete the post? Joe Tauser
  5. You'll also need an EX-A2x Expansion adapter to start the IO chain for the IO-AO6. Otherwise your hardware list is good. Don't forget the run contacts for the VFDs. The -E3XB module can handle that. You'll probably want to handle the Manual / Auto status in the PLC. That way you can set the speed from the PLC while in Manual. Six pumps? That's a lot for a cooling loop. How big are they? What kind of flowrate and pressure are you dealing with? Are there subloops that get switched in and out? Joe T.
  6. Let us know if "Stage Timer" is a local or a global variable. Putting a timer inside a UDFB is not recommended as the local variables are created and destroyed with the function call. I don't know what's going on in your case. Is "Stage Timer" used anywhere else? I would roll my own global accumulator using an Add block and a system time variable as a pulse. If this function is called in many places you'll have to add code to load and unload the value of the time accumulator in your function. Joe T.
  7. I don't think you're going to get high speed updates on a web page. One of the Creators can chime in on this. Have you tried the VNC server? Joe T>
  8. If you can't get it working upload your program so we can have a look. Joe T.
  9. Hi Thomas - I didn't have the U90 software on this computer so I finally downloaded the latest version (6.6.45) and installed it to look at your program. First I looked at your HSI configuration mapped to MI 30. The Jazz series has limited data type functionality and the HSC can only be mapped to a single MI. From the Help- You mention above that you have MI 30 and MI 31 mapped to the HSI input. I looked through the Help and I didn't see anything about the HSI input being automatically mapped to two consecutive registers. I think your basic assumption here is wrong. Please correct me if you have information indicating otherwise. So we're going to have to do it the ancient way. In the Long Ago (1980s and 90s) most PLCs only had 16 bit integer values and there were no Long Integers, so we had to come up with tricky ways to work with the tools we were given. The Jazz is a handy little PLC but it sucks at math, which always seems to come up in an application. I personally call this the "Jazz Wall" and it's the main reason I don't use them anymore. For your next application get yourself a Samba, which is a low cost Vision PLC that doesn't have issues like this. Anyway, moving on with what we have to work with here the first thing to do is address the 32767 count limitation of the HSI so we'll have to do some program gymnastics. We do this by counting to 1,000 and then incrementing another register (MI 100) and resetting the HSC (MI 30). This will give us two split integers representing up to 32,767,000 to work with. Note that you will be limited in the counter reset by the scan time of the PLC so you may lose a couple of pulses during the 5 ms or so that it takes the Jazz to reset the HSI counter. You'll have to tell us how fast the pulses are coming in. Since we will be using this in a Long Integer calculation, I clamped the High Byte of the HSI (MI 31) to 0. Now we can use the 1,000 counter with a Multiply function to get an actual Long Integer number containing the virtual high value of the counter. I also clamped the High Byte of the 1,000 counter (MI 101) to 0 so there are no surprises. We add the current HSI counter value to this number to get a full representation of your counter value - Now your divide by 435 block should work. I don't have a Jazz here to test this so I don't know if this will work for sure. I've attached the program. Load it into your unit and let us know how it goes. Joe T. Teich Steuerung v70 JT.U90
  10. So.... did you use Revo Unistaller when you posted this or just the Windows uninstaller? Joe T.
  11. Try uninstalling Remote Operator with Revo Uninstaller and doing a fresh install. Be sure to run the install as Administrator. Joe T.
  12. I just installed a copy of UniLogic 1.33.373 as I want my program to be compatible with the chipsets in the IO modules that are now shipping. I'm currently entering IO tags and descriptions. As is my habit, I compile and save from time to time to make sure I'm not screwing something up. I entered some tags and compiled with no code and got this "Warning": Most programmers I know do their best to write their code so Warnings don't occur. This particular Warning is not something I can make go away. So like a good little boy I took the software's advice and implemented the System Error struct to log errors into a data table. Surely this would make the UniLogic AI bot happy - But Nooooo! Hey, UniLogic AI bot! Take a look at the "D" parameter! A value of 1 means Async IS set to 'true'! So I'm not even out of the chute yet and my program has Warnings. Gah. @Cara Bereck Levy - I see there's a "Messages" tab on the Error List window. Could these suggestions possibly be directed there? The Warnings tab is kind of hallowed ground. Joe T.
  13. USB to Serial Adapters can be very finicky. Make sure yours has the Prolific PL2303 chipset. Joe t.
  14. I've been known to do that. Kratmel is the King of figuring out how to repair his PLCs. Joe T.
  15. Make your own OnChange logic. Copy the the Slave Success to a second tag on a regular basis and then compare the two. Joe T.
  16. Ports and protocols are fairly easy to define in the PLC; and as Flex mentions you can have four simultaneous conversations going on at the same time with a V570. Do you have the program? Joe T.
  17. For starters make sure the firmware in your PLC matches the version of UniLogic you are using. Then upload your program so we can check it or contact Official Unitronics Support at support@unitronics.com. Joe T.
  18. Create a string in logic that has your value and units combined. Joe T.
  19. Are you talking about doing this from the HMI or via ladder logic? There is a "Find" function for DTI tables. Joe T.
  20. MIs are signed 16 bit integers. The most significant bit is the sign bit, and when the value gets greater than 2^15 (32,767) the sign bit is set and register reports as negative. What is the largest value you anticipate? A long integer example is installed with the U90 software. Did you look at Help->Sample U90 Projects->Long Integers..U90 ? Otherwise, upload your program with a more detailed explanation of your math. Joe T.
  21. That should totally not be happening. What is the make and model of the actuators? What are your port parameters? Can you upload the portion of your program that handles Modbus communication? Joe T.
  22. You are correct. Sorry about that - I was thinking Visilogic. U90 was the original software for the Unitronics M90 series introduced back in 2000. It's written in VB6. There are many things about it that are cumbersome compared to Visilogic and Unilogic. I don't use Jazz PLCs on anything because the Visions are so much easier to implement. I wrote a ton of code in U90 many years ago when the M91s were all we had. With U90 you just have to do what you need to do with a limited function set. Joe T.
  23. Two ways to reset a timer - 1. Remove power from it's coil 2. Use a Reset coil -(R) assigned to the timer's address. If the timer is enabled and running it will reset its accumulator to 0. Joe T.
×
×
  • Create New...