Jump to content

Joe Tauser

MVP 2017
  • Content count

    1,473
  • Joined

  • Last visited

  • Days Won

    133

Joe Tauser last won the day on July 4

Joe Tauser had the most liked content!

Community Reputation

206 Excellent

About Joe Tauser

  • Rank
    Moderator
  • Birthday 02/06/1964

Contact Methods

  • Website URL
    http://www.jtauser.com

Profile Information

  • Gender
    Male
  • Interests
    Antique Radios!

Recent Profile Visitors

17,757 profile views
  1. Paul^2, This is a really good example of a complex EX-RC1 application so I'm going to crank through it for the benefit of the forum. Thank you for posting your code! CANbus is a "sending" protocol - you don't read the PT400 inputs from the V130, you send them from the EX-RC1. The same applies to digital inputs. It's also not the easiest thing in the world to understand, but once you've done one it makes sense. It's important that you map out your memory first, as described below: Laying things out- EX-RC ID #2- No DI modules IO-PT 4 modules not configured and mapped to local MIs - I configured them as DIN 100 RTDs and mapped them to local MI 11..26. Open up the hardware configuration on the RC1 to see what I did. So - RTD's located in MI 11..26 with be sent to ID #1 V130 MI 201..216. I chose this address block because there's nothing existing around it. Local O32 ..O95 - V130 outputs O8..O71 This will require four MIs to hold all these bits- V130 MI 20..23 -> RC1 #2 MI 40..43. I didn't use MI 20 in RC1 because it was already mapped to temperature data. EX-RC ID #4- (make sure it really is ID #4 based on the DIP switches) No DI modules IO-PT 4 modules partially configured - I configured them as DIN 100 RTDs (alpha = .0385) and mapped them to local MI 11..14. RTD's located in MI 11..26 with be sent to ID #1 V130 MI 221..224. Local O32 ..O63 - V130 outputs O72..O103 This will require two MIs to hold all these bits- V130 MI 26..27 -> RC1 #4 MI 110..111. IO-AO6 module - configured 0-10V to local MI 60..65. The V130 will send its own MI60..65 to these. This is a lot to get you head around, but take your time and make your own map of what registers and outputs in the V130 correspond to which I/O in the RC1s. All your actual control code will be written in the V130. And I may have made a mistake somewhere in here. I wasn't able to test the configuration. Let me know if it behaves. Joe T. 1 EX-RC3Paul14-7-2018 JT.vlp Main1Paul14-7-2018 JT.vlp 1 EX-RC2Paul14-7-2018 JT.vlp
  2. Joe Tauser

    UniStream 5" freezes with no reason

    Such as? Or has he put troubleshooting this on you? Make sure your USB drive is large enough for the unit to create a temp file on it - I recommend 8 GB. Joe T.
  3. Joe Tauser

    UniStream 5" freezes with no reason

    Same application in all three? Make sure you've updated the firmware. You may have a bad unit. Have you contacted your distributor? Joe T.
  4. Joe Tauser

    Another funny little typo!

    How many times have you seen an HMI screen (not necessarily Unitronics) with the label "Tempature"? More than once for me. Technical people tend not to be good spellers. Joe T.
  5. Joe Tauser

    EXF-RC15

    You didn't say what you wanted to do with the EXF-RC15, but check out the examples in Help->Examples->Version 900->Project Examples->Communications->EXF-RC15. Yes, you connect it to the Vision with CANbus but keep in mind that the EXF-RC15 is actually a small PLC in itself. CANbus is just used for data transfer between the module/PLC and the Vision. You can have up to 64 nodes in a CANbus network. I think this covers your requirement for "several". Joe T.
  6. Sambas are Enhanced Visions. I don't know why they complicate things with hex, but Flex is correct: Don't forget everything is 32 bits long in this region, but the address pointers are 16 bit. The variables in your computer program must also be long integers. Modbus is at its core a 16 bit protocol so reading a long you specify a length of 2 for the Read command for each ML you want. To read 2 MLs you need to specify a length of 4. ML 0 is at 28,672. ML 1 is at 28,674. And so on. If you open the built-in Calculator app in Windows the menu in the upper left corner allows you to select "Programmer" mode. It's a very handy tool for crossing hex values to decimal. Joe T.
  7. Joe Tauser

    Honestly...W10 annoys me

    That is one handy looking utility. Especially if it can truly disable windows 10 updates. Joe T.
  8. Joe Tauser

    HSC encoder position

    Unfortunately, doing math in a Jazz is hard. They're really designed to use 16 bit signed integers. If there's any way you can upgrade to a V130 you can do your scaling in floating point registers. The only way to do this in a Jazz is to use an implied decimal. Since 500 pulses = 37.68 mm and your range is 1100 mm, you'll need to work with an value of 110000 for the total length. Which requires a 32 bit "long" integer. If you really want to tackle this in a Jazz you need to read the Help on Special Functions without Elements so you can learn how to work with these larger elements using two consecutive MIs. Joe T.
  9. Open the Help and search for "Interrupt". If you name a subroutine "_Interrupt 1.25 mS" it will automatically be called every 1.25 ms. Use Immediate instructions to read inputs and write outputs outside of the normal scan. Post your code if you have more questions. Joe T.
  10. Joe Tauser

    Ethernet IP addressing

    Try subtracting 40000 from your addresses. Holding register data types already imply a 4xxxx base address, and I think you should start at 10512. Also, the document shows the data is two words long, so change your receiving tag data types to INT32. You may be off by one, also. If subtracting 40000 results in weird values try subtracting 40001. Joe T.
  11. Here's what you/we need to know for this application, regardless of whether it's a Unitronics or Allen Bradley PLC- 1. The range of the pressure sensor and it's electrical output - 4/20 mA, 0-10V, 0-5V, or other 2. The model number of the analog input module or PLC it's connected to - required to determine the number of bits in the A/D 3. The "given formula" in detail 4. The model number of the analog output module - once again, the scaling code will be dependent on the module's D/A It sounds like the majority of your challenge will be learning how to program in ladder. Actually, very few of the small PLC manufacturers have spent the time, money and effort to conform to IEC-61131-3, regardless of what you read in the online trade articles. There's a reason why Visilogic is a free download and RSLogix 5000 is a $3,000 US software package, with an $800 US annual support subscription. Take a swing at it and post your code. We will do the best we can to help. Joe T.
  12. Joe Tauser

    Password Protect on Formulas

    True. But you could make your formula the old-fashioned way with ladder function blocks. This is what I was inferring. How complex of a formula are we talking about? Joe T.
  13. Joe Tauser

    Password Protect on Formulas

    You can password protect a function - That would be the easy way to protect your formula with the tools currently available. Joe T.
  14. You need to close the loop. It sounds like you want to enter a new pressure setpoint. You have no guarantee that adjusting the analog output by a certain amount will result in the pressure you want. Rather, you need some code that will adjust the analog output accordingly until the pressure is equal (or close to) the number entered on the HMI. This could be done with a PID block or some simple compare blocks. Post the PLC ladder program (the .vlp file) that you've worked on so far so we can see the hardware you're dealing with the the scaling you've done. Joe T.
×