Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,860
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. If you're just looking for two specific levels then yes. Program the unit for an output for each level you want an go back to my original answer - you can do this with two digital inputs. Joe T.
  2. Continuity is easy - just connect +24V to one side of the wires one at a time and see if you get it on the other side. If you have a bundle to check you can switch wire feeds in with relays and make sure you only get one signal on a DI module connected to all wires. The RTD module only returns temperature from a resistance of about 25 ohms to 267 ohms. You could reverse-calculate the resistance, but I don't think this is the range you're looking for. Resistance is not so easy. Many moons ago I rolled my own ohmmeter with a DC power supply, current limiting resistors, voltage inputs on an analog module, and current sensors into another module. I was trying to measure to .01 ohm resolution on wire to make fuses and it kind of turned into a trainwreck. I learned about thermal drift of a multi-component system the hard way - I could not keep the thing calibrated. I eventually bought a really nice four-wire ohmmeter with a serial port and multiplexed it between the wires under test - the manufacturer liked it so much they asked if I would write an app note about it- https://www.tegam.com/wp-content/uploads/2015/10/AN103.pdf So this is an area I actually know a little more than the average bear about. This approach may be overkill for what you're trying to do. Can you be very specific about what you want? Joe T.
  3. According to the data sheet, that unit has two PNP outputs and an analog output. And you can program it. So I'm going to say Brn +24V Blu 0V Blk I0 Wht I1 Unless you want to give us a LOT more details on what you're trying to do. Joe T.
  4. The RTD module sort of measures resistance. Are you looking for an actual resistance value or for continuity in wiring? Joe T.
  5. Look at the programs in this post- UniCAN continues to be a topic of misunderstanding on the forum. Go back and read the Help on the protocol itself - you need to understand it is a one-way protocol and you need Send blocks in both the main PLC as well as the RC1. There is an example program in the Help using a V570 on the master side. If you downloaded the Unitronics example into your RC1 it is most likely working but not doing what you want. It's an example. This is what I most commonly see people post as "their" RC1 program and then they ask questions as to why it doesn't work. Post your code for both the master and the RC1 after you've looked at the above post. I spent a lot of time answering that one. Also list the I/O connected to your RC1. Joe T.
  6. Yes This is what I had to do with a scale interface I just did in Visilogic but it removed the decimal automatically provided it always comes in the same place. I looked for the existence of the "g" character and the converted the characters in front of it- The integer weight landed in ML 70. I'll have to load a UniStream up and see how that ASCII-Num block works. I generally don't use real numbers in the PLC unless absolutely needed for advanced calculations. Joe T.
  7. Have you considered doing this with a virtual decimal place and working only in integers? If the scale always returns 0.xx precision you should be able to extract the number with one operation. Joe T.
  8. The Ethernet card is an option on a V1040. If you didn't put one in then it doesn't have one. That RJ45 port is for connecting expansion I/O. The Ethernet port is not expensive and is easy to install. You'll have to add a little bit of code to your PLC program to wake it up. As far as remote access is concerned, you'll need to provide details on the physical connection. Are you talking access via a local network or from the outside world? Joe T.
  9. I've never done just frequency alone, but I have done counter and frequency. The hardware configuration allows both. Joe T.
  10. Windows keystrokes are like an Ancient Chinese Secret. The Ctrl+Shift + click on icon - blow out user settings in registry. This will also clear your recent programs list. I did a little digging and this was added in Win 7. Alt+Space then "M" then use your arrow keys to move the window. It's like magic when that little bugger starts marching over from a display that no longer exists. You can try these out even if you do have multi-monitors connected. Goes back to Win 95. I had these reinforced in my lizard brain not too long ago when it happened to me moving from work to home - work: Left side 2nd monitor. Home: right side 2nd monitor. Gah. Many programs do not include code to recognize that your display configuration has changed, and the last window position is saved in the registry. So be a good boy and put your windows back before you close the program. Santa is watching. Joe T.
  11. I'm a little late to the party, but I downloaded the program you posted on 12/12/18 and didn't get any compile errors. What version of Visilogic are you using? I'd be interested in seeing your latest, program, too. Joe T.
  12. I saw that, too! I'm sticking with this one. Post your code. Joe T.
  13. I'm assuming you're connecting the flowmeter to I0 on the PLC, with the jumpers on the PLC set to PNP input. In this case, the 2.2K resistor on the flowmeter as shown in the S-Series instructions should work. But it doesn't. Time to go into troubleshooting mode: 1. Make sure you've actually downloaded the program with the hardware configuration shown above. Yes, I have forgotten to do this and then gone online, wondering why it doesn't work right. 2. Tap I0 with a wire jumpered from the +24V terminal on the PLC power and see if it increments. 3. Put a voltmeter on I0 with the flowmeter connected and try to turn it slow enough to see pulses. You need at least 17V to trip the input on. You'll notice I didn't mention the frequency input you've got shown. Get the counter working first. Joe T.
  14. Hold Ctrl+Shift while you double-click the Visilogic icon. This will reset the window settings to factory default. Joe T.
  15. You need to assign numbers to the fields and embed that number in the barcode for sorting. Joe T.
  16. You can embed whatever you want in the vector specified by the Indirect email up to 800 characters (400 contiguous MIs). What exactly do you mean by a "strange icon"? Upload your project along with an example of what you want to send. Joe T.
  17. Have you looked into talking to an EXF-RC15 high-speed counter module via CANbus? Joe T.
  18. This is the easiest solution to the problem and can be added to the field components without replacing them. Joe T.
  19. I think this is a serial RS232 modem kit. Send your request to support@unitronics.com for help from direct Unitronics support staff. Joe T.
  20. Copy the text of your post and send it along with your program to support@unitronics.com Joe T.
  21. Does it have contactors in it or external inductive loads? A VFD? Joe T.
  22. I looked at the program you posted on Monday and noticed that your SD Create Line block was stomping on itself - you had the beginning of the vector at MI 15 and the number of bytes register at MI 16. You have the Max vector length set as 100 bytes, so you have to have a block of 50 sequential MIs that you don't do anything else with. Pick a block high in the MI memory - it doesn't matter where. I use the drop-down box in the MI selector to put the same descriptor on several MIs at once- Post your latest program that was used to create TEST33.csv. Joe T.
  23. The data type on either tag may be different - we can't tell this from your picture. Either post your program or post a screenshot of each tag definition. Joe T.
  24. It sounds like you haven't configured your hardware. Attach your .vlp file. Joe T.
  25. Your Send block in Net 8 of the IN routine is configured to only send 8 registers - hence only the first ATC8 module's data. I changed it to 16. A Send can only handle 16 registers, but there's no rule that you can't have more than one Send block, so I added a second one for the third module. I see you left the Send block in from the example, which collects the non-existent digital inputs and places them into MI 2000. You don't need this Send or the Struct, so I disabled them. Feel free to delete these nets from the Example if your application is working. UniCAN can be confusing. Go through all the Help again to get a better understanding of it. I'll leave it as an exercise for you to add the third ATC 8 module. Joe T. P796-EX-RC1_Hospital JT.vlp
×
×
  • Create New...