Connecting a rotary encoder to PLC??

Weivreif

Member
Join Date
Nov 2010
Location
Manila
Posts
17
Good Afternoon,

I need help on connecting a rotary encoder to an Omron PLC CPM1A. The encoder im using is SUMTAK OPTCODER which has the ff terminals:

1 A RED
2 B GREEN
3 Z YELLOW
4 0V PINK
5 0V BLUE
6 0V ORANGE
7 5V WHITE
8 0V BLACK
9 SHLD GRAY


I connected phase-A, phase-B, phase-Z to input terminal 0.00, 0.01, 0.02 on the PLC respectively. I connected the encoder to a 5v supply. Then I enabled the high speed counter on the CPM1A PLC using cx programmer. PLC is on common negative configuration but its connected to a diff power supply since it's 24v. Used the PRV command to read the encoder values but the value is stuck at "0".

Anything wrong with my setup? Thanks
 
Thanks a lot BSS, didnt notice that. since we dont have a 24v encoder. we might need to use an optocoupler. but aside from that anything else that you might recommend?
 

Similar Topics

I have been working on this for a while now and I can't seem to get it. I was finally able to view the 1500 on the PanelView under the serial...
Replies
1
Views
74
Hello, I was looking to store some values from our FactoryTalk Application using Datalog to a MariaDB. I see there is quite a bit of documentation...
Replies
1
Views
81
I haven't encountered problems connecting to a PLC through VM Ware but I am with this particular machine. I'm running Windows 7 on a Windows 10...
Replies
8
Views
210
Hi, I want to build a demo station to test devices and programs and I need some help with it. I want to connect GuardLogix, Piltzmulti and...
Replies
1
Views
149
please using the usb can i assign any ip address that i want ?
Replies
4
Views
150
Back
Top Bottom