Previous in Forum: Why Power Amplifier of AM Transmitter and TV Transmitter Are Different?   Next in Forum: Proposed FUEGO Satellite Could Locate Wild-Fires in Real-Time
Close
Close
Close
11 comments
Rate Comments: Nested
Associate

Join Date: Apr 2013
Posts: 39

RVDT

11/18/2013 1:51 PM

I have a 120 ppr resolution rotary pulse generator with NPN output. With the current configuration and speed of the index motor, the output signal frequency is ~60 Hz (varies with changing roll diameter). The PLC I/O accepts PNP input only. This application is really slow in comparison to high-speed counter capabilities. Is there an inexpensive counter module that would accept NPN input and provide PNP output?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Associate

Join Date: Apr 2013
Posts: 39
#1

Re: RVDT

11/18/2013 2:14 PM

Additionally, the pulse generator delivers a fixed 50µs ± 20% output pulse at the leading and trailing edge of a passing slot.

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#2

Re: RVDT

11/18/2013 3:04 PM

What PLC are you using? Can't see it from here.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Apr 2013
Posts: 39
#3
In reply to #2

Re: RVDT

11/18/2013 3:11 PM

Festo CPX w/ CoDeSys controller

Register to Reply
Associate

Join Date: Apr 2013
Posts: 39
#4
In reply to #2

Re: RVDT

11/18/2013 3:31 PM

Here is a data sheet for the I/O module:

https://www.festo.com/cat/en-us_us/products_CPX_E_1

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#7
In reply to #4

Re: RVDT

11/21/2013 7:58 AM

That link goes to a list of products. Which I/O module do you have?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Apr 2013
Posts: 39
#8
In reply to #7

Re: RVDT

11/21/2013 8:24 AM

Sorry John. Part #:526257 CPX-8DE-8DA

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#9
In reply to #8

Re: RVDT

11/21/2013 9:05 AM

What is the make/part no. of the rotary pulse generator? (Or better, please give a link to the datasheet!)

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru

Join Date: Dec 2010
Location: North West England
Posts: 1170
Good Answers: 153
#5

Re: RVDT

11/19/2013 4:57 AM

Schneider Electric (their Pheonix Contact Ltd range) Part No 2964319 £11.64 (approx $19) packaged as a DIN rail terminal. Available in Europe from RS Components Ltd. Elsewhere from Schneider stockholders.

Register to Reply Score 1 for Good Answer
Associate

Join Date: Apr 2013
Posts: 39
#6

Re: RVDT

11/21/2013 7:42 AM

Status update: I had already purchased a Keyence OP-5148 NPN to PNP converter. Procured an oscilloscope to analyze the waveform of the rotary pulse generator at the operating speed of the drive motor to which it is attached. Testing before and after the signal converter revealed no losses through the conversion. The actual output pulse was longer than the 40-60µs specified on the data sheet. Oscilloscope readings ranged from 80-98µs duration for the output pulse. The frequency of the signal at the given speed was 27-38Hz. The lowest debounce time for the I/O is 0.1ms. Decided to go with a lower resolution encoder that will provide 50/50 on/off rather than the fixed pulse output. I'll update again when the new encoder arrives.

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#10
In reply to #6

Re: RVDT

11/21/2013 9:36 AM

IMHO the pulse generator is a stange choice - an incremental encoder would have given you the 50/50 square wave on each of the 2 outputs, provided immunity to false counting when stationary, and given directional information if needed. Still, if that's what you're stuck with it sounds like you're going in the right direction.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#11
In reply to #10

Re: RVDT

11/23/2013 11:10 PM

John is right. To use these encoders you need D-F/F configuration in PLC to sample the direction for UP/DOWN counting along with PPR counts which is maximum 120 PPS here. Pulse counters in PLC normally accept 10kHz pulse rate and you never use switch or relay input for high speed pulse counting or position encoding.

As far as NPN to PNP interface change is concerned, that can be easily altered using a proper converter interface. See http://cr4.globalspec.com/comment/939010/Re-Replacing-an-NPN-Sensor-with-a-PNP-Sensor

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Register to Reply 11 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

jcwelch111 (5); jhhassociates (1); JohnDG (4); Shyam (1)

Previous in Forum: Why Power Amplifier of AM Transmitter and TV Transmitter Are Different?   Next in Forum: Proposed FUEGO Satellite Could Locate Wild-Fires in Real-Time

Advertisement