Jump to content

Joe Tauser

MVP 2014
  • Content count

    1,209
  • Joined

  • Last visited

  • Days Won

    113

Joe Tauser last won the day on November 18

Joe Tauser had the most liked content!

Community Reputation

162 Excellent

7 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

16,296 profile views
  1. You did a good job troubleshooting by taking a lot of readings to verify the problem was not in the signal. The only additional thing I would have done was put an oscilloscope on the input terminal to see if there was any noise. Swapping in a different PLC was then the next logical thing to try. The A/D converter on your module has become flaky. But you already know that Joe T.
  2. Data Logger Help

    I'm guessing you're using the Data Tables Write Row function block. Do you have a program you can post? Joe T.
  3. OK, I had it backwards. I got a PLC out and loaded it up to check the operation for myself. The Reload value is a target, not a preset. The counter counts up from 0, not down from the reload value. When Reload is reached, the counter reset immediately to 0 and counts up (or down) to the reload value. The Reload Event bit (MB 1) comes on for one scan when this happens. I personally never use Reload, as I prefer to have exact control over what happens. I use compare blocks in an interrupt routine. What is it exactly that you are trying to do? Joe T. ENC1_JT1.vlp
  4. Take a look at this- https://www.petri.com/install-hebrew-on-windows-7 I didn't try it, but I'm very curious if it works. Let us know. Joe T.
  5. Reload only happens when the Reload Event is triggered - MB 1 in your case. You don't have it anywhere in your logic. Nor is the Reload Enabled (MB 2). I've attached something that may work, but not tested. Let me know if it does. Look over the Help on "Reload" again, too. Joe T. ENC1 JT.vlp
  6. That's a new one on me. Is Visilogic or Windows generating it? Screenshot? Joe T.
  7. Meir- You need to put an MI in the hardware configuration and set all the reload values that way. The accuracy is not a function of the direction. Are you turning a real output on or off when the reload event is triggered? If so, you will still run into a scan time issue. Speaking of accuracy, there is a lot more to consider- 1. How are you sensing the bar length - with a wheel? What is it's size? Can it possibly slip? 2. What is the specification on the encoder? Is it quadrature or single channel? 3. Are you trying to cut the bar? What is the response time of the shear? How much does the material move when you try to cut it? So often people post here and pick on the "accuracy" of the PLC when actually their machine is not capable of doing what they want. All the PLC can do is read pulses and react in about 2 milliseconds under the best of circumstances. It's up to you to provide the rest of the physical ability to get the "accuracy" you are looking for. Joe T.
  8. Trigger valve when count reaches 30

    It's always good to try your hand at writing logic and then post your code with questions. Often we can make some tweaks to make it work. Joe T.
  9. Looked at your code. You're using Immediate inputs but not the high-speed Interrupt routine - go look at the Help on how to do that. It will be faster. The Counter Target Value can be an MI or an ML. I would write some code to load it with the value you want as opposed to hard coding it. The bits triggered by the HSC hardware will be a bit faster, but you still have to write code to interpret them. Once again, look at the high-speed interrupt routine. Joe T.
  10. You can set the time using Info Mode on the PLC or in Visilogic use Connection->Communication & OS-> 2nd tab "Set RTC" button to synchronize the PLC with your computer. Joe T.
  11. I've used I/O repeaters before, but none of them are physically small. Here's an example: http://www.dutec.net/dsrepeater.htm Then I Googled "trendy thermostat". This is one of the images that came up: Hope that doesn't happen. Joe T.
  12. Remote Operator Issues

    Wacky timer presets is a sign the memory was corrupted. Make sure your battery is OK, and that you have the latest OS installed. There may be something in your collective email code that's getting out of the memory sandbox. Are you doing Modbus TCP or talking to the PLC with a custom program in this application? Either one of these scenarios has the ability to screw the RAM up with un-intended values. Joe T.
  13. Take a swing at it and post your code if it doesn't work right. Ask very specific questions. From previous other posts, it looks like smtp2go.com is the last of the free email servers we can use with a Vision system. All the others require SSL, which the Vision doesn't (and won't) support. Joe t.
  14. You weren't specific about which variable you're talking about, but opening the program I'm guessing it's on screen N11 and it's variable 284 and 285. It's a matter of display formatting. Unfortunately, you can't use the 3D style and get what you want. On variable 284, I changed the style to Flat and in the "Text After" field I entered a "." and widened the field to accommodate it. If you don't want the negative sign to show up check the "Do not reserve space for sign" box. On variable 285, I changed the "Leading" field to "Leading Zeros". I also checked the "Do not reserve space for sign" box. Then I resized stuff until it looked right. I generally make display-only variables flat and user-entry variables 3D for user clarity. Hopefully this gives you close to the look you're going for. Joe T. PRU.vlp
  15. Yes - you want INV(A+B/n). Look over the Help on how it works. You can attach your .vlp file to a post to let us look at it. Joe T.
×