How to get rotary encoder value with CP1H

l0nd0ck

Member
Join Date
Feb 2011
Location
bandung
Posts
1
Hello, I am trying to make the measuring angle with rotary encoder 360PR and omron CP1H. But I confused, how to get value 1 pulse to 1 degree. I am trying to use PRV with high speed counter 0, but I didn't get value at A271 or A270. Please help me how to setting PLC with high speed counter and how to get PV of rotary encoder in decimal format.
 
1. Hardware.
Connect the encoder to proper inputs for the desired HSC (high-speed counter).
See the CP1H Operation Manual for the details.
Ensure that the inputs operate when you rotate the encoder.
2. PLC configuration.
Configure the HSC in the project tree PLC Settings/Built-in Input.
3. Using in program.
A27x updates once per scan automatically.
PRV instruction is necessary for high-speed processing only (e.g. interrupts).
 

Similar Topics

Hello Guys, In order to measure the length of a product using a photo-eye and a Timer .. It's not a reliable operation even if you got it right...
Replies
32
Views
10,293
Our store has few DIGITAL DEVICES Rotary Encoder which is original used on obsoleted USA weighing scale for speed feedback. But we has no idea how...
Replies
2
Views
2,203
so im trying to figure out a little setup in my head for a machine and im looking for some advice. im using a micrologix 1400 so i figured i could...
Replies
16
Views
4,432
Hello, all. We have one 840Dsl milling machine and a (absolute rotary angle) encoder alarms show up. We took it out for checking, then put...
Replies
1
Views
1,467
Hi, Everyone I am interfacing rotary encoder(incremental encoder) with PLC. This encoder using for speed measurement (RPM). The encoder is giving...
Replies
6
Views
4,523
Back
Top Bottom