Hi Robert,
Nice work around with the pull up resistors. Your solution makes sense since the EL5151 and 5152 require greater than +15V = 1 and less than 5V = 0. From what I can tell there is very little difference in the EL5101 and the EL5151 both have a switchable 16/32 bit counter that you would either set in TwinCat or possibly in your .XML file. What caught my eye was that EL5051 data sheet says that the input signal is a difference signal(RS422),
single-ended possible...? I need to dig deeper into this, and have a look at the PDO dictionary before I can say for sure.
I believe there is a setting that needs to be configured on mine and I am not verse with TwinCAT. Plus my TwinCAT 30 day trial has expired. I have several EL5151's and one 5152, but I find it odd that there is no output in HAL when looking at the pins. Makes me concerned that I may have a bunch of bad terminals, even thought some of them were suppose to be "New".
I have come across terminals that don't appear to be working, before you assume that they are no good, reinstall TwinCat to get another 30 days or submit your info for a free license. Then connect the terminals, scan the bus, and reload the default xml files to the devices. Usually that will bring them back to life.
It does seem odd that you can see the EL5151 working but nothing on the EL5101. If the EL5101 has an equal process image to EL5151 than you would expect to be able to see everything working in HAL, if not than I think that you would need to create the driver file for that terminal. Chimeno is the expert in this. However, if the terminal is not set up correctly in TwinCat than this may be misleading path.
You can spin the encoder and the LED's will flash crazily on the EL5151 for input, but you get no output from the output pins in HALmeter
Unfortunately, I don't have one of these terminals but my guess is that you would not see the individual signals i.e. pins but a s32 or float number that represents the count/frequency/period? Again, I have to dig deeper into the manual but I would think that there are at least a few pdo's available...
I think your on the right track, get Twincat set up again and go from there. I will try to acquire an EL5101 in the mean time.
Dan