Jump to content

sanyc

Members
  • Posts

    37
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sanyc's Achievements

Advanced Member

Advanced Member (3/4)

0

Reputation

  1. Halving the frequency for the second block solves the issue
  2. Hi, I am using several 0808THS cards and on one of them I have both blocks 1 & 2 set to PWM. So output O0, O1, O4 and O5 are normal PWM outputs. O1 & O2 are working great, f = 3 kHz Duty Cycle at 50 the control is very smooth. On O4 & O5 with the same settings the motors are spasmodic in starting and stopping. (I mean too fast motor operation). Why on the first set of outputs the Duty Cycle at 50 is so smooth (slow motor speed) and on the second set the same Duty Cycle does not work out the same? Anyone faced a similar problem? thanks
  3. The failure is not responsive touchscreen. Kratmel's reply makes the most sense. Did you manage to buy a new touch panel controller so that you fixed the whole Unistream ?
  4. What could be the reasons for a 2 year old 15.6" Unistream to fail its touchscreen? The PLC operates in a food production facility in an electrical panel, nothing out of the ordinary.
  5. Thanks Alex, it all cleared when you said I am mixing the the controllers. It worked.
  6. I can't seem to figure out the PWM output for the PLC model as above. From what I understand O0 and O1 can function as PWM output as long as you enable the PWM bit from the software. Done. Now, from what I 've read since this functions as a normal PWM (and not High Speed PWM - I guess its the frequency upper limit that changes), its Time Period is at most 2.5ms? So with f= 1/T max frequency I can get is 400 Hz? Why does the spec sheet states that it can be set up at 3kHz? Next, PWM is suppose to give an average of the total voltage based on the duty cycle. The way I set this up it just turns the Output +24V and 0V based on the duty cycle. Varying my frequency doesn't change a thing on the behavior of my motor, but varying the Duty Cycle causes my motor to spasmodic operation if I set anything below 100 Duty Cycle. Another thing I don't understand is the value of the frequency; does 0-3000 correspond to 0-3 kHz ? If so why does the software sets measuring unit to milliHz? Attached is my program for PWM in rung 12. Thanks Test.ulpr
  7. I see what you mean Ausman. The resolution is not high enough. The following is what I did and works pretty well. Its drwaback is that at low rpms the pulse width becomes an issue and at very high rpms it will be limited by the increamental step of the timer.
  8. I see what you mean. The thing is my current model Unistream doesn't support interrupts. Please someone enlighten me if I am wrong
  9. I did something similar in Unilogic but I am not getting accurate results. Attached is the program itself. On the first rung I am stacking up an MI that I am assuming its increasing at a rate of 1ms based on the scanning time. On the second rung my proximity pulse clrears the first MI and stores its value to a second MI. Then I am converting my stacked up MI into milliseconds to get the period and converting them to seconds for the final RPM calculation. (RPM = 60/T) My test rig is a motor at steady speed rotating a shaft that I get proximity pulses from. Testing with various instruments I know I have 31 rpms but my program outputs 40 rpm. And I also noticed that at higher speeds the deviation is larger whereas at lower speeds the deviation is smaller.
  10. I have looked into the example. Are you based to the fact that the scanning time is 2.5ms for the increment in the subroutine?
  11. I am using the 5'' TA30 unistream. What I did so far was used a normal digital input and calculating how many pulses from the sensor I get for every 2 seconds. Then I am multiplying this value by 30 to get it for every 60 seconds (which is like an instantaneous) reading of the rpms. Will try various methods to see which one best works.
  12. Hi, I am reading pulses from a proximity inductive sensor and I want to convert it to rpms. The rpms are being read from a wind turbine shaft and I am getting one pulse per turn of the shaft. I will have max around 120 rpms. The sensor is omron PNP, NO, 3 wire 24V dc. I am trying to measure the time between the rising edge of each pulse (thus each turn) of the proximity sensor but I am not sure how to do this with the timers. Anyone can help?
  13. Hi, Does anyone know how I can interface the following joystick to a Unistream? Thanks MR Series Specifications.pdf
  14. One thing that bothers me with multiple linearization inputs is that when going online the y1,y2 parameters get the readings from the second AI, no matter what their store blocks command them. Is that because of the scan time of the program and it doesn't have the time to "update" the stored values, so it "shows" the last stored values in them?
×
×
  • Create New...