Joe Tauser

MVP 2016
  • Content count

    1,059
  • Joined

  • Last visited

  • Days Won

    92

Joe Tauser last won the day on May 22

Joe Tauser had the most liked content!

Community Reputation

140 Excellent

3 Followers

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

14,913 profile views
  1. The EX-RC1 is actually it's own little "blind" PLC without battery backed memory. You write a separate program for it and then query it via CANbus. They are listed under "Remote I/O" in the hardware config dialog. You can hang eight modules off the V1040, but I would split them up for panel space savings. The modules are about 4" wide. The first module in the local chain connected to the V1040 must be an EX-A2X, which doesn't show up on the config picture. You don't have to write any code to access these modules. I've attached sample hardware configuration base programs and assigned the first few channels. I'll let you try your hand at assigning addresses to the modules. Post your code when you're done so we can see you did. Look at the examples under the Help menu to see how to do CANbus. The analog modules I used are AI8's which don't do thermocouples (that's an ATC8). They are lower cost. Joe T. P. S. - I'm going to be offline starting next Tuesday for almost three weeks. There are other moderators who are extremely considerate that will be able to help you. Post your code with your questions to make our job easier. V1040 base program.vlp RC1 Base program.vlp
  2. Um... Unilogic is for the UniStream products. A V1040 uses Visilogic. Joe T.
  3. You didn't say what kind of analog inputs you have, but let's guess they are process type 0-10 V or 4-20 mA. We do not have a high-density analog module - you would need 9 IO-AI8 modules. For this configuration you would need to utilize a CANbus network with one of the strings of modules connected to an EX-RC1. Joe T.
  4. You could do this using the Protocol block to talk directly to the module. I looked at the manual for this and it seems fairly straightforward. Look at the example called "V130_Baldor_Flex_Drive" in the FB protocol directory to get a feel for what you'll need to do. Joe T.
  5. 100 ms may not be enough time for the token to go around. I've had other experiences with Unitronics function blocks requiring a bit of "cool-down time". Have you tried making your own request timer and varying the setpoint to see where it fails? Joe T.
  6. You're going to need a Modbus to Profibus converter. Here's one we sell: http://www.novus.com.br/site/default.asp?TroncoID=621808&secaoID=819191&SubSecaoID=0&Template=../catalogos/layout_produto.asp&ProdutoID=837138 $312.00 US Joe T.
  7. You're going to have to make a cable, but it should work. On the Unitronics side- 3 - TX 4 - RX 5 - COM (0V) Search the Help for "RS232" and choose the RS232 topic for a picture. Cross TX and RX in your cable: GE M91 2 4 3 2 5 5 Joe T.
  8. Post your code. Joe T.
  9. First, are you using the load cell in AC or DC mode? I'd recommend AC. i have not done it this way but I can set up some hardware and fiddle with it if needed. The loadcell input is a 24 bit A/D, which translates to 16,777,216 counts. Try Mode 6, which is uV/V. The Help talks about mV/V but you have to have a way to enter the decimal places so it's really uV/V. What do you get when you use this mode? Post your code, too. Joe T.
  10. First, thank you for posting your code in your initial post. The V260 is an older model using the Standard Instruction set. It's like a V230 or V280. The V560 uses the Enhanced Instruction set and can be a different animal, especially on motion control. I looked at the code you posted on May 30 and saw O0 on the E5B is configured for PWM as well as O 96 on the TO16 module. You are powering up your duty cycle on both to 0 and then storing 900 to them in net 10 of the outputs subroutine. I'm surprised this works at all. Set the power-up value for MI 17 and MI 27 to 500 (50%) and delete net 10. You may want to read the Help on the Stepper Control tab for the E5B. It was not available on the V260 and is actually much easier to use if you are using the stepper for positioning. Joe T.
  11. UniCAN is supposedly token based. I don't even bother with timing - I just call SEND blocks and let the controller take care of it. Can you post what you have for both programs with the proprietary stuff removed? Of course you could just upgrade the V120 to a V130, too. Joe T.
  12. Yes, it is possible. The modems are supposedly transparent to communication. You'll need to turn your TCP packet timeout up (SI 101) to something longer than the modem time lag. Otherwise the PLC closes the socket on you without much explanation. The Help says this value maxes out at 10 (1 sec) but we have pushed it to 50 and it still works. Joe T.
  13. Yes, it should have turned it off but upscale burn is not built into the PID block. It may be something in how you have it configured - can you post your code? Joe T.
  14. It sounds like your cycle runs rather quickly if you're doing a one second poll. PLC model? Serial or Ethernet? I would buffer the data in the PLC itself while the cycle is running and read the data from there after the fact. You're going to have a hard time synchronizing a Windows box to a PLC at that speed. Joe T.
  15. First off, use COM Port 2 for Modbus unless you have no other choice. Port 1 is used for programming and OS updates - the PLC will stomp on your communication code if you need to log in while the program is running. You want to use the SCAN_EX block in new applications. The SCAN blocks are for legacy support. Be sure to read the Help on "Slave Address Tables" to see how Unitronics maps Modbus addresses. I modified your code a bit to show good programming practices. You had several logical statements in one net in several locations, which is generally a no-no. Look at what I've done and you'll understand. Additional nets cost nothing, but having too much going on in one network can cause unexpected behavior because of the compiler. I found this on the web for the Pi side: https://www.cooking-hacks.com/documentation/tutorials/modbus-module-shield-tutorial-for-arduino-raspberry-pi-intel-galileo/ Joe T. modbus car spray1 JT.vlp